summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2014-12-04 14:58:26 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-11 11:34:55 +0000
commitacfb2982e851edb4505094f31bbba4bfbc88ca1e (patch)
treefa08ab82b6b180e1d29480b6bf530b59ef223653 /meta
parent993989f033a31f3ac72891d9627c0d2c46e893be (diff)
downloadpoky-acfb2982e851edb4505094f31bbba4bfbc88ca1e.tar.gz
xorg-xserver: Upgrade to 1.16.2.
Add PACKAGECONFIG systemd, xserver-xorg now depends in dbus because adds support for systemd-logind, dbus is used by xserver-xorg to communicate with systemd. Add conditional enablement of systemd-logind if DISTRO_FEATURES contains systemd. Remove crosscompile, mips64-compile and present-module because are already in upstream. (From OE-Core rev: 4c33baa4a95aee26c6bf6fd0c7ec827ff63a9e62) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc5
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch22
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch29
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/present-module.patch66
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.2.bb (renamed from meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.1.bb)9
5 files changed, 7 insertions, 124 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index dd60884992..5b47e3445f 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -116,7 +116,9 @@ EXTRA_OECONF += "--with-fop=no \
116 ac_cv_file__usr_share_sgml_X11_defs_ent=no \ 116 ac_cv_file__usr_share_sgml_X11_defs_ent=no \
117" 117"
118 118
119PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)}" 119PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)} \
120 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
121
120PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" 122PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
121PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" 123PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto"
122PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" 124PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto"
@@ -126,6 +128,7 @@ PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtua
126PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" 128PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
127PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" 129PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence"
128PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" 130PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
131PACKAGECONFIG[systemd] = "--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,dbus-lib"
129 132
130do_install_append () { 133do_install_append () {
131 # Its assumed base-files creates this for us 134 # Its assumed base-files creates this for us
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch
deleted file mode 100644
index 2f98bb8c89..0000000000
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff --git a/configure.ac b/configure.ac
4index b3b752c..600500b 100644
5--- a/configure.ac
6+++ b/configure.ac
7@@ -523,13 +523,9 @@ dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
8 dnl otherwise uses standard subdirectories of FONTROOTDIR. When cross
9 dnl compiling, assume default font path uses standard FONTROOTDIR directories.
10 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
11-if test "$cross_compiling" != yes; then
12- AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d],
13- [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'],
14- [case $host_os in
15+ case $host_os in
16 darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
17- esac])
18-fi
19+ esac
20 AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]),
21 [ FONTPATH="$withval" ],
22 [ FONTPATH="${DEFAULT_FONT_PATH}" ])
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch
deleted file mode 100644
index 168368e6c3..0000000000
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1on mips64/n64 pointers are 64bit therefore the pointer conversions to int dont work well
2so we end up with incompatible conversion errors
3
4This patch choses the right values for mips64
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9Index: xorg-server-1.13.0/hw/xfree86/common/compiler.h
10===================================================================
11--- xorg-server-1.13.0-orig/hw/xfree86/common/compiler.h 2012-06-14 23:04:29.000000000 +0300
12+++ xorg-server-1.13.0/hw/xfree86/common/compiler.h 2012-11-08 10:06:50.865831783 +0200
13@@ -101,6 +101,7 @@
14 #if defined(NO_INLINE) || defined(DO_PROTOTYPES)
15 #if !defined(__arm__)
16 #if !defined(__sparc__) && !defined(__sparc) && !defined(__arm32__) && !defined(__nds32__) \
17+ && !defined(__mips64) \
18 && !(defined(__alpha__) && defined(linux)) \
19 && !(defined(__ia64__) && defined(linux)) \
20
21@@ -721,7 +722,7 @@
22 }
23
24 #elif defined(__mips__) || (defined(__arm32__) && !defined(__linux__))
25-#ifdef __arm32__
26+#if defined (__arm32__) || defined (__mips64)
27 #define PORT_SIZE long
28 #else
29 #define PORT_SIZE short
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/present-module.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/present-module.patch
deleted file mode 100644
index 13f3caf768..0000000000
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg/present-module.patch
+++ /dev/null
@@ -1,66 +0,0 @@
1[ YOCTO #6583 ]
2
3Upstream-Status: Backport
4Signed-off-by: Ross Burton <ross.burton@intel.com>
5
6From 746be5a03ebbda4ab411ca3efb2ed95f99e9ea46 Mon Sep 17 00:00:00 2001
7From: Chris Wilson <chris@chris-wilson.co.uk>
8Date: Wed, 28 May 2014 08:13:59 +0100
9Subject: xfree86: Report DRI3 as a built-in module
10
11This is so that drivers can do a runtime check that DRI3 is available,
12similar to existing runtime checks performed by the drivers for DRI and
13DRI2.
14
15v2: Only add DRI3 to the list if the module was actually built into the
16server (Mark Kettenis).
17
18Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
19Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
20Signed-off-by: Keith Packard <keithp@keithp.com>
21
22diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
23index 092bf57..f92ad8d 100644
24--- a/hw/xfree86/loader/loadmod.c
25+++ b/hw/xfree86/loader/loadmod.c
26@@ -838,6 +838,9 @@ static const char *compiled_in_modules[] = {
27 "extmod",
28 "dri",
29 "dri2",
30+#if DRI3
31+ "dri3",
32+#endif
33 NULL
34 };
35
36--
37cgit v0.10.2
38
39
40From 7ca458493aa2f0aa091c989ea0768611e0730bf5 Mon Sep 17 00:00:00 2001
41From: Chris Wilson <chris@chris-wilson.co.uk>
42Date: Wed, 28 May 2014 08:14:00 +0100
43Subject: xfree86: Report Present as a built-in module
44
45This is so that drivers can do a runtime check that Present is available,
46similar to existing runtime checks performed by the drivers for DRI.
47
48Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
49Signed-off-by: Keith Packard <keithp@keithp.com>
50
51diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
52index f92ad8d..e1f649a 100644
53--- a/hw/xfree86/loader/loadmod.c
54+++ b/hw/xfree86/loader/loadmod.c
55@@ -841,6 +841,9 @@ static const char *compiled_in_modules[] = {
56 #if DRI3
57 "dri3",
58 #endif
59+#if PRESENT
60+ "present",
61+#endif
62 NULL
63 };
64
65--
66cgit v0.10.2
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.2.bb
index 3bba3ce0bf..1519271ccd 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.2.bb
@@ -1,16 +1,13 @@
1require xserver-xorg.inc 1require xserver-xorg.inc
2 2
3# Misc build failure for master HEAD 3# Misc build failure for master HEAD
4SRC_URI += "file://crosscompile.patch \ 4SRC_URI += "file://fix_open_max_preprocessor_error.patch \
5 file://fix_open_max_preprocessor_error.patch \
6 file://mips64-compiler.patch \
7 file://xorg-CVE-2013-6424.patch \ 5 file://xorg-CVE-2013-6424.patch \
8 file://xshmfence-option.patch \ 6 file://xshmfence-option.patch \
9 file://present-module.patch \
10 " 7 "
11 8
12SRC_URI[md5sum] = "e4c70262ed89764be8f8f5d699ed9227" 9SRC_URI[md5sum] = "89620960b13515db8d0a8dbb92a1378a"
13SRC_URI[sha256sum] = "626db6882602ebe1ff81f7a4231c7ccc6ceb5032f2b5b3954bf749e1567221e2" 10SRC_URI[sha256sum] = "446e0c3ebd556aced78ec0000ba9ae73f1e5317117d497f827afba48b787ce64"
14 11
15# These extensions are now integrated into the server, so declare the migration 12# These extensions are now integrated into the server, so declare the migration
16# path for in-place upgrades. 13# path for in-place upgrades.