[OE-core] [oe-commits] Laurentiu Palcu : libdrm: upgrade to 2.4.44

Martin Jansa martin.jansa at gmail.com
Wed May 22 16:07:25 UTC 2013


On Sun, May 12, 2013 at 04:33:07PM +0000, git at git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 563edb321594b007cae2294e807235ad22fd27da
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=563edb321594b007cae2294e807235ad22fd27da
> 
> Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
> Date:   Fri May 10 16:23:33 2013 +0300
> 
> libdrm: upgrade to 2.4.44
> 
> 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 at intel.com>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>

Are you using buildhistory to test such upgrades?

This was caused by added --enable-install-test-programs.

Buildhistory shows that kmstest and vbltest were added to PN causing PKG to 
change from libdrm2 to libdrm and breaking upgrade path

${PN}-tests looks like better place for tests.

 * check_data_file_clashes: Package libdrm wants to install file /usr/lib/libdrm.so.2
        But that file is already provided by package  * libdrm2
 * check_data_file_clashes: Package libdrm wants to install file /usr/lib/libdrm.so.2.4.0
        But that file is already provided by package  * libdrm2

-PV = 2.4.42
-PR = r4.0
-PKGR = r4.0.2
-PKG = libdrm2
+PV = 2.4.44
+PR = r0
+PKGR = r0.0
 RPROVIDES = 
-RDEPENDS = eglibc (>= 2.17)
+RDEPENDS = eglibc (>= 2.17) libdrm-kms (>= 2.4.44)
 RRECOMMENDS = 
-PKGSIZE = 34635
+PKGSIZE = 46491
 FILES = /usr/bin/* /usr/sbin/* /usr/lib/libdrm/* /usr/lib/lib*.so.* /etc /com /var /bin/* /sbin/* /lib/*.so.* /lib/udev/rules.d /usr/lib/udev/rules.d /usr/share/libdrm /usr/lib/libdrm/* /usr/share/pixmaps /usr/share/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
-FILELIST = /usr/lib/libdrm.so.2 /usr/lib/libdrm.so.2.4.0
+FILELIST = /usr/bin/kmstest /usr/bin/vbltest /usr/lib/libdrm.so.2 /usr/lib/libdrm.so.2.4.0

> ---
> 
>  meta/recipes-graphics/drm/libdrm.inc               |    1 +
>  .../recipes-graphics/drm/libdrm/installtests.patch |   26 --------------------
>  meta/recipes-graphics/drm/libdrm_2.4.42.bb         |   10 -------
>  meta/recipes-graphics/drm/libdrm_2.4.44.bb         |    8 ++++++
>  4 files changed, 9 insertions(+), 36 deletions(-)
> 
> 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.42.bb
> deleted file mode 100644
> index 67ae2e6..0000000
> --- a/meta/recipes-graphics/drm/libdrm_2.4.42.bb
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -require libdrm.inc
> -
> -PR = "${INC_PR}.0"
> -
> -SRC_URI += "file://installtests.patch \
> -            file://GNU_SOURCE_definition.patch \
> -           "
> -
> -SRC_URI[md5sum] = "a6e2e26951bcc920b2049b65e86a659f"
> -SRC_URI[sha256sum] = "e0671082a77871c8474d3c0f09dbf5ff82d2429cd248088a691f7b484cbc76e1"
> diff --git a/meta/recipes-graphics/drm/libdrm_2.4.44.bb b/meta/recipes-graphics/drm/libdrm_2.4.44.bb
> new file mode 100644
> index 0000000..b016958
> --- /dev/null
> +++ b/meta/recipes-graphics/drm/libdrm_2.4.44.bb
> @@ -0,0 +1,8 @@
> +require libdrm.inc
> +
> +SRC_URI += "file://installtests.patch \
> +            file://GNU_SOURCE_definition.patch \
> +           "
> +SRC_URI[md5sum] = "b760b1f2ae4ec6452383164ec697cd5d"
> +SRC_URI[sha256sum] = "42b45ad15bb1bc52630a4b37b7afcfaea27e01b3c0b4791ef25d0f7b2456f6a2"
> +
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130522/56d7b1f1/attachment-0002.sig>


More information about the Openembedded-core mailing list