<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e7e10071bfd32af03d40946486399990a6684a87">https://github.com/macports/macports-ports/commit/e7e10071bfd32af03d40946486399990a6684a87</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e7e10071bfd32af03d40946486399990a6684a87
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Aug 20 15:52:14 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> libxmlxx3: fix build after update to 3.2.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - switch to meson, patch to build documentation
</span><span style='display:block; white-space:pre;color:#404040;'> - update license
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span>---
textproc/libxmlxx3/Portfile | 20 ++++++++++++--------
textproc/libxmlxx3/files/patch-meson_options.diff | 11 +++++++++++
2 files changed, 23 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx3/Portfile b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea2e98568ca..98f0fbce398 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup meson 1.0
</span>
# requires C++11 as of version 2.39.1
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,8 +10,9 @@ name libxmlxx3
</span> set gname libxml++
version 3.2.3
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories textproc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license LGPL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1+
</span> maintainers {devans @dbevans} openmaintainer
description libxml++ is a C++ interface for working with XML files
long_description libxml++ is a C++ interface for working with XML files, using \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,16 +29,18 @@ checksums rmd160 d7aa98d7eb8847fa41ecc0aec490b8b2fcc0f465 \
</span> sha256 9541f6d2eede269498bb32e4193a41b631453654f407d47a876d62ab73beb7b5 \
size 818260
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:autoconf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ./autogen.sh && ./configure
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:glibmm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# build documentation as was done before the change to meson
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-meson_options.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.perl /usr/bin/perl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:doxygen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:libxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glibmm
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span>
livecheck.type gnome
livecheck.name ${gname}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx3/files/patch-meson_options.diff b/textproc/libxmlxx3/files/patch-meson_options.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..80022581211
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx3/files/patch-meson_options.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson_options.txt.orig 2021-08-20 18:12:23.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson_options.txt 2021-08-20 18:12:36.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,7 +7,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option('build-deprecated-api', type: 'boolean', value: true,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description: 'Build deprecated API and include it in the library')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option('build-documentation', type: 'combo', choices: ['false', 'if-maintainer-mode', 'true'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- value: 'if-maintainer-mode', description: 'Build and install the documentation')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ value: 'true', description: 'Build and install the documentation')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option('validation', type: 'boolean', value: true,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description: 'Validate the tutorial XML file')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option('build-pdf', type: 'boolean', value: false,
</span></pre><pre style='margin:0'>
</pre>