diff options
| -rw-r--r-- | meta-oe/recipes-core/libxml/libxml++/libxml++_ptest.patch | 26 | ||||
| -rw-r--r-- | meta-oe/recipes-core/libxml/libxml++_2.42.1.bb (renamed from meta-oe/recipes-core/libxml/libxml++_2.40.1.bb) | 11 |
2 files changed, 19 insertions, 18 deletions
diff --git a/meta-oe/recipes-core/libxml/libxml++/libxml++_ptest.patch b/meta-oe/recipes-core/libxml/libxml++/libxml++_ptest.patch index 0d1a5186a6..dc6198fe98 100644 --- a/meta-oe/recipes-core/libxml/libxml++/libxml++_ptest.patch +++ b/meta-oe/recipes-core/libxml/libxml++/libxml++_ptest.patch | |||
| @@ -1,20 +1,16 @@ | |||
| 1 | Index: libxml++-2.40.1/Makefile.am | 1 | --- a/Makefile.am |
| 2 | =================================================================== | 2 | +++ b/Makefile.am |
| 3 | --- libxml++-2.40.1.orig/Makefile.am | 3 | @@ -40,5 +40,8 @@ EXTRA_DIST = \ |
| 4 | +++ libxml++-2.40.1/Makefile.am | 4 | tools/conf_tests/have_exception_ptr.cc \ |
| 5 | @@ -24,5 +24,8 @@ dist_noinst_SCRIPTS = autogen.sh | 5 | untracked/README |
| 6 | |||
| 7 | DISTCLEANFILES = MSVC_Net2010/libxml++/libxml++config.h | ||
| 8 | 6 | ||
| 9 | +install-ptest: | 7 | +install-ptest: |
| 10 | + make -C examples install-ptest | 8 | + make -C examples install-ptest |
| 11 | + | 9 | + |
| 12 | # Optional: auto-generate the ChangeLog file from the git log on make dist | 10 | # Optional: auto-generate the ChangeLog file from the git log on make dist |
| 13 | include $(top_srcdir)/build/dist-changelog.am | 11 | include $(top_srcdir)/build/dist-changelog.am |
| 14 | Index: libxml++-2.40.1/examples/Makefile.am | 12 | --- a/examples/Makefile.am |
| 15 | =================================================================== | 13 | +++ b/examples/Makefile.am |
| 16 | --- libxml++-2.40.1.orig/examples/Makefile.am | ||
| 17 | +++ libxml++-2.40.1/examples/Makefile.am | ||
| 18 | @@ -19,6 +19,8 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_ | 14 | @@ -19,6 +19,8 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_ |
| 19 | AM_CXXFLAGS = $(LIBXMLXX_WXXFLAGS) | 15 | AM_CXXFLAGS = $(LIBXMLXX_WXXFLAGS) |
| 20 | LDADD = $(top_builddir)/libxml++/libxml++-$(LIBXMLXX_API_VERSION).la $(LIBXMLXX_LIBS) | 16 | LDADD = $(top_builddir)/libxml++/libxml++-$(LIBXMLXX_API_VERSION).la $(LIBXMLXX_LIBS) |
| @@ -51,10 +47,10 @@ Index: libxml++-2.40.1/examples/Makefile.am | |||
| 51 | @@ -154,10 +173,10 @@ dist_noinst_DATA = \ | 47 | @@ -154,10 +173,10 @@ dist_noinst_DATA = \ |
| 52 | # file are located in different directories. | 48 | # file are located in different directories. |
| 53 | dom_read_write/make_check.sh: Makefile | 49 | dom_read_write/make_check.sh: Makefile |
| 54 | echo '# Generated and used by "make check"' >$@ | 50 | $(AM_V_GEN)echo '# Generated and used by "make check"' >$@ |
| 55 | - echo 'dom_read_write/dom_read_write "$(srcdir)/dom_read_write/example.xml" dom_read_write/example_output.xml >/dev/null' >>$@ | 51 | - $(AM_V_at)echo 'dom_read_write/dom_read_write "$(srcdir)/dom_read_write/example.xml" dom_read_write/example_output.xml >/dev/null' >>$@ |
| 56 | + echo 'cd dom_read_write && .libs/dom_read_write "example.xml" example_output.xml >/dev/null' >>$@ | 52 | + $(AM_V_at)echo 'cd dom_read_write && .libs/dom_read_write "example.xml" example_output.xml >/dev/null' >>$@ |
| 57 | chmod +x $@ | 53 | $(AM_V_at)chmod +x $@ |
| 58 | 54 | ||
| 59 | -script_template = cd "$(srcdir)/<!progname!>" && "$(abs_builddir)/<!progname!>/<!progname!>" >/dev/null | 55 | -script_template = cd "$(srcdir)/<!progname!>" && "$(abs_builddir)/<!progname!>/<!progname!>" >/dev/null |
| 60 | +script_template = cd "<!progname!>" && ".libs/<!progname!>" >/dev/null | 56 | +script_template = cd "<!progname!>" && ".libs/<!progname!>" >/dev/null |
diff --git a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb b/meta-oe/recipes-core/libxml/libxml++_2.42.1.bb index 7e08263ca4..6065333d9a 100644 --- a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb +++ b/meta-oe/recipes-core/libxml/libxml++_2.42.1.bb | |||
| @@ -11,13 +11,18 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \ | |||
| 11 | file://libxml++_ptest.patch \ | 11 | file://libxml++_ptest.patch \ |
| 12 | file://run-ptest \ | 12 | file://run-ptest \ |
| 13 | " | 13 | " |
| 14 | SRC_URI[md5sum] = "377a87bea899f2b4ff62df2418c3d8a6" | 14 | SRC_URI[sha256sum] = "9b59059abe5545d28ceb388a55e341095f197bd219c73e6623aeb6d801e00be8" |
| 15 | SRC_URI[sha256sum] = "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f35463e9" | ||
| 16 | 15 | ||
| 17 | DEPENDS = "libxml2 glibmm" | 16 | DEPENDS = "libxml2 glibmm mm-common-native" |
| 18 | 17 | ||
| 19 | inherit autotools pkgconfig ptest | 18 | inherit autotools pkgconfig ptest |
| 20 | 19 | ||
| 20 | EXTRA_OECONF = "--disable-documentation" | ||
| 21 | |||
| 22 | do_configure:prepend() { | ||
| 23 | mm-common-prepare --copy --force ${S} | ||
| 24 | } | ||
| 25 | |||
| 21 | do_compile_ptest() { | 26 | do_compile_ptest() { |
| 22 | oe_runmake -C examples buildtest | 27 | oe_runmake -C examples buildtest |
| 23 | } | 28 | } |
