diff options
Diffstat (limited to 'meta-emenlow/packages/xorg-xserver')
-rw-r--r-- | meta-emenlow/packages/xorg-xserver/files/libdrm-poulsbo.patch | 26 | ||||
-rw-r--r-- | meta-emenlow/packages/xorg-xserver/xserver-psb_1.7.99.2.bb | 11 |
2 files changed, 32 insertions, 5 deletions
diff --git a/meta-emenlow/packages/xorg-xserver/files/libdrm-poulsbo.patch b/meta-emenlow/packages/xorg-xserver/files/libdrm-poulsbo.patch new file mode 100644 index 0000000000..2f036f1baa --- /dev/null +++ b/meta-emenlow/packages/xorg-xserver/files/libdrm-poulsbo.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | # Make the server depend on libdrm-poulsbo instead of libdrm so that the | ||
2 | # emenlow libdrm can coexist with the normal libdrm. | ||
3 | # jdike@linux.intel.com | ||
4 | |||
5 | Index: xorg-server-1.7.99.2/configure.ac | ||
6 | =================================================================== | ||
7 | --- xorg-server-1.7.99.2.orig/configure.ac | ||
8 | +++ xorg-server-1.7.99.2/configure.ac | ||
9 | @@ -763,7 +763,7 @@ dnl List of libraries that require a spe | ||
10 | LIBAPPLEWM="applewm >= 1.4" | ||
11 | LIBDMX="dmx >= 1.0.99.1" | ||
12 | LIBDRI="dri >= 7.1.0" | ||
13 | -LIBDRM="libdrm >= 2.3.0" | ||
14 | +LIBDRM="libdrm-poulsbo >= 2.3.0" | ||
15 | LIBGL="gl >= 7.1.0" | ||
16 | LIBXEXT="xext >= 1.0.99.4" | ||
17 | LIBXI="xi >= 1.2.99.1" | ||
18 | @@ -2002,7 +2002,7 @@ if test "$KDRIVE" = yes; then | ||
19 | XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS xv" | ||
20 | fi | ||
21 | if test "x$DRI" = xyes && test "x$GLX" = xyes; then | ||
22 | - XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm" | ||
23 | + XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm-poulsbo" | ||
24 | fi | ||
25 | |||
26 | PKG_CHECK_MODULES(XEPHYR, $XEPHYR_REQUIRED_LIBS, [xephyr="yes"], [xephyr="no"]) | ||
diff --git a/meta-emenlow/packages/xorg-xserver/xserver-psb_1.7.99.2.bb b/meta-emenlow/packages/xorg-xserver/xserver-psb_1.7.99.2.bb index a732f089f9..60906919ca 100644 --- a/meta-emenlow/packages/xorg-xserver/xserver-psb_1.7.99.2.bb +++ b/meta-emenlow/packages/xorg-xserver/xserver-psb_1.7.99.2.bb | |||
@@ -1,19 +1,20 @@ | |||
1 | require ../meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc | 1 | require ../meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc |
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | PROTO_DEPS += "xf86driproto dri2proto" | 5 | PROTO_DEPS += "xf86driproto dri2proto" |
6 | 6 | ||
7 | DEPENDS += "font-util" | 7 | DEPENDS += "font-util" |
8 | 8 | ||
9 | SRC_URI += "file://nodolt.patch;patch=1 \ | 9 | SRC_URI += "file://nodolt.patch \ |
10 | file://crosscompile.patch;patch=1" | 10 | file://crosscompile.patch \ |
11 | file://libdrm-poulsbo.patch" | ||
11 | 12 | ||
12 | # Misc build failure for master HEAD | 13 | # Misc build failure for master HEAD |
13 | SRC_URI += "file://fix_open_max_preprocessor_error.patch;patch=1" | 14 | SRC_URI += "file://fix_open_max_preprocessor_error.patch" |
14 | 15 | ||
15 | EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga --enable-glx" | 16 | EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga --enable-glx" |
16 | 17 | ||
17 | DEPENDS += "psb-firmware xpsb-glx psb-kernel-source libdrm-poulsbo libva" | 18 | DEPENDS += "psb-firmware xpsb-glx psb-kernel-source libdrm-poulsbo libva" |
18 | 19 | ||
19 | COMPATBILE_MACHINE = "emenlow" | 20 | COMPATIBLE_MACHINE = "emenlow" |