Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 07:59:22 GMT
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f8aaf5b139d4 - main - textproc/libxml++30: Update to 3.2.5
Message-ID:  <202401210759.40L7xMOb001121@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f8aaf5b139d438c1574b81a7ac128d2b5dea6463

commit f8aaf5b139d438c1574b81a7ac128d2b5dea6463
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-01-16 21:23:45 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-01-21 07:57:59 +0000

    textproc/libxml++30: Update to 3.2.5
    
    Summary:
    Changelog: https://github.com/libxmlplusplus/libxmlplusplus/blob/52dd87b44307195d17696568b40ff50a018a1fe3/NEWS
    
    PR:             276179
    Reported by:    Olivier Duchateau <duchateau.olivier@gmail.com>
---
 textproc/libxml++30/Makefile                | 27 +++++++--------------------
 textproc/libxml++30/distinfo                |  6 +++---
 textproc/libxml++30/files/patch-meson.build | 11 +++++++++++
 textproc/libxml++30/pkg-plist               |  4 ++--
 4 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/textproc/libxml++30/Makefile b/textproc/libxml++30/Makefile
index 10e18d85f41f..07ea95706d4d 100644
--- a/textproc/libxml++30/Makefile
+++ b/textproc/libxml++30/Makefile
@@ -1,35 +1,22 @@
 PORTNAME=	libxml++
-PORTVERSION=	2.91.3
-PORTREVISION?=	0
+PORTVERSION=	3.2.5
 CATEGORIES=	textproc
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	30
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	XML API for C++
-WWW=		https://libxmlplusplus.sourceforge.net/
+WWW=		https://libxmlplusplus.github.io/libxmlplusplus/
 
-LICENSE=	LGPL21
+LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES+=		tar:xz compiler:c++11-lang
-
-PLIST_SUB=	VERSION="3.0" API_VERSION="3.0"
-
-USES+=		gmake libtool pathfix pkgconfig gnome
+USES=		gnome meson pkgconfig tar:xz
 USE_GNOME=	glibmm libxml2
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-static --disable-documentation
-INSTALL_TARGET=	install-strip
-BINARY_WRAPPERS=	gm4
+MESON_ARGS=	-Ddefault_library=both
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
-		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \
-		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \
-		${WRKSRC}/libxml++.pc.in
+PLIST_SUB=	API_VERSION="3.0" \
+		VERSION="3.0"
 
 .include <bsd.port.mk>
diff --git a/textproc/libxml++30/distinfo b/textproc/libxml++30/distinfo
index 0f406af7d3a4..89435fa9b7f7 100644
--- a/textproc/libxml++30/distinfo
+++ b/textproc/libxml++30/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662499145
-SHA256 (libxml++-2.91.3.tar.xz) = f9f910cacd1d07c71679eeea36ae018189b72b4b7dd11511a76562377ed4d06a
-SIZE (libxml++-2.91.3.tar.xz) = 934428
+TIMESTAMP = 1705441858
+SHA256 (libxml++-3.2.5.tar.xz) = 0c9b381b5a83d6b3ab4b0b865d7256dab27d575981b63be2f859edcb94da59c7
+SIZE (libxml++-3.2.5.tar.xz) = 903840
diff --git a/textproc/libxml++30/files/patch-meson.build b/textproc/libxml++30/files/patch-meson.build
new file mode 100644
index 000000000000..b91b9255e9b3
--- /dev/null
+++ b/textproc/libxml++30/files/patch-meson.build
@@ -0,0 +1,11 @@
+--- meson.build.orig	2024-01-11 10:03:52 UTC
++++ meson.build
+@@ -393,7 +393,7 @@
+ )
+ 
+ xmlxxconfig_h_meson = files('libxml++config.h.meson')
+-install_includeconfigdir = install_libdir / xmlxx_pcname / 'include'
++install_includeconfigdir = install_includedir / xmlxx_pcname / 'include'
+ configure_file(
+   input: xmlxxconfig_h_meson,
+   output: 'libxml++config.h',
diff --git a/textproc/libxml++30/pkg-plist b/textproc/libxml++30/pkg-plist
index 0528cd8b5faf..99e71381e4e7 100644
--- a/textproc/libxml++30/pkg-plist
+++ b/textproc/libxml++30/pkg-plist
@@ -41,6 +41,6 @@ include/libxml++-%%API_VERSION%%/libxml++/validators/xsdvalidator.h
 include/libxml++-%%API_VERSION%%/libxml++/xsdschema.h
 lib/libxml++-%%VERSION%%.a
 lib/libxml++-%%VERSION%%.so
-lib/libxml++-%%VERSION%%.so.0
-lib/libxml++-%%VERSION%%.so.0.0.0
+lib/libxml++-%%VERSION%%.so.1
+lib/libxml++-%%VERSION%%.so.1.0.0
 libdata/pkgconfig/libxml++-%%API_VERSION%%.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401210759.40L7xMOb001121>