run-js-test: link to libgnome-shell.la
The tests were broken again, because since Shell-0.1.gir now has 'shared-library="libgnome-shell.so"', the references to Shell.PerfLog ended up pulling in libgnome-shell in addition to the copy of shell-perf-log.c that libjs-test was built with. Fix all this hopefully forever by just making run-js-test link to libgnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=649203
This commit is contained in:
parent
8e4a5f1ac5
commit
0e42de9149
@ -120,7 +120,6 @@ PKG_CHECK_MODULES(ST, clutter-1.0 gtk+-3.0 libcroco-0.6 >= 0.6.2 gnome-desktop-3
|
|||||||
PKG_CHECK_MODULES(GDMUSER, dbus-glib-1 gtk+-3.0)
|
PKG_CHECK_MODULES(GDMUSER, dbus-glib-1 gtk+-3.0)
|
||||||
PKG_CHECK_MODULES(TRAY, gtk+-3.0)
|
PKG_CHECK_MODULES(TRAY, gtk+-3.0)
|
||||||
PKG_CHECK_MODULES(GVC, libpulse libpulse-mainloop-glib gobject-2.0)
|
PKG_CHECK_MODULES(GVC, libpulse libpulse-mainloop-glib gobject-2.0)
|
||||||
PKG_CHECK_MODULES(JS_TEST, clutter-x11-1.0 gjs-1.0 gobject-introspection-1.0 gtk+-3.0)
|
|
||||||
PKG_CHECK_MODULES(DESKTOP_SCHEMAS, gsettings-desktop-schemas >= 0.1.7)
|
PKG_CHECK_MODULES(DESKTOP_SCHEMAS, gsettings-desktop-schemas >= 0.1.7)
|
||||||
|
|
||||||
AC_MSG_CHECKING([for bluetooth support])
|
AC_MSG_CHECKING([for bluetooth support])
|
||||||
|
@ -186,27 +186,10 @@ gnome_shell_perf_helper_LDADD = $(SHELL_PERF_HELPER_LIBS)
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
# In order to run the interactive tests for GUI components, we need to have
|
|
||||||
# an executable that exports the St components. Libtool doesn't have a way
|
|
||||||
# to include all the symbols from a convenience library into a executable
|
|
||||||
# so what we do is build a small uninstalled library that pulls in the
|
|
||||||
# St convenience library and link the test running program to that.
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES += libjs-test.la
|
|
||||||
|
|
||||||
libjs_test_la_LDFLAGS = -rpath $(libdir)
|
|
||||||
libjs_test_la_CPPFLAGS = $(JS_TEST_CFLAGS)
|
|
||||||
libjs_test_la_LIBADD = $(JS_TEST_LIBS) libst-1.0.la
|
|
||||||
|
|
||||||
# The tests use or reference a couple of Shell classes
|
|
||||||
libjs_test_la_SOURCES = \
|
|
||||||
shell-generic-container.c \
|
|
||||||
shell-perf-log.c
|
|
||||||
|
|
||||||
noinst_PROGRAMS += run-js-test
|
noinst_PROGRAMS += run-js-test
|
||||||
|
|
||||||
run_js_test_CPPFLAGS = $(JS_TEST_CFLAGS)
|
run_js_test_CPPFLAGS = $(gnome_shell_cflags)
|
||||||
run_js_test_LDADD = $(JS_TEST_LIBS) libjs-test.la
|
run_js_test_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
|
||||||
run_js_test_LDFLAGS = -export-dynamic
|
run_js_test_LDFLAGS = -export-dynamic
|
||||||
|
|
||||||
run_js_test_SOURCES = \
|
run_js_test_SOURCES = \
|
||||||
|
Loading…
Reference in New Issue
Block a user