summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-17 23:20:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-23 16:30:36 +0100
commit1c2ea784f43dba4fd897eaf730933fa916b85c6e (patch)
tree96cae7dfcd98b65a597fdd326175aaae689b78ae /meta/recipes-graphics
parenta53018699bc2967c8310d61b35c978cdab48011b (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch45
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/no-host-x.patch40
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.6.8.bb7
-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 @@
1Upstream-Status: Backport [https://gitlab.freedesktop.org/xorg/lib/libx11/merge_requests/22]
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From edc7680ed5a03cedb5facf14693823455e12c29c Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 6 Aug 2019 14:53:43 +0100
7Subject: [PATCH libX11] src/util/Makefile: explicitly reset LINK to not use
8 libtool
9
10Simply looking at libtool redefines LINK globally to use libtool, which when
11you're trying to cross-compile to Windows can cause complications.
12
13As in src/util/ we're simply building a small binary for the build host, reset
14LINK to the automake default so that the traditional compile/link steps occur
15without libtool.
16
17Also remove -all-static from LDFLAGS as that is a libtool-specific argument
18intended to solve this problem.
19
20Closes: #100
21Signed-off-by: Ross Burton <ross.burton@intel.com>
22---
23 src/util/Makefile.am | 3 ++-
24 1 file changed, 2 insertions(+), 1 deletion(-)
25
26diff --git a/src/util/Makefile.am b/src/util/Makefile.am
27index 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--
442.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 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From cf2ef27831173c5ed6f98be3c39caff18fd4e7f1 Mon Sep 17 00:00:00 2001
5From: Adam Jackson <ajax@redhat.com>
6Date: Mon, 17 Jun 2019 13:36:08 -0400
7Subject: [PATCH 1/2] makekeys: Detach ourselves from X headers entirely
8
9Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer
10building makekeys with enough -I/foo/bar to find the X11 headers, so if
11they're not in a system include path, things fail. Since this utility is
12only needed at build time, there's no real reason to demand the X
13headers be installed for both the build and target machines if cross-
14compiling, we can just assume a vaguely ANSI environment instead.
15
16Tested-by: Niclas Zeising <zeising@daemonic.se>
17Reviewed-by: Keith Packard <keithp@keithp.com>
18Reviewed-by: Matt Turner <mattst88@gmail.com>
19---
20 src/util/makekeys.c | 4 +++-
21 1 file changed, 3 insertions(+), 1 deletion(-)
22
23diff --git a/src/util/makekeys.c b/src/util/makekeys.c
24index 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--
402.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 @@
1require libx11.inc
2
3SRC_URI += "file://disable_tests.patch"
4
5inherit gettext
6
7BBCLASSEXTEND = "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:"
11PE = "1" 11PE = "1"
12 12
13SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \ 13SRC_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
17SRC_URI[md5sum] = "c5fa5a86a20e3591bed6c046498d4b8f" 16SRC_URI[md5sum] = "55adbfb6d4370ecac5e70598c4e7eed2"
18SRC_URI[sha256sum] = "b289a845c189e251e0e884cc0f9269bbe97c238df3741e854ec4c17c21e473d5" 17SRC_URI[sha256sum] = "9cc7e8d000d6193fa5af580d50d689380b8287052270f5bb26a5fb6b58b2bed1"
19 18
20PROVIDES = "virtual/libx11" 19PROVIDES = "virtual/libx11"
21 20
@@ -37,6 +36,10 @@ CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
37 36
38PACKAGES =+ "${PN}-xcb" 37PACKAGES =+ "${PN}-xcb"
39 38
39inherit gettext
40
40FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" 41FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
41FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" 42FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
42FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" 43FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
44
45BBCLASSEXTEND = "native nativesdk"