Patchwork [2/5] libdrm: upgrade to 2.4.26

login
register
mail settings
Submitter Yu Ke
Date July 3, 2011, 1:03 p.m.
Message ID <8fb77cc6848ff67b3d07d36364d037e90d98b3cd.1309698011.git.ke.yu@intel.com>
Download mbox | patch
Permalink /patch/6909/
State New, archived
Headers show

Comments

Yu Ke - July 3, 2011, 1:03 p.m.
Signed-off-by: Yu Ke <ke.yu@intel.com>
---
 meta/recipes-graphics/drm/libdrm.inc               |    3 +++
 .../{libdrm-2.4.25 => libdrm}/installtests.patch   |    0
 .../drm/{libdrm_2.4.25.bb => libdrm_2.4.26.bb}     |    4 ++--
 3 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm-2.4.25 => libdrm}/installtests.patch (100%)
 rename meta/recipes-graphics/drm/{libdrm_2.4.25.bb => libdrm_2.4.26.bb} (54%)

Patch

diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index a66afad..1ad9dc3 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -10,6 +10,9 @@  SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
 PROVIDES = "drm"
 DEPENDS = "libpthread-stubs udev cairo virtual/libx11"
 
+#libpciaccess is required starting from libdrm 2.4.26
+DEPENDS += " libpciaccess"
+
 inherit autotools pkgconfig
 
 PACKAGES =+ "libdrm-tests"
diff --git a/meta/recipes-graphics/drm/libdrm-2.4.25/installtests.patch b/meta/recipes-graphics/drm/libdrm/installtests.patch
similarity index 100%
rename from meta/recipes-graphics/drm/libdrm-2.4.25/installtests.patch
rename to meta/recipes-graphics/drm/libdrm/installtests.patch
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.25.bb b/meta/recipes-graphics/drm/libdrm_2.4.26.bb
similarity index 54%
rename from meta/recipes-graphics/drm/libdrm_2.4.25.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.26.bb
index 177e444..e5aa6a4 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.25.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.26.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c5
 
 SRC_URI += "file://installtests.patch"
 
-SRC_URI[md5sum] = "f53dc4c72109b17908e4113c3b8addfe"
-SRC_URI[sha256sum] = "51f99a815a18876977991bbc6f190607791d25a6e47a3269880ce7679dbd0e9f"
+SRC_URI[md5sum] = "062569426773f69b11a47a7712bba770"
+SRC_URI[sha256sum] = "b25b06ab5a077736044cbd9a3a05a9a23b873a0887ab1aaf93aa2b3218b2d3dc"
 
 PR = "r0"