[oe] [RFC] [PATCH 2/2] pkgconfig: add git version

Paul Menzel paulepanter at users.sourceforge.net
Fri Apr 22 22:00:11 UTC 2011


Date: Sun, 17 Apr 2011 19:19:58 +0200

1. The revision is close to the upcoming release of pkg-config 0.26. [1]
2. The patch `sysrootfix.patch` has been merged upstream [2].
3. No embedded GLib is shipped anymore [3]. Therefore drop patches `autofoo.patch` and `glibconfig-sysdefs.h`.

The patch is tested using the following configuration

	Build Configuration:
	BB_VERSION        = "1.12.0"
	METADATA_BRANCH   = "pkg-config"
	METADATA_REVISION = "d4ae0c5"
	TARGET_ARCH       = "arm"
	TARGET_OS         = "linux-uclibceabi"
	MACHINE           = "beagleboard"
	DISTRO            = "minimal-uclibc"
	DISTRO_VERSION    = "dev-snapshot-20110417"
	TARGET_FPU        = "hard"

and `angstrom-2010.x` and `minimal` too.

[1] http://lists.freedesktop.org/archives/pkg-config/2011-April/000720.html
[2] http://cgit.freedesktop.org/pkg-config/commit/?id=66d49f1375fec838bcd301bb4ca2ef76cee0e47c
[3] http://cgit.freedesktop.org/pkg-config/commit/?id=99964eddb5935173fcedfc793e762d7dc7d01bba

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
v2: change `PV` from `0.26` to `0.25+0.26` to ensure a sane upgrade path

1. How can this recipe used also for the native recipe?
2. What is `pkg-config-sdk` used for?
---
 recipes/pkgconfig/pkgconfig_git.bb |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 recipes/pkgconfig/pkgconfig_git.bb

diff --git a/recipes/pkgconfig/pkgconfig_git.bb b/recipes/pkgconfig/pkgconfig_git.bb
new file mode 100644
index 0000000..39a5033
--- /dev/null
+++ b/recipes/pkgconfig/pkgconfig_git.bb
@@ -0,0 +1,10 @@
+require ${PN}.inc
+
+SRCREV = "7850aeb03a54a15d07b6c243b61033cd379c39d7"
+PV = "0.25+0.26"
+PR = "${INC_PR}.0"
+PR_append = "+gitr${SRCPV}"
+
+SRC_URI = "git://anongit.freedesktop.org/pkg-config;protocol=git"
+
+S = "${WORKDIR}/git"
-- 
1.7.4.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110423/16596cbe/attachment-0002.sig>


More information about the Openembedded-devel mailing list