diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-09-02 11:50:01 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-09-02 11:50:01 +0000 |
| commit | 95efeafc86f47592b37c44f2f7314324cc04250d (patch) | |
| tree | e60fe38e88d8e6cf42cf1311c5ada752b79a59c7 /openembedded/packages/libgpg-error | |
| parent | 7755d9d194b42ea859096f805f2e22ae5b6e6281 (diff) | |
| download | poky-95efeafc86f47592b37c44f2f7314324cc04250d.tar.gz | |
Add gtk+, avahi, dbus-0.34 (.36 coming soon) and dependencies. Fix x11-common breakage.
git-svn-id: https://svn.o-hand.com/repos/poky@13 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/libgpg-error')
| -rw-r--r-- | openembedded/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch | 56 | ||||
| -rw-r--r-- | openembedded/packages/libgpg-error/libgpg-error_1.0.bb | 28 |
2 files changed, 84 insertions, 0 deletions
diff --git a/openembedded/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch b/openembedded/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch new file mode 100644 index 0000000000..04620feedb --- /dev/null +++ b/openembedded/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | |||
| 2 | # | ||
| 3 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
| 4 | # | ||
| 5 | |||
| 6 | Index: libgpg-error-1.0/configure.ac | ||
| 7 | =================================================================== | ||
| 8 | --- libgpg-error-1.0.orig/configure.ac 2004-07-30 07:48:04.000000000 -0500 | ||
| 9 | +++ libgpg-error-1.0/configure.ac 2005-02-23 18:52:01.000000000 -0600 | ||
| 10 | @@ -83,6 +83,7 @@ | ||
| 11 | AC_SUBST(GPG_ERROR_CONFIG_LIBS) | ||
| 12 | AC_SUBST(GPG_ERROR_CONFIG_CFLAGS) | ||
| 13 | AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config]) | ||
| 14 | +AC_CONFIG_FILES([src/gpg-error.pc]) | ||
| 15 | |||
| 16 | # Checks for library functions. | ||
| 17 | AC_CONFIG_FILES([Makefile]) | ||
| 18 | Index: libgpg-error-1.0/src/Makefile.am | ||
| 19 | =================================================================== | ||
| 20 | --- libgpg-error-1.0.orig/src/Makefile.am 2004-06-28 07:37:38.000000000 -0500 | ||
| 21 | +++ libgpg-error-1.0/src/Makefile.am 2005-02-23 18:53:57.000000000 -0600 | ||
| 22 | @@ -24,7 +24,8 @@ | ||
| 23 | mkerrnos.awk errnos.in \ | ||
| 24 | mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ | ||
| 25 | mkheader.awk gpg-error.h.in \ | ||
| 26 | - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 | ||
| 27 | + err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ | ||
| 28 | + gpg-error.pc.in | ||
| 29 | |||
| 30 | BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ | ||
| 31 | err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h | ||
| 32 | @@ -39,6 +40,9 @@ | ||
| 33 | m4datadir = $(datadir)/aclocal | ||
| 34 | m4data_DATA = gpg-error.m4 | ||
| 35 | |||
| 36 | +pkgconfigdir = $(libdir)/pkgconfig | ||
| 37 | +pkgconfig_DATA = gpg-error.pc | ||
| 38 | + | ||
| 39 | include_HEADERS = gpg-error.h | ||
| 40 | |||
| 41 | lib_LTLIBRARIES = libgpg-error.la | ||
| 42 | Index: libgpg-error-1.0/src/gpg-error.pc.in | ||
| 43 | =================================================================== | ||
| 44 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 45 | +++ libgpg-error-1.0/src/gpg-error.pc.in 2005-02-23 18:52:01.000000000 -0600 | ||
| 46 | @@ -0,0 +1,10 @@ | ||
| 47 | +prefix=@prefix@ | ||
| 48 | +exec_prefix=@exec_prefix@ | ||
| 49 | +libdir=@libdir@ | ||
| 50 | +includedir=@includedir@ | ||
| 51 | + | ||
| 52 | +Name: gpg-error | ||
| 53 | +Description: a library that defines common error values for all GnuPG components | ||
| 54 | +Version: @VERSION@ | ||
| 55 | +Libs: -L{libdir} -lgpg-error | ||
| 56 | +Cflags: -I${includedir} | ||
diff --git a/openembedded/packages/libgpg-error/libgpg-error_1.0.bb b/openembedded/packages/libgpg-error/libgpg-error_1.0.bb new file mode 100644 index 0000000000..c29053832b --- /dev/null +++ b/openembedded/packages/libgpg-error/libgpg-error_1.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | PR = "r0" | ||
| 2 | DESCRIPTION = "GPG-Error library" | ||
| 3 | SECTION = "libs" | ||
| 4 | PRIORITY = "optional" | ||
| 5 | LICENSE = "GPL LGPL FDL" | ||
| 6 | |||
| 7 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.gz \ | ||
| 8 | file://pkgconfig.patch;patch=1" | ||
| 9 | |||
| 10 | # move libgpg-error-config into -dev package | ||
| 11 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
| 12 | FILES_${PN}-dev += "${bindir}" | ||
| 13 | |||
| 14 | inherit autotools binconfig pkgconfig | ||
| 15 | |||
| 16 | do_stage() { | ||
| 17 | oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR} | ||
| 18 | install -m 0755 src/gpg-error-config ${STAGING_BINDIR}/ | ||
| 19 | |||
| 20 | install -d ${STAGING_INCDIR}/ | ||
| 21 | for X in gpg-error.h | ||
| 22 | do | ||
| 23 | install -m 0644 ${S}/src/$X ${STAGING_INCDIR}/$X | ||
| 24 | done | ||
| 25 | |||
| 26 | install -d ${STAGING_DATADIR}/aclocal | ||
| 27 | install -m 0644 src/gpg-error.m4 ${STAGING_DATADIR}/aclocal/ | ||
| 28 | } | ||
