Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2024 18:28:28 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 79716dec61cc - main - textproc/libxml++: Update to 5.2.0
Message-ID:  <202407041828.464ISSdN087686@gitrepo.freebsd.org>

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

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

commit 79716dec61cc0f61caef60e3ae32b344b9888f43
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-07-04 17:03:32 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-07-04 18:28:23 +0000

    textproc/libxml++: Update to 5.2.0
    
    * Add USES= compiler:c++17-lang
    * Remove USES= python:build
    * Add LICENSE_FILE
    * Fix install path of .pc file
    * Make some minor changes to port Makefile
    
    Changelog:
    https://github.com/libxmlplusplus/libxmlplusplus/releases/tag/5.2.0
    
    PR:             279757
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 textproc/libxml++/Makefile                | 18 ++++++++++++------
 textproc/libxml++/distinfo                |  6 +++---
 textproc/libxml++/files/patch-meson.build | 13 +++++++++++--
 3 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/textproc/libxml++/Makefile b/textproc/libxml++/Makefile
index 97d47e31ab36..664c3ffcef3f 100644
--- a/textproc/libxml++/Makefile
+++ b/textproc/libxml++/Makefile
@@ -1,20 +1,26 @@
 PORTNAME=	libxml++
-PORTVERSION=	5.0.3
+DISTVERSION=	5.2.0
 CATEGORIES=	textproc
-MASTER_SITES=	GNOME
-PKGNAMESUFFIX=	${PORTVERSION:R:S/.//}
+MASTER_SITES=	GNOME \
+		https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/
+PKGNAMESUFFIX=	50
 
 MAINTAINER=	jcfyecrayz@liamekaens.com
 COMMENT=	XML API for C++
 WWW=		https://github.com/libxmlplusplus/libxmlplusplus
 
 LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gnome libtool meson pkgconfig python:build tar:xz
+USES=		compiler:c++17-lang gnome meson pkgconfig tar:xz
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
-MESON_ARGS=	-Ddefault_library=both
 
-PLIST_SUB=	VERSION=${PORTVERSION:R} API_VERSION=${PORTVERSION:R}
+PLIST_SUB=	VERSION=5.0 \
+		API_VERSION=5.0
+
+MESON_ARGS=	-Ddefault_library=both \
+		-Dbuild-examples=false \
+		-Dbuild-manual=false
 
 .include <bsd.port.mk>
diff --git a/textproc/libxml++/distinfo b/textproc/libxml++/distinfo
index 284b262a228a..211d5c40feab 100644
--- a/textproc/libxml++/distinfo
+++ b/textproc/libxml++/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1694693083
-SHA256 (libxml++-5.0.3.tar.xz) = 13074f59e3288a378cafe9e6847df17f764c23fa29bc94f3305b8bf81efb2cf7
-SIZE (libxml++-5.0.3.tar.xz) = 843720
+TIMESTAMP = 1718435884
+SHA256 (libxml++-5.2.0.tar.xz) = e41b8eae55210511585ae638615f00db7f982c0edea94699865f582daf03b44f
+SIZE (libxml++-5.2.0.tar.xz) = 899356
diff --git a/textproc/libxml++/files/patch-meson.build b/textproc/libxml++/files/patch-meson.build
index 2c644f68fc43..d7d09167e712 100644
--- a/textproc/libxml++/files/patch-meson.build
+++ b/textproc/libxml++/files/patch-meson.build
@@ -1,6 +1,15 @@
---- meson.build.orig	2023-03-22 12:19:05 UTC
+--- meson.build.orig	2024-01-11 13:10:47 UTC
 +++ meson.build
-@@ -385,7 +385,7 @@ configure_file(
+@@ -98,7 +98,7 @@ install_datadir = get_option('datadir')
+ install_includedir = get_option('includedir')
+ install_libdir = get_option('libdir')
+ install_datadir = get_option('datadir')
+-install_pkgconfigdir = install_libdir / 'pkgconfig'
++install_pkgconfigdir = join_paths('libdata', 'pkgconfig')
+ 
+ # Dependencies.
+ # xmlxx_build_dep: Dependencies when building the libxml++ library.
+@@ -370,7 +370,7 @@ xmlxxconfig_h_meson = files('libxml++config.h.meson')
  )
  
  xmlxxconfig_h_meson = files('libxml++config.h.meson')



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