summaryrefslogtreecommitdiff
path: root/recipes/libgpg-error
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libgpg-error')
-rw-r--r--recipes/libgpg-error/libgpg-error-0.7/pkgconfig.patch50
-rw-r--r--recipes/libgpg-error/libgpg-error-1.0/pkgconfig.patch56
-rw-r--r--recipes/libgpg-error/libgpg-error-1.3/pkgconfig.patch54
-rw-r--r--recipes/libgpg-error/libgpg-error-1.4/pkgconfig.patch54
-rw-r--r--recipes/libgpg-error/libgpg-error.inc30
-rw-r--r--recipes/libgpg-error/libgpg-error_0.6.bb22
-rw-r--r--recipes/libgpg-error/libgpg-error_0.7.bb6
-rw-r--r--recipes/libgpg-error/libgpg-error_1.0.bb3
-rw-r--r--recipes/libgpg-error/libgpg-error_1.3.bb3
-rw-r--r--recipes/libgpg-error/libgpg-error_1.4.bb3
10 files changed, 281 insertions, 0 deletions
diff --git a/recipes/libgpg-error/libgpg-error-0.7/pkgconfig.patch b/recipes/libgpg-error/libgpg-error-0.7/pkgconfig.patch
new file mode 100644
index 0000000000..f8509cc549
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error-0.7/pkgconfig.patch
@@ -0,0 +1,50 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libgpg-error-0.7/configure.ac~pkgconfig 2004-03-07 09:46:24.000000000 -0600
++++ libgpg-error-0.7/configure.ac 2004-07-15 18:50:43.000000000 -0500
+@@ -83,6 +83,7 @@
+ AC_SUBST(GPG_ERROR_CONFIG_LIBS)
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
+ AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
++AC_CONFIG_FILES([src/gpg-error.pc])
+
+ # Checks for library functions.
+ AC_CONFIG_FILES([Makefile])
+--- libgpg-error-0.7/src/Makefile.am~pkgconfig 2004-03-01 17:13:26.000000000 -0600
++++ libgpg-error-0.7/src/Makefile.am 2004-07-15 18:51:43.000000000 -0500
+@@ -24,7 +24,8 @@
+ mkerrnos.awk errnos.in \
+ mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
+ mkheader.awk gpg-error.h.in \
+- err-sources.h err-codes.h gpg-error-config.in gpg-error.m4
++ err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
++ 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
+ CLEANFILES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \
+@@ -35,6 +36,9 @@
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = gpg-error.m4
+
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = gpg-error.pc
++
+ include_HEADERS = gpg-error.h
+
+ lib_LTLIBRARIES = libgpg-error.la
+--- /dev/null 2004-06-02 16:28:12.000000000 -0500
++++ libgpg-error-0.7/src/gpg-error.pc.in 2004-07-15 18:53:48.000000000 -0500
+@@ -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-1.0/pkgconfig.patch b/recipes/libgpg-error/libgpg-error-1.0/pkgconfig.patch
new file mode 100644
index 0000000000..04620feedb
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error-1.0/pkgconfig.patch
@@ -0,0 +1,56 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: libgpg-error-1.0/configure.ac
+===================================================================
+--- libgpg-error-1.0.orig/configure.ac 2004-07-30 07:48:04.000000000 -0500
++++ libgpg-error-1.0/configure.ac 2005-02-23 18:52:01.000000000 -0600
+@@ -83,6 +83,7 @@
+ AC_SUBST(GPG_ERROR_CONFIG_LIBS)
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
+ AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
++AC_CONFIG_FILES([src/gpg-error.pc])
+
+ # Checks for library functions.
+ AC_CONFIG_FILES([Makefile])
+Index: libgpg-error-1.0/src/Makefile.am
+===================================================================
+--- libgpg-error-1.0.orig/src/Makefile.am 2004-06-28 07:37:38.000000000 -0500
++++ libgpg-error-1.0/src/Makefile.am 2005-02-23 18:53:57.000000000 -0600
+@@ -24,7 +24,8 @@
+ mkerrnos.awk errnos.in \
+ mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
+ mkheader.awk gpg-error.h.in \
+- err-sources.h err-codes.h gpg-error-config.in gpg-error.m4
++ err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
++ 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
+@@ -39,6 +40,9 @@
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = gpg-error.m4
+
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = gpg-error.pc
++
+ include_HEADERS = gpg-error.h
+
+ lib_LTLIBRARIES = libgpg-error.la
+Index: libgpg-error-1.0/src/gpg-error.pc.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libgpg-error-1.0/src/gpg-error.pc.in 2005-02-23 18:52:01.000000000 -0600
+@@ -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-1.3/pkgconfig.patch b/recipes/libgpg-error/libgpg-error-1.3/pkgconfig.patch
new file mode 100644
index 0000000000..f367f1ccc2
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error-1.3/pkgconfig.patch
@@ -0,0 +1,54 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: libgpg-error-1.3/configure.ac
+===================================================================
+--- libgpg-error-1.3.orig/configure.ac
++++ libgpg-error-1.3/configure.ac
+@@ -117,6 +117,7 @@ GPG_ERROR_CONFIG_CFLAGS=""
+ AC_SUBST(GPG_ERROR_CONFIG_LIBS)
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
+ 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.3/src/Makefile.am
+===================================================================
+--- libgpg-error-1.3.orig/src/Makefile.am
++++ libgpg-error-1.3/src/Makefile.am
+@@ -28,6 +28,8 @@ include_HEADERS = gpg-error.h
+ 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 \
+@@ -35,7 +37,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.
+ mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
+ mkheader.awk gpg-error.h.in \
+ err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
+- gpg-error.def versioninfo.rc.in
++ gpg-error.def 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.3/src/gpg-error.pc.in
+===================================================================
+--- /dev/null
++++ libgpg-error-1.3/src/gpg-error.pc.in
+@@ -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-1.4/pkgconfig.patch b/recipes/libgpg-error/libgpg-error-1.4/pkgconfig.patch
new file mode 100644
index 0000000000..f367f1ccc2
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error-1.4/pkgconfig.patch
@@ -0,0 +1,54 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: libgpg-error-1.3/configure.ac
+===================================================================
+--- libgpg-error-1.3.orig/configure.ac
++++ libgpg-error-1.3/configure.ac
+@@ -117,6 +117,7 @@ GPG_ERROR_CONFIG_CFLAGS=""
+ AC_SUBST(GPG_ERROR_CONFIG_LIBS)
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
+ 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.3/src/Makefile.am
+===================================================================
+--- libgpg-error-1.3.orig/src/Makefile.am
++++ libgpg-error-1.3/src/Makefile.am
+@@ -28,6 +28,8 @@ include_HEADERS = gpg-error.h
+ 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 \
+@@ -35,7 +37,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.
+ mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
+ mkheader.awk gpg-error.h.in \
+ err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
+- gpg-error.def versioninfo.rc.in
++ gpg-error.def 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.3/src/gpg-error.pc.in
+===================================================================
+--- /dev/null
++++ libgpg-error-1.3/src/gpg-error.pc.in
+@@ -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
new file mode 100644
index 0000000000..f6a84dc5ef
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error.inc
@@ -0,0 +1,30 @@
+DESCRIPTION = "GPG-Error library"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+
+DEPENDS += "virtual/libiconv"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.gz \
+ file://pkgconfig.patch;patch=1"
+
+# move libgpg-error-config into -dev package
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}/*"
+
+inherit autotools binconfig pkgconfig
+
+do_stage() {
+ oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR}
+ install -d ${STAGING_BINDIR_CROSS}/
+ install -m 0755 src/gpg-error-config ${STAGING_BINDIR_CROSS}/
+
+ install -d ${STAGING_INCDIR}/
+ for X in gpg-error.h
+ do
+ install -m 0644 ${S}/src/$X ${STAGING_INCDIR}/$X
+ done
+
+ install -d ${STAGING_DATADIR}/aclocal
+ install -m 0644 src/gpg-error.m4 ${STAGING_DATADIR}/aclocal/
+}
diff --git a/recipes/libgpg-error/libgpg-error_0.6.bb b/recipes/libgpg-error/libgpg-error_0.6.bb
new file mode 100644
index 0000000000..4929121167
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_0.6.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "GPG-Error library"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+PR = "r1"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz"
+
+inherit autotools binconfig
+
+do_stage() {
+ oe_libinstall -so -C src libgpg-error ${STAGING_LIBDIR}
+ install -d ${STAGING_BINDIR_CROSS}/
+ install -m 0755 src/gpg-error-config ${STAGING_BINDIR_CROSS}/
+
+ install -d ${STAGING_INCDIR}/
+ for X in gpg-error.h
+ do
+ install -m 0644 src/${X} ${STAGING_INCDIR}/${X}
+ done
+
+}
diff --git a/recipes/libgpg-error/libgpg-error_0.7.bb b/recipes/libgpg-error/libgpg-error_0.7.bb
new file mode 100644
index 0000000000..0f28ed00d4
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_0.7.bb
@@ -0,0 +1,6 @@
+require libgpg-error.inc
+
+PR = "r5"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz \
+ file://pkgconfig.patch;patch=1"
diff --git a/recipes/libgpg-error/libgpg-error_1.0.bb b/recipes/libgpg-error/libgpg-error_1.0.bb
new file mode 100644
index 0000000000..b81d4b9da7
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_1.0.bb
@@ -0,0 +1,3 @@
+require libgpg-error.inc
+
+PR = "r2"
diff --git a/recipes/libgpg-error/libgpg-error_1.3.bb b/recipes/libgpg-error/libgpg-error_1.3.bb
new file mode 100644
index 0000000000..b81d4b9da7
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_1.3.bb
@@ -0,0 +1,3 @@
+require libgpg-error.inc
+
+PR = "r2"
diff --git a/recipes/libgpg-error/libgpg-error_1.4.bb b/recipes/libgpg-error/libgpg-error_1.4.bb
new file mode 100644
index 0000000000..b81d4b9da7
--- /dev/null
+++ b/recipes/libgpg-error/libgpg-error_1.4.bb
@@ -0,0 +1,3 @@
+require libgpg-error.inc
+
+PR = "r2"