]> code.ossystems Code Review - openembedded-core.git/commitdiff
libx11: disable tests
authorMarko Lindqvist <cazfi74@gmail.com>
Tue, 8 Jan 2013 07:16:37 +0000 (09:16 +0200)
committerSaul Wold <sgw@linux.intel.com>
Thu, 10 Jan 2013 00:40:37 +0000 (16:40 -0800)
Use of $(srcdir) in TESTS is an error causing automake-1.13
to abort. Disable the tests completely.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-lib/libx11_1.5.0.bb

diff --git a/meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch b/meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch
new file mode 100644 (file)
index 0000000..c570e45
--- /dev/null
@@ -0,0 +1,17 @@
+Upstream-Status: Inappropriate [disable feature]
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff -Nurd libX11-1.5.0/nls/Makefile.am libX11-1.5.0/nls/Makefile.am
+--- libX11-1.5.0/nls/Makefile.am       2012-06-02 09:37:18.000000000 +0300
++++ libX11-1.5.0/nls/Makefile.am       2013-01-02 16:10:24.960156131 +0200
+@@ -36,11 +36,6 @@
+         < locale.dir.l1 > locale.dir.l2
+       cat locale.dir.l2 locale.dir.l1 > locale.dir
+
+-if HAVE_PERL
+-TESTS_ENVIRONMENT = $(PERL)
+-TESTS = $(srcdir)/compose-check.pl
+-endif HAVE_PERL
+-
+
+ # Per-locale data files
index 94e205105f31204ac69722e43d081beb971e9090..7f188248502a695a5a0fcade23a3d1a828bd8f0a 100644 (file)
@@ -1,11 +1,13 @@
 require libx11.inc
 inherit gettext
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI += "file://keysymdef_include.patch"
+SRC_URI += "file://keysymdef_include.patch \
+            file://disable_tests.patch \
+           "
 
 SRC_URI[md5sum] = "78b4b3bab4acbdf0abcfca30a8c70cc6"
 SRC_URI[sha256sum] = "c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86"