Patchwork [8/8] libdrm: upgrade to 2.4.44

login
register
mail settings
Submitter Laurentiu Palcu
Date May 10, 2013, 3:04 p.m.
Message ID <a6466ebba497127879dfa67a801f1c662cfd2950.1368198012.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/49731/
State New
Headers show

Comments

Laurentiu Palcu - May 10, 2013, 3:04 p.m.
Removed part of the installtests.patch since tests can now be installed
giving an option to configure script.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/recipes-graphics/drm/libdrm.inc               |    1 +
 .../recipes-graphics/drm/libdrm/installtests.patch |   26 --------------------
 .../drm/{libdrm_2.4.42.bb => libdrm_2.4.44.bb}     |    6 ++---
 3 files changed, 3 insertions(+), 30 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.42.bb => libdrm_2.4.44.bb} (43%)

Patch

diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 9c1124e..e395e03 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -20,6 +20,7 @@  inherit autotools pkgconfig
 
 EXTRA_OECONF += "--disable-cairo-tests \
                  --enable-omap-experimental-api \
+                 --enable-install-test-programs \
                 "
 ALLOW_EMPTY_${PN}-drivers = "1"
 PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
diff --git a/meta/recipes-graphics/drm/libdrm/installtests.patch b/meta/recipes-graphics/drm/libdrm/installtests.patch
index 1f39719..7d443af 100644
--- a/meta/recipes-graphics/drm/libdrm/installtests.patch
+++ b/meta/recipes-graphics/drm/libdrm/installtests.patch
@@ -21,29 +21,3 @@  index bf1987f..d909e19 100644
  SUBDIRS = modeprint
  
  if HAVE_LIBKMS
-diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am
-index c4862ac..7db76ea 100644
---- a/tests/modeprint/Makefile.am
-+++ b/tests/modeprint/Makefile.am
-@@ -2,7 +2,7 @@ AM_CFLAGS = \
- 	-I$(top_srcdir)/include/drm \
- 	-I$(top_srcdir)
- 
--noinst_PROGRAMS = \
-+bin_PROGRAMS = \
- 	modeprint
- 
- modeprint_SOURCES = \
-diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
-index 2191242..1d2c1b0 100644
---- a/tests/modetest/Makefile.am
-+++ b/tests/modetest/Makefile.am
-@@ -4,7 +4,7 @@ AM_CFLAGS = \
- 	-I$(top_srcdir) \
- 	$(CAIRO_CFLAGS)
- 
--noinst_PROGRAMS = \
-+bin_PROGRAMS = \
- 	modetest
- 
- modetest_SOURCES = \
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.42.bb b/meta/recipes-graphics/drm/libdrm_2.4.44.bb
similarity index 43%
rename from meta/recipes-graphics/drm/libdrm_2.4.42.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.44.bb
index 67ae2e6..b016958 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.42.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.44.bb
@@ -1,10 +1,8 @@ 
 require libdrm.inc
 
-PR = "${INC_PR}.0"
-
 SRC_URI += "file://installtests.patch \
             file://GNU_SOURCE_definition.patch \
            "
+SRC_URI[md5sum] = "b760b1f2ae4ec6452383164ec697cd5d"
+SRC_URI[sha256sum] = "42b45ad15bb1bc52630a4b37b7afcfaea27e01b3c0b4791ef25d0f7b2456f6a2"
 
-SRC_URI[md5sum] = "a6e2e26951bcc920b2049b65e86a659f"
-SRC_URI[sha256sum] = "e0671082a77871c8474d3c0f09dbf5ff82d2429cd248088a691f7b484cbc76e1"