Merge lp:~darkxst/ubuntu/trusty/gjs/1.38.1 into lp:ubuntu/trusty/gjs

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
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+192274@code.launchpad.net
To post a comment you must log in.
lp:~darkxst/ubuntu/trusty/gjs/1.38.1 updated
69. By Tim Lunn

debian/patches/git_fix_make_check.patch: Upstream patch to fix tests

70. By Tim Lunn

debian/rules: Make tests fatal again

Revision history for this message
Jackson Doak (noskcaj) wrote :

Could you contact the debian pkg-gnome team and package this there as well, it would help everyone a lot

Revision history for this message
Jackson Doak (noskcaj) wrote :

The work looks good though, you'll just need a developer to upload it.

lp:~darkxst/ubuntu/trusty/gjs/1.38.1 updated
71. By Tim Lunn

* debian/control.in: add -tests package for installed tests
* debian/tests: Add autopkgtests

72. By Tim Lunn

Actually run the gjs tests

73. By Tim Lunn

Actually run gjstest

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile-insttest.am'
--- Makefile-insttest.am 2013-08-23 11:54:16 +0000
+++ Makefile-insttest.am 2013-10-27 19:56:01 +0000
@@ -1,5 +1,7 @@
1EXTRA_DIST += \1EXTRA_DIST += \
2 installed-tests/jsunit.test.in2 installed-tests/jsunit.test.in \
3 installed-tests/script.test.in \
4 $(NULL)
35
4installedtestmetadir = $(datadir)/installed-tests/gjs6installedtestmetadir = $(datadir)/installed-tests/gjs
5installedtestmeta_DATA = 7installedtestmeta_DATA =
@@ -120,6 +122,6 @@
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 $@
121123
122jsscripttestsdir = $(gjsinsttestdir)/scripts124jsscripttestsdir = $(gjsinsttestdir)/scripts
123jsscripttests_DATA = installed-tests/scripts/testSystemExit.js125dist_jsscripttests_DATA = installed-tests/scripts/testSystemExit.js
124installedtestmeta_DATA += testSystemExit.test126installedtestmeta_DATA += testSystemExit.test
125endif127endif
126128
=== modified file 'Makefile.in'
--- Makefile.in 2013-08-23 11:54:16 +0000
+++ Makefile.in 2013-10-27 19:56:01 +0000
@@ -92,7 +92,8 @@
92 $(srcdir)/config.h.in $(srcdir)/gjs-1.0.pc.in \92 $(srcdir)/config.h.in $(srcdir)/gjs-1.0.pc.in \
93 $(srcdir)/gjs-internals-1.0.pc.in depcomp \93 $(srcdir)/gjs-internals-1.0.pc.in depcomp \
94 $(am__dist_gjsjs_DATA_DIST) $(dist_gjsoverride_DATA) \94 $(am__dist_gjsjs_DATA_DIST) $(dist_gjsoverride_DATA) \
95 $(dist_gjstweener_DATA) $(am__dist_jstests_DATA_DIST) \95 $(dist_gjstweener_DATA) $(am__dist_jsscripttests_DATA_DIST) \
96 $(am__dist_jstests_DATA_DIST) \
96 $(nobase_gjs_module_include_HEADERS) \97 $(nobase_gjs_module_include_HEADERS) \
97 $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) COPYING \98 $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS) COPYING \
98 compile config.guess config.sub install-sh missing ltmain.sh99 compile config.guess config.sub install-sh missing ltmain.sh
@@ -181,12 +182,11 @@
181am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" \182am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" \
182 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" \183 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(gjsinsttestdir)" \
183 "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" \184 "$(DESTDIR)$(gjsjsdir)" "$(DESTDIR)$(gjsoverridedir)" \
184 "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jstestsdir)" \185 "$(DESTDIR)$(gjstweenerdir)" "$(DESTDIR)$(jsscripttestsdir)" \
185 "$(DESTDIR)$(gjsinsttestdir)" \186 "$(DESTDIR)$(jstestsdir)" "$(DESTDIR)$(gjsinsttestdir)" \
186 "$(DESTDIR)$(installedtestmetadir)" \187 "$(DESTDIR)$(installedtestmetadir)" \
187 "$(DESTDIR)$(jsscripttestsdir)" "$(DESTDIR)$(pkgconfigdir)" \188 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(tapsetdir)" \
188 "$(DESTDIR)$(tapsetdir)" "$(DESTDIR)$(typelibdir)" \189 "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(gjs_module_includedir)" \
189 "$(DESTDIR)$(gjs_module_includedir)" \
190 "$(DESTDIR)$(gjs_public_includedir)"190 "$(DESTDIR)$(gjs_public_includedir)"
191LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \191LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \
192 $(privlib_LTLIBRARIES)192 $(privlib_LTLIBRARIES)
@@ -374,6 +374,8 @@
374am__dist_gjsjs_DATA_DIST = modules/gettext.js modules/lang.js \374am__dist_gjsjs_DATA_DIST = modules/gettext.js modules/lang.js \
375 modules/mainloop.js modules/jsUnit.js modules/signals.js \375 modules/mainloop.js modules/jsUnit.js modules/signals.js \
376 modules/promise.js modules/format.js modules/cairo.js376 modules/promise.js modules/format.js modules/cairo.js
377am__dist_jsscripttests_DATA_DIST = \
378 installed-tests/scripts/testSystemExit.js
377am__dist_jstests_DATA_DIST = installed-tests/js/test0010basic.js \379am__dist_jstests_DATA_DIST = installed-tests/js/test0010basic.js \
378 installed-tests/js/test0020importer.js \380 installed-tests/js/test0020importer.js \
379 installed-tests/js/test0030basicBoxed.js \381 installed-tests/js/test0030basicBoxed.js \
@@ -400,9 +402,9 @@
400 installed-tests/js/testUnicode.js \402 installed-tests/js/testUnicode.js \
401 installed-tests/js/testCairo.js403 installed-tests/js/testCairo.js
402DATA = $(dist_gjsjs_DATA) $(dist_gjsoverride_DATA) \404DATA = $(dist_gjsjs_DATA) $(dist_gjsoverride_DATA) \
403 $(dist_gjstweener_DATA) $(dist_jstests_DATA) \405 $(dist_gjstweener_DATA) $(dist_jsscripttests_DATA) \
404 $(gjsinsttest_DATA) $(installedtestmeta_DATA) \406 $(dist_jstests_DATA) $(gjsinsttest_DATA) \
405 $(jsscripttests_DATA) $(noinst_DATA) $(pkgconfig_DATA) \407 $(installedtestmeta_DATA) $(noinst_DATA) $(pkgconfig_DATA) \
406 $(tapset_DATA) $(typelib_DATA)408 $(tapset_DATA) $(typelib_DATA)
407HEADERS = $(nobase_gjs_module_include_HEADERS) \409HEADERS = $(nobase_gjs_module_include_HEADERS) \
408 $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS)410 $(nobase_gjs_public_include_HEADERS) $(noinst_HEADERS)
@@ -439,8 +441,8 @@
439 else :; fi441 else :; fi
440am__post_remove_distdir = $(am__remove_distdir)442am__post_remove_distdir = $(am__remove_distdir)
441GZIP_ENV = --best443GZIP_ENV = --best
442DIST_ARCHIVES = $(distdir).tar.bz2444DIST_ARCHIVES = $(distdir).tar.xz
443DIST_TARGETS = dist-bzip2445DIST_TARGETS = dist-xz
444distuninstallcheck_listfiles = find . -type f -print446distuninstallcheck_listfiles = find . -type f -print
445am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \447am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
446 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'448 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -614,7 +616,8 @@
614 $(tapset_in_files) examples/clutter.js examples/gio-cat.js \616 $(tapset_in_files) examples/clutter.js examples/gio-cat.js \
615 examples/gtk.js examples/http-server.js examples/test.jpg \617 examples/gtk.js examples/http-server.js examples/test.jpg \
616 test/run-with-dbus test/test-bus.conf \618 test/run-with-dbus test/test-bus.conf \
617 installed-tests/jsunit.test.in autogen.sh COPYING.LGPL619 installed-tests/jsunit.test.in installed-tests/script.test.in \
620 $(NULL) autogen.sh COPYING.LGPL
618gjstest_files_with_tests = gjs/context.c gjs/jsapi-util-array.c \621gjstest_files_with_tests = gjs/context.c gjs/jsapi-util-array.c \
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 \
620 util/glib.c623 util/glib.c
@@ -863,7 +866,7 @@
863jstestsdir = $(gjsinsttestdir)/js866jstestsdir = $(gjsinsttestdir)/js
864dist_jstests_DATA = $(am__append_15) $(am__append_16)867dist_jstests_DATA = $(am__append_15) $(am__append_16)
865@BUILDOPT_INSTALL_TESTS_TRUE@jsscripttestsdir = $(gjsinsttestdir)/scripts868@BUILDOPT_INSTALL_TESTS_TRUE@jsscripttestsdir = $(gjsinsttestdir)/scripts
866@BUILDOPT_INSTALL_TESTS_TRUE@jsscripttests_DATA = installed-tests/scripts/testSystemExit.js869@BUILDOPT_INSTALL_TESTS_TRUE@dist_jsscripttests_DATA = installed-tests/scripts/testSystemExit.js
867870
868# Colin's handy Makefile bits for:871# Colin's handy Makefile bits for:
869# 1) stuffing tarballs with pre-generated scripts from your workstation872# 1) stuffing tarballs with pre-generated scripts from your workstation
@@ -1825,6 +1828,27 @@
1825 @list='$(dist_gjstweener_DATA)'; test -n "$(gjstweenerdir)" || list=; \1828 @list='$(dist_gjstweener_DATA)'; test -n "$(gjstweenerdir)" || list=; \
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|^.*/||'`; \
1827 dir='$(DESTDIR)$(gjstweenerdir)'; $(am__uninstall_files_from_dir)1830 dir='$(DESTDIR)$(gjstweenerdir)'; $(am__uninstall_files_from_dir)
1831install-dist_jsscripttestsDATA: $(dist_jsscripttests_DATA)
1832 @$(NORMAL_INSTALL)
1833 @list='$(dist_jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \
1834 if test -n "$$list"; then \
1835 echo " $(MKDIR_P) '$(DESTDIR)$(jsscripttestsdir)'"; \
1836 $(MKDIR_P) "$(DESTDIR)$(jsscripttestsdir)" || exit 1; \
1837 fi; \
1838 for p in $$list; do \
1839 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1840 echo "$$d$$p"; \
1841 done | $(am__base_list) | \
1842 while read files; do \
1843 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(jsscripttestsdir)'"; \
1844 $(INSTALL_DATA) $$files "$(DESTDIR)$(jsscripttestsdir)" || exit $$?; \
1845 done
1846
1847uninstall-dist_jsscripttestsDATA:
1848 @$(NORMAL_UNINSTALL)
1849 @list='$(dist_jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \
1850 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1851 dir='$(DESTDIR)$(jsscripttestsdir)'; $(am__uninstall_files_from_dir)
1828install-dist_jstestsDATA: $(dist_jstests_DATA)1852install-dist_jstestsDATA: $(dist_jstests_DATA)
1829 @$(NORMAL_INSTALL)1853 @$(NORMAL_INSTALL)
1830 @list='$(dist_jstests_DATA)'; test -n "$(jstestsdir)" || list=; \1854 @list='$(dist_jstests_DATA)'; test -n "$(jstestsdir)" || list=; \
@@ -1888,27 +1912,6 @@
1888 @list='$(installedtestmeta_DATA)'; test -n "$(installedtestmetadir)" || list=; \1912 @list='$(installedtestmeta_DATA)'; test -n "$(installedtestmetadir)" || list=; \
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|^.*/||'`; \
1890 dir='$(DESTDIR)$(installedtestmetadir)'; $(am__uninstall_files_from_dir)1914 dir='$(DESTDIR)$(installedtestmetadir)'; $(am__uninstall_files_from_dir)
1891install-jsscripttestsDATA: $(jsscripttests_DATA)
1892 @$(NORMAL_INSTALL)
1893 @list='$(jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \
1894 if test -n "$$list"; then \
1895 echo " $(MKDIR_P) '$(DESTDIR)$(jsscripttestsdir)'"; \
1896 $(MKDIR_P) "$(DESTDIR)$(jsscripttestsdir)" || exit 1; \
1897 fi; \
1898 for p in $$list; do \
1899 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1900 echo "$$d$$p"; \
1901 done | $(am__base_list) | \
1902 while read files; do \
1903 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(jsscripttestsdir)'"; \
1904 $(INSTALL_DATA) $$files "$(DESTDIR)$(jsscripttestsdir)" || exit $$?; \
1905 done
1906
1907uninstall-jsscripttestsDATA:
1908 @$(NORMAL_UNINSTALL)
1909 @list='$(jsscripttests_DATA)'; test -n "$(jsscripttestsdir)" || list=; \
1910 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1911 dir='$(DESTDIR)$(jsscripttestsdir)'; $(am__uninstall_files_from_dir)
1912install-pkgconfigDATA: $(pkgconfig_DATA)1915install-pkgconfigDATA: $(pkgconfig_DATA)
1913 @$(NORMAL_INSTALL)1916 @$(NORMAL_INSTALL)
1914 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \1917 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
@@ -2122,6 +2125,7 @@
2122dist-gzip: distdir2125dist-gzip: distdir
2123 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz2126 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
2124 $(am__post_remove_distdir)2127 $(am__post_remove_distdir)
2128
2125dist-bzip2: distdir2129dist-bzip2: distdir
2126 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz22130 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
2127 $(am__post_remove_distdir)2131 $(am__post_remove_distdir)
@@ -2129,7 +2133,6 @@
2129dist-lzip: distdir2133dist-lzip: distdir
2130 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz2134 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
2131 $(am__post_remove_distdir)2135 $(am__post_remove_distdir)
2132
2133dist-xz: distdir2136dist-xz: distdir
2134 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz2137 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
2135 $(am__post_remove_distdir)2138 $(am__post_remove_distdir)
@@ -2245,7 +2248,7 @@
2245install-binPROGRAMS: install-libLTLIBRARIES2248install-binPROGRAMS: install-libLTLIBRARIES
22462249
2247installdirs:2250installdirs:
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 \
2249 test -z "$$dir" || $(MKDIR_P) "$$dir"; \2252 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
2250 done2253 done
2251install: $(BUILT_SOURCES)2254install: $(BUILT_SOURCES)
@@ -2308,9 +2311,9 @@
2308info-am:2311info-am:
23092312
2310install-data-am: install-dist_gjsjsDATA install-dist_gjsoverrideDATA \2313install-data-am: install-dist_gjsjsDATA install-dist_gjsoverrideDATA \
2311 install-dist_gjstweenerDATA install-dist_jstestsDATA \2314 install-dist_gjstweenerDATA install-dist_jsscripttestsDATA \
2312 install-gjsinsttestDATA install-gjsinsttestPROGRAMS \2315 install-dist_jstestsDATA install-gjsinsttestDATA \
2313 install-installedtestmetaDATA install-jsscripttestsDATA \2316 install-gjsinsttestPROGRAMS install-installedtestmetaDATA \
2314 install-nobase_gjs_module_includeHEADERS \2317 install-nobase_gjs_module_includeHEADERS \
2315 install-nobase_gjs_public_includeHEADERS install-pkgconfigDATA \2318 install-nobase_gjs_public_includeHEADERS install-pkgconfigDATA \
2316 install-privlibLTLIBRARIES install-tapsetDATA \2319 install-privlibLTLIBRARIES install-tapsetDATA \
@@ -2365,9 +2368,9 @@
23652368
2366uninstall-am: uninstall-binPROGRAMS uninstall-dist_gjsjsDATA \2369uninstall-am: uninstall-binPROGRAMS uninstall-dist_gjsjsDATA \
2367 uninstall-dist_gjsoverrideDATA uninstall-dist_gjstweenerDATA \2370 uninstall-dist_gjsoverrideDATA uninstall-dist_gjstweenerDATA \
2368 uninstall-dist_jstestsDATA uninstall-gjsinsttestDATA \2371 uninstall-dist_jsscripttestsDATA uninstall-dist_jstestsDATA \
2369 uninstall-gjsinsttestPROGRAMS uninstall-installedtestmetaDATA \2372 uninstall-gjsinsttestDATA uninstall-gjsinsttestPROGRAMS \
2370 uninstall-jsscripttestsDATA uninstall-libLTLIBRARIES \2373 uninstall-installedtestmetaDATA uninstall-libLTLIBRARIES \
2371 uninstall-nobase_gjs_module_includeHEADERS \2374 uninstall-nobase_gjs_module_includeHEADERS \
2372 uninstall-nobase_gjs_public_includeHEADERS \2375 uninstall-nobase_gjs_public_includeHEADERS \
2373 uninstall-pkgconfigDATA uninstall-privlibLTLIBRARIES \2376 uninstall-pkgconfigDATA uninstall-privlibLTLIBRARIES \
@@ -2389,11 +2392,11 @@
2389 info-am install install-am install-binPROGRAMS install-data \2392 info-am install install-am install-binPROGRAMS install-data \
2390 install-data-am install-dist_gjsjsDATA \2393 install-data-am install-dist_gjsjsDATA \
2391 install-dist_gjsoverrideDATA install-dist_gjstweenerDATA \2394 install-dist_gjsoverrideDATA install-dist_gjstweenerDATA \
2392 install-dist_jstestsDATA install-dvi install-dvi-am \2395 install-dist_jsscripttestsDATA install-dist_jstestsDATA \
2393 install-exec install-exec-am install-exec-hook \2396 install-dvi install-dvi-am install-exec install-exec-am \
2394 install-gjsinsttestDATA install-gjsinsttestPROGRAMS \2397 install-exec-hook install-gjsinsttestDATA \
2395 install-html install-html-am install-info install-info-am \2398 install-gjsinsttestPROGRAMS install-html install-html-am \
2396 install-installedtestmetaDATA install-jsscripttestsDATA \2399 install-info install-info-am install-installedtestmetaDATA \
2397 install-libLTLIBRARIES install-man \2400 install-libLTLIBRARIES install-man \
2398 install-nobase_gjs_module_includeHEADERS \2401 install-nobase_gjs_module_includeHEADERS \
2399 install-nobase_gjs_public_includeHEADERS install-pdf \2402 install-nobase_gjs_public_includeHEADERS install-pdf \
@@ -2405,9 +2408,9 @@
2405 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \2408 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
2406 tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \2409 tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
2407 uninstall-dist_gjsjsDATA uninstall-dist_gjsoverrideDATA \2410 uninstall-dist_gjsjsDATA uninstall-dist_gjsoverrideDATA \
2408 uninstall-dist_gjstweenerDATA uninstall-dist_jstestsDATA \2411 uninstall-dist_gjstweenerDATA uninstall-dist_jsscripttestsDATA \
2409 uninstall-gjsinsttestDATA uninstall-gjsinsttestPROGRAMS \2412 uninstall-dist_jstestsDATA uninstall-gjsinsttestDATA \
2410 uninstall-installedtestmetaDATA uninstall-jsscripttestsDATA \2413 uninstall-gjsinsttestPROGRAMS uninstall-installedtestmetaDATA \
2411 uninstall-libLTLIBRARIES \2414 uninstall-libLTLIBRARIES \
2412 uninstall-nobase_gjs_module_includeHEADERS \2415 uninstall-nobase_gjs_module_includeHEADERS \
2413 uninstall-nobase_gjs_public_includeHEADERS \2416 uninstall-nobase_gjs_public_includeHEADERS \
24142417
=== modified file 'aclocal.m4'
--- aclocal.m4 2013-07-30 09:15:40 +0000
+++ aclocal.m4 2013-10-27 19:56:01 +0000
@@ -1105,228 +1105,6 @@
1105AC_SUBST([am__untar])1105AC_SUBST([am__untar])
1106]) # _AM_PROG_TAR1106]) # _AM_PROG_TAR
11071107
1108# gnome-common.m4
1109#
1110# serial 3
1111#
1112
1113dnl GNOME_COMMON_INIT
1114
1115AU_DEFUN([GNOME_COMMON_INIT],
1116[
1117 dnl this macro should come after AC_CONFIG_MACRO_DIR
1118 AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
1119
1120 dnl ensure that when the Automake generated makefile calls aclocal,
1121 dnl it honours the $ACLOCAL_FLAGS environment variable
1122 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
1123 if test -n "$ac_macro_dir"; then
1124 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
1125 fi
1126
1127 AC_SUBST([ACLOCAL_AMFLAGS])
1128],
1129[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
1130in your top-level Makefile.am, instead, where "m4" is the macro directory set
1131with AC_CONFIG_MACRO_DIR() in your configure.ac]])
1132
1133AC_DEFUN([GNOME_DEBUG_CHECK],
1134[
1135 AC_ARG_ENABLE([debug],
1136 AC_HELP_STRING([--enable-debug],
1137 [turn on debugging]),,
1138 [enable_debug=no])
1139
1140 if test x$enable_debug = xyes ; then
1141 AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
1142 [Enable additional debugging at the expense of performance and size])
1143 fi
1144])
1145
1146dnl GNOME_MAINTAINER_MODE_DEFINES ()
1147dnl define DISABLE_DEPRECATED
1148dnl
1149AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
1150[
1151 AC_REQUIRE([AM_MAINTAINER_MODE])
1152
1153 DISABLE_DEPRECATED=""
1154 if test $USE_MAINTAINER_MODE = yes; then
1155 DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
1156 for DOMAIN in $DOMAINS; do
1157 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
1158 done
1159 fi
1160
1161 AC_SUBST(DISABLE_DEPRECATED)
1162])
1163
1164dnl GNOME_COMPILE_WARNINGS
1165dnl Turn on many useful compiler warnings and substitute the result into
1166dnl WARN_CFLAGS
1167dnl For now, only works on GCC
1168AC_DEFUN([GNOME_COMPILE_WARNINGS],[
1169 dnl ******************************
1170 dnl More compiler warnings
1171 dnl ******************************
1172
1173 AC_ARG_ENABLE(compile-warnings,
1174 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
1175 [Turn on compiler warnings]),,
1176 [enable_compile_warnings="m4_default([$1],[yes])"])
1177
1178 if test "x$GCC" != xyes; then
1179 enable_compile_warnings=no
1180 fi
1181
1182 warning_flags=
1183 realsave_CFLAGS="$CFLAGS"
1184
1185 dnl These are warning flags that aren't marked as fatal. Can be
1186 dnl overridden on a per-project basis with -Wno-foo.
1187 base_warn_flags=" \
1188 -Wall \
1189 -Wstrict-prototypes \
1190 -Wnested-externs \
1191 "
1192
1193 dnl These compiler flags typically indicate very broken or suspicious
1194 dnl code. Some of them such as implicit-function-declaration are
1195 dnl just not default because gcc compiles a lot of legacy code.
1196 dnl We choose to make this set into explicit errors.
1197 base_error_flags=" \
1198 -Werror=missing-prototypes \
1199 -Werror=implicit-function-declaration \
1200 -Werror=pointer-arith \
1201 -Werror=init-self \
1202 -Werror=format-security \
1203 -Werror=format=2 \
1204 -Werror=missing-include-dirs \
1205 "
1206
1207 case "$enable_compile_warnings" in
1208 no)
1209 warning_flags=
1210 ;;
1211 minimum)
1212 warning_flags="-Wall"
1213 ;;
1214 yes)
1215 warning_flags="$base_warn_flags $base_error_flags"
1216 ;;
1217 maximum|error)
1218 warning_flags="$base_warn_flags $base_error_flags"
1219 ;;
1220 *)
1221 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
1222 ;;
1223 esac
1224
1225 if test "$enable_compile_warnings" = "error" ; then
1226 warning_flags="$warning_flags -Werror"
1227 fi
1228
1229 dnl Check whether GCC supports the warning options
1230 for option in $warning_flags; do
1231 save_CFLAGS="$CFLAGS"
1232 CFLAGS="$CFLAGS $option"
1233 AC_MSG_CHECKING([whether gcc understands $option])
1234 AC_TRY_COMPILE([], [],
1235 has_option=yes,
1236 has_option=no,)
1237 CFLAGS="$save_CFLAGS"
1238 AC_MSG_RESULT([$has_option])
1239 if test $has_option = yes; then
1240 tested_warning_flags="$tested_warning_flags $option"
1241 fi
1242 unset has_option
1243 unset save_CFLAGS
1244 done
1245 unset option
1246 CFLAGS="$realsave_CFLAGS"
1247 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
1248 AC_MSG_RESULT($tested_warning_flags)
1249
1250 AC_ARG_ENABLE(iso-c,
1251 AC_HELP_STRING([--enable-iso-c],
1252 [Try to warn if code is not ISO C ]),,
1253 [enable_iso_c=no])
1254
1255 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
1256 complCFLAGS=
1257 if test "x$enable_iso_c" != "xno"; then
1258 if test "x$GCC" = "xyes"; then
1259 case " $CFLAGS " in
1260 *[\ \ ]-ansi[\ \ ]*) ;;
1261 *) complCFLAGS="$complCFLAGS -ansi" ;;
1262 esac
1263 case " $CFLAGS " in
1264 *[\ \ ]-pedantic[\ \ ]*) ;;
1265 *) complCFLAGS="$complCFLAGS -pedantic" ;;
1266 esac
1267 fi
1268 fi
1269 AC_MSG_RESULT($complCFLAGS)
1270
1271 WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
1272 AC_SUBST(WARN_CFLAGS)
1273])
1274
1275dnl For C++, do basically the same thing.
1276
1277AC_DEFUN([GNOME_CXX_WARNINGS],[
1278 AC_ARG_ENABLE(cxx-warnings,
1279 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
1280 [Turn on compiler warnings.]),,
1281 [enable_cxx_warnings="m4_default([$1],[minimum])"])
1282
1283 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
1284 warnCXXFLAGS=
1285 if test "x$GXX" != xyes; then
1286 enable_cxx_warnings=no
1287 fi
1288 if test "x$enable_cxx_warnings" != "xno"; then
1289 if test "x$GXX" = "xyes"; then
1290 case " $CXXFLAGS " in
1291 *[\ \ ]-Wall[\ \ ]*) ;;
1292 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
1293 esac
1294
1295 ## -W is not all that useful. And it cannot be controlled
1296 ## with individual -Wno-xxx flags, unlike -Wall
1297 if test "x$enable_cxx_warnings" = "xyes"; then
1298 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
1299 fi
1300 fi
1301 fi
1302 AC_MSG_RESULT($warnCXXFLAGS)
1303
1304 AC_ARG_ENABLE(iso-cxx,
1305 AC_HELP_STRING([--enable-iso-cxx],
1306 [Try to warn if code is not ISO C++ ]),,
1307 [enable_iso_cxx=no])
1308
1309 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
1310 complCXXFLAGS=
1311 if test "x$enable_iso_cxx" != "xno"; then
1312 if test "x$GXX" = "xyes"; then
1313 case " $CXXFLAGS " in
1314 *[\ \ ]-ansi[\ \ ]*) ;;
1315 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
1316 esac
1317
1318 case " $CXXFLAGS " in
1319 *[\ \ ]-pedantic[\ \ ]*) ;;
1320 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
1321 esac
1322 fi
1323 fi
1324 AC_MSG_RESULT($complCXXFLAGS)
1325
1326 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
1327 AC_SUBST(WARN_CXXFLAGS)
1328])
1329
1330# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-1108# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1331#1109#
1332# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,1110# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -10118,6 +9896,243 @@
10118m4_popdef([pkg_description])9896m4_popdef([pkg_description])
10119]) dnl PKG_NOARCH_INSTALLDIR9897]) dnl PKG_NOARCH_INSTALLDIR
101209898
9899# gnome-common.m4
9900#
9901# serial 3
9902#
9903
9904dnl GNOME_COMMON_INIT
9905
9906AU_DEFUN([GNOME_COMMON_INIT],
9907[
9908 dnl this macro should come after AC_CONFIG_MACRO_DIR
9909 AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
9910
9911 dnl ensure that when the Automake generated makefile calls aclocal,
9912 dnl it honours the $ACLOCAL_FLAGS environment variable
9913 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
9914 if test -n "$ac_macro_dir"; then
9915 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
9916 fi
9917
9918 AC_SUBST([ACLOCAL_AMFLAGS])
9919],
9920[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
9921in your top-level Makefile.am, instead, where "m4" is the macro directory set
9922with AC_CONFIG_MACRO_DIR() in your configure.ac]])
9923
9924AC_DEFUN([GNOME_DEBUG_CHECK],
9925[
9926 AC_ARG_ENABLE([debug],
9927 AC_HELP_STRING([--enable-debug],
9928 [turn on debugging]),,
9929 [enable_debug=no])
9930
9931 if test x$enable_debug = xyes ; then
9932 AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
9933 [Enable additional debugging at the expense of performance and size])
9934 fi
9935])
9936
9937dnl GNOME_MAINTAINER_MODE_DEFINES ()
9938dnl define DISABLE_DEPRECATED
9939dnl
9940AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
9941[
9942 AC_REQUIRE([AM_MAINTAINER_MODE])
9943
9944 DISABLE_DEPRECATED=""
9945 if test $USE_MAINTAINER_MODE = yes; then
9946 DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
9947 for DOMAIN in $DOMAINS; do
9948 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
9949 done
9950 fi
9951
9952 AC_SUBST(DISABLE_DEPRECATED)
9953])
9954
9955# gnome-compiler-flags.m4
9956#
9957# serial 2
9958#
9959
9960dnl GNOME_COMPILE_WARNINGS
9961dnl Turn on many useful compiler warnings and substitute the result into
9962dnl WARN_CFLAGS
9963dnl For now, only works on GCC
9964dnl Pass the default value of the --enable-compile-warnings configure option as
9965dnl the first argument to the macro, defaulting to 'yes'.
9966dnl Additional warning/error flags can be passed as an optional second argument.
9967dnl
9968dnl For example: GNOME_COMPILE_WARNINGS([maximum],[-Werror=some-flag -Wfoobar])
9969AC_DEFUN([GNOME_COMPILE_WARNINGS],[
9970 dnl ******************************
9971 dnl More compiler warnings
9972 dnl ******************************
9973
9974 AC_ARG_ENABLE(compile-warnings,
9975 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
9976 [Turn on compiler warnings]),,
9977 [enable_compile_warnings="m4_default([$1],[yes])"])
9978
9979 if test "x$GCC" != xyes; then
9980 enable_compile_warnings=no
9981 fi
9982
9983 warning_flags=
9984 realsave_CFLAGS="$CFLAGS"
9985
9986 dnl These are warning flags that aren't marked as fatal. Can be
9987 dnl overridden on a per-project basis with -Wno-foo.
9988 base_warn_flags=" \
9989 -Wall \
9990 -Wstrict-prototypes \
9991 -Wnested-externs \
9992 "
9993
9994 dnl These compiler flags typically indicate very broken or suspicious
9995 dnl code. Some of them such as implicit-function-declaration are
9996 dnl just not default because gcc compiles a lot of legacy code.
9997 dnl We choose to make this set into explicit errors.
9998 base_error_flags=" \
9999 -Werror=missing-prototypes \
10000 -Werror=implicit-function-declaration \
10001 -Werror=pointer-arith \
10002 -Werror=init-self \
10003 -Werror=format-security \
10004 -Werror=format=2 \
10005 -Werror=missing-include-dirs \
10006 "
10007
10008 dnl Additional warning or error flags provided by the module author to
10009 dnl allow stricter standards to be imposed on a per-module basis.
10010 dnl The author can pass -W or -Werror flags here as they see fit.
10011 additional_flags="m4_default([$2],[])"
10012
10013 case "$enable_compile_warnings" in
10014 no)
10015 warning_flags=
10016 ;;
10017 minimum)
10018 warning_flags="-Wall"
10019 ;;
10020 yes)
10021 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
10022 ;;
10023 maximum|error)
10024 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
10025 ;;
10026 *)
10027 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
10028 ;;
10029 esac
10030
10031 if test "$enable_compile_warnings" = "error" ; then
10032 warning_flags="$warning_flags -Werror"
10033 fi
10034
10035 dnl Check whether GCC supports the warning options
10036 for option in $warning_flags; do
10037 save_CFLAGS="$CFLAGS"
10038 CFLAGS="$CFLAGS $option"
10039 AC_MSG_CHECKING([whether gcc understands $option])
10040 AC_TRY_COMPILE([], [],
10041 has_option=yes,
10042 has_option=no,)
10043 CFLAGS="$save_CFLAGS"
10044 AC_MSG_RESULT([$has_option])
10045 if test $has_option = yes; then
10046 tested_warning_flags="$tested_warning_flags $option"
10047 fi
10048 unset has_option
10049 unset save_CFLAGS
10050 done
10051 unset option
10052 CFLAGS="$realsave_CFLAGS"
10053 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
10054 AC_MSG_RESULT($tested_warning_flags)
10055
10056 AC_ARG_ENABLE(iso-c,
10057 AC_HELP_STRING([--enable-iso-c],
10058 [Try to warn if code is not ISO C ]),,
10059 [enable_iso_c=no])
10060
10061 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
10062 complCFLAGS=
10063 if test "x$enable_iso_c" != "xno"; then
10064 if test "x$GCC" = "xyes"; then
10065 case " $CFLAGS " in
10066 *[\ \ ]-ansi[\ \ ]*) ;;
10067 *) complCFLAGS="$complCFLAGS -ansi" ;;
10068 esac
10069 case " $CFLAGS " in
10070 *[\ \ ]-pedantic[\ \ ]*) ;;
10071 *) complCFLAGS="$complCFLAGS -pedantic" ;;
10072 esac
10073 fi
10074 fi
10075 AC_MSG_RESULT($complCFLAGS)
10076
10077 WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
10078 AC_SUBST(WARN_CFLAGS)
10079])
10080
10081dnl For C++, do basically the same thing.
10082
10083AC_DEFUN([GNOME_CXX_WARNINGS],[
10084 AC_ARG_ENABLE(cxx-warnings,
10085 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
10086 [Turn on compiler warnings.]),,
10087 [enable_cxx_warnings="m4_default([$1],[minimum])"])
10088
10089 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
10090 warnCXXFLAGS=
10091 if test "x$GXX" != xyes; then
10092 enable_cxx_warnings=no
10093 fi
10094 if test "x$enable_cxx_warnings" != "xno"; then
10095 if test "x$GXX" = "xyes"; then
10096 case " $CXXFLAGS " in
10097 *[\ \ ]-Wall[\ \ ]*) ;;
10098 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
10099 esac
10100
10101 ## -W is not all that useful. And it cannot be controlled
10102 ## with individual -Wno-xxx flags, unlike -Wall
10103 if test "x$enable_cxx_warnings" = "xyes"; then
10104 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
10105 fi
10106 fi
10107 fi
10108 AC_MSG_RESULT($warnCXXFLAGS)
10109
10110 AC_ARG_ENABLE(iso-cxx,
10111 AC_HELP_STRING([--enable-iso-cxx],
10112 [Try to warn if code is not ISO C++ ]),,
10113 [enable_iso_cxx=no])
10114
10115 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
10116 complCXXFLAGS=
10117 if test "x$enable_iso_cxx" != "xno"; then
10118 if test "x$GXX" = "xyes"; then
10119 case " $CXXFLAGS " in
10120 *[\ \ ]-ansi[\ \ ]*) ;;
10121 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
10122 esac
10123
10124 case " $CXXFLAGS " in
10125 *[\ \ ]-pedantic[\ \ ]*) ;;
10126 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
10127 esac
10128 fi
10129 fi
10130 AC_MSG_RESULT($complCXXFLAGS)
10131
10132 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
10133 AC_SUBST(WARN_CXXFLAGS)
10134])
10135
10121dnl -*- mode: autoconf -*-10136dnl -*- mode: autoconf -*-
10122dnl Copyright 2009 Johan Dahlin10137dnl Copyright 2009 Johan Dahlin
10123dnl10138dnl
1012410139
=== modified file 'configure'
--- configure 2013-08-23 11:54:16 +0000
+++ configure 2013-10-27 19:56:01 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for gjs 1.37.6.3# Generated by GNU Autoconf 2.69 for gjs 1.38.1.
4#4#
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>.
6#6#
@@ -591,8 +591,8 @@
591# Identity of this package.591# Identity of this package.
592PACKAGE_NAME='gjs'592PACKAGE_NAME='gjs'
593PACKAGE_TARNAME='gjs'593PACKAGE_TARNAME='gjs'
594PACKAGE_VERSION='1.37.6'594PACKAGE_VERSION='1.38.1'
595PACKAGE_STRING='gjs 1.37.6'595PACKAGE_STRING='gjs 1.38.1'
596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gjs'596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gjs'
597PACKAGE_URL=''597PACKAGE_URL=''
598598
@@ -1394,7 +1394,7 @@
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.
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.
1396 cat <<_ACEOF1396 cat <<_ACEOF
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.
13981398
1399Usage: $0 [OPTION]... [VAR=VALUE]...1399Usage: $0 [OPTION]... [VAR=VALUE]...
14001400
@@ -1464,7 +1464,7 @@
14641464
1465if test -n "$ac_init_help"; then1465if test -n "$ac_init_help"; then
1466 case $ac_init_help in1466 case $ac_init_help in
1467 short | recursive ) echo "Configuration of gjs 1.37.6:";;1467 short | recursive ) echo "Configuration of gjs 1.38.1:";;
1468 esac1468 esac
1469 cat <<\_ACEOF1469 cat <<\_ACEOF
14701470
@@ -1608,7 +1608,7 @@
1608test -n "$ac_init_help" && exit $ac_status1608test -n "$ac_init_help" && exit $ac_status
1609if $ac_init_version; then1609if $ac_init_version; then
1610 cat <<\_ACEOF1610 cat <<\_ACEOF
1611gjs configure 1.37.61611gjs configure 1.38.1
1612generated by GNU Autoconf 2.691612generated by GNU Autoconf 2.69
16131613
1614Copyright (C) 2012 Free Software Foundation, Inc.1614Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2098,7 +2098,7 @@
2098This file contains any messages produced by compilers while2098This file contains any messages produced by compilers while
2099running configure, to aid debugging if configure makes a mistake.2099running configure, to aid debugging if configure makes a mistake.
21002100
2101It was created by gjs $as_me 1.37.6, which was2101It was created by gjs $as_me 1.38.1, which was
2102generated by GNU Autoconf 2.69. Invocation command line was2102generated by GNU Autoconf 2.69. Invocation command line was
21032103
2104 $ $0 $@2104 $ $0 $@
@@ -2961,7 +2961,7 @@
29612961
2962# Define the identity of the package.2962# Define the identity of the package.
2963 PACKAGE='gjs'2963 PACKAGE='gjs'
2964 VERSION='1.37.6'2964 VERSION='1.38.1'
29652965
29662966
2967cat >>confdefs.h <<_ACEOF2967cat >>confdefs.h <<_ACEOF
@@ -3017,7 +3017,7 @@
30173017
30183018
30193019
3020$as_echo "#define GJS_VERSION (1 * 100 + 37) * 100 + 6" >>confdefs.h3020$as_echo "#define GJS_VERSION (1 * 100 + 38) * 100 + 1" >>confdefs.h
30213021
30223022
3023GETTEXT_PACKAGE=gjs3023GETTEXT_PACKAGE=gjs
@@ -15666,6 +15666,8 @@
15666 -Werror=missing-include-dirs \15666 -Werror=missing-include-dirs \
15667 "15667 "
1566815668
15669 additional_flags=""
15670
15669 case "$enable_compile_warnings" in15671 case "$enable_compile_warnings" in
15670 no)15672 no)
15671 warning_flags=15673 warning_flags=
@@ -15674,10 +15676,10 @@
15674 warning_flags="-Wall"15676 warning_flags="-Wall"
15675 ;;15677 ;;
15676 yes)15678 yes)
15677 warning_flags="$base_warn_flags $base_error_flags"15679 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
15678 ;;15680 ;;
15679 maximum|error)15681 maximum|error)
15680 warning_flags="$base_warn_flags $base_error_flags"15682 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
15681 ;;15683 ;;
15682 *)15684 *)
15683 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 515685 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
@@ -16046,20 +16048,20 @@
16046 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 516048 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
16047fi16049fi
16048 if test -n "$PKG_CONFIG" && \16050 if test -n "$PKG_CONFIG" && \
16049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.37.1\""; } >&516051 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.38.0\""; } >&5
16050 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.37.1") 2>&516052 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.38.0") 2>&5
16051 ac_status=$?16053 ac_status=$?
16052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16053 test $ac_status = 0; }; then16055 test $ac_status = 0; }; then
16054 found_introspection=yes16056 found_introspection=yes
16055else16057else
16056 as_fn_error $? "You need to have gobject-introspection >= 1.37.1 installed to build gjs" "$LINENO" 516058 as_fn_error $? "You need to have gobject-introspection >= 1.38.0 installed to build gjs" "$LINENO" 5
16057fi16059fi
16058 ;; #(16060 ;; #(
16059 auto) :16061 auto) :
16060 if test -n "$PKG_CONFIG" && \16062 if test -n "$PKG_CONFIG" && \
16061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.37.1\""; } >&516063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.38.0\""; } >&5
16062 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.37.1") 2>&516064 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.38.0") 2>&5
16063 ac_status=$?16065 ac_status=$?
16064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16065 test $ac_status = 0; }; then16067 test $ac_status = 0; }; then
@@ -17491,7 +17493,7 @@
17491# report actual input values of CONFIG_FILES etc. instead of their17493# report actual input values of CONFIG_FILES etc. instead of their
17492# values after options handling.17494# values after options handling.
17493ac_log="17495ac_log="
17494This file was extended by gjs $as_me 1.37.6, which was17496This file was extended by gjs $as_me 1.38.1, which was
17495generated by GNU Autoconf 2.69. Invocation command line was17497generated by GNU Autoconf 2.69. Invocation command line was
1749617498
17497 CONFIG_FILES = $CONFIG_FILES17499 CONFIG_FILES = $CONFIG_FILES
@@ -17557,7 +17559,7 @@
17557cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=117559cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17558ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"17560ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17559ac_cs_version="\\17561ac_cs_version="\\
17560gjs config.status 1.37.617562gjs config.status 1.38.1
17561configured by $0, generated by GNU Autoconf 2.69,17563configured by $0, generated by GNU Autoconf 2.69,
17562 with options \\"\$ac_cs_config\\"17564 with options \\"\$ac_cs_config\\"
1756317565
1756417566
=== modified file 'configure.ac'
--- configure.ac 2013-08-23 11:54:16 +0000
+++ configure.ac 2013-10-27 19:56:01 +0000
@@ -2,14 +2,14 @@
2# Process this file with autoconf to produce a configure script.2# Process this file with autoconf to produce a configure script.
33
4m4_define(pkg_major_version, 1)4m4_define(pkg_major_version, 1)
5m4_define(pkg_minor_version, 37)5m4_define(pkg_minor_version, 38)
6m4_define(pkg_micro_version, 6)6m4_define(pkg_micro_version, 1)
7m4_define(pkg_version, pkg_major_version.pkg_minor_version.pkg_micro_version)7m4_define(pkg_version, pkg_major_version.pkg_minor_version.pkg_micro_version)
8m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 + pkg_micro_version)8m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 + pkg_micro_version)
99
10AC_PREREQ(2.61)10AC_PREREQ(2.61)
11AC_INIT([gjs], pkg_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=gjs])11AC_INIT([gjs], pkg_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=gjs])
12AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])12AM_INIT_AUTOMAKE([dist-xz no-dist-gzip])
13AC_CONFIG_SRCDIR([gjs/console.c])13AC_CONFIG_SRCDIR([gjs/console.c])
14AC_CONFIG_HEADER([config.h])14AC_CONFIG_HEADER([config.h])
1515
@@ -71,7 +71,7 @@
71AC_CHECK_HEADERS([malloc.h])71AC_CHECK_HEADERS([malloc.h])
72AC_CHECK_FUNCS(mallinfo)72AC_CHECK_FUNCS(mallinfo)
7373
74GOBJECT_INTROSPECTION_REQUIRE([1.37.1])74GOBJECT_INTROSPECTION_REQUIRE([1.38.0])
7575
76common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-17.0"76common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-17.0"
77gjs_packages="gobject-introspection-1.0 libffi $common_packages"77gjs_packages="gobject-introspection-1.0 libffi $common_packages"
7878
=== modified file 'debian/changelog'
--- debian/changelog 2013-08-23 11:54:16 +0000
+++ debian/changelog 2013-10-27 19:56:01 +0000
@@ -1,3 +1,13 @@
1gjs (1.38.1-0ubuntu1) UNRELEASED; urgency=low
2
3 * New upstream release.
4 * debian/patches/git_fix_make_check.patch: Upstream patch to fix tests
5 * debian/rules: Make tests fatal again
6 * debian/control.in: add -tests package for installed tests
7 * debian/tests: Add autopkgtests
8
9 -- Tim Lunn <tim@feathertop.org> Wed, 23 Oct 2013 11:07:12 +1100
10
1gjs (1.37.6-0ubuntu1) saucy; urgency=low11gjs (1.37.6-0ubuntu1) saucy; urgency=low
212
3 * New upstream release13 * New upstream release
414
=== modified file 'debian/control.in'
--- debian/control.in 2013-08-03 16:36:12 +0000
+++ debian/control.in 2013-10-27 19:56:01 +0000
@@ -23,6 +23,7 @@
23Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gjs23Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/gjs
24Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gjs24Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gjs
25Homepage: https://wiki.gnome.org/Gjs25Homepage: https://wiki.gnome.org/Gjs
26XS-Testsuite: autopkgtest
2627
27Package: gjs28Package: gjs
28Architecture: any29Architecture: any
@@ -35,6 +36,18 @@
35 .36 .
36 This package contains the interactive console application.37 This package contains the interactive console application.
3738
39Package: gjs-tests
40Architecture: any
41Depends: ${shlibs:Depends},
42 ${misc:Depends}
43Description: Mozilla-based javascript bindings for the GNOME platform
44 Makes it possible for applications to use all of GNOME's platform
45 libraries using the Javascript language. It's mainly based on the
46 Mozilla javascript engine and the GObject introsepection framework.
47 .
48 This package contains test programs, designed to be run as part of a
49 regression testsuite.
50
38Package: libgjs0d51Package: libgjs0d
39Architecture: any52Architecture: any
40Section: libs53Section: libs
4154
=== added file 'debian/gjs-tests.install'
--- debian/gjs-tests.install 1970-01-01 00:00:00 +0000
+++ debian/gjs-tests.install 2013-10-27 19:56:01 +0000
@@ -0,0 +1,3 @@
1usr/share/installed-tests
2usr/lib/gjs/gjs/installed-tests
3usr/lib/gjs/lib*
04
=== added file 'debian/patches/git_fix_make_check.patch'
--- debian/patches/git_fix_make_check.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/git_fix_make_check.patch 2013-10-27 19:56:01 +0000
@@ -0,0 +1,47 @@
1From f87c38787640f639da5ebf73014bbcf3b98cd9fc Mon Sep 17 00:00:00 2001
2From: Colin Walters <walters@verbum.org>
3Date: Fri, 25 Oct 2013 15:56:37 +0000
4Subject: tests: Force generation of shared libraries
5
6If installed tests are disabled, we need to force libtool
7to generate .so files that can be dlopened by introspection.
8
9https://bugzilla.gnome.org/710697
10---
11diff --git a/Makefile-insttest.am b/Makefile-insttest.am
12index 2ebdc77..e63709f 100644
13--- a/Makefile-insttest.am
14+++ b/Makefile-insttest.am
15@@ -37,10 +37,15 @@ else
16 check_LTLIBRARIES += libregress.la libwarnlib.la libgimarshallingtests.la
17 endif
18
19+# This rpath /nowhere thing is the libtool upstream recommended way to
20+# force generation of shared libraries, which we need in order for the
21+# tests to work uninstalled.
22+common_test_ldflags = -avoid-version -rpath /nowhere $(GJS_LIBS)
23+
24 nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
25 libregress_la_CPPFLAGS = $(AM_CPPFLAGS)
26 libregress_la_CFLAGS = $(GJS_CFLAGS)
27-libregress_la_LDFLAGS = -avoid-version $(GJS_LIBS)
28+libregress_la_LDFLAGS = $(common_test_ldflags)
29 libregress_scannerflags_includes = --include=Gio-2.0
30 if ENABLE_CAIRO
31 libregress_la_CFLAGS += $(GJS_CAIRO_CFLAGS)
32@@ -51,10 +56,10 @@ libregress_la_CPPFLAGS += -D_GI_DISABLE_CAIRO
33 endif
34 nodist_libwarnlib_la_SOURCES = $(GI_DATADIR)/tests/warnlib.c $(GI_DATADIR)/tests/warnlib.h
35 libwarnlib_la_CFLAGS = $(GJS_CFLAGS)
36-libwarnlib_la_LDFLAGS = -avoid-version $(GJS_LIBS)
37+libwarnlib_la_LDFLAGS = $(common_test_ldflags)
38 nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h
39 libgimarshallingtests_la_CFLAGS = $(GJS_CFLAGS)
40-libgimarshallingtests_la_LDFLAGS = -avoid-version $(GJS_LIBS)
41+libgimarshallingtests_la_LDFLAGS = $(common_test_ldflags)
42
43 Regress-1.0.gir: libregress.la
44 Regress_1_0_gir_LIBS = libregress.la
45--
46cgit v0.9.2
47
048
=== modified file 'debian/patches/series'
--- debian/patches/series 2013-03-28 03:08:20 +0000
+++ debian/patches/series 2013-10-27 19:56:01 +0000
@@ -0,0 +1,1 @@
1git_fix_make_check.patch
02
=== modified file 'debian/rules'
--- debian/rules 2013-07-30 09:15:40 +0000
+++ debian/rules 2013-10-27 19:56:01 +0000
@@ -7,12 +7,15 @@
7include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk7include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
8include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk8include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
99
10# configure flags
11DEB_CONFIGURE_EXTRA_FLAGS := --enable-installed-tests
12
10# Use recursive variables since this variable must not be expanded until 13# Use recursive variables since this variable must not be expanded until
11# files have been installed.14# files have been installed.
12LIBMOZJS = $(shell objdump -p debian/tmp/usr/lib/libgjs.so | awk '$$1=="NEEDED" && $$2~/^libmozjs/ { print $$2 }' | sed s/\\.so\\./-/ )15LIBMOZJS = $(shell objdump -p debian/tmp/usr/lib/libgjs.so | awk '$$1=="NEEDED" && $$2~/^libmozjs/ { print $$2 }' | sed s/\\.so\\./-/ )
13DEB_DH_MAKESHLIBS_ARGS_libgjs0d = -Xusr/lib/gjs-1.0/ -V'libgjs0d (>= $(DEB_UPSTREAM_VERSION)), libgjs0-$(LIBMOZJS)' -- -c416DEB_DH_MAKESHLIBS_ARGS_libgjs0d = -Xusr/lib/gjs-1.0/ -V'libgjs0d (>= $(DEB_UPSTREAM_VERSION)), libgjs0-$(LIBMOZJS)' -- -c4
1417
15DEB_MAKE_CHECK_TARGET := check || true18DEB_MAKE_CHECK_TARGET := check
1619
17install/libgjs0d::20install/libgjs0d::
18 echo gjs:Provides=libgjs0-$(LIBMOZJS) >> debian/$(cdbs_curpkg).substvars21 echo gjs:Provides=libgjs0-$(LIBMOZJS) >> debian/$(cdbs_curpkg).substvars
1922
=== added directory 'debian/tests'
=== added file 'debian/tests/build'
--- debian/tests/build 1970-01-01 00:00:00 +0000
+++ debian/tests/build 2013-10-27 19:56:01 +0000
@@ -0,0 +1,27 @@
1#!/bin/sh
2# autopkgtest check: Build and run a program against glib, to verify that the
3# headers and pkg-config file are installed correctly
4# (C) 2012 Canonical Ltd.
5# Author: Martin Pitt <martin.pitt@ubuntu.com>
6
7set -e
8
9WORKDIR=$(mktemp -d)
10trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
11cd $WORKDIR
12cat <<EOF > gjstest.c
13#include <gjs/gjs.h>
14
15int main()
16{
17 GjsContext* context;
18 context = gjs_context_new();
19 return 0;
20}
21EOF
22
23gcc -o gjstest gjstest.c `pkg-config --cflags --libs gjs-1.0`
24echo "build: OK"
25[ -x gjstest ]
26./gjstest
27echo "run: OK"
028
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2013-10-27 19:56:01 +0000
@@ -0,0 +1,5 @@
1Tests: build
2Depends: libgjs-dev, build-essential
3
4Tests: installed-tests
5Depends: gjs-tests, dbus-x11, xvfb, gnome-desktop-testing
06
=== added file 'debian/tests/installed-tests'
--- debian/tests/installed-tests 1970-01-01 00:00:00 +0000
+++ debian/tests/installed-tests 2013-10-27 19:56:01 +0000
@@ -0,0 +1,10 @@
1#!/bin/sh
2# autopkgtest check: Run the installed-tests to verify glib works correctly
3# (C) 2013 Canonical Ltd.
4# Author: Iain Lane <iain.lane@canonical.com>
5
6set -e
7
8export XDG_RUNTIME_DIR=$ADTTMP
9
10dbus-launch xvfb-run -a gnome-desktop-testing-runner gjs
011
=== modified file 'gjs/console.c'
--- gjs/console.c 2013-07-30 09:15:40 +0000
+++ gjs/console.c 2013-10-27 19:56:01 +0000
@@ -74,13 +74,13 @@
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);
75 len = strlen(script);75 len = strlen(script);
76 filename = "<command line>";76 filename = "<command line>";
77 program_name = NULL;77 program_name = argv[0];
78 } else if (argc <= 1) {78 } else if (argc <= 1) {
79 source_js_version = NULL;79 source_js_version = NULL;
80 script = g_strdup("const Console = imports.console; Console.interact();");80 script = g_strdup("const Console = imports.console; Console.interact();");
81 len = strlen(script);81 len = strlen(script);
82 filename = "<stdin>";82 filename = "<stdin>";
83 program_name = NULL;83 program_name = argv[0];
84 } else /*if (argc >= 2)*/ {84 } else /*if (argc >= 2)*/ {
85 error = NULL;85 error = NULL;
86 if (!g_file_get_contents(argv[1], &script, &len, &error)) {86 if (!g_file_get_contents(argv[1], &script, &len, &error)) {
8787
=== added file 'installed-tests/script.test.in'
--- installed-tests/script.test.in 1970-01-01 00:00:00 +0000
+++ installed-tests/script.test.in 2013-10-27 19:56:01 +0000
@@ -0,0 +1,3 @@
1[Test]
2Type=session
3Exec=gjs @pkglibexecdir@/installed-tests/scripts/@name@
04
=== added directory 'installed-tests/scripts'
=== added file 'installed-tests/scripts/testSystemExit.js'
--- installed-tests/scripts/testSystemExit.js 1970-01-01 00:00:00 +0000
+++ installed-tests/scripts/testSystemExit.js 2013-10-27 19:56:01 +0000
@@ -0,0 +1,5 @@
1// application/javascript;version=1.8
2
3const System = imports.system;
4
5System.exit(0);

Subscribers

People subscribed via source and target branches

to all changes: