add c++ bindings for glib2
[openwrt/svn-archive/archive.git] / libs / glibmm / patches / 100-disable-examples-tests-doc-tools-scripts.patch
1 diff -ruN glibmm-2.22.1.orig/configure glibmm-2.22.1/configure
2 --- glibmm-2.22.1.orig/configure 2009-09-21 18:07:01.000000000 +0200
3 +++ glibmm-2.22.1/configure 2009-11-05 17:32:32.000000000 +0100
4 @@ -18361,7 +18361,7 @@
5 fi
6
7
8 -ac_config_files="$ac_config_files Makefile tools/Makefile tools/gmmproc tools/generate_wrap_init.pl glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in glib/src/Makefile glib/glibmm/Makefile gio/${GIOMM_MODULE_NAME}.pc:gio/giomm.pc.in gio/${GIOMM_MODULE_NAME}-uninstalled.pc:gio/giomm-uninstalled.pc.in gio/src/Makefile gio/giomm/Makefile tests/Makefile examples/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2005/glibmm/glibmm.rc MSVC_Net2005/giomm/giomm.rc MSVC_Net2008/glibmm/glibmm.rc MSVC_Net2008/giomm/giomm.rc"
9 +ac_config_files="$ac_config_files Makefile glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in glib/src/Makefile glib/glibmm/Makefile gio/${GIOMM_MODULE_NAME}.pc:gio/giomm.pc.in gio/${GIOMM_MODULE_NAME}-uninstalled.pc:gio/giomm-uninstalled.pc.in gio/src/Makefile gio/giomm/Makefile MSVC_Net2005/glibmm/glibmm.rc MSVC_Net2005/giomm/giomm.rc MSVC_Net2008/glibmm/glibmm.rc MSVC_Net2008/giomm/giomm.rc"
10
11
12 # Copy the generated configuration headers into the MSVC project directories.
13 @@ -19400,9 +19400,6 @@
14 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17 - "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18 - "tools/gmmproc") CONFIG_FILES="$CONFIG_FILES tools/gmmproc" ;;
19 - "tools/generate_wrap_init.pl") CONFIG_FILES="$CONFIG_FILES tools/generate_wrap_init.pl" ;;
20 "glib/${GLIBMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in" ;;
21 "glib/${GLIBMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in" ;;
22 "glib/src/Makefile") CONFIG_FILES="$CONFIG_FILES glib/src/Makefile" ;;
23 @@ -19411,10 +19408,6 @@
24 "gio/${GIOMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gio/${GIOMM_MODULE_NAME}-uninstalled.pc:gio/giomm-uninstalled.pc.in" ;;
25 "gio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gio/src/Makefile" ;;
26 "gio/giomm/Makefile") CONFIG_FILES="$CONFIG_FILES gio/giomm/Makefile" ;;
27 - "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
28 - "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
29 - "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
30 - "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
31 "MSVC_Net2005/glibmm/glibmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/glibmm/glibmm.rc" ;;
32 "MSVC_Net2005/giomm/giomm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/giomm/giomm.rc" ;;
33 "MSVC_Net2008/glibmm/glibmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/glibmm/glibmm.rc" ;;
34 diff -ruN glibmm-2.22.1.orig/configure.ac glibmm-2.22.1/configure.ac
35 --- glibmm-2.22.1.orig/configure.ac 2009-09-21 18:03:52.000000000 +0200
36 +++ glibmm-2.22.1/configure.ac 2009-11-05 17:32:41.000000000 +0100
37 @@ -124,9 +124,6 @@
38 GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS
39
40 AC_CONFIG_FILES([Makefile
41 - tools/Makefile
42 - tools/gmmproc
43 - tools/generate_wrap_init.pl
44 glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in
45 glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in
46 glib/src/Makefile
47 @@ -135,10 +132,6 @@
48 gio/${GIOMM_MODULE_NAME}-uninstalled.pc:gio/giomm-uninstalled.pc.in
49 gio/src/Makefile
50 gio/giomm/Makefile
51 - tests/Makefile
52 - examples/Makefile
53 - docs/Makefile
54 - docs/reference/Doxyfile
55 MSVC_Net2005/glibmm/glibmm.rc
56 MSVC_Net2005/giomm/giomm.rc
57 MSVC_Net2008/glibmm/glibmm.rc
58 diff -ruN glibmm-2.22.1.orig/Makefile.am glibmm-2.22.1/Makefile.am
59 --- glibmm-2.22.1.orig/Makefile.am 2009-09-08 18:12:29.000000000 +0200
60 +++ glibmm-2.22.1/Makefile.am 2009-11-05 17:33:01.000000000 +0100
61 @@ -28,7 +28,7 @@
62 else
63 doc_subdirs =
64 endif
65 -SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
66 +SUBDIRS = $(src_subdirs) glib/glibmm gio/giomm
67
68 glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
69 glibmm_include_HEADERS = glib/glibmm.h
70 diff -ruN glibmm-2.22.1.orig/Makefile.in glibmm-2.22.1/Makefile.in
71 --- glibmm-2.22.1.orig/Makefile.in 2009-09-21 18:07:00.000000000 +0200
72 +++ glibmm-2.22.1/Makefile.in 2009-11-05 17:32:54.000000000 +0100
73 @@ -137,8 +137,7 @@
74 distdir dist dist-all distcheck
75 ETAGS = etags
76 CTAGS = ctags
77 -DIST_SUBDIRS = tools glib/src gio/src glib/glibmm gio/giomm tests \
78 - examples docs
79 +DIST_SUBDIRS = glib/src gio/src glib/glibmm gio/giomm
80 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
81 distdir = $(PACKAGE)-$(VERSION)
82 top_distdir = $(distdir)
83 @@ -330,7 +329,7 @@
84 @MAINTAINER_MODE_TRUE@src_subdirs = glib/src gio/src
85 @ENABLE_DOCUMENTATION_FALSE@doc_subdirs =
86 @ENABLE_DOCUMENTATION_TRUE@doc_subdirs = docs
87 -SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
88 +SUBDIRS = $(src_subdirs) glib/glibmm gio/giomm
89 glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
90 glibmm_include_HEADERS = glib/glibmm.h
91 glibmm_libincludedir = $(libdir)/$(GLIBMM_MODULE_NAME)/include
92 @@ -350,15 +349,7 @@
93 glibmm/glibmm.vcproj \
94 glibmm/glibmmconfig.h \
95 giomm/giomm.vcproj \
96 - giomm/giommconfig.h \
97 - tests/giomm_simple/giomm_simple.vcproj \
98 - tests/glibmm_value/glibmm_value.vcproj \
99 - examples/dispatcher/dispatcher.vcproj \
100 - examples/dispatcher2/dispatcher2.vcproj \
101 - examples/markup/markup.vcproj \
102 - examples/options/options.vcproj \
103 - examples/thread/thread.vcproj \
104 - examples/thread_pool/thread_pool.vcproj
105 + giomm/giommconfig.h
106
107 msvc_net2008_data = \
108 blank.cpp \
109 @@ -368,15 +359,7 @@
110 glibmm/glibmm.vcproj \
111 glibmm/glibmmconfig.h \
112 giomm/giomm.vcproj \
113 - giomm/giommconfig.h \
114 - tests/giomm_simple/giomm_simple.vcproj \
115 - tests/glibmm_value/glibmm_value.vcproj \
116 - examples/dispatcher/dispatcher.vcproj \
117 - examples/dispatcher2/dispatcher2.vcproj \
118 - examples/markup/markup.vcproj \
119 - examples/options/options.vcproj \
120 - examples/thread/thread.vcproj \
121 - examples/thread_pool/thread_pool.vcproj
122 + giomm/giommconfig.h
123
124 text_files = COPYING.tools README.SUN README.win32
125 msvc_files = $(addprefix MSVC_Net2005/,$(msvc_net2005_data)) \