From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED PULL 12/32] libxkbcommon: new
Date: Fri, 19 Aug 2011 09:27:21 -0500 [thread overview]
Message-ID: <1313764041.13995.101.camel@rex> (raw)
In-Reply-To: <883d56eb74a8f3b1913e7334c9ea70f2f1e562e9.1313700595.git.sgw@linux.intel.com>
On Thu, 2011-08-18 at 13:55 -0700, Saul Wold wrote:
> From: Phil Blundell <philb@gnu.org>
>
> This is needed by Clutter's egl backend.
>
> Signed-off-by: Phil Blundell <philb@gnu.org>
> ---
> .../xorg-lib/libxkbcommon/cross.patch | 43 ++++++++++++++++++++
> meta/recipes-graphics/xorg-lib/libxkbcommon_git.bb | 22 ++++++++++
> 2 files changed, 65 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-graphics/xorg-lib/libxkbcommon/cross.patch
> create mode 100644 meta/recipes-graphics/xorg-lib/libxkbcommon_git.bb
>
> diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon/cross.patch b/meta/recipes-graphics/xorg-lib/libxkbcommon/cross.patch
> new file mode 100644
> index 0000000..7fd35be
> --- /dev/null
> +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon/cross.patch
> @@ -0,0 +1,43 @@
> +Upstream-Status: Inappropriate
> +Signed-off-by: Phil Blundell <philb@gnu.org>
> +
> +Use makekeys from -native package rather than trying to compile it here, and fix up
> +configure logic to find keysymdef.h in the sysroot.
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index 2a4d448..214271f 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -1,5 +1,5 @@
> + # Order: makekeys before src
> +-SUBDIRS = include makekeys src test
> ++SUBDIRS = include src test
> +
> + pkgconfigdir = $(libdir)/pkgconfig
> + pkgconfig_DATA = xkbcommon.pc
> +diff --git a/configure.ac b/configure.ac
> +index e6a8f15..7f2c387 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -74,7 +74,8 @@ PKG_CHECK_MODULES([X11], [xproto kbproto >= 1.0.4])
> +
> + # Obtain the path to the X Window System Core Protocol
> + AC_MSG_CHECKING([for X11 includedir])
> +-includex11dir="`$PKG_CONFIG --variable=includex11dir xproto`"
> ++m4_pattern_allow([PKG_CONFIG_SYSROOT_DIR])
> ++includex11dir="$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=includex11dir xproto`"
> + AC_MSG_RESULT([$includex11dir])
> +
> + # Obtain full path for keysymdef header file
> +diff --git a/src/Makefile.am b/src/Makefile.am
> +index b9a12b9..c625b4c 100644
> +--- a/src/Makefile.am
> ++++ b/src/Makefile.am
> +@@ -26,5 +26,5 @@ libxkbcommon_la_SOURCES = \
> + BUILT_SOURCES = ks_tables.h
> + CLEANFILES = $(BUILT_SOURCES)
> +
> +-ks_tables.h: $(top_builddir)/makekeys/makekeys$(EXEEXT) $(KEYSYMDEF_H) $(XF86KEYSYM_H)
> +- $(AM_V_GEN)cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | $(top_builddir)/makekeys/makekeys$(EXEEXT) > $@
> ++ks_tables.h: $(KEYSYMDEF_H) $(XF86KEYSYM_H)
> ++ $(AM_V_GEN)cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | libxkbcommon-makekeys$(EXEEXT) > $@
> diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_git.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_git.bb
> new file mode 100644
> index 0000000..1b63b0e
> --- /dev/null
> +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_git.bb
> @@ -0,0 +1,22 @@
> +require xorg-lib-common.inc
> +
> +SUMMARY = "library interface to the XKB compiler"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=469a86f811ec5d6bba592811c3005a2a"
> +PR = "r0"
> +DEPENDS = "xproto kbproto ${@['', '${PN}-native'][oe.utils.inherits(d, 'virtclass-native')]}"
> +
> +S = "${WORKDIR}/git"
> +
> +patches = "file://cross.patch"
> +patches_virtclass-native = ""
> +
> +SRC_URI = "git://anongit.freedesktop.org/xorg/lib/libxkbcommon \
> + ${patches}"
> +SRCREV = "f91afe4f3ebcac3fb65a402c6c85cf1df5e2b52a"
> +
> +BBCLASSEXTEND = "native"
> +
> +do_install_append_virtclass-native() {
> + install -m 755 "makekeys/makekeys" "${STAGING_BINDIR}/libxkbcommon-makekeys"
> +}
What isthe version getting set to for this recipe?
Cheers,
Richard
next prev parent reply other threads:[~2011-08-19 14:32 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 20:55 [CONSOLIDATED PULL 00/32] Various Fixes, Updates Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 01/32] image.bbclass, kernel.bbclass: create warning file about deleting deploydir files Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 02/32] sanity.bbclass: add optional untested host distro warning Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 03/32] qt4: allow a reduction in build time Saul Wold
2011-08-19 14:34 ` Richard Purdie
2011-08-18 20:55 ` [CONSOLIDATED PULL 04/32] glib-2.0: explicitly disable dtrace and systemtap for native varaint Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 05/32] tcl: fix networking breakage Saul Wold
2011-08-19 14:31 ` Richard Purdie
2011-08-18 20:55 ` [CONSOLIDATED PULL 06/32] perl-native: Update find_perl to find the perl wrapper Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 07/32] busybox: Change ${PN} to ${BPN} in file names Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 08/32] sysvinit: " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 09/32] qemu: modify search paths for libgl Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 10/32] scripts/runqemu: " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 11/32] mtd-utils: Added recipe of newer version 1.4.4 Saul Wold
2011-08-19 14:28 ` Richard Purdie
2011-08-18 20:55 ` [CONSOLIDATED PULL 12/32] libxkbcommon: new Saul Wold
2011-08-19 14:27 ` Richard Purdie [this message]
2011-08-19 14:33 ` Phil Blundell
2011-08-19 14:40 ` Martin Jansa
2011-08-19 16:08 ` Richard Purdie
2011-08-18 20:55 ` [CONSOLIDATED PULL 13/32] libxslt: fix packaging of static libraries Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 14/32] at: make at usable for common user Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 15/32] conf, recipes: Redefine LINKER_HASH_STYLE Saul Wold
2011-08-19 9:24 ` Phil Blundell
2011-08-19 14:26 ` Richard Purdie
2011-08-19 15:27 ` Khem Raj
2011-08-19 16:13 ` Richard Purdie
2011-08-19 16:35 ` Khem Raj
2011-08-18 20:55 ` [CONSOLIDATED PULL 16/32] gcc-4.6: Use --with-linker-hash-style configure option Saul Wold
2011-08-19 16:23 ` Phil Blundell
2011-08-19 18:29 ` Khem Raj
2011-08-19 18:55 ` Khem Raj
2011-08-18 20:55 ` [CONSOLIDATED PULL 17/32] task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 18/32] gdb: Add lttng-ust to DEPENDS only for eglibc Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 19/32] task-core-boot: allow distribution to override default dev_manager provider with VIRTUAL-RUNTIME_dev_manager Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 20/32] bluez4: update recipe from meta-oe Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 21/32] initrdscripts: fix init-live.sh Saul Wold
2011-08-22 4:30 ` Tom Zanussi
2011-08-18 20:55 ` [CONSOLIDATED PULL 22/32] curl: Use BPN instead of PN for style like lib${PN} Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 23/32] ea-acl: " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 24/32] attr: " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 25/32] acl: " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 26/32] procps: Fix lib path to support multilib Saul Wold
2011-08-19 14:18 ` Richard Purdie
2011-08-18 20:55 ` [CONSOLIDATED PULL 27/32] eglibc: check dependencies among eglibc options Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 28/32] mailx: update license and distro tracking fileds Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 29/32] slang: add homepage and update distro tracking fields Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 30/32] alsa-tools: update license and add " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 31/32] newt: update " Saul Wold
2011-08-18 20:55 ` [CONSOLIDATED PULL 32/32] file: new file version 5.07 Saul Wold
2011-08-19 16:14 ` [CONSOLIDATED PULL 00/32] Various Fixes, Updates Richard Purdie
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=1313764041.13995.101.camel@rex \
--to=richard.purdie@linuxfoundation.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