diff options
-rw-r--r-- | meta-emenlow/packages/xpsb-glx/xpsb-glx-0.18/libdrmname.patch | 63 | ||||
-rw-r--r-- | meta-emenlow/packages/xpsb-glx/xpsb-glx_0.18.bb | 5 |
2 files changed, 66 insertions, 2 deletions
diff --git a/meta-emenlow/packages/xpsb-glx/xpsb-glx-0.18/libdrmname.patch b/meta-emenlow/packages/xpsb-glx/xpsb-glx-0.18/libdrmname.patch new file mode 100644 index 000000000..96b94ef2c --- /dev/null +++ b/meta-emenlow/packages/xpsb-glx/xpsb-glx-0.18/libdrmname.patch @@ -0,0 +1,63 @@ +Index: mesa/configure.ac +=================================================================== +--- mesa.orig/configure.ac 2010-05-13 13:20:26.000000000 +0100 ++++ mesa/configure.ac 2010-07-25 17:02:58.000000000 +0100 +@@ -524,10 +524,10 @@ + fi + + # Check for libdrm +- PKG_CHECK_MODULES([LIBDRM], [libdrm-poulsbo >= $LIBDRM_REQUIRED]) ++ PKG_CHECK_MODULES([LIBDRM], [libdrm_poulsbo >= $LIBDRM_REQUIRED]) + PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) +- GL_PC_REQ_PRIV="libdrm-poulsbo >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED" +- DRI_PC_REQ_PRIV="libdrm-poulsbo >= $LIBDRM_REQUIRED" ++ GL_PC_REQ_PRIV="libdrm_poulsbo >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED" ++ DRI_PC_REQ_PRIV="libdrm_poulsbo >= $LIBDRM_REQUIRED" + + # find the DRI deps for libGL + if test "$x11_pkgconfig" = yes; then +Index: mesa/configs/linux-dri +=================================================================== +--- mesa.orig/configs/linux-dri 2010-07-25 17:08:01.000000000 +0100 ++++ mesa/configs/linux-dri 2010-07-25 17:08:17.000000000 +0100 +@@ -36,8 +36,8 @@ + + ASM_SOURCES = + +-LIBDRM_CFLAGS = `pkg-config --cflags libdrm-poulsbo` +-LIBDRM_LIB = `pkg-config --libs libdrm-poulsbo` ++LIBDRM_CFLAGS = `pkg-config --cflags libdrm_poulsbo` ++LIBDRM_LIB = `pkg-config --libs libdrm_poulsbo` + DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -lpthread -ldl $(LIBDRM_LIB) +Index: mesa/configs/linux-dri-xcb +=================================================================== +--- mesa.orig/configs/linux-dri-xcb 2010-07-25 17:08:25.000000000 +0100 ++++ mesa/configs/linux-dri-xcb 2010-07-25 17:08:44.000000000 +0100 +@@ -41,8 +41,8 @@ + # Library/program dependencies + EXTRA_LIB_PATH=`pkg-config --libs-only-L x11` + +-LIBDRM_CFLAGS = `pkg-config --cflags libdrm-poulsbo` +-LIBDRM_LIB = `pkg-config --libs libdrm-poulsbo` ++LIBDRM_CFLAGS = `pkg-config --cflags libdrm_poulsbo` ++LIBDRM_LIB = `pkg-config --libs libdrm_poulsbo` + DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) + GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -lpthread -ldl $(LIBDRM_LIB) `pkg-config --libs xcb` \ +Index: mesa/configs/linux-solo +=================================================================== +--- mesa.orig/configs/linux-solo 2010-07-25 17:09:03.000000000 +0100 ++++ mesa/configs/linux-solo 2010-07-25 17:09:13.000000000 +0100 +@@ -16,8 +16,8 @@ + ARCH_FLAGS ?= + + # DRM and pciaccess +-LIBDRM_CFLAGS = `pkg-config --cflags libdrm-poulsbo` +-LIBDRM_LIB = `pkg-config --libs libdrm-poulsbo` ++LIBDRM_CFLAGS = `pkg-config --cflags libdrm_poulsbo` ++LIBDRM_LIB = `pkg-config --libs libdrm_poulsbo` + PCIACCESS_CFLAGS = `pkg-config --cflags pciaccess` + PCIACCESS_LIB = `pkg-config --libs pciaccess` + diff --git a/meta-emenlow/packages/xpsb-glx/xpsb-glx_0.18.bb b/meta-emenlow/packages/xpsb-glx/xpsb-glx_0.18.bb index 1e2fc7ebf..6da48bdb6 100644 --- a/meta-emenlow/packages/xpsb-glx/xpsb-glx_0.18.bb +++ b/meta-emenlow/packages/xpsb-glx/xpsb-glx_0.18.bb @@ -4,14 +4,15 @@ DESCRIPTION = "X11 drivers for Poulsbo (psb) 3D acceleration" # not Intel proprietary, but it has no obvious license attached to it. LICENSE = "Intel-binary-only" LIC_FILES_CHKSUM = "file://${WORKDIR}/${PN}-${PV}/COPYING;md5=02c597a2f082b4581596065bb5a521a8" -PR = "r3" +PR = "r6" inherit autotools PROVIDES = "virtual/libgl mesa-dri" SRC_URI="https://launchpad.net/~gma500/+archive/ppa/+files/xpsb-glx_0.18-0ubuntu1netbook2~1004um1ubuntu1.tar.gz \ - file://cross-compile.patch;patch=1" + file://cross-compile.patch;patch=1 \ + file://libdrmname.patch;patch=1" do_configure () { chmod +x autogen.sh && ./autogen.sh && make realclean |