Skip to contentSkip to conversation

HAL and Xserver

PATCH Marcin Juszkiewicz 3 participants 4 messages Jan 13, 2009

lore
Share & tools
lore
#0 lore raw

Hi

Current x11-image depends on 'angstrom-x11-base-depends' which adds HAL. For one customer I am building images with 1.3.0.0 xserver-kdrive so HAL is not required at all (not to mention that it does not find any devices when mdev is used instead of udev).

I created patch which removes HAL from 'angstrom-x11-base-depends' and moves it into dependencies of xserver-(kdrive,xorg) newer then 1.3.0.0.

What do you think about it?

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz

From 6cb5102f4ac2723592f7c92539acb8ab3058364b Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <[email protected]>
Date: Tue, 13 Jan 2009 18:26:08 +0100
Subject: [PATCH] xserver-(kdrive,xorg): versions newer then 1.3.0.0 require HAL also on device

Moved hal dependency from angstrom-x11-base-depends into xservers.

---
 packages/angstrom/angstrom-x11-base-depends.bb     |    5 ++---
 packages/xorg-xserver/xserver-kdrive_1.4.0.90.bb   |    3 ++-
 packages/xorg-xserver/xserver-kdrive_1.4.2.bb      |    3 ++-
 packages/xorg-xserver/xserver-kdrive_1.4.99.901.bb |    3 ++-
 packages/xorg-xserver/xserver-kdrive_1.4.bb        |    3 ++-
 packages/xorg-xserver/xserver-kdrive_1.5.3.bb      |    2 ++
 packages/xorg-xserver/xserver-xorg_1.4.2.bb        |    3 ++-
 packages/xorg-xserver/xserver-xorg_1.4.bb          |    3 ++-
 packages/xorg-xserver/xserver-xorg_1.5.1.bb        |    3 ++-
 packages/xorg-xserver/xserver-xorg_1.5.3.bb        |    3 ++-
 10 files changed, 20 insertions(+), 11 deletions(-)
packages/angstrom/angstrom-x11-base-depends.bb +2 -3
index 6c4c19d..cbad108 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "Task packages for the Angstrom distribution"
-PR = "r41"
+PR = "r42"
 
 inherit task
 
@@ -11,8 +11,7 @@ DEPENDS = "virtual/xserver"
 
 RDEPENDS = "\
     ${XSERVER} \
-    hal \
-	dbus-x11 \
+    dbus-x11 \
     ttf-dejavu-sans \
     ttf-dejavu-sans-mono \
     "
packages/xorg-xserver/xserver-kdrive_1.4.0.90.bb +2 -1
index 5caec02..70503d7 100644
@@ -1,9 +1,10 @@
 require xserver-kdrive-common.inc
 
 DEPENDS += "hal libxkbfile libxcalibrate pixman"
+RDEPENDS += "hal"
 
 PE = "1"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
 	${KDRIVE_COMMON_PATCHES} \
packages/xorg-xserver/xserver-kdrive_1.4.2.bb +2 -1
index 922d8f5..e6e791a 100644
@@ -1,9 +1,10 @@
 require xserver-kdrive-common.inc
 
 DEPENDS += "hal libxkbfile libxcalibrate pixman"
+RDEPENDS += "hal"
 
 PE = "1"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
 	${KDRIVE_COMMON_PATCHES} \
packages/xorg-xserver/xserver-kdrive_1.4.99.901.bb +2 -1
index 04470d3..1613901 100644
@@ -1,11 +1,12 @@
 require xserver-kdrive-common.inc
 
 DEPENDS += "hal libxkbfile libxcalibrate pixman"
+RDEPENDS += "hal"
 
 DEFAULT_PREFERENCE = "-99" 
 
 PE = "1"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
 	${KDRIVE_COMMON_PATCHES} \
packages/xorg-xserver/xserver-kdrive_1.4.bb +2 -1
index 5a46d7d..e792c84 100644
@@ -1,9 +1,10 @@
 require xserver-kdrive-common.inc
 
 DEPENDS += "hal libxkbfile libxcalibrate pixman"
+RDEPENDS += "hal"
 
 PE = "1"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
 	${KDRIVE_COMMON_PATCHES} \
packages/xorg-xserver/xserver-kdrive_1.5.3.bb +2 -0
index ce0d9e1..686826e 100644
@@ -1,10 +1,12 @@
 require xserver-kdrive-common.inc
 
 DEPENDS += "hal libxkbfile libxcalibrate pixman"
+RDEPENDS += "hal"
 
 DEFAULT_PREFERENCE = "-99" 
 
 PE = "1"
+PR = "r1"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
 	${KDRIVE_COMMON_PATCHES} \
packages/xorg-xserver/xserver-xorg_1.4.2.bb +2 -1
index 852e847..2c4f3d8 100644
@@ -2,8 +2,9 @@ require xorg-xserver-common.inc
 
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman"
+RDEPENDS += "hal"
 PE = "1"
-PR = "r10"
+PR = "r11"
 
 SRC_URI += "file://drmfix.patch;patch=1 \
             file://pkgconfig_fix.patch;patch=1 \
packages/xorg-xserver/xserver-xorg_1.4.bb +2 -1
index ba64d72..cb9ddcd 100644
@@ -2,8 +2,9 @@ require xorg-xserver-common.inc
 
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman"
+RDEPENDS += "hal"
 PE = "1"
-PR = "r8"
+PR = "r9"
 
 SRC_URI += "file://drmfix.patch;patch=1 \
             file://pkgconfig_fix.patch;patch=1 \
packages/xorg-xserver/xserver-xorg_1.5.1.bb +2 -1
index 2e21fbd..d4b8caf 100644
@@ -2,8 +2,9 @@ require xorg-xserver-common.inc
 
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl"
+RDEPENDS += "hal"
 PE = "1"
-PR = "r2"
+PR = "r3"
 
 SRC_URI += "file://drmfix.patch;patch=1 \
             file://sysroot_fix.patch;patch=1"
packages/xorg-xserver/xserver-xorg_1.5.3.bb +2 -1
index 1402c8e..79df5b3 100644
@@ -2,8 +2,9 @@ require xorg-xserver-common.inc
 
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl"
+RDEPENDS += "hal"
 PE = "2"
-PR = "r3"
+PR = "r4"
 
 SRC_URI += "file://drmfix.patch;patch=1 \
             file://sysroot_fix.patch;patch=1"
Signature · 1 line
1.5.6.5
#1 lore raw

Am Tuesday 13 January 2009 20:10:59 schrieb Marcin Juszkiewicz:

Quoted 11 lines

Hi

Current x11-image depends on 'angstrom-x11-base-depends' which adds HAL. For one customer I am building images with 1.3.0.0 xserver-kdrive so HAL is not required at all (not to mention that it does not find any devices when mdev is used instead of udev).

I created patch which removes HAL from 'angstrom-x11-base-depends' and moves it into dependencies of xserver-(kdrive,xorg) newer then 1.3.0.0.

What do you think about it?

Sounds good. I'd even welcome if we could disable it for all versions.

Signature · 1 line
:M:
#2 lore raw
Quoted 8 lines · Michael 'Mickey' Lauer

Am Tuesday 13 January 2009 20:10:59 schrieb Marcin Juszkiewicz:

Quoted 7 lines

Hi

Current x11-image depends on 'angstrom-x11-base-depends' which adds HAL. For one customer I am building images with 1.3.0.0 xserver-kdrive so HAL is not required at all (not to mention that it does not find any devices when mdev is used instead of udev).

Quoted 6 lines
Quoted 4 lines

I created patch which removes HAL from 'angstrom-x11-base-depends' and moves it into dependencies of xserver-(kdrive,xorg) newer then 1.3.0.0.

What do you think about it?

Sounds good. I'd even welcome if we could disable it for all versions.

You can't, it's needed to get input devices nowadays, there's a 3 month long flamewar about it on the xorg mailinglists if you want some background on it.

regards,

Koen

#3 lore raw

Am Tuesday 13 January 2009 20:51:26 schrieb Koen Kooi:

Quoted 12 lines · Michael 'Mickey' Lauer
Quoted 11 lines

Am Tuesday 13 January 2009 20:10:59 schrieb Marcin Juszkiewicz:

Quoted 10 lines

Hi

Current x11-image depends on 'angstrom-x11-base-depends' which adds HAL. For one customer I am building images with 1.3.0.0 xserver-kdrive so HAL is not required at all (not to mention that it does not find any devices when mdev is used instead of udev).

I created patch which removes HAL from 'angstrom-x11-base-depends' and moves it into dependencies of xserver-(kdrive,xorg) newer then 1.3.0.0.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

What do you think about it?

Sounds good. I'd even welcome if we could disable it for all versions.

You can't, it's needed to get input devices nowadays, there's a 3 month long flamewar about it on the xorg mailinglists if you want some background on it.

Thanks. That's very unfortunate, but hey... source is out there, I can patch it out.

Signature · 1 line
:M: