diff options
author | Ross Burton <ross.burton@intel.com> | 2019-10-17 23:20:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-23 16:30:36 +0100 |
commit | 1c2ea784f43dba4fd897eaf730933fa916b85c6e (patch) | |
tree | 96cae7dfcd98b65a597fdd326175aaae689b78ae /meta/recipes-graphics/xorg-lib | |
parent | a53018699bc2967c8310d61b35c978cdab48011b (diff) | |
download | poky-1c2ea784f43dba4fd897eaf730933fa916b85c6e.tar.gz |
libx11: upgrade to 1.6.9
(From OE-Core rev: a4834fd1e63b825870b6351bedc203c20abb5ead)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch | 45 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11/no-host-x.patch | 40 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11_1.6.8.bb | 7 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11_1.6.9.bb (renamed from meta/recipes-graphics/xorg-lib/libx11.inc) | 11 |
4 files changed, 7 insertions, 96 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch b/meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch deleted file mode 100644 index 56d9983b13..0000000000 --- a/meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | Upstream-Status: Backport [https://gitlab.freedesktop.org/xorg/lib/libx11/merge_requests/22] | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From edc7680ed5a03cedb5facf14693823455e12c29c Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 6 Aug 2019 14:53:43 +0100 | ||
7 | Subject: [PATCH libX11] src/util/Makefile: explicitly reset LINK to not use | ||
8 | libtool | ||
9 | |||
10 | Simply looking at libtool redefines LINK globally to use libtool, which when | ||
11 | you're trying to cross-compile to Windows can cause complications. | ||
12 | |||
13 | As in src/util/ we're simply building a small binary for the build host, reset | ||
14 | LINK to the automake default so that the traditional compile/link steps occur | ||
15 | without libtool. | ||
16 | |||
17 | Also remove -all-static from LDFLAGS as that is a libtool-specific argument | ||
18 | intended to solve this problem. | ||
19 | |||
20 | Closes: #100 | ||
21 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
22 | --- | ||
23 | src/util/Makefile.am | 3 ++- | ||
24 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
25 | |||
26 | diff --git a/src/util/Makefile.am b/src/util/Makefile.am | ||
27 | index 37314370..b7236530 100644 | ||
28 | --- a/src/util/Makefile.am | ||
29 | +++ b/src/util/Makefile.am | ||
30 | @@ -7,10 +7,11 @@ AM_CFLAGS = \ | ||
31 | AM_CPPFLAGS = \ | ||
32 | -I$(top_srcdir)/include | ||
33 | |||
34 | +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
35 | CC = @CC_FOR_BUILD@ | ||
36 | CPPFLAGS = @CPPFLAGS_FOR_BUILD@ | ||
37 | CFLAGS = @CFLAGS_FOR_BUILD@ | ||
38 | -LDFLAGS = @LDFLAGS_FOR_BUILD@ -all-static | ||
39 | +LDFLAGS = @LDFLAGS_FOR_BUILD@ | ||
40 | LIBS = | ||
41 | EXEEXT = @EXEEXT_FOR_BUILD@ | ||
42 | |||
43 | -- | ||
44 | 2.20.1 | ||
45 | |||
diff --git a/meta/recipes-graphics/xorg-lib/libx11/no-host-x.patch b/meta/recipes-graphics/xorg-lib/libx11/no-host-x.patch deleted file mode 100644 index 803f8b408c..0000000000 --- a/meta/recipes-graphics/xorg-lib/libx11/no-host-x.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From cf2ef27831173c5ed6f98be3c39caff18fd4e7f1 Mon Sep 17 00:00:00 2001 | ||
5 | From: Adam Jackson <ajax@redhat.com> | ||
6 | Date: Mon, 17 Jun 2019 13:36:08 -0400 | ||
7 | Subject: [PATCH 1/2] makekeys: Detach ourselves from X headers entirely | ||
8 | |||
9 | Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer | ||
10 | building makekeys with enough -I/foo/bar to find the X11 headers, so if | ||
11 | they're not in a system include path, things fail. Since this utility is | ||
12 | only needed at build time, there's no real reason to demand the X | ||
13 | headers be installed for both the build and target machines if cross- | ||
14 | compiling, we can just assume a vaguely ANSI environment instead. | ||
15 | |||
16 | Tested-by: Niclas Zeising <zeising@daemonic.se> | ||
17 | Reviewed-by: Keith Packard <keithp@keithp.com> | ||
18 | Reviewed-by: Matt Turner <mattst88@gmail.com> | ||
19 | --- | ||
20 | src/util/makekeys.c | 4 +++- | ||
21 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/src/util/makekeys.c b/src/util/makekeys.c | ||
24 | index bcb5b7d5..07563315 100644 | ||
25 | --- a/src/util/makekeys.c | ||
26 | +++ b/src/util/makekeys.c | ||
27 | @@ -35,8 +35,10 @@ from The Open Group. | ||
28 | #include <stdio.h> | ||
29 | #include <stdlib.h> | ||
30 | #include <string.h> | ||
31 | +#include <stdint.h> | ||
32 | +#include <inttypes.h> | ||
33 | |||
34 | -#include "../Xresinternal.h" | ||
35 | +typedef uint32_t Signature; | ||
36 | |||
37 | #define KTNUM 4000 | ||
38 | |||
39 | -- | ||
40 | 2.20.1 | ||
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.6.8.bb b/meta/recipes-graphics/xorg-lib/libx11_1.6.8.bb deleted file mode 100644 index 0d27bc2bce..0000000000 --- a/meta/recipes-graphics/xorg-lib/libx11_1.6.8.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | require libx11.inc | ||
2 | |||
3 | SRC_URI += "file://disable_tests.patch" | ||
4 | |||
5 | inherit gettext | ||
6 | |||
7 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11_1.6.9.bb index cce0cb9929..8c2a57c674 100644 --- a/meta/recipes-graphics/xorg-lib/libx11.inc +++ b/meta/recipes-graphics/xorg-lib/libx11_1.6.9.bb | |||
@@ -11,11 +11,10 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:" | |||
11 | PE = "1" | 11 | PE = "1" |
12 | 12 | ||
13 | SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \ | 13 | SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \ |
14 | file://no-host-libtool.patch \ | 14 | file://disable_tests.patch" |
15 | file://no-host-x.patch" | ||
16 | 15 | ||
17 | SRC_URI[md5sum] = "c5fa5a86a20e3591bed6c046498d4b8f" | 16 | SRC_URI[md5sum] = "55adbfb6d4370ecac5e70598c4e7eed2" |
18 | SRC_URI[sha256sum] = "b289a845c189e251e0e884cc0f9269bbe97c238df3741e854ec4c17c21e473d5" | 17 | SRC_URI[sha256sum] = "9cc7e8d000d6193fa5af580d50d689380b8287052270f5bb26a5fb6b58b2bed1" |
19 | 18 | ||
20 | PROVIDES = "virtual/libx11" | 19 | PROVIDES = "virtual/libx11" |
21 | 20 | ||
@@ -37,6 +36,10 @@ CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" | |||
37 | 36 | ||
38 | PACKAGES =+ "${PN}-xcb" | 37 | PACKAGES =+ "${PN}-xcb" |
39 | 38 | ||
39 | inherit gettext | ||
40 | |||
40 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" | 41 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" |
41 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" | 42 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" |
42 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" | 43 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" |
44 | |||
45 | BBCLASSEXTEND = "native nativesdk" | ||