add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / libs / libgphoto2 / patches / 002-no-tests-docs-examples-translations.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -628,20 +628,11 @@ camlibs/konica/localization/Makefile
4  libgphoto2/Makefile
5  libgphoto2.pc
6  libgphoto2-uninstalled.pc
7 -examples/Makefile
8 -tests/Makefile
9 -tests/check-camera-list.sh
10 -tests/ddb/Makefile
11 -tests/ddb/check-ddb.sh
12  packaging/Makefile
13  packaging/linux-hotplug/Makefile
14  packaging/generic/Makefile
15  packaging/rpm/Makefile
16  packaging/rpm/package.spec
17 -po/Makefile.in
18 -doc/Makefile
19 -doc/Doxyfile
20 -doc/api/Makefile
21  ],[
22  dnl This relies on this code being called for each of the above files
23  dnl with ac_file set to the filename.
24 --- a/libgphoto2_port/configure.ac
25 +++ b/libgphoto2_port/configure.ac
26 @@ -483,7 +483,6 @@ AC_SUBST([AM_LDFLAGS])
27  # ---------------------------------------------------------------------------
28  AC_CONFIG_FILES([
29  Makefile
30 -po/Makefile.in
31  libgphoto2_port/Makefile
32  libgphoto2_port.pc
33  libgphoto2_port-uninstalled.pc
34 @@ -494,8 +493,6 @@ usbscsi/Makefile
35  disk/Makefile
36  ptpip/Makefile
37  gphoto2-port-config
38 -test/Makefile
39 -doc/Makefile
40  m4/Makefile
41  ])
42  AC_OUTPUT
43 --- a/libgphoto2_port/Makefile.am
44 +++ b/libgphoto2_port/Makefile.am
45 @@ -10,7 +10,7 @@ VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@L
46  bin_SCRIPTS = gphoto2-port-config
47  
48  # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
49 -SUBDIRS = po libgphoto2_port test @IOLIB_SUBDIRS@ doc m4
50 +SUBDIRS = libgphoto2_port @IOLIB_SUBDIRS@ m4
51  
52  EXTRA_DIST =                   \
53         AUTHORS \
54 --- a/libgphoto2_port/Makefile.in
55 +++ b/libgphoto2_port/Makefile.in
56 @@ -271,7 +271,7 @@ VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@L
57  bin_SCRIPTS = gphoto2-port-config
58  
59  # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
60 -SUBDIRS = po libgphoto2_port test @IOLIB_SUBDIRS@ doc m4
61 +SUBDIRS = libgphoto2_port @IOLIB_SUBDIRS@ m4
62  EXTRA_DIST = AUTHORS ChangeLog COPYING.LIB NEWS README iolib.sym \
63         gphoto2-port-config.in libgphoto2_port.pc.in \
64         libgphoto2_port-uninstalled.pc.in \
65 --- a/Makefile.am
66 +++ b/Makefile.am
67 @@ -8,7 +8,7 @@ bin_SCRIPTS = gphoto2-config
68  EXTRA_DIST = HACKING MAINTAINERS TESTERS installcheck.mk README.packaging
69  
70  # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
71 -SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc
72 +SUBDIRS = @subdirs@ libgphoto2 camlibs packaging
73  
74  EXTRA_DIST    += libgphoto2.pc.in
75  pkgconfig_DATA = libgphoto2.pc
76 --- a/Makefile.in
77 +++ b/Makefile.in
78 @@ -302,7 +302,7 @@ EXTRA_DIST = HACKING MAINTAINERS TESTERS
79         ChangeLog INSTALL README.in README README.packaging
80  
81  # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
82 -SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc
83 +SUBDIRS = @subdirs@ libgphoto2 camlibs packaging
84  pkgconfig_DATA = libgphoto2.pc
85  noinst_DATA = libgphoto2-uninstalled.pc
86  doc_DATA = AUTHORS COPYING NEWS ABOUT-NLS ChangeLog README \