[oe-commits] org.oe.oz354x libgpg-error: added 1.3 (from .dev)

hrw commit openembedded-commits at lists.openembedded.org
Sun Jan 7 16:21:21 UTC 2007


libgpg-error: added 1.3 (from .dev)

applied changes from f980f926d4ed3ba38a98024e535fd402f176cd7b
             through 9cab53e99b0127c5e70d7658ff04bb3209a7e611

Author: hrw at openembedded.org
Branch: org.openembedded.oz354x
Revision: 6a33f5f901a5afa75f1e062040b6ce88f2754caa
ViewMTN: http://monotone.openembedded.org/revision.psp?id=6a33f5f901a5afa75f1e062040b6ce88f2754caa
Files:
1
packages/libgpg-error/libgpg-error-1.3
packages/libgpg-error/libgpg-error-1.3/pkgconfig.patch
packages/libgpg-error/libgpg-error_1.3.bb
Diffs:

#
# mt diff -r52f9e3ab8b831293f02e2d6b961e27eabb2a3e35 -r6a33f5f901a5afa75f1e062040b6ce88f2754caa
#
# 
# 
# add_dir "packages/libgpg-error/libgpg-error-1.3"
# 
# add_file "packages/libgpg-error/libgpg-error-1.3/pkgconfig.patch"
#  content [6f201d37b0602c0d89d8c8ec7abd746317432e1d]
# 
# add_file "packages/libgpg-error/libgpg-error_1.3.bb"
#  content [dd135142e7cd94741adfd66df5e2da9a5fe297b3]
# 
============================================================
--- packages/libgpg-error/libgpg-error-1.3/pkgconfig.patch	6f201d37b0602c0d89d8c8ec7abd746317432e1d
+++ packages/libgpg-error/libgpg-error-1.3/pkgconfig.patch	6f201d37b0602c0d89d8c8ec7abd746317432e1d
@@ -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}
============================================================
--- packages/libgpg-error/libgpg-error_1.3.bb	dd135142e7cd94741adfd66df5e2da9a5fe297b3
+++ packages/libgpg-error/libgpg-error_1.3.bb	dd135142e7cd94741adfd66df5e2da9a5fe297b3
@@ -0,0 +1,28 @@
+PR = "r0"
+DESCRIPTION = "GPG-Error library"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+
+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 -m 0755 src/gpg-error-config ${STAGING_BINDIR}/
+
+	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/
+}






More information about the Openembedded-commits mailing list