xserver-xorg 1.7.4,1.8.0,git : make it MACHINE_ARCH for ion and bump PR
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Wed, 14 Apr 2010 12:30:35 +0000 (14:30 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Wed, 14 Apr 2010 13:02:53 +0000 (15:02 +0200)
In case of ion(a machine),Xorg is configured with --enable-xinerama,
  But xorg is not MACHINE_ARCH anymore,so that's problematic.
  The easiest fix as suggested in #oe is this one:
    <XorA> needs PACKAGE_ARCH_ion = "${MACHINE_ARCH}" then
PR was also bumped(advise taken in #oe):
  <GNUtoo> I'll also bump PR: PR = "${INC_PR}.0" => PR = "${INC_PR}.1"
  <GNUtoo> JaMa, is it ok to bump like this for xserver or does every xf86-somesystem-somedriver has to be rebuilt?
  <JaMa> GNUtoo: no, it should be fine..
  <GNUtoo> ok thanks a lot
  <JaMa> drivers needs to be bumped only if ABI changed

recipes/xorg-xserver/xserver-xorg_1.7.4.bb
recipes/xorg-xserver/xserver-xorg_1.8.0.bb
recipes/xorg-xserver/xserver-xorg_git.bb

index 1645ed6..3424784 100644 (file)
@@ -3,7 +3,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts"
 PE = "2"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://sysroot_fix.patch;patch=1 \
             file://dolt-fix-1.7.0.patch;patch=1 \
@@ -19,6 +19,7 @@ do_install_prepend() {
 }
 
 # The NVidia driver requires Xinerama support in the X server. Ion uses it.
+PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
 EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
index 4d1630c..0bd187d 100644 (file)
@@ -3,7 +3,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
 PE = "2"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # Needs newer mesa-dri, where is D_P = "-1"
 DEFAULT_PREFERENCE = "-1"
@@ -25,6 +25,7 @@ do_install_prepend() {
 }
 
 # The NVidia driver requires Xinerama support in the X server. Ion uses it.
+PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
 EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
index 47e797c..47264ff 100644 (file)
@@ -3,7 +3,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
 PV = "1.7.999"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 PR_append = "+gitr${SRCREV}"
 PE = "2"
 
@@ -23,6 +23,7 @@ do_install_prepend() {
 }
 
 # The NVidia driver requires Xinerama support in the X server. Ion uses it.
+PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
 EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"