Merge lp:~darkxst/ubuntu/trusty/gjs/1.38.1 into lp:ubuntu/trusty/gjs
- Trusty (14.04)
- 1.38.1
- Merge into trusty
Proposed by
Tim Lunn
Status: | Merged |
---|---|
Merged at revision: | 73 |
Proposed branch: | lp:~darkxst/ubuntu/trusty/gjs/1.38.1 |
Merge into: | lp:ubuntu/trusty/gjs |
Diff against target: |
1124 lines (+448/-299) 17 files modified
Makefile-insttest.am (+4/-2) Makefile.in (+53/-50) aclocal.m4 (+237/-222) configure (+20/-18) configure.ac (+4/-4) debian/changelog (+10/-0) debian/control.in (+13/-0) debian/gjs-tests.install (+3/-0) debian/patches/git_fix_make_check.patch (+47/-0) debian/patches/series (+1/-0) debian/rules (+4/-1) debian/tests/build (+27/-0) debian/tests/control (+5/-0) debian/tests/installed-tests (+10/-0) gjs/console.c (+2/-2) installed-tests/script.test.in (+3/-0) installed-tests/scripts/testSystemExit.js (+5/-0) |
To merge this branch: | bzr merge lp:~darkxst/ubuntu/trusty/gjs/1.38.1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+192274@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Jackson Doak (noskcaj) wrote : | # |
Revision history for this message
Jackson Doak (noskcaj) wrote : | # |
The work looks good though, you'll just need a developer to upload it.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Makefile-insttest.am' | |||
2 | --- Makefile-insttest.am 2013-08-23 11:54:16 +0000 | |||
3 | +++ Makefile-insttest.am 2013-10-27 19:56:01 +0000 | |||
4 | @@ -1,5 +1,7 @@ | |||
5 | 1 | EXTRA_DIST += \ | 1 | EXTRA_DIST += \ |
7 | 2 | installed-tests/jsunit.test.in | 2 | installed-tests/jsunit.test.in \ |
8 | 3 | installed-tests/script.test.in \ | ||
9 | 4 | $(NULL) | ||
10 | 3 | 5 | ||
11 | 4 | installedtestmetadir = $(datadir)/installed-tests/gjs | 6 | installedtestmetadir = $(datadir)/installed-tests/gjs |
12 | 5 | installedtestmeta_DATA = | 7 | installedtestmeta_DATA = |
13 | @@ -120,6 +122,6 @@ | |||
14 | 120 | sed -e s,@pkglibexecdir\@,$(pkglibexecdir), -e s,@name\@,$(notdir $<), < $(srcdir)/installed-tests/script.test.in > $@.tmp && mv $@.tmp $@ | 122 | sed -e s,@pkglibexecdir\@,$(pkglibexecdir), -e s,@name\@,$(notdir $<), < $(srcdir)/installed-tests/script.test.in > $@.tmp && mv $@.tmp $@ |
15 | 121 | 123 | ||
16 | 122 | jsscripttestsdir = $(gjsinsttestdir)/scripts | 124 | jsscripttestsdir = $(gjsinsttestdir)/scripts |
18 | 123 | jsscripttests_DATA = installed-tests/scripts/testSystemExit.js | 125 | dist_jsscripttests_DATA = installed-tests/scripts/testSystemExit.js |
19 | 124 | installedtestmeta_DATA += testSystemExit.test | 126 | installedtestmeta_DATA += testSystemExit.test |
20 | 125 | endif | 127 | endif |
21 | 126 | 128 | ||
22 | === modified file 'Makefile.in' | |||
23 | --- Makefile.in 2013-08-23 11:54:16 +0000 | |||
24 | +++ Makefile.in 2013-10-27 19:56:01 +0000 | |||
25 | @@ -92,7 +92,8 @@ | |||
26 | 92 | $(srcdir)/config.h.in $(srcdir)/gjs-1.0.pc.in \ | 92 | $(srcdir)/config.h.in $(srcdir)/gjs-1.0.pc.in \ |
27 | 93 | $(srcdir)/gjs-internals-1.0.pc.in depcomp \ | 93 | $(srcdir)/gjs-internals-1.0.pc.in depcomp \ |
28 | 94 | $(am__dist_gjsjs_DATA_DIST) $(dist_gjsoverride_DATA) \ | 94 | $(am__dist_gjsjs_DATA_DIST) $(dist_gjsoverride_DATA) \ |
30 | 95 | $(dist_gjstweener_DATA) $(am__dist_jstests_DATA_DIST) \ | 95 | $(dist_gjstweener_DATA) $(am__dist_jsscripttests_DATA_DIST) \ |
31 | 96 | $(am__dist_jstests_DATA_DIST) \ | ||
32 | 96 | $(nobase_gjs_module_include_HEADERS) \ | 97 | $(nobase_gjs_module_include_HEADERS) \ |
33 | 97 | $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) COPYING \ | 98 | $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) COPYING \ |
34 | 98 | compile config.guess config.sub install-sh missing ltmain.sh | 99 | compile config.guess config.sub install-sh missing ltmain.sh |
35 | @@ -181,12 +182,11 @@ | |||
36 | 181 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" \ | 182 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" \ |
37 | 182 | "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" \ | 183 | "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" \ |
38 | 183 | "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" \ | 184 | "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" \ |
41 | 184 | "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jstestsdir)" \ | 185 | "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jsscripttestsdir)" \ |
42 | 185 | "$(DESTDIR)$(gjsinsttestdir)" \ | 186 | "$(DESTDIR)$(jstestsdir)" "$(DESTDIR)$(gjsinsttestdir)" \ |
43 | 186 | "$(DESTDIR)$(installedtestmetadir)" \ | 187 | "$(DESTDIR)$(installedtestmetadir)" \ |
47 | 187 | "$(DESTDIR)$(jsscripttestsdir)" "$(DESTDIR)$(pkgconfigdir)" \ | 188 | "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(tapsetdir)" \ |
48 | 188 | "$(DESTDIR)$(tapsetdir)" "$(DESTDIR)$(typelibdir)" \ | 189 | "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(gjs_module_includedir)" \ |
46 | 189 | "$(DESTDIR)$(gjs_module_includedir)" \ | ||
49 | 190 | "$(DESTDIR)$(gjs_public_includedir)" | 190 | "$(DESTDIR)$(gjs_public_includedir)" |
50 | 191 | LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \ | 191 | LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \ |
51 | 192 | $(privlib_LTLIBRARIES) | 192 | $(privlib_LTLIBRARIES) |
52 | @@ -374,6 +374,8 @@ | |||
53 | 374 | am__dist_gjsjs_DATA_DIST = modules/gettext.js modules/lang.js \ | 374 | am__dist_gjsjs_DATA_DIST = modules/gettext.js modules/lang.js \ |
54 | 375 | modules/mainloop.js modules/jsUnit.js modules/signals.js \ | 375 | modules/mainloop.js modules/jsUnit.js modules/signals.js \ |
55 | 376 | modules/promise.js modules/format.js modules/cairo.js | 376 | modules/promise.js modules/format.js modules/cairo.js |
56 | 377 | am__dist_jsscripttests_DATA_DIST = \ | ||
57 | 378 | installed-tests/scripts/testSystemExit.js | ||
58 | 377 | am__dist_jstests_DATA_DIST = installed-tests/js/test0010basic.js \ | 379 | am__dist_jstests_DATA_DIST = installed-tests/js/test0010basic.js \ |
59 | 378 | installed-tests/js/test0020importer.js \ | 380 | installed-tests/js/test0020importer.js \ |
60 | 379 | installed-tests/js/test0030basicBoxed.js \ | 381 | installed-tests/js/test0030basicBoxed.js \ |
61 | @@ -400,9 +402,9 @@ | |||
62 | 400 | installed-tests/js/testUnicode.js \ | 402 | installed-tests/js/testUnicode.js \ |
63 | 401 | installed-tests/js/testCairo.js | 403 | installed-tests/js/testCairo.js |
64 | 402 | DATA = $(dist_gjsjs_DATA) $(dist_gjsoverride_DATA) \ | 404 | DATA = $(dist_gjsjs_DATA) $(dist_gjsoverride_DATA) \ |
68 | 403 | $(dist_gjstweener_DATA) $(dist_jstests_DATA) \ | 405 | $(dist_gjstweener_DATA) $(dist_jsscripttests_DATA) \ |
69 | 404 | $(gjsinsttest_DATA) $(installedtestmeta_DATA) \ | 406 | $(dist_jstests_DATA) $(gjsinsttest_DATA) \ |
70 | 405 | $(jsscripttests_DATA) $(noinst_DATA) $(pkgconfig_DATA) \ | 407 | $(installedtestmeta_DATA) $(noinst_DATA) $(pkgconfig_DATA) \ |
71 | 406 | $(tapset_DATA) $(typelib_DATA) | 408 | $(tapset_DATA) $(typelib_DATA) |
72 | 407 | HEADERS = $(nobase_gjs_module_include_HEADERS) \ | 409 | HEADERS = $(nobase_gjs_module_include_HEADERS) \ |
73 | 408 | $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) | 410 | $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) |
74 | @@ -439,8 +441,8 @@ | |||
75 | 439 | else :; fi | 441 | else :; fi |
76 | 440 | am__post_remove_distdir = $(am__remove_distdir) | 442 | am__post_remove_distdir = $(am__remove_distdir) |
77 | 441 | GZIP_ENV = --best | 443 | GZIP_ENV = --best |
80 | 442 | DIST_ARCHIVES = $(distdir).tar.bz2 | 444 | DIST_ARCHIVES = $(distdir).tar.xz |
81 | 443 | DIST_TARGETS = dist-bzip2 | 445 | DIST_TARGETS = dist-xz |
82 | 444 | distuninstallcheck_listfiles = find . -type f -print | 446 | distuninstallcheck_listfiles = find . -type f -print |
83 | 445 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | 447 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
84 | 446 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | 448 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
85 | @@ -614,7 +616,8 @@ | |||
86 | 614 | $(tapset_in_files) examples/clutter.js examples/gio-cat.js \ | 616 | $(tapset_in_files) examples/clutter.js examples/gio-cat.js \ |
87 | 615 | examples/gtk.js examples/http-server.js examples/test.jpg \ | 617 | examples/gtk.js examples/http-server.js examples/test.jpg \ |
88 | 616 | test/run-with-dbus test/test-bus.conf \ | 618 | test/run-with-dbus test/test-bus.conf \ |
90 | 617 | installed-tests/jsunit.test.in autogen.sh COPYING.LGPL | 619 | installed-tests/jsunit.test.in installed-tests/script.test.in \ |
91 | 620 | $(NULL) autogen.sh COPYING.LGPL | ||
92 | 618 | gjstest_files_with_tests = gjs/context.c gjs/jsapi-util-array.c \ | 621 | gjstest_files_with_tests = gjs/context.c gjs/jsapi-util-array.c \ |
93 | 619 | gjs/jsapi-util-error.c gjs/jsapi-util-string.c gjs/stack.c \ | 622 | gjs/jsapi-util-error.c gjs/jsapi-util-string.c gjs/stack.c \ |
94 | 620 | util/glib.c | 623 | util/glib.c |
95 | @@ -863,7 +866,7 @@ | |||
96 | 863 | jstestsdir = $(gjsinsttestdir)/js | 866 | jstestsdir = $(gjsinsttestdir)/js |
97 | 864 | dist_jstests_DATA = $(am__append_15) $(am__append_16) | 867 | dist_jstests_DATA = $(am__append_15) $(am__append_16) |
98 | 865 | @BUILDOPT_INSTALL_TESTS_TRUE@jsscripttestsdir = $(gjsinsttestdir)/scripts | 868 | @BUILDOPT_INSTALL_TESTS_TRUE@jsscripttestsdir = $(gjsinsttestdir)/scripts |
100 | 866 | @BUILDOPT_INSTALL_TESTS_TRUE@jsscripttests_DATA = installed-tests/scripts/testSystemExit.js | 869 | @BUILDOPT_INSTALL_TESTS_TRUE@dist_jsscripttests_DATA = installed-tests/scripts/testSystemExit.js |
101 | 867 | 870 | ||
102 | 868 | # Colin's handy Makefile bits for: | 871 | # Colin's handy Makefile bits for: |
103 | 869 | # 1) stuffing tarballs with pre-generated scripts from your workstation | 872 | # 1) stuffing tarballs with pre-generated scripts from your workstation |
104 | @@ -1825,6 +1828,27 @@ | |||
105 | 1825 | @list='$(dist_gjstweener_DATA)'; test -n "$(gjstweenerdir)" || list=; \ | 1828 | @list='$(dist_gjstweener_DATA)'; test -n "$(gjstweenerdir)" || list=; \ |
106 | 1826 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | 1829 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
107 | 1827 | dir='$(DESTDIR)$(gjstweenerdir)'; $(am__uninstall_files_from_dir) | 1830 | dir='$(DESTDIR)$(gjstweenerdir)'; $(am__uninstall_files_from_dir) |
108 | 1831 | install-dist_jsscripttestsDATA: $(dist_jsscripttests_DATA) | ||
109 | 1832 | @$(NORMAL_INSTALL) | ||
110 | 1833 | @list='$(dist_jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \ | ||
111 | 1834 | if test -n "$$list"; then \ | ||
112 | 1835 | echo " $(MKDIR_P) '$(DESTDIR)$(jsscripttestsdir)'"; \ | ||
113 | 1836 | $(MKDIR_P) "$(DESTDIR)$(jsscripttestsdir)" || exit 1; \ | ||
114 | 1837 | fi; \ | ||
115 | 1838 | for p in $$list; do \ | ||
116 | 1839 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
117 | 1840 | echo "$$d$$p"; \ | ||
118 | 1841 | done | $(am__base_list) | \ | ||
119 | 1842 | while read files; do \ | ||
120 | 1843 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(jsscripttestsdir)'"; \ | ||
121 | 1844 | $(INSTALL_DATA) $$files "$(DESTDIR)$(jsscripttestsdir)" || exit $$?; \ | ||
122 | 1845 | done | ||
123 | 1846 | |||
124 | 1847 | uninstall-dist_jsscripttestsDATA: | ||
125 | 1848 | @$(NORMAL_UNINSTALL) | ||
126 | 1849 | @list='$(dist_jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \ | ||
127 | 1850 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
128 | 1851 | dir='$(DESTDIR)$(jsscripttestsdir)'; $(am__uninstall_files_from_dir) | ||
129 | 1828 | install-dist_jstestsDATA: $(dist_jstests_DATA) | 1852 | install-dist_jstestsDATA: $(dist_jstests_DATA) |
130 | 1829 | @$(NORMAL_INSTALL) | 1853 | @$(NORMAL_INSTALL) |
131 | 1830 | @list='$(dist_jstests_DATA)'; test -n "$(jstestsdir)" || list=; \ | 1854 | @list='$(dist_jstests_DATA)'; test -n "$(jstestsdir)" || list=; \ |
132 | @@ -1888,27 +1912,6 @@ | |||
133 | 1888 | @list='$(installedtestmeta_DATA)'; test -n "$(installedtestmetadir)" || list=; \ | 1912 | @list='$(installedtestmeta_DATA)'; test -n "$(installedtestmetadir)" || list=; \ |
134 | 1889 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | 1913 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
135 | 1890 | dir='$(DESTDIR)$(installedtestmetadir)'; $(am__uninstall_files_from_dir) | 1914 | dir='$(DESTDIR)$(installedtestmetadir)'; $(am__uninstall_files_from_dir) |
136 | 1891 | install-jsscripttestsDATA: $(jsscripttests_DATA) | ||
137 | 1892 | @$(NORMAL_INSTALL) | ||
138 | 1893 | @list='$(jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \ | ||
139 | 1894 | if test -n "$$list"; then \ | ||
140 | 1895 | echo " $(MKDIR_P) '$(DESTDIR)$(jsscripttestsdir)'"; \ | ||
141 | 1896 | $(MKDIR_P) "$(DESTDIR)$(jsscripttestsdir)" || exit 1; \ | ||
142 | 1897 | fi; \ | ||
143 | 1898 | for p in $$list; do \ | ||
144 | 1899 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
145 | 1900 | echo "$$d$$p"; \ | ||
146 | 1901 | done | $(am__base_list) | \ | ||
147 | 1902 | while read files; do \ | ||
148 | 1903 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(jsscripttestsdir)'"; \ | ||
149 | 1904 | $(INSTALL_DATA) $$files "$(DESTDIR)$(jsscripttestsdir)" || exit $$?; \ | ||
150 | 1905 | done | ||
151 | 1906 | |||
152 | 1907 | uninstall-jsscripttestsDATA: | ||
153 | 1908 | @$(NORMAL_UNINSTALL) | ||
154 | 1909 | @list='$(jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \ | ||
155 | 1910 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
156 | 1911 | dir='$(DESTDIR)$(jsscripttestsdir)'; $(am__uninstall_files_from_dir) | ||
157 | 1912 | install-pkgconfigDATA: $(pkgconfig_DATA) | 1915 | install-pkgconfigDATA: $(pkgconfig_DATA) |
158 | 1913 | @$(NORMAL_INSTALL) | 1916 | @$(NORMAL_INSTALL) |
159 | 1914 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ | 1917 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ |
160 | @@ -2122,6 +2125,7 @@ | |||
161 | 2122 | dist-gzip: distdir | 2125 | dist-gzip: distdir |
162 | 2123 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 2126 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
163 | 2124 | $(am__post_remove_distdir) | 2127 | $(am__post_remove_distdir) |
164 | 2128 | |||
165 | 2125 | dist-bzip2: distdir | 2129 | dist-bzip2: distdir |
166 | 2126 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | 2130 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
167 | 2127 | $(am__post_remove_distdir) | 2131 | $(am__post_remove_distdir) |
168 | @@ -2129,7 +2133,6 @@ | |||
169 | 2129 | dist-lzip: distdir | 2133 | dist-lzip: distdir |
170 | 2130 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | 2134 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
171 | 2131 | $(am__post_remove_distdir) | 2135 | $(am__post_remove_distdir) |
172 | 2132 | |||
173 | 2133 | dist-xz: distdir | 2136 | dist-xz: distdir |
174 | 2134 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | 2137 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
175 | 2135 | $(am__post_remove_distdir) | 2138 | $(am__post_remove_distdir) |
176 | @@ -2245,7 +2248,7 @@ | |||
177 | 2245 | install-binPROGRAMS: install-libLTLIBRARIES | 2248 | install-binPROGRAMS: install-libLTLIBRARIES |
178 | 2246 | 2249 | ||
179 | 2247 | installdirs: | 2250 | installdirs: |
181 | 2248 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jstestsdir)" "$(DESTDIR)$(gjsinsttestdir)" "$(DESTDIR)$(installedtestmetadir)" "$(DESTDIR)$(jsscripttestsdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(tapsetdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(gjs_module_includedir)" "$(DESTDIR)$(gjs_public_includedir)"; do \ | 2251 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jsscripttestsdir)" "$(DESTDIR)$(jstestsdir)" "$(DESTDIR)$(gjsinsttestdir)" "$(DESTDIR)$(installedtestmetadir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(tapsetdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(gjs_module_includedir)" "$(DESTDIR)$(gjs_public_includedir)"; do \ |
182 | 2249 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | 2252 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
183 | 2250 | done | 2253 | done |
184 | 2251 | install: $(BUILT_SOURCES) | 2254 | install: $(BUILT_SOURCES) |
185 | @@ -2308,9 +2311,9 @@ | |||
186 | 2308 | info-am: | 2311 | info-am: |
187 | 2309 | 2312 | ||
188 | 2310 | install-data-am: install-dist_gjsjsDATA install-dist_gjsoverrideDATA \ | 2313 | install-data-am: install-dist_gjsjsDATA install-dist_gjsoverrideDATA \ |
192 | 2311 | install-dist_gjstweenerDATA install-dist_jstestsDATA \ | 2314 | install-dist_gjstweenerDATA install-dist_jsscripttestsDATA \ |
193 | 2312 | install-gjsinsttestDATA install-gjsinsttestPROGRAMS \ | 2315 | install-dist_jstestsDATA install-gjsinsttestDATA \ |
194 | 2313 | install-installedtestmetaDATA install-jsscripttestsDATA \ | 2316 | install-gjsinsttestPROGRAMS install-installedtestmetaDATA \ |
195 | 2314 | install-nobase_gjs_module_includeHEADERS \ | 2317 | install-nobase_gjs_module_includeHEADERS \ |
196 | 2315 | install-nobase_gjs_public_includeHEADERS install-pkgconfigDATA \ | 2318 | install-nobase_gjs_public_includeHEADERS install-pkgconfigDATA \ |
197 | 2316 | install-privlibLTLIBRARIES install-tapsetDATA \ | 2319 | install-privlibLTLIBRARIES install-tapsetDATA \ |
198 | @@ -2365,9 +2368,9 @@ | |||
199 | 2365 | 2368 | ||
200 | 2366 | uninstall-am: uninstall-binPROGRAMS uninstall-dist_gjsjsDATA \ | 2369 | uninstall-am: uninstall-binPROGRAMS uninstall-dist_gjsjsDATA \ |
201 | 2367 | uninstall-dist_gjsoverrideDATA uninstall-dist_gjstweenerDATA \ | 2370 | uninstall-dist_gjsoverrideDATA uninstall-dist_gjstweenerDATA \ |
205 | 2368 | uninstall-dist_jstestsDATA uninstall-gjsinsttestDATA \ | 2371 | uninstall-dist_jsscripttestsDATA uninstall-dist_jstestsDATA \ |
206 | 2369 | uninstall-gjsinsttestPROGRAMS uninstall-installedtestmetaDATA \ | 2372 | uninstall-gjsinsttestDATA uninstall-gjsinsttestPROGRAMS \ |
207 | 2370 | uninstall-jsscripttestsDATA uninstall-libLTLIBRARIES \ | 2373 | uninstall-installedtestmetaDATA uninstall-libLTLIBRARIES \ |
208 | 2371 | uninstall-nobase_gjs_module_includeHEADERS \ | 2374 | uninstall-nobase_gjs_module_includeHEADERS \ |
209 | 2372 | uninstall-nobase_gjs_public_includeHEADERS \ | 2375 | uninstall-nobase_gjs_public_includeHEADERS \ |
210 | 2373 | uninstall-pkgconfigDATA uninstall-privlibLTLIBRARIES \ | 2376 | uninstall-pkgconfigDATA uninstall-privlibLTLIBRARIES \ |
211 | @@ -2389,11 +2392,11 @@ | |||
212 | 2389 | info-am install install-am install-binPROGRAMS install-data \ | 2392 | info-am install install-am install-binPROGRAMS install-data \ |
213 | 2390 | install-data-am install-dist_gjsjsDATA \ | 2393 | install-data-am install-dist_gjsjsDATA \ |
214 | 2391 | install-dist_gjsoverrideDATA install-dist_gjstweenerDATA \ | 2394 | install-dist_gjsoverrideDATA install-dist_gjstweenerDATA \ |
220 | 2392 | install-dist_jstestsDATA install-dvi install-dvi-am \ | 2395 | install-dist_jsscripttestsDATA install-dist_jstestsDATA \ |
221 | 2393 | install-exec install-exec-am install-exec-hook \ | 2396 | install-dvi install-dvi-am install-exec install-exec-am \ |
222 | 2394 | install-gjsinsttestDATA install-gjsinsttestPROGRAMS \ | 2397 | install-exec-hook install-gjsinsttestDATA \ |
223 | 2395 | install-html install-html-am install-info install-info-am \ | 2398 | install-gjsinsttestPROGRAMS install-html install-html-am \ |
224 | 2396 | install-installedtestmetaDATA install-jsscripttestsDATA \ | 2399 | install-info install-info-am install-installedtestmetaDATA \ |
225 | 2397 | install-libLTLIBRARIES install-man \ | 2400 | install-libLTLIBRARIES install-man \ |
226 | 2398 | install-nobase_gjs_module_includeHEADERS \ | 2401 | install-nobase_gjs_module_includeHEADERS \ |
227 | 2399 | install-nobase_gjs_public_includeHEADERS install-pdf \ | 2402 | install-nobase_gjs_public_includeHEADERS install-pdf \ |
228 | @@ -2405,9 +2408,9 @@ | |||
229 | 2405 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | 2408 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
230 | 2406 | tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ | 2409 | tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ |
231 | 2407 | uninstall-dist_gjsjsDATA uninstall-dist_gjsoverrideDATA \ | 2410 | uninstall-dist_gjsjsDATA uninstall-dist_gjsoverrideDATA \ |
235 | 2408 | uninstall-dist_gjstweenerDATA uninstall-dist_jstestsDATA \ | 2411 | uninstall-dist_gjstweenerDATA uninstall-dist_jsscripttestsDATA \ |
236 | 2409 | uninstall-gjsinsttestDATA uninstall-gjsinsttestPROGRAMS \ | 2412 | uninstall-dist_jstestsDATA uninstall-gjsinsttestDATA \ |
237 | 2410 | uninstall-installedtestmetaDATA uninstall-jsscripttestsDATA \ | 2413 | uninstall-gjsinsttestPROGRAMS uninstall-installedtestmetaDATA \ |
238 | 2411 | uninstall-libLTLIBRARIES \ | 2414 | uninstall-libLTLIBRARIES \ |
239 | 2412 | uninstall-nobase_gjs_module_includeHEADERS \ | 2415 | uninstall-nobase_gjs_module_includeHEADERS \ |
240 | 2413 | uninstall-nobase_gjs_public_includeHEADERS \ | 2416 | uninstall-nobase_gjs_public_includeHEADERS \ |
241 | 2414 | 2417 | ||
242 | === modified file 'aclocal.m4' | |||
243 | --- aclocal.m4 2013-07-30 09:15:40 +0000 | |||
244 | +++ aclocal.m4 2013-10-27 19:56:01 +0000 | |||
245 | @@ -1105,228 +1105,6 @@ | |||
246 | 1105 | AC_SUBST([am__untar]) | 1105 | AC_SUBST([am__untar]) |
247 | 1106 | ]) # _AM_PROG_TAR | 1106 | ]) # _AM_PROG_TAR |
248 | 1107 | 1107 | ||
249 | 1108 | # gnome-common.m4 | ||
250 | 1109 | # | ||
251 | 1110 | # serial 3 | ||
252 | 1111 | # | ||
253 | 1112 | |||
254 | 1113 | dnl GNOME_COMMON_INIT | ||
255 | 1114 | |||
256 | 1115 | AU_DEFUN([GNOME_COMMON_INIT], | ||
257 | 1116 | [ | ||
258 | 1117 | dnl this macro should come after AC_CONFIG_MACRO_DIR | ||
259 | 1118 | AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0]) | ||
260 | 1119 | |||
261 | 1120 | dnl ensure that when the Automake generated makefile calls aclocal, | ||
262 | 1121 | dnl it honours the $ACLOCAL_FLAGS environment variable | ||
263 | 1122 | ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" | ||
264 | 1123 | if test -n "$ac_macro_dir"; then | ||
265 | 1124 | ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" | ||
266 | 1125 | fi | ||
267 | 1126 | |||
268 | 1127 | AC_SUBST([ACLOCAL_AMFLAGS]) | ||
269 | 1128 | ], | ||
270 | 1129 | [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}" | ||
271 | 1130 | in your top-level Makefile.am, instead, where "m4" is the macro directory set | ||
272 | 1131 | with AC_CONFIG_MACRO_DIR() in your configure.ac]]) | ||
273 | 1132 | |||
274 | 1133 | AC_DEFUN([GNOME_DEBUG_CHECK], | ||
275 | 1134 | [ | ||
276 | 1135 | AC_ARG_ENABLE([debug], | ||
277 | 1136 | AC_HELP_STRING([--enable-debug], | ||
278 | 1137 | [turn on debugging]),, | ||
279 | 1138 | [enable_debug=no]) | ||
280 | 1139 | |||
281 | 1140 | if test x$enable_debug = xyes ; then | ||
282 | 1141 | AC_DEFINE(GNOME_ENABLE_DEBUG, 1, | ||
283 | 1142 | [Enable additional debugging at the expense of performance and size]) | ||
284 | 1143 | fi | ||
285 | 1144 | ]) | ||
286 | 1145 | |||
287 | 1146 | dnl GNOME_MAINTAINER_MODE_DEFINES () | ||
288 | 1147 | dnl define DISABLE_DEPRECATED | ||
289 | 1148 | dnl | ||
290 | 1149 | AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES], | ||
291 | 1150 | [ | ||
292 | 1151 | AC_REQUIRE([AM_MAINTAINER_MODE]) | ||
293 | 1152 | |||
294 | 1153 | DISABLE_DEPRECATED="" | ||
295 | 1154 | if test $USE_MAINTAINER_MODE = yes; then | ||
296 | 1155 | DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP" | ||
297 | 1156 | for DOMAIN in $DOMAINS; do | ||
298 | 1157 | DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" | ||
299 | 1158 | done | ||
300 | 1159 | fi | ||
301 | 1160 | |||
302 | 1161 | AC_SUBST(DISABLE_DEPRECATED) | ||
303 | 1162 | ]) | ||
304 | 1163 | |||
305 | 1164 | dnl GNOME_COMPILE_WARNINGS | ||
306 | 1165 | dnl Turn on many useful compiler warnings and substitute the result into | ||
307 | 1166 | dnl WARN_CFLAGS | ||
308 | 1167 | dnl For now, only works on GCC | ||
309 | 1168 | AC_DEFUN([GNOME_COMPILE_WARNINGS],[ | ||
310 | 1169 | dnl ****************************** | ||
311 | 1170 | dnl More compiler warnings | ||
312 | 1171 | dnl ****************************** | ||
313 | 1172 | |||
314 | 1173 | AC_ARG_ENABLE(compile-warnings, | ||
315 | 1174 | AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], | ||
316 | 1175 | [Turn on compiler warnings]),, | ||
317 | 1176 | [enable_compile_warnings="m4_default([$1],[yes])"]) | ||
318 | 1177 | |||
319 | 1178 | if test "x$GCC" != xyes; then | ||
320 | 1179 | enable_compile_warnings=no | ||
321 | 1180 | fi | ||
322 | 1181 | |||
323 | 1182 | warning_flags= | ||
324 | 1183 | realsave_CFLAGS="$CFLAGS" | ||
325 | 1184 | |||
326 | 1185 | dnl These are warning flags that aren't marked as fatal. Can be | ||
327 | 1186 | dnl overridden on a per-project basis with -Wno-foo. | ||
328 | 1187 | base_warn_flags=" \ | ||
329 | 1188 | -Wall \ | ||
330 | 1189 | -Wstrict-prototypes \ | ||
331 | 1190 | -Wnested-externs \ | ||
332 | 1191 | " | ||
333 | 1192 | |||
334 | 1193 | dnl These compiler flags typically indicate very broken or suspicious | ||
335 | 1194 | dnl code. Some of them such as implicit-function-declaration are | ||
336 | 1195 | dnl just not default because gcc compiles a lot of legacy code. | ||
337 | 1196 | dnl We choose to make this set into explicit errors. | ||
338 | 1197 | base_error_flags=" \ | ||
339 | 1198 | -Werror=missing-prototypes \ | ||
340 | 1199 | -Werror=implicit-function-declaration \ | ||
341 | 1200 | -Werror=pointer-arith \ | ||
342 | 1201 | -Werror=init-self \ | ||
343 | 1202 | -Werror=format-security \ | ||
344 | 1203 | -Werror=format=2 \ | ||
345 | 1204 | -Werror=missing-include-dirs \ | ||
346 | 1205 | " | ||
347 | 1206 | |||
348 | 1207 | case "$enable_compile_warnings" in | ||
349 | 1208 | no) | ||
350 | 1209 | warning_flags= | ||
351 | 1210 | ;; | ||
352 | 1211 | minimum) | ||
353 | 1212 | warning_flags="-Wall" | ||
354 | 1213 | ;; | ||
355 | 1214 | yes) | ||
356 | 1215 | warning_flags="$base_warn_flags $base_error_flags" | ||
357 | 1216 | ;; | ||
358 | 1217 | maximum|error) | ||
359 | 1218 | warning_flags="$base_warn_flags $base_error_flags" | ||
360 | 1219 | ;; | ||
361 | 1220 | *) | ||
362 | 1221 | AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) | ||
363 | 1222 | ;; | ||
364 | 1223 | esac | ||
365 | 1224 | |||
366 | 1225 | if test "$enable_compile_warnings" = "error" ; then | ||
367 | 1226 | warning_flags="$warning_flags -Werror" | ||
368 | 1227 | fi | ||
369 | 1228 | |||
370 | 1229 | dnl Check whether GCC supports the warning options | ||
371 | 1230 | for option in $warning_flags; do | ||
372 | 1231 | save_CFLAGS="$CFLAGS" | ||
373 | 1232 | CFLAGS="$CFLAGS $option" | ||
374 | 1233 | AC_MSG_CHECKING([whether gcc understands $option]) | ||
375 | 1234 | AC_TRY_COMPILE([], [], | ||
376 | 1235 | has_option=yes, | ||
377 | 1236 | has_option=no,) | ||
378 | 1237 | CFLAGS="$save_CFLAGS" | ||
379 | 1238 | AC_MSG_RESULT([$has_option]) | ||
380 | 1239 | if test $has_option = yes; then | ||
381 | 1240 | tested_warning_flags="$tested_warning_flags $option" | ||
382 | 1241 | fi | ||
383 | 1242 | unset has_option | ||
384 | 1243 | unset save_CFLAGS | ||
385 | 1244 | done | ||
386 | 1245 | unset option | ||
387 | 1246 | CFLAGS="$realsave_CFLAGS" | ||
388 | 1247 | AC_MSG_CHECKING(what warning flags to pass to the C compiler) | ||
389 | 1248 | AC_MSG_RESULT($tested_warning_flags) | ||
390 | 1249 | |||
391 | 1250 | AC_ARG_ENABLE(iso-c, | ||
392 | 1251 | AC_HELP_STRING([--enable-iso-c], | ||
393 | 1252 | [Try to warn if code is not ISO C ]),, | ||
394 | 1253 | [enable_iso_c=no]) | ||
395 | 1254 | |||
396 | 1255 | AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) | ||
397 | 1256 | complCFLAGS= | ||
398 | 1257 | if test "x$enable_iso_c" != "xno"; then | ||
399 | 1258 | if test "x$GCC" = "xyes"; then | ||
400 | 1259 | case " $CFLAGS " in | ||
401 | 1260 | *[\ \ ]-ansi[\ \ ]*) ;; | ||
402 | 1261 | *) complCFLAGS="$complCFLAGS -ansi" ;; | ||
403 | 1262 | esac | ||
404 | 1263 | case " $CFLAGS " in | ||
405 | 1264 | *[\ \ ]-pedantic[\ \ ]*) ;; | ||
406 | 1265 | *) complCFLAGS="$complCFLAGS -pedantic" ;; | ||
407 | 1266 | esac | ||
408 | 1267 | fi | ||
409 | 1268 | fi | ||
410 | 1269 | AC_MSG_RESULT($complCFLAGS) | ||
411 | 1270 | |||
412 | 1271 | WARN_CFLAGS="$tested_warning_flags $complCFLAGS" | ||
413 | 1272 | AC_SUBST(WARN_CFLAGS) | ||
414 | 1273 | ]) | ||
415 | 1274 | |||
416 | 1275 | dnl For C++, do basically the same thing. | ||
417 | 1276 | |||
418 | 1277 | AC_DEFUN([GNOME_CXX_WARNINGS],[ | ||
419 | 1278 | AC_ARG_ENABLE(cxx-warnings, | ||
420 | 1279 | AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@] | ||
421 | 1280 | [Turn on compiler warnings.]),, | ||
422 | 1281 | [enable_cxx_warnings="m4_default([$1],[minimum])"]) | ||
423 | 1282 | |||
424 | 1283 | AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) | ||
425 | 1284 | warnCXXFLAGS= | ||
426 | 1285 | if test "x$GXX" != xyes; then | ||
427 | 1286 | enable_cxx_warnings=no | ||
428 | 1287 | fi | ||
429 | 1288 | if test "x$enable_cxx_warnings" != "xno"; then | ||
430 | 1289 | if test "x$GXX" = "xyes"; then | ||
431 | 1290 | case " $CXXFLAGS " in | ||
432 | 1291 | *[\ \ ]-Wall[\ \ ]*) ;; | ||
433 | 1292 | *) warnCXXFLAGS="-Wall -Wno-unused" ;; | ||
434 | 1293 | esac | ||
435 | 1294 | |||
436 | 1295 | ## -W is not all that useful. And it cannot be controlled | ||
437 | 1296 | ## with individual -Wno-xxx flags, unlike -Wall | ||
438 | 1297 | if test "x$enable_cxx_warnings" = "xyes"; then | ||
439 | 1298 | warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" | ||
440 | 1299 | fi | ||
441 | 1300 | fi | ||
442 | 1301 | fi | ||
443 | 1302 | AC_MSG_RESULT($warnCXXFLAGS) | ||
444 | 1303 | |||
445 | 1304 | AC_ARG_ENABLE(iso-cxx, | ||
446 | 1305 | AC_HELP_STRING([--enable-iso-cxx], | ||
447 | 1306 | [Try to warn if code is not ISO C++ ]),, | ||
448 | 1307 | [enable_iso_cxx=no]) | ||
449 | 1308 | |||
450 | 1309 | AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) | ||
451 | 1310 | complCXXFLAGS= | ||
452 | 1311 | if test "x$enable_iso_cxx" != "xno"; then | ||
453 | 1312 | if test "x$GXX" = "xyes"; then | ||
454 | 1313 | case " $CXXFLAGS " in | ||
455 | 1314 | *[\ \ ]-ansi[\ \ ]*) ;; | ||
456 | 1315 | *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; | ||
457 | 1316 | esac | ||
458 | 1317 | |||
459 | 1318 | case " $CXXFLAGS " in | ||
460 | 1319 | *[\ \ ]-pedantic[\ \ ]*) ;; | ||
461 | 1320 | *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; | ||
462 | 1321 | esac | ||
463 | 1322 | fi | ||
464 | 1323 | fi | ||
465 | 1324 | AC_MSG_RESULT($complCXXFLAGS) | ||
466 | 1325 | |||
467 | 1326 | WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" | ||
468 | 1327 | AC_SUBST(WARN_CXXFLAGS) | ||
469 | 1328 | ]) | ||
470 | 1329 | |||
471 | 1330 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | 1108 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
472 | 1331 | # | 1109 | # |
473 | 1332 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 1110 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
474 | @@ -10118,6 +9896,243 @@ | |||
475 | 10118 | m4_popdef([pkg_description]) | 9896 | m4_popdef([pkg_description]) |
476 | 10119 | ]) dnl PKG_NOARCH_INSTALLDIR | 9897 | ]) dnl PKG_NOARCH_INSTALLDIR |
477 | 10120 | 9898 | ||
478 | 9899 | # gnome-common.m4 | ||
479 | 9900 | # | ||
480 | 9901 | # serial 3 | ||
481 | 9902 | # | ||
482 | 9903 | |||
483 | 9904 | dnl GNOME_COMMON_INIT | ||
484 | 9905 | |||
485 | 9906 | AU_DEFUN([GNOME_COMMON_INIT], | ||
486 | 9907 | [ | ||
487 | 9908 | dnl this macro should come after AC_CONFIG_MACRO_DIR | ||
488 | 9909 | AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0]) | ||
489 | 9910 | |||
490 | 9911 | dnl ensure that when the Automake generated makefile calls aclocal, | ||
491 | 9912 | dnl it honours the $ACLOCAL_FLAGS environment variable | ||
492 | 9913 | ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" | ||
493 | 9914 | if test -n "$ac_macro_dir"; then | ||
494 | 9915 | ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" | ||
495 | 9916 | fi | ||
496 | 9917 | |||
497 | 9918 | AC_SUBST([ACLOCAL_AMFLAGS]) | ||
498 | 9919 | ], | ||
499 | 9920 | [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}" | ||
500 | 9921 | in your top-level Makefile.am, instead, where "m4" is the macro directory set | ||
501 | 9922 | with AC_CONFIG_MACRO_DIR() in your configure.ac]]) | ||
502 | 9923 | |||
503 | 9924 | AC_DEFUN([GNOME_DEBUG_CHECK], | ||
504 | 9925 | [ | ||
505 | 9926 | AC_ARG_ENABLE([debug], | ||
506 | 9927 | AC_HELP_STRING([--enable-debug], | ||
507 | 9928 | [turn on debugging]),, | ||
508 | 9929 | [enable_debug=no]) | ||
509 | 9930 | |||
510 | 9931 | if test x$enable_debug = xyes ; then | ||
511 | 9932 | AC_DEFINE(GNOME_ENABLE_DEBUG, 1, | ||
512 | 9933 | [Enable additional debugging at the expense of performance and size]) | ||
513 | 9934 | fi | ||
514 | 9935 | ]) | ||
515 | 9936 | |||
516 | 9937 | dnl GNOME_MAINTAINER_MODE_DEFINES () | ||
517 | 9938 | dnl define DISABLE_DEPRECATED | ||
518 | 9939 | dnl | ||
519 | 9940 | AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES], | ||
520 | 9941 | [ | ||
521 | 9942 | AC_REQUIRE([AM_MAINTAINER_MODE]) | ||
522 | 9943 | |||
523 | 9944 | DISABLE_DEPRECATED="" | ||
524 | 9945 | if test $USE_MAINTAINER_MODE = yes; then | ||
525 | 9946 | DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP" | ||
526 | 9947 | for DOMAIN in $DOMAINS; do | ||
527 | 9948 | DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" | ||
528 | 9949 | done | ||
529 | 9950 | fi | ||
530 | 9951 | |||
531 | 9952 | AC_SUBST(DISABLE_DEPRECATED) | ||
532 | 9953 | ]) | ||
533 | 9954 | |||
534 | 9955 | # gnome-compiler-flags.m4 | ||
535 | 9956 | # | ||
536 | 9957 | # serial 2 | ||
537 | 9958 | # | ||
538 | 9959 | |||
539 | 9960 | dnl GNOME_COMPILE_WARNINGS | ||
540 | 9961 | dnl Turn on many useful compiler warnings and substitute the result into | ||
541 | 9962 | dnl WARN_CFLAGS | ||
542 | 9963 | dnl For now, only works on GCC | ||
543 | 9964 | dnl Pass the default value of the --enable-compile-warnings configure option as | ||
544 | 9965 | dnl the first argument to the macro, defaulting to 'yes'. | ||
545 | 9966 | dnl Additional warning/error flags can be passed as an optional second argument. | ||
546 | 9967 | dnl | ||
547 | 9968 | dnl For example: GNOME_COMPILE_WARNINGS([maximum],[-Werror=some-flag -Wfoobar]) | ||
548 | 9969 | AC_DEFUN([GNOME_COMPILE_WARNINGS],[ | ||
549 | 9970 | dnl ****************************** | ||
550 | 9971 | dnl More compiler warnings | ||
551 | 9972 | dnl ****************************** | ||
552 | 9973 | |||
553 | 9974 | AC_ARG_ENABLE(compile-warnings, | ||
554 | 9975 | AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], | ||
555 | 9976 | [Turn on compiler warnings]),, | ||
556 | 9977 | [enable_compile_warnings="m4_default([$1],[yes])"]) | ||
557 | 9978 | |||
558 | 9979 | if test "x$GCC" != xyes; then | ||
559 | 9980 | enable_compile_warnings=no | ||
560 | 9981 | fi | ||
561 | 9982 | |||
562 | 9983 | warning_flags= | ||
563 | 9984 | realsave_CFLAGS="$CFLAGS" | ||
564 | 9985 | |||
565 | 9986 | dnl These are warning flags that aren't marked as fatal. Can be | ||
566 | 9987 | dnl overridden on a per-project basis with -Wno-foo. | ||
567 | 9988 | base_warn_flags=" \ | ||
568 | 9989 | -Wall \ | ||
569 | 9990 | -Wstrict-prototypes \ | ||
570 | 9991 | -Wnested-externs \ | ||
571 | 9992 | " | ||
572 | 9993 | |||
573 | 9994 | dnl These compiler flags typically indicate very broken or suspicious | ||
574 | 9995 | dnl code. Some of them such as implicit-function-declaration are | ||
575 | 9996 | dnl just not default because gcc compiles a lot of legacy code. | ||
576 | 9997 | dnl We choose to make this set into explicit errors. | ||
577 | 9998 | base_error_flags=" \ | ||
578 | 9999 | -Werror=missing-prototypes \ | ||
579 | 10000 | -Werror=implicit-function-declaration \ | ||
580 | 10001 | -Werror=pointer-arith \ | ||
581 | 10002 | -Werror=init-self \ | ||
582 | 10003 | -Werror=format-security \ | ||
583 | 10004 | -Werror=format=2 \ | ||
584 | 10005 | -Werror=missing-include-dirs \ | ||
585 | 10006 | " | ||
586 | 10007 | |||
587 | 10008 | dnl Additional warning or error flags provided by the module author to | ||
588 | 10009 | dnl allow stricter standards to be imposed on a per-module basis. | ||
589 | 10010 | dnl The author can pass -W or -Werror flags here as they see fit. | ||
590 | 10011 | additional_flags="m4_default([$2],[])" | ||
591 | 10012 | |||
592 | 10013 | case "$enable_compile_warnings" in | ||
593 | 10014 | no) | ||
594 | 10015 | warning_flags= | ||
595 | 10016 | ;; | ||
596 | 10017 | minimum) | ||
597 | 10018 | warning_flags="-Wall" | ||
598 | 10019 | ;; | ||
599 | 10020 | yes) | ||
600 | 10021 | warning_flags="$base_warn_flags $base_error_flags $additional_flags" | ||
601 | 10022 | ;; | ||
602 | 10023 | maximum|error) | ||
603 | 10024 | warning_flags="$base_warn_flags $base_error_flags $additional_flags" | ||
604 | 10025 | ;; | ||
605 | 10026 | *) | ||
606 | 10027 | AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) | ||
607 | 10028 | ;; | ||
608 | 10029 | esac | ||
609 | 10030 | |||
610 | 10031 | if test "$enable_compile_warnings" = "error" ; then | ||
611 | 10032 | warning_flags="$warning_flags -Werror" | ||
612 | 10033 | fi | ||
613 | 10034 | |||
614 | 10035 | dnl Check whether GCC supports the warning options | ||
615 | 10036 | for option in $warning_flags; do | ||
616 | 10037 | save_CFLAGS="$CFLAGS" | ||
617 | 10038 | CFLAGS="$CFLAGS $option" | ||
618 | 10039 | AC_MSG_CHECKING([whether gcc understands $option]) | ||
619 | 10040 | AC_TRY_COMPILE([], [], | ||
620 | 10041 | has_option=yes, | ||
621 | 10042 | has_option=no,) | ||
622 | 10043 | CFLAGS="$save_CFLAGS" | ||
623 | 10044 | AC_MSG_RESULT([$has_option]) | ||
624 | 10045 | if test $has_option = yes; then | ||
625 | 10046 | tested_warning_flags="$tested_warning_flags $option" | ||
626 | 10047 | fi | ||
627 | 10048 | unset has_option | ||
628 | 10049 | unset save_CFLAGS | ||
629 | 10050 | done | ||
630 | 10051 | unset option | ||
631 | 10052 | CFLAGS="$realsave_CFLAGS" | ||
632 | 10053 | AC_MSG_CHECKING(what warning flags to pass to the C compiler) | ||
633 | 10054 | AC_MSG_RESULT($tested_warning_flags) | ||
634 | 10055 | |||
635 | 10056 | AC_ARG_ENABLE(iso-c, | ||
636 | 10057 | AC_HELP_STRING([--enable-iso-c], | ||
637 | 10058 | [Try to warn if code is not ISO C ]),, | ||
638 | 10059 | [enable_iso_c=no]) | ||
639 | 10060 | |||
640 | 10061 | AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) | ||
641 | 10062 | complCFLAGS= | ||
642 | 10063 | if test "x$enable_iso_c" != "xno"; then | ||
643 | 10064 | if test "x$GCC" = "xyes"; then | ||
644 | 10065 | case " $CFLAGS " in | ||
645 | 10066 | *[\ \ ]-ansi[\ \ ]*) ;; | ||
646 | 10067 | *) complCFLAGS="$complCFLAGS -ansi" ;; | ||
647 | 10068 | esac | ||
648 | 10069 | case " $CFLAGS " in | ||
649 | 10070 | *[\ \ ]-pedantic[\ \ ]*) ;; | ||
650 | 10071 | *) complCFLAGS="$complCFLAGS -pedantic" ;; | ||
651 | 10072 | esac | ||
652 | 10073 | fi | ||
653 | 10074 | fi | ||
654 | 10075 | AC_MSG_RESULT($complCFLAGS) | ||
655 | 10076 | |||
656 | 10077 | WARN_CFLAGS="$tested_warning_flags $complCFLAGS" | ||
657 | 10078 | AC_SUBST(WARN_CFLAGS) | ||
658 | 10079 | ]) | ||
659 | 10080 | |||
660 | 10081 | dnl For C++, do basically the same thing. | ||
661 | 10082 | |||
662 | 10083 | AC_DEFUN([GNOME_CXX_WARNINGS],[ | ||
663 | 10084 | AC_ARG_ENABLE(cxx-warnings, | ||
664 | 10085 | AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@] | ||
665 | 10086 | [Turn on compiler warnings.]),, | ||
666 | 10087 | [enable_cxx_warnings="m4_default([$1],[minimum])"]) | ||
667 | 10088 | |||
668 | 10089 | AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) | ||
669 | 10090 | warnCXXFLAGS= | ||
670 | 10091 | if test "x$GXX" != xyes; then | ||
671 | 10092 | enable_cxx_warnings=no | ||
672 | 10093 | fi | ||
673 | 10094 | if test "x$enable_cxx_warnings" != "xno"; then | ||
674 | 10095 | if test "x$GXX" = "xyes"; then | ||
675 | 10096 | case " $CXXFLAGS " in | ||
676 | 10097 | *[\ \ ]-Wall[\ \ ]*) ;; | ||
677 | 10098 | *) warnCXXFLAGS="-Wall -Wno-unused" ;; | ||
678 | 10099 | esac | ||
679 | 10100 | |||
680 | 10101 | ## -W is not all that useful. And it cannot be controlled | ||
681 | 10102 | ## with individual -Wno-xxx flags, unlike -Wall | ||
682 | 10103 | if test "x$enable_cxx_warnings" = "xyes"; then | ||
683 | 10104 | warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" | ||
684 | 10105 | fi | ||
685 | 10106 | fi | ||
686 | 10107 | fi | ||
687 | 10108 | AC_MSG_RESULT($warnCXXFLAGS) | ||
688 | 10109 | |||
689 | 10110 | AC_ARG_ENABLE(iso-cxx, | ||
690 | 10111 | AC_HELP_STRING([--enable-iso-cxx], | ||
691 | 10112 | [Try to warn if code is not ISO C++ ]),, | ||
692 | 10113 | [enable_iso_cxx=no]) | ||
693 | 10114 | |||
694 | 10115 | AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) | ||
695 | 10116 | complCXXFLAGS= | ||
696 | 10117 | if test "x$enable_iso_cxx" != "xno"; then | ||
697 | 10118 | if test "x$GXX" = "xyes"; then | ||
698 | 10119 | case " $CXXFLAGS " in | ||
699 | 10120 | *[\ \ ]-ansi[\ \ ]*) ;; | ||
700 | 10121 | *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; | ||
701 | 10122 | esac | ||
702 | 10123 | |||
703 | 10124 | case " $CXXFLAGS " in | ||
704 | 10125 | *[\ \ ]-pedantic[\ \ ]*) ;; | ||
705 | 10126 | *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; | ||
706 | 10127 | esac | ||
707 | 10128 | fi | ||
708 | 10129 | fi | ||
709 | 10130 | AC_MSG_RESULT($complCXXFLAGS) | ||
710 | 10131 | |||
711 | 10132 | WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" | ||
712 | 10133 | AC_SUBST(WARN_CXXFLAGS) | ||
713 | 10134 | ]) | ||
714 | 10135 | |||
715 | 10121 | dnl -*- mode: autoconf -*- | 10136 | dnl -*- mode: autoconf -*- |
716 | 10122 | dnl Copyright 2009 Johan Dahlin | 10137 | dnl Copyright 2009 Johan Dahlin |
717 | 10123 | dnl | 10138 | dnl |
718 | 10124 | 10139 | ||
719 | === modified file 'configure' | |||
720 | --- configure 2013-08-23 11:54:16 +0000 | |||
721 | +++ configure 2013-10-27 19:56:01 +0000 | |||
722 | @@ -1,6 +1,6 @@ | |||
723 | 1 | #! /bin/sh | 1 | #! /bin/sh |
724 | 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
726 | 3 | # Generated by GNU Autoconf 2.69 for gjs 1.37.6. | 3 | # Generated by GNU Autoconf 2.69 for gjs 1.38.1. |
727 | 4 | # | 4 | # |
728 | 5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gjs>. | 5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gjs>. |
729 | 6 | # | 6 | # |
730 | @@ -591,8 +591,8 @@ | |||
731 | 591 | # Identity of this package. | 591 | # Identity of this package. |
732 | 592 | PACKAGE_NAME='gjs' | 592 | PACKAGE_NAME='gjs' |
733 | 593 | PACKAGE_TARNAME='gjs' | 593 | PACKAGE_TARNAME='gjs' |
736 | 594 | PACKAGE_VERSION='1.37.6' | 594 | PACKAGE_VERSION='1.38.1' |
737 | 595 | PACKAGE_STRING='gjs 1.37.6' | 595 | PACKAGE_STRING='gjs 1.38.1' |
738 | 596 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gjs' | 596 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gjs' |
739 | 597 | PACKAGE_URL='' | 597 | PACKAGE_URL='' |
740 | 598 | 598 | ||
741 | @@ -1394,7 +1394,7 @@ | |||
742 | 1394 | # Omit some internal or obsolete options to make the list less imposing. | 1394 | # Omit some internal or obsolete options to make the list less imposing. |
743 | 1395 | # This message is too long to be a string in the A/UX 3.1 sh. | 1395 | # This message is too long to be a string in the A/UX 3.1 sh. |
744 | 1396 | cat <<_ACEOF | 1396 | cat <<_ACEOF |
746 | 1397 | \`configure' configures gjs 1.37.6 to adapt to many kinds of systems. | 1397 | \`configure' configures gjs 1.38.1 to adapt to many kinds of systems. |
747 | 1398 | 1398 | ||
748 | 1399 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1399 | Usage: $0 [OPTION]... [VAR=VALUE]... |
749 | 1400 | 1400 | ||
750 | @@ -1464,7 +1464,7 @@ | |||
751 | 1464 | 1464 | ||
752 | 1465 | if test -n "$ac_init_help"; then | 1465 | if test -n "$ac_init_help"; then |
753 | 1466 | case $ac_init_help in | 1466 | case $ac_init_help in |
755 | 1467 | short | recursive ) echo "Configuration of gjs 1.37.6:";; | 1467 | short | recursive ) echo "Configuration of gjs 1.38.1:";; |
756 | 1468 | esac | 1468 | esac |
757 | 1469 | cat <<\_ACEOF | 1469 | cat <<\_ACEOF |
758 | 1470 | 1470 | ||
759 | @@ -1608,7 +1608,7 @@ | |||
760 | 1608 | test -n "$ac_init_help" && exit $ac_status | 1608 | test -n "$ac_init_help" && exit $ac_status |
761 | 1609 | if $ac_init_version; then | 1609 | if $ac_init_version; then |
762 | 1610 | cat <<\_ACEOF | 1610 | cat <<\_ACEOF |
764 | 1611 | gjs configure 1.37.6 | 1611 | gjs configure 1.38.1 |
765 | 1612 | generated by GNU Autoconf 2.69 | 1612 | generated by GNU Autoconf 2.69 |
766 | 1613 | 1613 | ||
767 | 1614 | Copyright (C) 2012 Free Software Foundation, Inc. | 1614 | Copyright (C) 2012 Free Software Foundation, Inc. |
768 | @@ -2098,7 +2098,7 @@ | |||
769 | 2098 | This file contains any messages produced by compilers while | 2098 | This file contains any messages produced by compilers while |
770 | 2099 | running configure, to aid debugging if configure makes a mistake. | 2099 | running configure, to aid debugging if configure makes a mistake. |
771 | 2100 | 2100 | ||
773 | 2101 | It was created by gjs $as_me 1.37.6, which was | 2101 | It was created by gjs $as_me 1.38.1, which was |
774 | 2102 | generated by GNU Autoconf 2.69. Invocation command line was | 2102 | generated by GNU Autoconf 2.69. Invocation command line was |
775 | 2103 | 2103 | ||
776 | 2104 | $ $0 $@ | 2104 | $ $0 $@ |
777 | @@ -2961,7 +2961,7 @@ | |||
778 | 2961 | 2961 | ||
779 | 2962 | # Define the identity of the package. | 2962 | # Define the identity of the package. |
780 | 2963 | PACKAGE='gjs' | 2963 | PACKAGE='gjs' |
782 | 2964 | VERSION='1.37.6' | 2964 | VERSION='1.38.1' |
783 | 2965 | 2965 | ||
784 | 2966 | 2966 | ||
785 | 2967 | cat >>confdefs.h <<_ACEOF | 2967 | cat >>confdefs.h <<_ACEOF |
786 | @@ -3017,7 +3017,7 @@ | |||
787 | 3017 | 3017 | ||
788 | 3018 | 3018 | ||
789 | 3019 | 3019 | ||
791 | 3020 | $as_echo "#define GJS_VERSION (1 * 100 + 37) * 100 + 6" >>confdefs.h | 3020 | $as_echo "#define GJS_VERSION (1 * 100 + 38) * 100 + 1" >>confdefs.h |
792 | 3021 | 3021 | ||
793 | 3022 | 3022 | ||
794 | 3023 | GETTEXT_PACKAGE=gjs | 3023 | GETTEXT_PACKAGE=gjs |
795 | @@ -15666,6 +15666,8 @@ | |||
796 | 15666 | -Werror=missing-include-dirs \ | 15666 | -Werror=missing-include-dirs \ |
797 | 15667 | " | 15667 | " |
798 | 15668 | 15668 | ||
799 | 15669 | additional_flags="" | ||
800 | 15670 | |||
801 | 15669 | case "$enable_compile_warnings" in | 15671 | case "$enable_compile_warnings" in |
802 | 15670 | no) | 15672 | no) |
803 | 15671 | warning_flags= | 15673 | warning_flags= |
804 | @@ -15674,10 +15676,10 @@ | |||
805 | 15674 | warning_flags="-Wall" | 15676 | warning_flags="-Wall" |
806 | 15675 | ;; | 15677 | ;; |
807 | 15676 | yes) | 15678 | yes) |
809 | 15677 | warning_flags="$base_warn_flags $base_error_flags" | 15679 | warning_flags="$base_warn_flags $base_error_flags $additional_flags" |
810 | 15678 | ;; | 15680 | ;; |
811 | 15679 | maximum|error) | 15681 | maximum|error) |
813 | 15680 | warning_flags="$base_warn_flags $base_error_flags" | 15682 | warning_flags="$base_warn_flags $base_error_flags $additional_flags" |
814 | 15681 | ;; | 15683 | ;; |
815 | 15682 | *) | 15684 | *) |
816 | 15683 | as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 | 15685 | as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 |
817 | @@ -16046,20 +16048,20 @@ | |||
818 | 16046 | as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 | 16048 | as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 |
819 | 16047 | fi | 16049 | fi |
820 | 16048 | if test -n "$PKG_CONFIG" && \ | 16050 | if test -n "$PKG_CONFIG" && \ |
823 | 16049 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.37.1\""; } >&5 | 16051 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.38.0\""; } >&5 |
824 | 16050 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.37.1") 2>&5 | 16052 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.38.0") 2>&5 |
825 | 16051 | ac_status=$? | 16053 | ac_status=$? |
826 | 16052 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 16054 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
827 | 16053 | test $ac_status = 0; }; then | 16055 | test $ac_status = 0; }; then |
828 | 16054 | found_introspection=yes | 16056 | found_introspection=yes |
829 | 16055 | else | 16057 | else |
831 | 16056 | as_fn_error $? "You need to have gobject-introspection >= 1.37.1 installed to build gjs" "$LINENO" 5 | 16058 | as_fn_error $? "You need to have gobject-introspection >= 1.38.0 installed to build gjs" "$LINENO" 5 |
832 | 16057 | fi | 16059 | fi |
833 | 16058 | ;; #( | 16060 | ;; #( |
834 | 16059 | auto) : | 16061 | auto) : |
835 | 16060 | if test -n "$PKG_CONFIG" && \ | 16062 | if test -n "$PKG_CONFIG" && \ |
838 | 16061 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.37.1\""; } >&5 | 16063 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.38.0\""; } >&5 |
839 | 16062 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.37.1") 2>&5 | 16064 | ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.38.0") 2>&5 |
840 | 16063 | ac_status=$? | 16065 | ac_status=$? |
841 | 16064 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 16066 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
842 | 16065 | test $ac_status = 0; }; then | 16067 | test $ac_status = 0; }; then |
843 | @@ -17491,7 +17493,7 @@ | |||
844 | 17491 | # report actual input values of CONFIG_FILES etc. instead of their | 17493 | # report actual input values of CONFIG_FILES etc. instead of their |
845 | 17492 | # values after options handling. | 17494 | # values after options handling. |
846 | 17493 | ac_log=" | 17495 | ac_log=" |
848 | 17494 | This file was extended by gjs $as_me 1.37.6, which was | 17496 | This file was extended by gjs $as_me 1.38.1, which was |
849 | 17495 | generated by GNU Autoconf 2.69. Invocation command line was | 17497 | generated by GNU Autoconf 2.69. Invocation command line was |
850 | 17496 | 17498 | ||
851 | 17497 | CONFIG_FILES = $CONFIG_FILES | 17499 | CONFIG_FILES = $CONFIG_FILES |
852 | @@ -17557,7 +17559,7 @@ | |||
853 | 17557 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 17559 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
854 | 17558 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 17560 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
855 | 17559 | ac_cs_version="\\ | 17561 | ac_cs_version="\\ |
857 | 17560 | gjs config.status 1.37.6 | 17562 | gjs config.status 1.38.1 |
858 | 17561 | configured by $0, generated by GNU Autoconf 2.69, | 17563 | configured by $0, generated by GNU Autoconf 2.69, |
859 | 17562 | with options \\"\$ac_cs_config\\" | 17564 | with options \\"\$ac_cs_config\\" |
860 | 17563 | 17565 | ||
861 | 17564 | 17566 | ||
862 | === modified file 'configure.ac' | |||
863 | --- configure.ac 2013-08-23 11:54:16 +0000 | |||
864 | +++ configure.ac 2013-10-27 19:56:01 +0000 | |||
865 | @@ -2,14 +2,14 @@ | |||
866 | 2 | # Process this file with autoconf to produce a configure script. | 2 | # Process this file with autoconf to produce a configure script. |
867 | 3 | 3 | ||
868 | 4 | m4_define(pkg_major_version, 1) | 4 | m4_define(pkg_major_version, 1) |
871 | 5 | m4_define(pkg_minor_version, 37) | 5 | m4_define(pkg_minor_version, 38) |
872 | 6 | m4_define(pkg_micro_version, 6) | 6 | m4_define(pkg_micro_version, 1) |
873 | 7 | m4_define(pkg_version, pkg_major_version.pkg_minor_version.pkg_micro_version) | 7 | m4_define(pkg_version, pkg_major_version.pkg_minor_version.pkg_micro_version) |
874 | 8 | m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 + pkg_micro_version) | 8 | m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 + pkg_micro_version) |
875 | 9 | 9 | ||
876 | 10 | AC_PREREQ(2.61) | 10 | AC_PREREQ(2.61) |
877 | 11 | AC_INIT([gjs], pkg_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=gjs]) | 11 | AC_INIT([gjs], pkg_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=gjs]) |
879 | 12 | AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) | 12 | AM_INIT_AUTOMAKE([dist-xz no-dist-gzip]) |
880 | 13 | AC_CONFIG_SRCDIR([gjs/console.c]) | 13 | AC_CONFIG_SRCDIR([gjs/console.c]) |
881 | 14 | AC_CONFIG_HEADER([config.h]) | 14 | AC_CONFIG_HEADER([config.h]) |
882 | 15 | 15 | ||
883 | @@ -71,7 +71,7 @@ | |||
884 | 71 | AC_CHECK_HEADERS([malloc.h]) | 71 | AC_CHECK_HEADERS([malloc.h]) |
885 | 72 | AC_CHECK_FUNCS(mallinfo) | 72 | AC_CHECK_FUNCS(mallinfo) |
886 | 73 | 73 | ||
888 | 74 | GOBJECT_INTROSPECTION_REQUIRE([1.37.1]) | 74 | GOBJECT_INTROSPECTION_REQUIRE([1.38.0]) |
889 | 75 | 75 | ||
890 | 76 | common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-17.0" | 76 | common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-17.0" |
891 | 77 | gjs_packages="gobject-introspection-1.0 libffi $common_packages" | 77 | gjs_packages="gobject-introspection-1.0 libffi $common_packages" |
892 | 78 | 78 | ||
893 | === modified file 'debian/changelog' | |||
894 | --- debian/changelog 2013-08-23 11:54:16 +0000 | |||
895 | +++ debian/changelog 2013-10-27 19:56:01 +0000 | |||
896 | @@ -1,3 +1,13 @@ | |||
897 | 1 | gjs (1.38.1-0ubuntu1) UNRELEASED; urgency=low | ||
898 | 2 | |||
899 | 3 | * New upstream release. | ||
900 | 4 | * debian/patches/git_fix_make_check.patch: Upstream patch to fix tests | ||
901 | 5 | * debian/rules: Make tests fatal again | ||
902 | 6 | * debian/control.in: add -tests package for installed tests | ||
903 | 7 | * debian/tests: Add autopkgtests | ||
904 | 8 | |||
905 | 9 | -- Tim Lunn <tim@feathertop.org> Wed, 23 Oct 2013 11:07:12 +1100 | ||
906 | 10 | |||
907 | 1 | gjs (1.37.6-0ubuntu1) saucy; urgency=low | 11 | gjs (1.37.6-0ubuntu1) saucy; urgency=low |
908 | 2 | 12 | ||
909 | 3 | * New upstream release | 13 | * New upstream release |
910 | 4 | 14 | ||
911 | === modified file 'debian/control.in' | |||
912 | --- debian/control.in 2013-08-03 16:36:12 +0000 | |||
913 | +++ debian/control.in 2013-10-27 19:56:01 +0000 | |||
914 | @@ -23,6 +23,7 @@ | |||
915 | 23 | Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gjs | 23 | Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gjs |
916 | 24 | Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gjs | 24 | Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gjs |
917 | 25 | Homepage: https://wiki.gnome.org/Gjs | 25 | Homepage: https://wiki.gnome.org/Gjs |
918 | 26 | XS-Testsuite: autopkgtest | ||
919 | 26 | 27 | ||
920 | 27 | Package: gjs | 28 | Package: gjs |
921 | 28 | Architecture: any | 29 | Architecture: any |
922 | @@ -35,6 +36,18 @@ | |||
923 | 35 | . | 36 | . |
924 | 36 | This package contains the interactive console application. | 37 | This package contains the interactive console application. |
925 | 37 | 38 | ||
926 | 39 | Package: gjs-tests | ||
927 | 40 | Architecture: any | ||
928 | 41 | Depends: ${shlibs:Depends}, | ||
929 | 42 | ${misc:Depends} | ||
930 | 43 | Description: Mozilla-based javascript bindings for the GNOME platform | ||
931 | 44 | Makes it possible for applications to use all of GNOME's platform | ||
932 | 45 | libraries using the Javascript language. It's mainly based on the | ||
933 | 46 | Mozilla javascript engine and the GObject introsepection framework. | ||
934 | 47 | . | ||
935 | 48 | This package contains test programs, designed to be run as part of a | ||
936 | 49 | regression testsuite. | ||
937 | 50 | |||
938 | 38 | Package: libgjs0d | 51 | Package: libgjs0d |
939 | 39 | Architecture: any | 52 | Architecture: any |
940 | 40 | Section: libs | 53 | Section: libs |
941 | 41 | 54 | ||
942 | === added file 'debian/gjs-tests.install' | |||
943 | --- debian/gjs-tests.install 1970-01-01 00:00:00 +0000 | |||
944 | +++ debian/gjs-tests.install 2013-10-27 19:56:01 +0000 | |||
945 | @@ -0,0 +1,3 @@ | |||
946 | 1 | usr/share/installed-tests | ||
947 | 2 | usr/lib/gjs/gjs/installed-tests | ||
948 | 3 | usr/lib/gjs/lib* | ||
949 | 0 | 4 | ||
950 | === added file 'debian/patches/git_fix_make_check.patch' | |||
951 | --- debian/patches/git_fix_make_check.patch 1970-01-01 00:00:00 +0000 | |||
952 | +++ debian/patches/git_fix_make_check.patch 2013-10-27 19:56:01 +0000 | |||
953 | @@ -0,0 +1,47 @@ | |||
954 | 1 | From f87c38787640f639da5ebf73014bbcf3b98cd9fc Mon Sep 17 00:00:00 2001 | ||
955 | 2 | From: Colin Walters <walters@verbum.org> | ||
956 | 3 | Date: Fri, 25 Oct 2013 15:56:37 +0000 | ||
957 | 4 | Subject: tests: Force generation of shared libraries | ||
958 | 5 | |||
959 | 6 | If installed tests are disabled, we need to force libtool | ||
960 | 7 | to generate .so files that can be dlopened by introspection. | ||
961 | 8 | |||
962 | 9 | https://bugzilla.gnome.org/710697 | ||
963 | 10 | --- | ||
964 | 11 | diff --git a/Makefile-insttest.am b/Makefile-insttest.am | ||
965 | 12 | index 2ebdc77..e63709f 100644 | ||
966 | 13 | --- a/Makefile-insttest.am | ||
967 | 14 | +++ b/Makefile-insttest.am | ||
968 | 15 | @@ -37,10 +37,15 @@ else | ||
969 | 16 | check_LTLIBRARIES += libregress.la libwarnlib.la libgimarshallingtests.la | ||
970 | 17 | endif | ||
971 | 18 | |||
972 | 19 | +# This rpath /nowhere thing is the libtool upstream recommended way to | ||
973 | 20 | +# force generation of shared libraries, which we need in order for the | ||
974 | 21 | +# tests to work uninstalled. | ||
975 | 22 | +common_test_ldflags = -avoid-version -rpath /nowhere $(GJS_LIBS) | ||
976 | 23 | + | ||
977 | 24 | nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h | ||
978 | 25 | libregress_la_CPPFLAGS = $(AM_CPPFLAGS) | ||
979 | 26 | libregress_la_CFLAGS = $(GJS_CFLAGS) | ||
980 | 27 | -libregress_la_LDFLAGS = -avoid-version $(GJS_LIBS) | ||
981 | 28 | +libregress_la_LDFLAGS = $(common_test_ldflags) | ||
982 | 29 | libregress_scannerflags_includes = --include=Gio-2.0 | ||
983 | 30 | if ENABLE_CAIRO | ||
984 | 31 | libregress_la_CFLAGS += $(GJS_CAIRO_CFLAGS) | ||
985 | 32 | @@ -51,10 +56,10 @@ libregress_la_CPPFLAGS += -D_GI_DISABLE_CAIRO | ||
986 | 33 | endif | ||
987 | 34 | nodist_libwarnlib_la_SOURCES = $(GI_DATADIR)/tests/warnlib.c $(GI_DATADIR)/tests/warnlib.h | ||
988 | 35 | libwarnlib_la_CFLAGS = $(GJS_CFLAGS) | ||
989 | 36 | -libwarnlib_la_LDFLAGS = -avoid-version $(GJS_LIBS) | ||
990 | 37 | +libwarnlib_la_LDFLAGS = $(common_test_ldflags) | ||
991 | 38 | nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h | ||
992 | 39 | libgimarshallingtests_la_CFLAGS = $(GJS_CFLAGS) | ||
993 | 40 | -libgimarshallingtests_la_LDFLAGS = -avoid-version $(GJS_LIBS) | ||
994 | 41 | +libgimarshallingtests_la_LDFLAGS = $(common_test_ldflags) | ||
995 | 42 | |||
996 | 43 | Regress-1.0.gir: libregress.la | ||
997 | 44 | Regress_1_0_gir_LIBS = libregress.la | ||
998 | 45 | -- | ||
999 | 46 | cgit v0.9.2 | ||
1000 | 47 | |||
1001 | 0 | 48 | ||
1002 | === modified file 'debian/patches/series' | |||
1003 | --- debian/patches/series 2013-03-28 03:08:20 +0000 | |||
1004 | +++ debian/patches/series 2013-10-27 19:56:01 +0000 | |||
1005 | @@ -0,0 +1,1 @@ | |||
1006 | 1 | git_fix_make_check.patch | ||
1007 | 0 | 2 | ||
1008 | === modified file 'debian/rules' | |||
1009 | --- debian/rules 2013-07-30 09:15:40 +0000 | |||
1010 | +++ debian/rules 2013-10-27 19:56:01 +0000 | |||
1011 | @@ -7,12 +7,15 @@ | |||
1012 | 7 | include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk | 7 | include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk |
1013 | 8 | include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk | 8 | include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk |
1014 | 9 | 9 | ||
1015 | 10 | # configure flags | ||
1016 | 11 | DEB_CONFIGURE_EXTRA_FLAGS := --enable-installed-tests | ||
1017 | 12 | |||
1018 | 10 | # Use recursive variables since this variable must not be expanded until | 13 | # Use recursive variables since this variable must not be expanded until |
1019 | 11 | # files have been installed. | 14 | # files have been installed. |
1020 | 12 | LIBMOZJS = $(shell objdump -p debian/tmp/usr/lib/libgjs.so | awk '$$1=="NEEDED" && $$2~/^libmozjs/ { print $$2 }' | sed s/\\.so\\./-/ ) | 15 | LIBMOZJS = $(shell objdump -p debian/tmp/usr/lib/libgjs.so | awk '$$1=="NEEDED" && $$2~/^libmozjs/ { print $$2 }' | sed s/\\.so\\./-/ ) |
1021 | 13 | DEB_DH_MAKESHLIBS_ARGS_libgjs0d = -Xusr/lib/gjs-1.0/ -V'libgjs0d (>= $(DEB_UPSTREAM_VERSION)), libgjs0-$(LIBMOZJS)' -- -c4 | 16 | DEB_DH_MAKESHLIBS_ARGS_libgjs0d = -Xusr/lib/gjs-1.0/ -V'libgjs0d (>= $(DEB_UPSTREAM_VERSION)), libgjs0-$(LIBMOZJS)' -- -c4 |
1022 | 14 | 17 | ||
1024 | 15 | DEB_MAKE_CHECK_TARGET := check || true | 18 | DEB_MAKE_CHECK_TARGET := check |
1025 | 16 | 19 | ||
1026 | 17 | install/libgjs0d:: | 20 | install/libgjs0d:: |
1027 | 18 | echo gjs:Provides=libgjs0-$(LIBMOZJS) >> debian/$(cdbs_curpkg).substvars | 21 | echo gjs:Provides=libgjs0-$(LIBMOZJS) >> debian/$(cdbs_curpkg).substvars |
1028 | 19 | 22 | ||
1029 | === added directory 'debian/tests' | |||
1030 | === added file 'debian/tests/build' | |||
1031 | --- debian/tests/build 1970-01-01 00:00:00 +0000 | |||
1032 | +++ debian/tests/build 2013-10-27 19:56:01 +0000 | |||
1033 | @@ -0,0 +1,27 @@ | |||
1034 | 1 | #!/bin/sh | ||
1035 | 2 | # autopkgtest check: Build and run a program against glib, to verify that the | ||
1036 | 3 | # headers and pkg-config file are installed correctly | ||
1037 | 4 | # (C) 2012 Canonical Ltd. | ||
1038 | 5 | # Author: Martin Pitt <martin.pitt@ubuntu.com> | ||
1039 | 6 | |||
1040 | 7 | set -e | ||
1041 | 8 | |||
1042 | 9 | WORKDIR=$(mktemp -d) | ||
1043 | 10 | trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM | ||
1044 | 11 | cd $WORKDIR | ||
1045 | 12 | cat <<EOF > gjstest.c | ||
1046 | 13 | #include <gjs/gjs.h> | ||
1047 | 14 | |||
1048 | 15 | int main() | ||
1049 | 16 | { | ||
1050 | 17 | GjsContext* context; | ||
1051 | 18 | context = gjs_context_new(); | ||
1052 | 19 | return 0; | ||
1053 | 20 | } | ||
1054 | 21 | EOF | ||
1055 | 22 | |||
1056 | 23 | gcc -o gjstest gjstest.c `pkg-config --cflags --libs gjs-1.0` | ||
1057 | 24 | echo "build: OK" | ||
1058 | 25 | [ -x gjstest ] | ||
1059 | 26 | ./gjstest | ||
1060 | 27 | echo "run: OK" | ||
1061 | 0 | 28 | ||
1062 | === added file 'debian/tests/control' | |||
1063 | --- debian/tests/control 1970-01-01 00:00:00 +0000 | |||
1064 | +++ debian/tests/control 2013-10-27 19:56:01 +0000 | |||
1065 | @@ -0,0 +1,5 @@ | |||
1066 | 1 | Tests: build | ||
1067 | 2 | Depends: libgjs-dev, build-essential | ||
1068 | 3 | |||
1069 | 4 | Tests: installed-tests | ||
1070 | 5 | Depends: gjs-tests, dbus-x11, xvfb, gnome-desktop-testing | ||
1071 | 0 | 6 | ||
1072 | === added file 'debian/tests/installed-tests' | |||
1073 | --- debian/tests/installed-tests 1970-01-01 00:00:00 +0000 | |||
1074 | +++ debian/tests/installed-tests 2013-10-27 19:56:01 +0000 | |||
1075 | @@ -0,0 +1,10 @@ | |||
1076 | 1 | #!/bin/sh | ||
1077 | 2 | # autopkgtest check: Run the installed-tests to verify glib works correctly | ||
1078 | 3 | # (C) 2013 Canonical Ltd. | ||
1079 | 4 | # Author: Iain Lane <iain.lane@canonical.com> | ||
1080 | 5 | |||
1081 | 6 | set -e | ||
1082 | 7 | |||
1083 | 8 | export XDG_RUNTIME_DIR=$ADTTMP | ||
1084 | 9 | |||
1085 | 10 | dbus-launch xvfb-run -a gnome-desktop-testing-runner gjs | ||
1086 | 0 | 11 | ||
1087 | === modified file 'gjs/console.c' | |||
1088 | --- gjs/console.c 2013-07-30 09:15:40 +0000 | |||
1089 | +++ gjs/console.c 2013-10-27 19:56:01 +0000 | |||
1090 | @@ -74,13 +74,13 @@ | |||
1091 | 74 | source_js_version = gjs_context_scan_buffer_for_js_version(script, 1024); | 74 | source_js_version = gjs_context_scan_buffer_for_js_version(script, 1024); |
1092 | 75 | len = strlen(script); | 75 | len = strlen(script); |
1093 | 76 | filename = "<command line>"; | 76 | filename = "<command line>"; |
1095 | 77 | program_name = NULL; | 77 | program_name = argv[0]; |
1096 | 78 | } else if (argc <= 1) { | 78 | } else if (argc <= 1) { |
1097 | 79 | source_js_version = NULL; | 79 | source_js_version = NULL; |
1098 | 80 | script = g_strdup("const Console = imports.console; Console.interact();"); | 80 | script = g_strdup("const Console = imports.console; Console.interact();"); |
1099 | 81 | len = strlen(script); | 81 | len = strlen(script); |
1100 | 82 | filename = "<stdin>"; | 82 | filename = "<stdin>"; |
1102 | 83 | program_name = NULL; | 83 | program_name = argv[0]; |
1103 | 84 | } else /*if (argc >= 2)*/ { | 84 | } else /*if (argc >= 2)*/ { |
1104 | 85 | error = NULL; | 85 | error = NULL; |
1105 | 86 | if (!g_file_get_contents(argv[1], &script, &len, &error)) { | 86 | if (!g_file_get_contents(argv[1], &script, &len, &error)) { |
1106 | 87 | 87 | ||
1107 | === added file 'installed-tests/script.test.in' | |||
1108 | --- installed-tests/script.test.in 1970-01-01 00:00:00 +0000 | |||
1109 | +++ installed-tests/script.test.in 2013-10-27 19:56:01 +0000 | |||
1110 | @@ -0,0 +1,3 @@ | |||
1111 | 1 | [Test] | ||
1112 | 2 | Type=session | ||
1113 | 3 | Exec=gjs @pkglibexecdir@/installed-tests/scripts/@name@ | ||
1114 | 0 | 4 | ||
1115 | === added directory 'installed-tests/scripts' | |||
1116 | === added file 'installed-tests/scripts/testSystemExit.js' | |||
1117 | --- installed-tests/scripts/testSystemExit.js 1970-01-01 00:00:00 +0000 | |||
1118 | +++ installed-tests/scripts/testSystemExit.js 2013-10-27 19:56:01 +0000 | |||
1119 | @@ -0,0 +1,5 @@ | |||
1120 | 1 | // application/javascript;version=1.8 | ||
1121 | 2 | |||
1122 | 3 | const System = imports.system; | ||
1123 | 4 | |||
1124 | 5 | System.exit(0); |
Could you contact the debian pkg-gnome team and package this there as well, it would help everyone a lot