From: Martin Jansa <martin.jansa@gmail.com>
To: Laurentiu Palcu <laurentiu.palcu@intel.com>
Cc: openembedded-core@lists.openembedded.org,
openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Laurentiu Palcu : libdrm: upgrade to 2.4.44
Date: Wed, 22 May 2013 18:07:25 +0200 [thread overview]
Message-ID: <20130522160725.GM32431@jama> (raw)
In-Reply-To: <20130512163307.035FC504FC@opal>
[-- Attachment #1: Type: text/plain, Size: 5411 bytes --]
On Sun, May 12, 2013 at 04:33:07PM +0000, git@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@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@intel.com>
> Signed-off-by: Saul Wold <sgw@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next parent reply other threads:[~2013-05-22 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130512163307.035FC504FC@opal>
2013-05-22 16:07 ` Martin Jansa [this message]
2013-05-23 8:26 ` [oe-commits] Laurentiu Palcu : libdrm: upgrade to 2.4.44 Laurentiu Palcu
2013-05-23 8:55 ` [PATCH] libdrm: fix packaging after last upgrade Martin Jansa
2013-05-23 9:08 ` Burton, Ross
2013-05-24 20:48 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130522160725.GM32431@jama \
--to=martin.jansa@gmail.com \
--cc=laurentiu.palcu@intel.com \
--cc=openembedded-commits@lists.openembedded.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox