diff options
| author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-12-04 14:58:26 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-11 11:34:55 +0000 |
| commit | acfb2982e851edb4505094f31bbba4bfbc88ca1e (patch) | |
| tree | fa08ab82b6b180e1d29480b6bf530b59ef223653 | |
| parent | 993989f033a31f3ac72891d9627c0d2c46e893be (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch | 29 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/present-module.patch | 66 | ||||
| -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 | ||
| 119 | PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)}" | 119 | PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)} \ |
| 120 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
| 121 | |||
| 120 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 122 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
| 121 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" | 123 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" |
| 122 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" | 124 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" |
| @@ -126,6 +128,7 @@ PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtua | |||
| 126 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" | 128 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" |
| 127 | PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" | 129 | PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" |
| 128 | PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" | 130 | PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" |
| 131 | PACKAGECONFIG[systemd] = "--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,dbus-lib" | ||
| 129 | 132 | ||
| 130 | do_install_append () { | 133 | do_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 @@ | |||
| 1 | Upstream-Status: Inappropriate [configuration] | ||
| 2 | |||
| 3 | diff --git a/configure.ac b/configure.ac | ||
| 4 | index 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 @@ | |||
| 1 | on mips64/n64 pointers are 64bit therefore the pointer conversions to int dont work well | ||
| 2 | so we end up with incompatible conversion errors | ||
| 3 | |||
| 4 | This patch choses the right values for mips64 | ||
| 5 | |||
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Index: 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 | |||
| 3 | Upstream-Status: Backport | ||
| 4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
| 5 | |||
| 6 | From 746be5a03ebbda4ab411ca3efb2ed95f99e9ea46 Mon Sep 17 00:00:00 2001 | ||
| 7 | From: Chris Wilson <chris@chris-wilson.co.uk> | ||
| 8 | Date: Wed, 28 May 2014 08:13:59 +0100 | ||
| 9 | Subject: xfree86: Report DRI3 as a built-in module | ||
| 10 | |||
| 11 | This is so that drivers can do a runtime check that DRI3 is available, | ||
| 12 | similar to existing runtime checks performed by the drivers for DRI and | ||
| 13 | DRI2. | ||
| 14 | |||
| 15 | v2: Only add DRI3 to the list if the module was actually built into the | ||
| 16 | server (Mark Kettenis). | ||
| 17 | |||
| 18 | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | ||
| 19 | Cc: Mark Kettenis <mark.kettenis@xs4all.nl> | ||
| 20 | Signed-off-by: Keith Packard <keithp@keithp.com> | ||
| 21 | |||
| 22 | diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c | ||
| 23 | index 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 | -- | ||
| 37 | cgit v0.10.2 | ||
| 38 | |||
| 39 | |||
| 40 | From 7ca458493aa2f0aa091c989ea0768611e0730bf5 Mon Sep 17 00:00:00 2001 | ||
| 41 | From: Chris Wilson <chris@chris-wilson.co.uk> | ||
| 42 | Date: Wed, 28 May 2014 08:14:00 +0100 | ||
| 43 | Subject: xfree86: Report Present as a built-in module | ||
| 44 | |||
| 45 | This is so that drivers can do a runtime check that Present is available, | ||
| 46 | similar to existing runtime checks performed by the drivers for DRI. | ||
| 47 | |||
| 48 | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | ||
| 49 | Signed-off-by: Keith Packard <keithp@keithp.com> | ||
| 50 | |||
| 51 | diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c | ||
| 52 | index 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 | -- | ||
| 66 | cgit 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 @@ | |||
| 1 | require xserver-xorg.inc | 1 | require xserver-xorg.inc |
| 2 | 2 | ||
| 3 | # Misc build failure for master HEAD | 3 | # Misc build failure for master HEAD |
| 4 | SRC_URI += "file://crosscompile.patch \ | 4 | SRC_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 | ||
| 12 | SRC_URI[md5sum] = "e4c70262ed89764be8f8f5d699ed9227" | 9 | SRC_URI[md5sum] = "89620960b13515db8d0a8dbb92a1378a" |
| 13 | SRC_URI[sha256sum] = "626db6882602ebe1ff81f7a4231c7ccc6ceb5032f2b5b3954bf749e1567221e2" | 10 | SRC_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. |
