libgphoto2: update package to 2.5.16
[feed/packages.git] / libs / libgphoto2 / patches / 002-no-docs-examples-test-translations.patch
1 Index: libgphoto2-2.5.16/Makefile.am
2 ===================================================================
3 --- libgphoto2-2.5.16.orig/Makefile.am
4 +++ libgphoto2-2.5.16/Makefile.am
5 @@ -8,7 +8,7 @@ bin_SCRIPTS = gphoto2-config
6 EXTRA_DIST = HACKING MAINTAINERS TESTERS installcheck.mk
7
8 # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
9 -SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc gphoto-m4
10 +SUBDIRS = @subdirs@ libgphoto2 camlibs packaging gphoto-m4
11
12 EXTRA_DIST += libgphoto2.pc.in
13 pkgconfig_DATA = libgphoto2.pc
14 Index: libgphoto2-2.5.16/Makefile.in
15 ===================================================================
16 --- libgphoto2-2.5.16.orig/Makefile.in
17 +++ libgphoto2-2.5.16/Makefile.in
18 @@ -482,7 +482,7 @@ EXTRA_DIST = HACKING MAINTAINERS TESTERS
19 INSTALL README.in README README.packaging
20
21 # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
22 -SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc gphoto-m4
23 +SUBDIRS = @subdirs@ libgphoto2 camlibs packaging gphoto-m4
24 pkgconfig_DATA = libgphoto2.pc
25 noinst_DATA = libgphoto2-uninstalled.pc
26 doc_DATA = AUTHORS COPYING NEWS ABOUT-NLS ChangeLog README \
27 Index: libgphoto2-2.5.16/configure.ac
28 ===================================================================
29 --- libgphoto2-2.5.16.orig/configure.ac
30 +++ libgphoto2-2.5.16/configure.ac
31 @@ -635,20 +635,11 @@ gphoto-m4/Makefile
32 libgphoto2/Makefile
33 libgphoto2.pc
34 libgphoto2-uninstalled.pc
35 -examples/Makefile
36 -tests/Makefile
37 -tests/ddb/Makefile
38 -tests/ddb/check-ddb.sh
39 packaging/Makefile
40 packaging/linux-hotplug/Makefile
41 packaging/generic/Makefile
42 packaging/rpm/Makefile
43 packaging/rpm/package.spec
44 -po/Makefile.in
45 -doc/Makefile
46 -doc/Doxyfile
47 -doc/Doxyfile-internals
48 -doc/api/Makefile
49 ],[
50 dnl This relies on this code being called for each of the above files
51 dnl with ac_file set to the filename.
52 Index: libgphoto2-2.5.16/libgphoto2_port/Makefile.am
53 ===================================================================
54 --- libgphoto2-2.5.16.orig/libgphoto2_port/Makefile.am
55 +++ libgphoto2-2.5.16/libgphoto2_port/Makefile.am
56 @@ -25,7 +25,7 @@ udevscript_PROGRAMS =
57 bin_SCRIPTS = gphoto2-port-config
58
59 # The . stands for the current dir, i.e. the iolibs to build.
60 -SUBDIRS = po libgphoto2_port test . doc gphoto-m4
61 +SUBDIRS = libgphoto2_port . gphoto-m4
62
63
64 ########################################################################
65 Index: libgphoto2-2.5.16/libgphoto2_port/Makefile.in
66 ===================================================================
67 --- libgphoto2-2.5.16.orig/libgphoto2_port/Makefile.in
68 +++ libgphoto2-2.5.16/libgphoto2_port/Makefile.in
69 @@ -574,7 +574,7 @@ EXTRA_LTLIBRARIES = disk.la ptpip.la ser
70 bin_SCRIPTS = gphoto2-port-config
71
72 # The . stands for the current dir, i.e. the iolibs to build.
73 -SUBDIRS = po libgphoto2_port test . doc gphoto-m4
74 +SUBDIRS = libgphoto2_port . gphoto-m4
75
76 ########################################################################
77 # All iolibs are defined as EXTRA_LTLIBRARIES. This requires that
78 Index: libgphoto2-2.5.16/libgphoto2_port/configure.ac
79 ===================================================================
80 --- libgphoto2-2.5.16.orig/libgphoto2_port/configure.ac
81 +++ libgphoto2-2.5.16/libgphoto2_port/configure.ac
82 @@ -512,13 +512,10 @@ AC_SUBST([AM_LDFLAGS])
83 # ---------------------------------------------------------------------------
84 AC_CONFIG_FILES([
85 Makefile
86 -po/Makefile.in
87 libgphoto2_port/Makefile
88 libgphoto2_port.pc
89 libgphoto2_port-uninstalled.pc
90 gphoto2-port-config
91 -test/Makefile
92 -doc/Makefile
93 gphoto-m4/Makefile
94 ])
95 AC_OUTPUT