diff mbox

[106/131] libgpg-error: Version 1.12

Message ID 6aecea31f185ba7ddf2fc239b65978d685781b38.1389702652.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk Jan. 14, 2014, 12:34 p.m. UTC
From: Kim Bøndergaard <kibo@prevas.dk>

(cherry picked from commit 0dae5fd6e1da83c547b9acbae83442a722e10712)
---
 .../libgpg-error/libgpg-error-1.12/pkgconfig.patch | 55 ++++++++++++++++++++++
 recipes/libgpg-error/libgpg-error.inc              |  5 ++
 recipes/libgpg-error/libgpg-error_1.12.oe          |  5 ++
 recipes/libgpg-error/libgpg-error_1.12.oe.sig      |  1 +
 4 files changed, 66 insertions(+)
 create mode 100644 recipes/libgpg-error/libgpg-error-1.12/pkgconfig.patch
 create mode 100644 recipes/libgpg-error/libgpg-error_1.12.oe
 create mode 100644 recipes/libgpg-error/libgpg-error_1.12.oe.sig
diff mbox

Patch

diff --git a/recipes/libgpg-error/libgpg-error-1.12/pkgconfig.patch b/recipes/libgpg-error/libgpg-error-1.12/pkgconfig.patch
new file mode 100644
index 0000000..2764012
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error-1.12/pkgconfig.patch
@@ -0,0 +1,55 @@ 
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Upstream-Status: Pending
+
+Index: libgpg-error-1.8/configure.ac
+===================================================================
+--- libgpg-error-1.8.orig/configure.ac	2010-05-06 06:01:08.000000000 -0700
++++ libgpg-error-1.8/configure.ac	2010-07-21 02:20:20.923261305 -0700
+@@ -140,6 +140,7 @@
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
+ AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER)
+ AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
++AC_CONFIG_FILES([src/gpg-error.pc])
+ 
+ 
+ # Special defines for certain platforms
+Index: libgpg-error-1.8/src/Makefile.am
+===================================================================
+--- libgpg-error-1.8.orig/src/Makefile.am	2010-04-14 02:16:44.000000000 -0700
++++ libgpg-error-1.8/src/Makefile.am	2010-07-21 02:22:36.655012496 -0700
+@@ -37,13 +37,15 @@
+ bin_SCRIPTS = gpg-error-config
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = gpg-error.m4
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = gpg-error.pc
+ 
+ EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
+ 	mkerrnos.awk errnos.in README \
+ 	mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
+ 	mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \
+ 	err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
+-	gpg-error.def.in versioninfo.rc.in
++	gpg-error.def.in versioninfo.rc.in gpg-error.pc.in
+ 
+ BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \
+ 	err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \
+Index: libgpg-error-1.8/src/gpg-error.pc.in
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ libgpg-error-1.8/src/gpg-error.pc.in	2010-07-21 02:20:20.923261305 -0700
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: gpg-error
++Description: a library that defines common error values for all GnuPG components
++Version: @VERSION@
++Libs: -L{libdir} -lgpg-error
++Cflags: -I${includedir}
diff --git a/recipes/libgpg-error/libgpg-error.inc b/recipes/libgpg-error/libgpg-error.inc
index bc3d35d..f81ef5d 100644
--- a/recipes/libgpg-error/libgpg-error.inc
+++ b/recipes/libgpg-error/libgpg-error.inc
@@ -15,3 +15,8 @@  FILES_${PN}-dev += "${bindir}/gpg-error"
 
 inherit auto-package-utils
 AUTO_PACKAGE_UTILS = "gpg-error"
+
+DEPENDS_${PN} += "libc"
+RDEPENDS_${PN} += "libc"
+DEPENDS_${PN}-gpg-error += "libc libgpg-error"
+RDEPENDS_${PN}-gpg-error += "libc libgpg-error"
diff --git a/recipes/libgpg-error/libgpg-error_1.12.oe b/recipes/libgpg-error/libgpg-error_1.12.oe
new file mode 100644
index 0000000..fd4c4de
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_1.12.oe
@@ -0,0 +1,5 @@ 
+require ${PN}.inc
+
+LICENSE = "GPLv2+ & LGPLv2.1+"
+
+SRC_URI += "file://pkgconfig.patch"
diff --git a/recipes/libgpg-error/libgpg-error_1.12.oe.sig b/recipes/libgpg-error/libgpg-error_1.12.oe.sig
new file mode 100644
index 0000000..7222ea3
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_1.12.oe.sig
@@ -0,0 +1 @@ 
+259f359cd1440b21840c3a78e852afd549c709b8  libgpg-error-1.12.tar.bz2