Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2025 18:04:48 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 876efd0cd72b - main - devel/libzim: Better URL and description; Python depedency at build only
Message-ID:  <202501131804.50DI4m7u088633@gitrepo.freebsd.org>

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

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

commit 876efd0cd72bc678cdeae37d5886b4216b0a09d4
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-01-13 15:44:09 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-01-13 18:04:17 +0000

    devel/libzim: Better URL and description; Python depedency at build only
    
    We did not bump PORTREVISION after the removal of Python dependency at
    runtime as most installations are expected to pull devel/libzim as
    a dependency of www/kiwix-tools, which itself requires Python at
    runtime.  Moreover, we expect most machines running OpenZIM/Kiwix
    software to have Python installed for other reasons.  Folks who really
    want, and can, get rid of the runtime dependency on Python still can
    reinstall manually.
    
    While here, expand a bit the description.
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/libzim/Makefile  | 8 ++++++--
 devel/libzim/pkg-descr | 5 +++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/devel/libzim/Makefile b/devel/libzim/Makefile
index d8b4f32592f2..706590c9823a 100644
--- a/devel/libzim/Makefile
+++ b/devel/libzim/Makefile
@@ -5,17 +5,21 @@ MASTER_SITES=	https://download.openzim.org/release/libzim/
 
 MAINTAINER=	olce.freebsd.ports@certner.fr
 COMMENT=	Reference implementation of the ZIM specification
-WWW=		https://www.openzim.org/wiki/OpenZIM
+WWW=		https://wiki.openzim.org/wiki/Libzim
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+# 'googletest' dependency is only necessary for Meson's 'test' target, but it
+# must be present as soon as configure time.
 BUILD_DEPENDS=	googletest>0:devel/googletest
 LIB_DEPENDS=	libicui18n.so:devel/icu \
 		libxapian.so:databases/xapian-core \
 		libzstd.so:archivers/zstd
 
-USES=		compiler:c++17-lang meson pkgconfig python tar:xz
+# Python is necessary for the build against Xapian and for Meson's 'test' target
+# as well, for which it must be present as soon as configure time.
+USES=		compiler:c++17-lang meson pkgconfig python:build tar:xz
 USE_LDCONFIG=	yes
 
 BINARY_ALIAS=	python3=${PYTHON_CMD:T} python3-config=${PYTHON_CMD:T}-config
diff --git a/devel/libzim/pkg-descr b/devel/libzim/pkg-descr
index e950aaf4c2f2..1d3db4122058 100644
--- a/devel/libzim/pkg-descr
+++ b/devel/libzim/pkg-descr
@@ -1,2 +1,3 @@
-The openZIM project proposes offline storage solutions for content coming from
-the Web.
+The libzim library is the standard implementation of the ZIM specification,
+developed by OpenZIM as an offline storage solution for content coming from the
+Web.



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