All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v4 07/12] libdrm: upgrade to 2.4.40
Date: Thu, 15 Nov 2012 12:37:52 +0200	[thread overview]
Message-ID: <50A4C600.7070403@intel.com> (raw)
In-Reply-To: <1352975394-17860-1-git-send-email-laurentiu.palcu@intel.com>

v4:
 * added the missing library packages (libdrm-intel, libdrm-exynos)

On 11/15/2012 12:29 PM, Laurentiu Palcu wrote:
> Other changes:
>  * removed a backported patch;
>  * activated libdrm-omap helper layer which is needed by the latest
>    xf86-video-omap xorg driver;
>  * split libdrm-drivers package into libdrm-radeon, libdrm-nouveau and
>    libdrm-omap, libdrm-intel and libdrm-exynos;
> 
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> ---
>  meta/recipes-graphics/drm/libdrm.inc               |   20 ++++--
>  .../drm/libdrm/disable-cairo.patch                 |   74 --------------------
>  meta/recipes-graphics/drm/libdrm_2.4.39.bb         |   11 ---
>  meta/recipes-graphics/drm/libdrm_2.4.40.bb         |   10 +++
>  meta/recipes-graphics/drm/libdrm_git.bb            |    4 +-
>  5 files changed, 27 insertions(+), 92 deletions(-)
>  delete mode 100644 meta/recipes-graphics/drm/libdrm/disable-cairo.patch
>  delete mode 100644 meta/recipes-graphics/drm/libdrm_2.4.39.bb
>  create mode 100644 meta/recipes-graphics/drm/libdrm_2.4.40.bb
> 
> diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
> index a64a5df..9c1124e 100644
> --- a/meta/recipes-graphics/drm/libdrm.inc
> +++ b/meta/recipes-graphics/drm/libdrm.inc
> @@ -11,17 +11,27 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
>  PROVIDES = "drm"
>  DEPENDS = "libpthread-stubs udev"
>  
> -INC_PR = "r3"
> +INC_PR = "r4"
>  
>  #libpciaccess is required starting from libdrm 2.4.26
>  DEPENDS += " libpciaccess"
>  
>  inherit autotools pkgconfig
>  
> -EXTRA_OECONF += "--disable-cairo-tests"
> +EXTRA_OECONF += "--disable-cairo-tests \
> +                 --enable-omap-experimental-api \
> +                "
> +ALLOW_EMPTY_${PN}-drivers = "1"
> +PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
> +             ${PN}-intel ${PN}-exynos ${PN}-kms"
> +
> +RDEPENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
> +                          ${PN}-exynos"
>  
> -PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms"
>  FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*"
> -FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*"
> +FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
> +FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
> +FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
> +FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
> +FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
>  FILES_${PN}-kms = "${libdir}/libkms*.so.*"
> -
> diff --git a/meta/recipes-graphics/drm/libdrm/disable-cairo.patch b/meta/recipes-graphics/drm/libdrm/disable-cairo.patch
> deleted file mode 100644
> index 90e79d4..0000000
> --- a/meta/recipes-graphics/drm/libdrm/disable-cairo.patch
> +++ /dev/null
> @@ -1,74 +0,0 @@
> -commit c81d1df4926072d24b4dad1b488e618e57eff1c6
> -Author: Daniel Stone <daniel@fooishbar.org>
> -Date:   Thu Oct 4 10:26:37 2012 +1000
> -
> -    configure.ac: Allow forcible disabling of Cairo support
> -    
> -    We don't want to build libdrm tests with Cairo support under Poky, since
> -    they're never used and also cause a build loop from libdrm -> cairo ->
> -    mesa-dri -> libdrm.
> -    
> -    To avoid variance in build results, introduce a --disable-cairo-tests
> -    switch.
> -    
> -    Upstream-Status: Backport
> -    
> -    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
> -
> -diff --git a/configure.ac b/configure.ac
> -index 290362c..8c28107 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -222,11 +222,23 @@ if test "x$EXYNOS" = xyes; then
> - 	AC_DEFINE(HAVE_EXYNOS, 1, [Have EXYNOS support])
> - fi
> - 
> -+AC_ARG_ENABLE([cairo-tests],
> -+              [AS_HELP_STRING([--enable-cairo-tests],
> -+                              [Enable support for Cairo rendering in tests (default: auto)])],
> -+              [CAIRO=$enableval], [CAIRO=auto])
> - PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
> --if test "x$HAVE_CAIRO" = xyes; then
> --	AC_DEFINE(HAVE_CAIRO, 1, [Have cairo support])
> -+AC_MSG_CHECKING([whether to enable Cairo tests])
> -+if test "x$CAIRO" = xauto; then
> -+	CAIRO="$HAVE_CAIRO"
> - fi
> --AM_CONDITIONAL(HAVE_CAIRO, [test "x$HAVE_CAIRO" = xyes])
> -+if test "x$CAIRO" = xyes; then
> -+	if ! test "x$HAVE_CAIRO" = xyes; then
> -+		AC_MSG_ERROR([Cairo support required but not present])
> -+	fi
> -+	AC_DEFINE(HAVE_CAIRO, 1, [Have Cairo support])
> -+fi
> -+AC_MSG_RESULT([$CAIRO])
> -+AM_CONDITIONAL(HAVE_CAIRO, [test "x$CAIRO" = xyes])
> - 
> - # For enumerating devices in test case
> - PKG_CHECK_MODULES(LIBUDEV, libudev, [HAVE_LIBUDEV=yes], [HAVE_LIBUDEV=no])
> -diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
> -index b5ec771..065ae13 100644
> ---- a/tests/modetest/Makefile.am
> -+++ b/tests/modetest/Makefile.am
> -@@ -1,8 +1,7 @@
> - AM_CFLAGS = \
> - 	-I$(top_srcdir)/include/drm \
> - 	-I$(top_srcdir)/libkms/ \
> --	-I$(top_srcdir) \
> --	$(CAIRO_CFLAGS)
> -+	-I$(top_srcdir)
> - 
> - noinst_PROGRAMS = \
> - 	modetest
> -@@ -12,5 +11,9 @@ modetest_SOURCES = \
> - 
> - modetest_LDADD = \
> - 	$(top_builddir)/libdrm.la \
> --	$(top_builddir)/libkms/libkms.la \
> --	$(CAIRO_LIBS)
> -+	$(top_builddir)/libkms/libkms.la
> -+
> -+if HAVE_CAIRO
> -+AM_CFLAGS += $(CAIRO_CFLAGS)
> -+modetest_LDADD += $(CAIRO_LIBS)
> -+endif
> diff --git a/meta/recipes-graphics/drm/libdrm_2.4.39.bb b/meta/recipes-graphics/drm/libdrm_2.4.39.bb
> deleted file mode 100644
> index f3ce2b1..0000000
> --- a/meta/recipes-graphics/drm/libdrm_2.4.39.bb
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -require libdrm.inc
> -
> -PR = "${INC_PR}.0"
> -
> -SRC_URI += "file://installtests.patch \
> -            file://GNU_SOURCE_definition.patch \
> -            file://disable-cairo.patch \
> -           "
> -
> -SRC_URI[md5sum] = "9a299e021d81bab6c82307582c78319d"
> -SRC_URI[sha256sum] = "386b17388980504bca16ede81ceed4c77b12c3488f46ecb7f4d48e48512a733d"
> diff --git a/meta/recipes-graphics/drm/libdrm_2.4.40.bb b/meta/recipes-graphics/drm/libdrm_2.4.40.bb
> new file mode 100644
> index 0000000..42f860a
> --- /dev/null
> +++ b/meta/recipes-graphics/drm/libdrm_2.4.40.bb
> @@ -0,0 +1,10 @@
> +require libdrm.inc
> +
> +PR = "${INC_PR}.0"
> +
> +SRC_URI += "file://installtests.patch \
> +            file://GNU_SOURCE_definition.patch \
> +           "
> +
> +SRC_URI[md5sum] = "626a3dc44a40ef37565b61732b688567"
> +SRC_URI[sha256sum] = "48c14e4600ea0fde522292893eb4055d2f6d86a69d093d379c827deaccffaa1f"
> diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb
> index 5d7f953..e3051c7 100644
> --- a/meta/recipes-graphics/drm/libdrm_git.bb
> +++ b/meta/recipes-graphics/drm/libdrm_git.bb
> @@ -6,7 +6,7 @@ S = "${WORKDIR}/git"
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -SRCREV = "14db948127e549ea9234e02d8e112de3871f8f9f"
> -PV = "2.4.39+git${SRCPV}"
> +SRCREV = "e01d68f9f3acfc35fe164283904b5d058c2ab378"
> +PV = "2.4.40+git${SRCPV}"
>  PR = "${INC_PR}.0"
>  
> 



  reply	other threads:[~2012-11-15 10:51 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 13:20 [PATCH v3 00/12] xorg upgrades Laurentiu Palcu
2012-11-14 13:20 ` [PATCH v3 01/12] xf86-video-vesa: upgrade to 2.3.2 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 02/12] xf86-video-intel: upgrade to 2.20.12 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 03/12] xf86-input-mouse: upgrade to 1.8.1 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 04/12] xkeyboard-config: upgrade to 2.7 Laurentiu Palcu
2012-11-15 13:54   ` Richard Purdie
2012-11-15 14:20     ` Palcu, Laurentiu
2012-11-15 14:37       ` Burton, Ross
2012-11-15 15:01   ` [PATCH v4 " Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 05/12] xcb-proto: upgrade to 1.8 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 06/12] fontconfig: upgrade to 2.10.1 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 07/12] libdrm: upgrade to 2.4.40 Laurentiu Palcu
2012-11-14 14:56   ` Burton, Ross
2012-11-14 16:04     ` Burton, Ross
2012-11-15 10:29   ` [PATCH v4 " Laurentiu Palcu
2012-11-15 10:37     ` Laurentiu Palcu [this message]
2012-11-14 13:21 ` [PATCH v3 08/12] xserver-xorg: upgrade to 1.13.0 Laurentiu Palcu
2012-11-14 15:03   ` Burton, Ross
2012-11-14 16:18     ` Burton, Ross
2012-11-15 10:43       ` Burton, Ross
2012-11-15 11:07   ` [PATCH v4 " Laurentiu Palcu
2012-11-15 11:13     ` Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 09/12] mdadm: upgrade to 3.2.6 Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 10/12] xf86-video-vmware: Add compat API Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 11/12] xf86-input-synaptics: add mtdev dependency Laurentiu Palcu
2012-11-14 13:21 ` [PATCH v3 12/12] xf86-video-omap: add new recipe to follow the maintained repo Laurentiu Palcu
2012-11-21 16:20   ` Martin Jansa
2012-11-21 17:12     ` Richard Purdie
2012-11-21 17:21       ` Martin Jansa
2012-11-21 20:04         ` Burton, Ross
2012-11-22  8:31     ` Laurentiu Palcu
2012-11-22  8:37       ` Martin Jansa
2012-11-22  8:59         ` Laurentiu Palcu
2012-11-22 12:34           ` Nicolas Dechesne
2012-11-22 12:43             ` Martin Jansa
2012-11-22 14:05               ` Burton, Ross
2012-11-22 14:09                 ` Martin Jansa
2012-11-22 14:26                   ` Nicolas Dechesne

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=50A4C600.7070403@intel.com \
    --to=laurentiu.palcu@intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.