Bump xf86-video-intel to 2.9.1
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Sun, 28 Feb 2010 09:33:46 +0000 (11:33 +0200)
committerPaulius Zaleckas <paulius.zaleckas@gmail.com>
Sun, 28 Feb 2010 09:33:46 +0000 (11:33 +0200)
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
package/x11r7/xdriver_xf86-video-intel/Config.in
package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.4.2-cross-compile.patch [deleted file]
package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch [new file with mode: 0644]
package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk

index 3de28455ddc23d288d0e9b05003898d7f156bf40..80678d55933acffffa8682ba58ecc4188d234f5a 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL
        select BR2_PACKAGE_XPROTO_RANDRPROTO
        select BR2_PACKAGE_XPROTO_RENDERPROTO
        select BR2_PACKAGE_XPROTO_XPROTO
+       select BR2_PACKAGE_XPROTO_DRI2PROTO
        help
-         xf86-video-intel 2.1.1
+         xf86-video-intel 2.9.1
          Intel video driver
diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.4.2-cross-compile.patch b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.4.2-cross-compile.patch
deleted file mode 100644 (file)
index ecf1571..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ruN xf86-video-intel-2.4.2/configure.ac xf86-video-intel-2.4.2-patched/configure.ac
---- xf86-video-intel-2.4.2/configure.ac        2008-08-26 03:28:31.000000000 +0200
-+++ xf86-video-intel-2.4.2-patched/configure.ac        2009-07-27 13:39:49.000000000 +0200
-@@ -91,6 +91,7 @@
- # Checks for header files.
- AC_HEADER_STDC
-+if test "$cross_compiling" = "no" ; then
- if test x$DRI != xno; then
-         AC_CHECK_FILE([${sdkdir}/dri.h],
-                       [have_dri_h="yes"], [have_dri_h="no"])
-@@ -111,6 +112,14 @@
-                 DRI="no"
-         fi
- fi
-+else
-+if test x$DRI != xno; then
-+      have_dri_h="yes"
-+      have_sarea_h="yes"
-+      have_dristruct_h="yes"
-+      DRI="yes"
-+fi
-+fi
- AC_MSG_RESULT([$DRI])
- save_CFLAGS="$CFLAGS"
diff --git a/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch b/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel-2.9.1-cross-compile.patch
new file mode 100644 (file)
index 0000000..76a33eb
--- /dev/null
@@ -0,0 +1,25 @@
+--- xdriver_xf86-video-intel-2.9.1/configure.ac.orig   2010-01-28 11:18:27.526329157 +0200
++++ xdriver_xf86-video-intel-2.9.1/configure.ac        2010-01-28 11:21:38.065198735 +0200
+@@ -114,6 +114,7 @@ save_CFLAGS="$CFLAGS"
+ CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $drm_cflags"
+ CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $drm_cflags"
+ AC_MSG_CHECKING([whether to include DRI support])
++if test "$cross_compiling" = "no" ; then
+ if test x$DRI != xno; then
+         AC_CHECK_FILE([${sdkdir}/dri.h],
+                       [have_dri_h="yes"], [have_dri_h="no"])
+@@ -132,6 +133,14 @@ if test x$DRI = xauto; then
+                 DRI="no"
+         fi
+ fi
++else
++if test x$DRI != xno; then
++      have_dri_h="yes"
++      have_sarea_h="yes"
++      have_dristruct_h="yes"
++      DRI="yes"
++fi
++fi
+ AC_MSG_RESULT([$DRI])
+ CFLAGS="$save_CFLAGS $DEBUGFLAGS"
index 829cc3a5d2a7c2d666c1fed80ea88c66b2484904..6bec2d66a34cb368916d226960636d8d5cb16d80 100644 (file)
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-XDRIVER_XF86_VIDEO_INTEL_VERSION = 2.4.2
+XDRIVER_XF86_VIDEO_INTEL_VERSION = 2.9.1
 XDRIVER_XF86_VIDEO_INTEL_SOURCE = xf86-video-intel-$(XDRIVER_XF86_VIDEO_INTEL_VERSION).tar.bz2
 XDRIVER_XF86_VIDEO_INTEL_SITE = http://xorg.freedesktop.org/releases/individual/driver
 XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES
-XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = xserver_xorg-server xproto_fontsproto xproto_randrproto xproto_renderproto xproto_xproto
+XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = xserver_xorg-server xproto_fontsproto xproto_randrproto xproto_renderproto xproto_xproto xproto_dri2proto
 XDRIVER_XF86_VIDEO_INTEL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
 
 $(eval $(call AUTOTARGETS,package/x11r7,xdriver_xf86-video-intel))