meta-crownbay: emgd 1.6.1 upgrade
cover meta-crownbay: emgd 1.6.1 upgrade
From: Tom Zanussi <[email protected]>
This patchset upgrades meta-crownbay to make use of the emgd 1.6.1 support added to linux-yocto, and removes the resulting obsoleted recipes.
Pull URL: git://git.pokylinux.org/meta-intel
Branch: tzanussi/emgd-1.6.1-upgrade
Browse: http://git.pokylinux.org/cgit.cgi/meta-intel/log/?h=tzanussi/emgd-1.6.1-upgrade
Tom Zanussi (4):
meta-crownbay: new recipe for emgd 1.6.1 driver binaries
meta-crownbay: add xserver-xf86-dri-lite_1.9.3 .bbappend
meta-crownbay: update crownbay.conf
meta-crownbay: remove obsolete graphics recipes
meta-crownbay/conf/machine/crownbay.conf | 12 ++-- .../xorg-xserver/emgd-driver-bin_1.6.1.bb | 25 ++++++ .../xserver-xf86-dri-lite_1.9.3.bbappend | 1 + .../xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb | 90 -------------------- .../xserver-xf86-emgd/crosscompile.patch | 19 ---- .../fix_open_max_preprocessor_error.patch | 13 --- .../xserver-xf86-emgd/macro_tweak.patch | 18 ---- .../xorg-xserver/xserver-xf86-emgd/nodolt.patch | 12 --- .../xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb | 25 ------ 9 files changed, 32 insertions(+), 183 deletions(-) create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.6.1/.gitignore create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.6.1.bb create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bbappend delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb
PATCH 1/4 meta-crownbay: new recipe for emgd 1.6.1 driver binaries
From: Tom Zanussi <[email protected]>
This adds a new recipe for the emgd 1.6.1 driver binaries. For emgd 1.6.1, the layout of the binaries has changed, making them easier to install, and we also take the opportunity to sanitize the naming and make it more apparent that these are the emgd driver bits corresponding to a particular emgd release, 1.6.1 in this case.
--- .../xorg-xserver/emgd-driver-bin_1.6.1.bb | 25 ++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.6.1/.gitignore create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.6.1.bb
meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.6.1/.gitignore new file +0 -0
meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.6.1.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "EMGD 1.6.1 xserver binaries" +DESCRIPTION = "EMGD 1.6.1 includes some userspace binaries that use non-free licensing. Intel Open Source Technology Center unfortunately has no power to change that, but tries to make their use as painless as possible. Please see the README in meta-crownbay/ for instructions on the (simple) manual steps necessary to make the necessary binaries available to this recipe. Please do that before building an image." + +LICENSE = "Intel-binary-only" +LIC_FILES_CHKSUM = "file://${WORKDIR}/License.txt;md5=b54f01caaf8483b3cb60c0c40f2bf22d" +PR = "r0" + +FILESPATH = "${FILE_DIRNAME}/emgd-driver-bin-1.6.1" + +FILES_${PN} = "${libdir}/*.so.* ${libdir}/dri ${libdir}/xorg/modules/drivers" + +SRC_URI = "file://lib \ + file://License.txt" + +S = "${WORKDIR}" + +do_install () { + install -d -m 0755 ${D}/${libdir}/dri ${D}/${libdir}/xorg/modules/drivers + + cp -PR ${S}/lib/lib* ${D}${libdir} + install -m 0755 ${S}/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/ + install -m 0755 ${S}/lib/dri/* ${D}${libdir}/dri/ +} + +LEAD_SONAME = "libEGL.so"
Signature · 1 line
1.7.0.4
PATCH 2/4 meta-crownbay: add xserver-xf86-dri-lite_1.9.3 .bbappend
In reply to Tom ZanussiFrom: Tom Zanussi <[email protected]>
emgd 1.6.1 requires xserver 1.9.3, and we need to add a config option to enable dga.
--- .../xserver-xf86-dri-lite_1.9.3.bbappend | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bbappend
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bbappend new file +1 -0
@@ -0,0 +1 @@ +EXTRA_OECONF += "--enable-dga"
Signature · 1 line
1.7.0.4
PATCH 3/4 meta-crownbay: update crownbay.conf
In reply to Tom ZanussiFrom: Tom Zanussi <[email protected]>
Update to reflect new graphics recipes.
--- meta-crownbay/conf/machine/crownbay.conf | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
meta-crownbay/conf/machine/crownbay.conf +6 -6
@@ -20,18 +20,18 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-emgd" -PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-emgd" -XSERVER ?= "xserver-xf86-emgd \ - xserver-xf86-emgd-bin \ +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +XSERVER ?= "xserver-xf86-dri-lite \ + emgd-driver-bin \ xf86-input-mouse \ xf86-input-keyboard \ xf86-input-evdev \ xf86-input-synaptics \ xf86-video-vesa" -PREFERRED_VERSION_xserver-xf86-emgd ?= "1.7.99.2" -PREFERRED_VERSION_xserver-xf86-emgd-bin ?= "1.7.99.2" +PREFERRED_VERSION_xserver-xf86-dri-lite ?= "1.9.3" +PREFERRED_VERSION_emgd-driver-bin ?= "1.6.1" SERIAL_CONSOLE = "115200 ttyS0"
Signature · 1 line
1.7.0.4
PATCH 4/4 meta-crownbay: remove obsolete graphics recipes
In reply to Tom ZanussiFrom: Tom Zanussi <[email protected]>
With the emgd 1.6.1 upgrade, we no longer need these.
--- .../xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb | 90 -------------------- .../xserver-xf86-emgd/crosscompile.patch | 19 ---- .../fix_open_max_preprocessor_error.patch | 13 --- .../xserver-xf86-emgd/macro_tweak.patch | 18 ---- .../xorg-xserver/xserver-xf86-emgd/nodolt.patch | 12 --- .../xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb | 25 ------ 6 files changed, 0 insertions(+), 177 deletions(-) delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore deleted +0 -0
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb deleted +0 -90
90 lines not on this page · raw message
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch deleted +0 -19
@@ -1,19 +0,0 @@ -Index: xorg-server-1.7.99.2/configure.ac -=================================================================== ---- xorg-server-1.7.99.2.orig/configure.ac 2010-01-29 16:38:49.000000000 +0000 -+++ xorg-server-1.7.99.2/configure.ac 2010-01-29 16:42:39.000000000 +0000 -@@ -503,14 +503,10 @@ - - dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d, - dnl otherwise uses standard subdirectories of FONTROOTDIR --AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d], -- [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'], -- [ - DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/" - case $host_os in - darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;; - esac -- ]) - AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]), - [ FONTPATH="$withval" ], - [ FONTPATH="${DEFAULT_FONT_PATH}" ])
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: git/os/osdep.h -=================================================================== ---- git.orig/os/osdep.h 2008-10-07 18:38:21.000000000 +0100 -+++ git/os/osdep.h 2008-10-07 18:39:36.000000000 +0100 -@@ -92,7 +92,7 @@ - * like sysconf(_SC_OPEN_MAX) is not supported. - */ - --#if OPEN_MAX <= 256 -+#if 0 - #define MAXSOCKS (OPEN_MAX - 1) - #else - #define MAXSOCKS 256
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Index: xorg-server-1.5.0/xorg-server.m4 -=================================================================== ---- xorg-server-1.5.0.orig/xorg-server.m4 2007-05-29 20:36:51.000000000 +0100 -+++ xorg-server-1.5.0/xorg-server.m4 2008-11-04 23:56:55.000000000 +0000 -@@ -28,9 +28,12 @@ - # Checks for the $1 define in xorg-server.h (from the sdk). If it - # is defined, then add $1 to $REQUIRED_MODULES. - -+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR) -+ - AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ -+ PKG_PROG_PKG_CONFIG - SAVE_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`" -+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`pkg-config --variable=sdkdir xorg-server`" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "xorg-server.h" - #if !defined $1
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch deleted +0 -12
@@ -1,12 +0,0 @@ -Index: git/configure.ac -=================================================================== ---- git.orig/configure.ac 2009-01-15 20:35:31.000000000 +0000 -+++ git/configure.ac 2009-01-15 20:35:38.000000000 +0000 -@@ -62,7 +62,6 @@ - AC_LIBTOOL_WIN32_DLL - AC_DISABLE_STATIC - AC_PROG_LIBTOOL --DOLT - AC_PROG_MAKE_SET - PKG_PROG_PKG_CONFIG - AC_PROG_LEX
meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb deleted +0 -25
@@ -1,25 +0,0 @@ -require recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353" - -PROTO_DEPS += "xf86driproto dri2proto" - -DEPENDS += "font-util" - -PE = "1" -PR = "r0" - -SRC_URI += "file://nodolt.patch \ - file://crosscompile.patch" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch" - -SRC_URI[md5sum] = "cafc4e2d4ef6cf6e47f3e7dffeb3346a" -SRC_URI[sha256sum] = "a89f13b166b412930fe418ff50032dd2cde8bb181d8b47b5ca6f848d218fdcf2" - -RDEPENDS_${PN} += "xserver-xf86-emgd-bin mesa-dri" - -COMPATIBLE_MACHINE = "crownbay" - -EXTRA_OECONF += "--enable-dga --enable-dri --enable-dri2"
Signature · 1 line
1.7.0.4