diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-01 19:52:29 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-01 20:07:14 +0100 |
| commit | a56151b557805d15ed073db4beb7ed70e22fe0a1 (patch) | |
| tree | 1c1501f477f26d6f05e804787f423f949ee3564b | |
| parent | fd7dc5c717ce992dd7c39aeb12f29d5e9fbe7bb7 (diff) | |
| download | meta-openembedded-a56151b557805d15ed073db4beb7ed70e22fe0a1.tar.gz | |
angstrom-layers: import libgpg-error from poky
Add BBCLASSEXTEND = "native" for OE gtk+
Signed-off-by: Koen Kooi <k-kooi@ti.com>
| -rw-r--r-- | recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch | 53 | ||||
| -rw-r--r-- | recipes-support/libgpg-error/libgpg-error_1.8.bb | 26 |
2 files changed, 79 insertions, 0 deletions
diff --git a/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch b/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch new file mode 100644 index 0000000000..49e47d874e --- /dev/null +++ b/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | |||
| 2 | # | ||
| 3 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
| 4 | # | ||
| 5 | |||
| 6 | Index: libgpg-error-1.8/configure.ac | ||
| 7 | =================================================================== | ||
| 8 | --- libgpg-error-1.8.orig/configure.ac 2010-05-06 06:01:08.000000000 -0700 | ||
| 9 | +++ libgpg-error-1.8/configure.ac 2010-07-21 02:20:20.923261305 -0700 | ||
| 10 | @@ -140,6 +140,7 @@ | ||
| 11 | AC_SUBST(GPG_ERROR_CONFIG_CFLAGS) | ||
| 12 | AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER) | ||
| 13 | AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config]) | ||
| 14 | +AC_CONFIG_FILES([src/gpg-error.pc]) | ||
| 15 | |||
| 16 | |||
| 17 | # Special defines for certain platforms | ||
| 18 | Index: libgpg-error-1.8/src/Makefile.am | ||
| 19 | =================================================================== | ||
| 20 | --- libgpg-error-1.8.orig/src/Makefile.am 2010-04-14 02:16:44.000000000 -0700 | ||
| 21 | +++ libgpg-error-1.8/src/Makefile.am 2010-07-21 02:22:36.655012496 -0700 | ||
| 22 | @@ -37,13 +37,15 @@ | ||
| 23 | bin_SCRIPTS = gpg-error-config | ||
| 24 | m4datadir = $(datadir)/aclocal | ||
| 25 | m4data_DATA = gpg-error.m4 | ||
| 26 | +pkgconfigdir = $(libdir)/pkgconfig | ||
| 27 | +pkgconfig_DATA = gpg-error.pc | ||
| 28 | |||
| 29 | EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ | ||
| 30 | mkerrnos.awk errnos.in README \ | ||
| 31 | mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ | ||
| 32 | mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ | ||
| 33 | err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ | ||
| 34 | - gpg-error.def.in versioninfo.rc.in | ||
| 35 | + gpg-error.def.in versioninfo.rc.in gpg-error.pc.in | ||
| 36 | |||
| 37 | BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ | ||
| 38 | err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \ | ||
| 39 | Index: libgpg-error-1.8/src/gpg-error.pc.in | ||
| 40 | =================================================================== | ||
| 41 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 42 | +++ libgpg-error-1.8/src/gpg-error.pc.in 2010-07-21 02:20:20.923261305 -0700 | ||
| 43 | @@ -0,0 +1,10 @@ | ||
| 44 | +prefix=@prefix@ | ||
| 45 | +exec_prefix=@exec_prefix@ | ||
| 46 | +libdir=@libdir@ | ||
| 47 | +includedir=@includedir@ | ||
| 48 | + | ||
| 49 | +Name: gpg-error | ||
| 50 | +Description: a library that defines common error values for all GnuPG components | ||
| 51 | +Version: @VERSION@ | ||
| 52 | +Libs: -L{libdir} -lgpg-error | ||
| 53 | +Cflags: -I${includedir} | ||
diff --git a/recipes-support/libgpg-error/libgpg-error_1.8.bb b/recipes-support/libgpg-error/libgpg-error_1.8.bb new file mode 100644 index 0000000000..5f6b72cd50 --- /dev/null +++ b/recipes-support/libgpg-error/libgpg-error_1.8.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "a small library that defines common error values for all GnuPG components" | ||
| 2 | HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/" | ||
| 3 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | ||
| 4 | |||
| 5 | BBCLASSEXTEND = "native" | ||
| 6 | |||
| 7 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 9 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 10 | file://src/gpg-error.h;endline=23;md5=83c16c8f5cea85affa1ff270a6f4fcff \ | ||
| 11 | file://src/init.c;endline=20;md5=b69742f2a8827d494c6f6a4b1768416c" | ||
| 12 | |||
| 13 | |||
| 14 | SECTION = "libs" | ||
| 15 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
| 16 | DEPENDS = "gettext" | ||
| 17 | PR = "r0" | ||
| 18 | |||
| 19 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ | ||
| 20 | file://pkgconfig.patch;" | ||
| 21 | |||
| 22 | # move libgpg-error-config into -dev package | ||
| 23 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
| 24 | FILES_${PN}-dev += "${bindir}/*" | ||
| 25 | |||
| 26 | inherit autotools binconfig pkgconfig | ||
