summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-04-18 11:37:02 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-04-18 12:29:08 +0200
commitfc04fe74edfe5a681ed1ee5e0458e085573f9177 (patch)
tree42c29d9c29e7e81d69fefce2d110fc664f9134e0 /meta-oe/recipes-graphics
parent876a9efdf8e0a66e8c67f467638ae42aae30387a (diff)
downloadmeta-openembedded-fc04fe74edfe5a681ed1ee5e0458e085573f9177.tar.gz
libdrm: upgrade to 2.4.25
* difference to oe-core version is different packaging and glamo/uclibc patches Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/drm/libdrm-2.4.24/installtests.patch43
-rw-r--r--meta-oe/recipes-graphics/drm/libdrm-2.4.25/glamo.patch (renamed from meta-oe/recipes-graphics/drm/libdrm-2.4.24/glamo.patch)0
-rw-r--r--meta-oe/recipes-graphics/drm/libdrm-2.4.25/installtests.patch49
-rw-r--r--meta-oe/recipes-graphics/drm/libdrm_2.4.25.bb (renamed from meta-oe/recipes-graphics/drm/libdrm_2.4.24.bb)6
4 files changed, 51 insertions, 47 deletions
diff --git a/meta-oe/recipes-graphics/drm/libdrm-2.4.24/installtests.patch b/meta-oe/recipes-graphics/drm/libdrm-2.4.24/installtests.patch
deleted file mode 100644
index 9d6a168bb..000000000
--- a/meta-oe/recipes-graphics/drm/libdrm-2.4.24/installtests.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1Index: libdrm-2.4.7/tests/Makefile.am
2===================================================================
3--- libdrm-2.4.7.orig/tests/Makefile.am 2009-04-09 20:16:35.000000000 +0100
4+++ libdrm-2.4.7/tests/Makefile.am 2009-04-17 12:35:14.000000000 +0100
5@@ -6,10 +6,11 @@
6
7 LDADD = $(top_builddir)/libdrm.la
8
9-check_PROGRAMS = \
10+bin_PROGRAMS = \
11 dristat \
12 drmstat
13
14+check_PROGRAMS =
15 SUBDIRS =
16
17 if HAVE_LIBKMS
18Index: libdrm-2.4.7/tests/modeprint/Makefile.am
19===================================================================
20--- libdrm-2.4.7.orig/tests/modeprint/Makefile.am 2009-02-17 19:52:37.000000000 +0000
21+++ libdrm-2.4.7/tests/modeprint/Makefile.am 2009-04-17 12:35:32.000000000 +0100
22@@ -3,7 +3,7 @@
23 -I$(top_srcdir)/libdrm/intel/ \
24 -I$(top_srcdir)/libdrm
25
26-noinst_PROGRAMS = \
27+bin_PROGRAMS = \
28 modeprint
29
30 modeprint_SOURCES = \
31Index: libdrm-2.4.7/tests/modetest/Makefile.am
32===================================================================
33--- libdrm-2.4.7.orig/tests/modetest/Makefile.am 2009-02-17 19:52:37.000000000 +0000
34+++ libdrm-2.4.7/tests/modetest/Makefile.am 2009-04-17 12:35:42.000000000 +0100
35@@ -4,7 +4,7 @@
36 -I$(top_srcdir)/libdrm \
37 $(CAIRO_CFLAGS)
38
39-noinst_PROGRAMS = \
40+bin_PROGRAMS = \
41 modetest
42
43 modetest_SOURCES = \
diff --git a/meta-oe/recipes-graphics/drm/libdrm-2.4.24/glamo.patch b/meta-oe/recipes-graphics/drm/libdrm-2.4.25/glamo.patch
index b397ded58..b397ded58 100644
--- a/meta-oe/recipes-graphics/drm/libdrm-2.4.24/glamo.patch
+++ b/meta-oe/recipes-graphics/drm/libdrm-2.4.25/glamo.patch
diff --git a/meta-oe/recipes-graphics/drm/libdrm-2.4.25/installtests.patch b/meta-oe/recipes-graphics/drm/libdrm-2.4.25/installtests.patch
new file mode 100644
index 000000000..2704ee6c6
--- /dev/null
+++ b/meta-oe/recipes-graphics/drm/libdrm-2.4.25/installtests.patch
@@ -0,0 +1,49 @@
1tests: also install tests app
2
3Upstream-Status: Pending
4
5Signed-off-by: Yu Ke <ke.yu@intel.com>
6
7diff --git a/tests/Makefile.am b/tests/Makefile.am
8index bf1987f..d909e19 100644
9--- a/tests/Makefile.am
10+++ b/tests/Makefile.am
11@@ -6,10 +6,11 @@ AM_CPPFLAGS = \
12
13 LDADD = $(top_builddir)/libdrm.la
14
15-check_PROGRAMS = \
16+bin_PROGRAMS = \
17 dristat \
18 drmstat
19
20+check_PROGRAMS =
21 SUBDIRS = modeprint
22
23 if HAVE_LIBKMS
24diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am
25index c4862ac..7db76ea 100644
26--- a/tests/modeprint/Makefile.am
27+++ b/tests/modeprint/Makefile.am
28@@ -2,7 +2,7 @@ AM_CFLAGS = \
29 -I$(top_srcdir)/include/drm \
30 -I$(top_srcdir)
31
32-noinst_PROGRAMS = \
33+bin_PROGRAMS = \
34 modeprint
35
36 modeprint_SOURCES = \
37diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
38index 2191242..1d2c1b0 100644
39--- a/tests/modetest/Makefile.am
40+++ b/tests/modetest/Makefile.am
41@@ -4,7 +4,7 @@ AM_CFLAGS = \
42 -I$(top_srcdir) \
43 $(CAIRO_CFLAGS)
44
45-noinst_PROGRAMS = \
46+bin_PROGRAMS = \
47 modetest
48
49 modetest_SOURCES = \
diff --git a/meta-oe/recipes-graphics/drm/libdrm_2.4.24.bb b/meta-oe/recipes-graphics/drm/libdrm_2.4.25.bb
index 0a2365ec3..4ffdcac9f 100644
--- a/meta-oe/recipes-graphics/drm/libdrm_2.4.24.bb
+++ b/meta-oe/recipes-graphics/drm/libdrm_2.4.25.bb
@@ -24,13 +24,11 @@ LEAD_SONAME = "libdrm.so"
24EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '', '--disable-intel --disable-radeon',d)}" 24EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '', '--disable-intel --disable-radeon',d)}"
25EXTRA_OECONF_append_shr = " --enable-glamo-experimental-api" 25EXTRA_OECONF_append_shr = " --enable-glamo-experimental-api"
26 26
27PR = "r8"
28
29SRC_URI += "file://installtests.patch" 27SRC_URI += "file://installtests.patch"
30SRC_URI += "file://glamo.patch" 28SRC_URI += "file://glamo.patch"
31 29
32SRC_URI[md5sum] = "8d802bf3b368f9fac0d7d17516a9436f" 30SRC_URI[md5sum] = "f53dc4c72109b17908e4113c3b8addfe"
33SRC_URI[sha256sum] = "c7012381f64458af9f291d913309448aac7dd23a28dc86c6970e4bf38effb6a5" 31SRC_URI[sha256sum] = "51f99a815a18876977991bbc6f190607791d25a6e47a3269880ce7679dbd0e9f"
34 32
35do_compile_prepend_libc-uclibc() { 33do_compile_prepend_libc-uclibc() {
36 eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/d" ${S}/libkms/intel.c', d)}" 34 eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/d" ${S}/libkms/intel.c', d)}"