Patchwork [v3,04/12] xkeyboard-config: upgrade to 2.7

login
register
mail settings
Submitter Laurentiu Palcu
Date Nov. 14, 2012, 1:21 p.m.
Message ID <96e8a890aa256c71895cabe5f36c3c42edc1a086.1352898505.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/39023/
State New
Headers show

Comments

Laurentiu Palcu - Nov. 14, 2012, 1:21 p.m.
A couple of extra changes:
 * changed the SRC_URI to the new, valid, one
 * added dependency of gettext (do_qa_configure detected is needed)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 ...board-config_2.1.bb => xkeyboard-config_2.7.bb} |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.1.bb => xkeyboard-config_2.7.bb} (75%)
Richard Purdie - Nov. 15, 2012, 1:54 p.m.
On Wed, 2012-11-14 at 15:21 +0200, Laurentiu Palcu wrote:
> A couple of extra changes:
>  * changed the SRC_URI to the new, valid, one
>  * added dependency of gettext (do_qa_configure detected is needed)
> 
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> ---
>  ...board-config_2.1.bb => xkeyboard-config_2.7.bb} |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>  rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.1.bb => xkeyboard-config_2.7.bb} (75%)


checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... i586-poky-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for xsltproc... /media/build1/poky/build1/tmp/sysroots/x86_64-linux/usr/bin/xsltproc
checking for a sed that does not truncate output... (cached) /bin/sed
checking for i586-poky-linux-pkg-config... no
checking for pkg-config... /media/build1/poky/build1/tmp/sysroots/x86_64-linux/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: WARNING:
                 Required dependencies not found. These dependencies are
                 run-time dependencies only and not required for building.
                 Skip this check with --disable-runtime-deps.

                 Installing this version of xkeyboard-config on a host
                 without the required dependencies may result in unusable
                 keyboard layouts.
                 
configure: error: No package 'x11' found
Configure failed. The contents of all config.log files follows to aid debugging
/media/build1/poky/build1/tmp/work/i586-poky-linux/xkeyboard-config/2.7-r0/xkeyboard-config-2.7/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

Cheers,

Richard
Laurentiu Palcu - Nov. 15, 2012, 2:20 p.m.
Hi Richard,

That's weird... I tested the compilation using the Yocto autobuilder nightly targets for
all architectures with/without shared state. All were successful. However, I applied the
patches on top of the commit I specified in the cover letter. A didn't retest with the
latest changes in master...

What image were you trying to compile? I can give it a test on top of the latest changes
in master...

Thanks,
Laurentiu

-----Original Message-----
From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org] 
Sent: Thursday, November 15, 2012 3:55 PM
To: Palcu, Laurentiu
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3 04/12] xkeyboard-config: upgrade to 2.7

On Wed, 2012-11-14 at 15:21 +0200, Laurentiu Palcu wrote:
> A couple of extra changes:
>  * changed the SRC_URI to the new, valid, one
>  * added dependency of gettext (do_qa_configure detected is needed)
> 
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> ---
>  ...board-config_2.1.bb => xkeyboard-config_2.7.bb} |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)  rename 
> meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.1.bb => 
> xkeyboard-config_2.7.bb} (75%)


checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... i586-poky-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for xsltproc... /media/build1/poky/build1/tmp/sysroots/x86_64-linux/usr/bin/xsltproc
checking for a sed that does not truncate output... (cached) /bin/sed checking for i586-poky-linux-pkg-config... no checking for pkg-config... /media/build1/poky/build1/tmp/sysroots/x86_64-linux/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet checking pkg-config is at least version 0.9.0... yes checking for DEPS... no
configure: WARNING:
                 Required dependencies not found. These dependencies are
                 run-time dependencies only and not required for building.
                 Skip this check with --disable-runtime-deps.

                 Installing this version of xkeyboard-config on a host
                 without the required dependencies may result in unusable
                 keyboard layouts.
                 
configure: error: No package 'x11' found Configure failed. The contents of all config.log files follows to aid debugging /media/build1/poky/build1/tmp/work/i586-poky-linux/xkeyboard-config/2.7-r0/xkeyboard-config-2.7/config.log
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

Cheers,

Richard
Ross Burton - Nov. 15, 2012, 2:37 p.m.
On 15 November 2012 14:20, Palcu, Laurentiu <laurentiu.palcu@intel.com> wrote:
> That's weird... I tested the compilation using the Yocto autobuilder nightly targets for
> all architectures with/without shared state. All were successful. However, I applied the
> patches on top of the commit I specified in the cover letter. A didn't retest with the
> latest changes in master...

Ordering issue - it doesn't depend on x11 but checks at configure.  We
need to add --disable-runtime-deps to the configure invocation  - I
thought I'd already done this but obviously not.

Laurentiu - can you add this to your branch?

Ross

Patch

diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.7.bb
similarity index 75%
rename from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
rename to meta/recipes-graphics/xorg-lib/xkeyboard-config_2.7.bb
index 1b28208..96c6188 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.7.bb
@@ -12,14 +12,14 @@  BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-confi
 LICENSE = "MIT & MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
 
-SRC_URI = "http://people.freedesktop.org/~svu/xkeyboard-config-${PV}.tar.bz2"
-SRC_URI[md5sum] = "6ce65480445fb2d9c071ad1f002a7675"
-SRC_URI[sha256sum] = "e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe5663923a805d"
+SRC_URI="${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "6ad7b43062f123eacf8ff0eb3a4e0678"
+SRC_URI[sha256sum] = "e43478a12fb0fe6757a7bad3a04fd3747ec53e53d5af22a9d9829dfb9aac8321"
 
 SECTION = "x11/libs"
-DEPENDS = "intltool-native xkbcomp-native glib-2.0"
+DEPENDS = "intltool-native xkbcomp-native glib-2.0 virtual/gettext"
 
-PR = "r2"
+PR = "r0"
 
 EXTRA_OECONF = "--with-xkb-rules-symlink=xorg"