libmxml: update to current git master (ba3cca8)
PATCH 1/1 libmxml: update to current git master (ba3cca8)
Update the Mini-XML library to a 2.12 pre-release version which integrates the needed patches for OE. Therefore remove those patches from here.
Furthermore avoid using autoheader as suggested by mxml's author:
https://github.com/michaelrsweet/mxml/pull/223
Signed-off-by Richard Leitner <[email protected]>
--- ...ove-rpath-from-configure.in-and-configure.patch | 55 ---------------------- .../libmxml/0002-link-libmxml-with-pthread.patch | 27 ----------- .../0003-add-missing-LDFLAGS-to-Makefile.patch | 27 ----------- .../libmxml/0004-mxml-string-compile-headers.patch | 28 ----------- .../0005-several-autoheader-define-fixes.patch | 54 --------------------- .../libmxml/0006-several-compile-fixes.patch | 49 ------------------- ...le-require-libmxml.a-for-its-installation.patch | 26 ---------- meta-oe/recipes-support/libmxml/libmxml_2.11.bb | 29 ------------ meta-oe/recipes-support/libmxml/libmxml_git.bb | 41 ++++++++++++++++ 9 files changed, 41 insertions(+), 295 deletions(-) delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0001-remove-rpath-from-configure.in-and-configure.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0002-link-libmxml-with-pthread.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0003-add-missing-LDFLAGS-to-Makefile.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0004-mxml-string-compile-headers.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0005-several-autoheader-define-fixes.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0006-several-compile-fixes.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml/0007-Makefile-require-libmxml.a-for-its-installation.patch delete mode 100644 meta-oe/recipes-support/libmxml/libmxml_2.11.bb create mode 100644 meta-oe/recipes-support/libmxml/libmxml_git.bb
meta-oe/recipes-support/libmxml/libmxml/0001-remove-rpath-from-configure.in-and-configure.patch deleted +0 -55
@@ -1,55 +0,0 @@ -From bcf5391c0c7edd85ee0c956be65cf4eeeea0a82a Mon Sep 17 00:00:00 2001 -From: Fathi Boudra <[email protected]> -Date: Fri, 1 Jun 2018 14:16:52 +0200 -Subject: [PATCH 1/7] remove rpath from configure.in and configure - -This patch was taken from Debian's libmxml 2.11-1 source: - 01_remove_rpath.diff ---- - configure.ac | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 47a0d41..6b3bbfa 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -184,8 +184,7 @@ if test x$enable_shared != xno; then - AC_MSG_RESULT(yes) - LIBMXML="libmxml.so.1.6" - DSO="\$(CC)" -- DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G -R\$(libdir) \$(OPTIM)" -- LDFLAGS="$LDFLAGS -R\$(libdir)" -+ DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G \$(OPTIM)" - ;; - - hp-ux) -@@ -200,23 +199,21 @@ if test x$enable_shared != xno; then - AC_MSG_RESULT(yes) - LIBMXML="libmxml.so.1.6" - DSO="\$(CC)" -- DSOFLAGS="$DSOFLAGS -Wl,-rpath,\$(libdir),-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)" -+ DSOFLAGS="$DSOFLAGS -Wl,-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)" - ;; - - osf | linux* | gnu) - AC_MSG_RESULT(yes) - LIBMXML="libmxml.so.1.6" - DSO="\$(CC)" -- DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-rpath,\$(libdir) -shared \$(OPTIM)" -- LDFLAGS="$LDFLAGS -Wl,-rpath,\$(libdir)" -+ DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)" - ;; - - *bsd) - AC_MSG_RESULT(yes) - LIBMXML="libmxml.so.1.6" - DSO="\$(CC)" -- DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)" -- LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)" -+ DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)" - ;; - - darwin) --- -2.11.0 -
meta-oe/recipes-support/libmxml/libmxml/0002-link-libmxml-with-pthread.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From 5e415d207465f41ae821235eb64c94916b515260 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= <[email protected]> -Date: Fri, 1 Jun 2018 14:20:10 +0200 -Subject: [PATCH 2/7] link libmxml with pthread - -This patch was taken from Debian's libmxml 2.11-1 source: - 02_link_with_pthread.diff ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index eef14fe..70c322c 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -271,7 +271,7 @@ mxml1.dll: $(LIBOBJS) - - libmxml.so.1.6: $(LIBOBJS) - echo Creating $@... -- $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS) -+ $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS) $(LIBS) - $(RM) libmxml.so libmxml.so.1 - $(LN) libmxml.so.1.6 libmxml.so - $(LN) libmxml.so.1.6 libmxml.so.1 --- -2.11.0 -
meta-oe/recipes-support/libmxml/libmxml/0003-add-missing-LDFLAGS-to-Makefile.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From 249c34c57ecd9bb49f8e3b420bde651c4bcad36d Mon Sep 17 00:00:00 2001 -From: Luis Uribe <[email protected]> -Date: Fri, 1 Jun 2018 14:21:49 +0200 -Subject: [PATCH 3/7] add missing $(LDFLAGS) to Makefile - -This patch was taken from Debian's libmxml 2.11-1 source: - 03_link_ldflags.diff ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 70c322c..fd48565 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -271,7 +271,7 @@ mxml1.dll: $(LIBOBJS) - - libmxml.so.1.6: $(LIBOBJS) - echo Creating $@... -- $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS) $(LIBS) -+ $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS) $(LIBS) $(LDFLAGS) - $(RM) libmxml.so libmxml.so.1 - $(LN) libmxml.so.1.6 libmxml.so - $(LN) libmxml.so.1.6 libmxml.so.1 --- -2.11.0 -
meta-oe/recipes-support/libmxml/libmxml/0004-mxml-string-compile-headers.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From e0c02526840d26758e4bcfd84dd5f7cda3cfbe1a Mon Sep 17 00:00:00 2001 -From: Richard Leitner <[email protected]> -Date: Fri, 1 Jun 2018 14:23:40 +0200 -Subject: [PATCH 4/7] mxml-string: compile headers - -This patch was taken from Debian's libmxml 2.11-1 source: - 04_compile_headers.diff ---- - mxml-string.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/mxml-string.c b/mxml-string.c -index 2495753..9bdb4c3 100644 ---- a/mxml-string.c -+++ b/mxml-string.c -@@ -17,7 +17,8 @@ - */ - - #include "config.h" -- -+#include <stdlib.h> -+#include <stdarg.h> - - /* - * The va_copy macro is part of C99, but many compilers don't implement it. --- -2.11.0 -
meta-oe/recipes-support/libmxml/libmxml/0005-several-autoheader-define-fixes.patch deleted +0 -54
54 lines not on this page · raw message
meta-oe/recipes-support/libmxml/libmxml/0006-several-compile-fixes.patch deleted +0 -49
49 lines not on this page · raw message
meta-oe/recipes-support/libmxml/libmxml/0007-Makefile-require-libmxml.a-for-its-installation.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 5d58c984e1a1173def37a99267afd78757998642 Mon Sep 17 00:00:00 2001 -From: Richard Leitner <[email protected]> -Date: Mon, 4 Jun 2018 11:23:36 +0200 -Subject: [PATCH 7/7] Makefile: require libmxml.a for its installation - -Signed-off-by: Richard Leitner <[email protected]> ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index fd48565..155a17a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -162,7 +162,7 @@ install: $(TARGETS) install-$(LIBMXML) install-libmxml.a - $(INSTALL_DIR) $(BUILDROOT)$(mandir)/man3 - $(INSTALL_MAN) doc/mxml.man $(BUILDROOT)$(mandir)/man3/mxml.3 - --install-libmxml.a: -+install-libmxml.a: libmxml.a - echo Installing libmxml.a to $(BUILDROOT)$(libdir)... - $(INSTALL_DIR) $(BUILDROOT)$(libdir) - $(INSTALL_LIB) libmxml.a $(BUILDROOT)$(libdir) --- -2.11.0 -
meta-oe/recipes-support/libmxml/libmxml_2.11.bb deleted +0 -29
@@ -1,29 +0,0 @@ -DESCRIPTION = "Tiny XML Library" -LICENSE = "Mini-XML-License" -LIC_FILES_CHKSUM = "file://COPYING;md5=a6ba38606d63bb042c5d8cfee182e120" -HOMEPAGE = "https://www.msweet.org/mxml/" -BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" - -SRC_URI = " \ - https://github.com/michaelrsweet/mxml/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ - file://0001-remove-rpath-from-configure.in-and-configure.patch \ - file://0002-link-libmxml-with-pthread.patch \ - file://0003-add-missing-LDFLAGS-to-Makefile.patch \ - file://0004-mxml-string-compile-headers.patch \ - file://0005-several-autoheader-define-fixes.patch \ - file://0006-several-compile-fixes.patch \ - file://0007-Makefile-require-libmxml.a-for-its-installation.patch \ -" - -SRC_URI[md5sum] = "b9b49af414a2f0a8b13636d9635c3b6a" -SRC_URI[sha256sum] = "7d3dfe661e50908fe41aef9b97ba6f7f158cab5208515c6be9f5bc9daf032329" - -inherit autotools-brokensep gettext - -S = "${WORKDIR}/mxml-${PV}" - -EXTRA_OEMAKE = "DSTROOT=${D}" - -PACKAGES += " ${PN}-bin " -FILES_${PN} = "${libdir}/*" -FILES_${PN}-bin = "${bindir}/*"
meta-oe/recipes-support/libmxml/libmxml_git.bb new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.11.0