Skip to contentSkip to conversation

libdrm: Upgrade to 2.4.65

PATCH Superseded Saul Wold 2 participants 2 messages Dec 21, 2015 – Dec 22, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 libdrm: Upgrade to 2.4.65

Rebased patch to reflect changes in Makefile

---
 .../recipes-graphics/drm/libdrm/installtests.patch | 24 ++++++++++++----------
 .../drm/{libdrm_2.4.62.bb => libdrm_2.4.65.bb}     |  5 +++--
 2 files changed, 16 insertions(+), 13 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.62.bb => libdrm_2.4.65.bb} (92%)
meta/recipes-graphics/drm/libdrm/installtests.patch +13 -11
index 1175dae..f460ef5 100644
@@ -4,20 +4,22 @@ Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Yu Ke <[email protected]>
 
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index bf1987f..d909e19 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -27,10 +27,11 @@ AM_CPPFLAGS = \
+Index: libdrm-2.4.65/tests/Makefile.am
+===================================================================
+--- libdrm-2.4.65.orig/tests/Makefile.am
++++ libdrm-2.4.65/tests/Makefile.am
+@@ -29,9 +29,11 @@ AM_CFLAGS = \
  
  LDADD = $(top_builddir)/libdrm.la
  
 -check_PROGRAMS = \
+-	dristat \
+-	drmstat
 +bin_PROGRAMS = \
- 	dristat \
- 	drmstat
- 
++        dristat \
++        drmstat
++ 
 +check_PROGRAMS =
- if HAVE_NOUVEAU
- SUBDIRS += nouveau
- endif
+ 
+ dristat_LDADD = -lm
+ 
meta/recipes-graphics/drm/libdrm_2.4.65.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.62.bb +3 -2
similarity index 92%
rename from meta/recipes-graphics/drm/libdrm_2.4.62.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.65.bb
index ea6305e..8390fb0 100644
@@ -12,8 +12,9 @@ DEPENDS = "libpthread-stubs udev libpciaccess"
 
 SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
            file://installtests.patch "
-SRC_URI[md5sum] = "c9291bae0e5ca65d1483821d3698d3ab"
-SRC_URI[sha256sum] = "906c294bdbe1c94c3ca084305d61a6e5a8367f3b4986e6cc13b1e9b3f75931dc"
+
+SRC_URI[md5sum] = "de49916e5f8aef4eba55223c79709b05"
+SRC_URI[sha256sum] = "71960ac8bde7d710992b1bc8879935e8300a870c36bd06f22412d0447e3d96c4"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.5.0
#1 lore raw

Buildhistory-diff says:

packages/corei7-64-poky-linux/libdrm/libdrm: PKG changed from libdrm2 to libdrm [default] - may indicate debian renaming failure

There's a new library (libdrm_amdgpu.so) which needs to be split out. To be honest the splitting should be automated instead of done manually to stop this happening in the future.

Ross

Quoted 81 lines · Saul Wold

Rebased patch to reflect changes in Makefile

---
 .../recipes-graphics/drm/libdrm/installtests.patch | 24
++++++++++++----------
 .../drm/{libdrm_2.4.62.bb => libdrm_2.4.65.bb}     |  5 +++--
 2 files changed, 16 insertions(+), 13 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.62.bb => libdrm_2.4.65.bb}

(92%)

meta/recipes-graphics/drm/libdrm/installtests.patch +13 -11
index 1175dae..f460ef5 100644
@@ -4,20 +4,22 @@ Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Yu Ke <[email protected]>
 
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index bf1987f..d909e19 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -27,10 +27,11 @@ AM_CPPFLAGS = \
+Index: libdrm-2.4.65/tests/Makefile.am
+===================================================================
+--- libdrm-2.4.65.orig/tests/Makefile.am
++++ libdrm-2.4.65/tests/Makefile.am
+@@ -29,9 +29,11 @@ AM_CFLAGS = \
 
  LDADD = $(top_builddir)/libdrm.la
 
 -check_PROGRAMS = \
+-      dristat \
+-      drmstat
 +bin_PROGRAMS = \
-       dristat \
-       drmstat
-
++        dristat \
++        drmstat
++
 +check_PROGRAMS =
- if HAVE_NOUVEAU
- SUBDIRS += nouveau
- endif
+
+ dristat_LDADD = -lm
+
meta/recipes-graphics/drm/libdrm_2.4.65.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.62.bb +0 -2
similarity index 92%
rename from meta/recipes-graphics/drm/libdrm_2.4.62.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.65.bb
index ea6305e..8390fb0 100644
@@ -12,8 +12,9 @@ DEPENDS = "libpthread-stubs udev libpciaccess"
 
 SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
            file://installtests.patch "
-SRC_URI[md5sum] = "c9291bae0e5ca65d1483821d3698d3ab"
-SRC_URI[sha256sum] =

"906c294bdbe1c94c3ca084305d61a6e5a8367f3b4986e6cc13b1e9b3f75931dc"

meta/recipes-graphics/drm/libdrm_2.4.65.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.62.bb +3 -0
+
+SRC_URI[md5sum] = "de49916e5f8aef4eba55223c79709b05"
+SRC_URI[sha256sum] =

"71960ac8bde7d710992b1bc8879935e8300a870c36bd06f22412d0447e3d96c4"

inherit autotools pkgconfig

--
2.5.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core