Date: Sat, 28 Feb 2026 04:14:48 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 28bd660922a7 - main - graphics/zint: update the port to version 2.16.0 Message-ID: <69a26bb8.34312.52b19863@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=28bd660922a7ffe5231b18df4d6e2dd118755b1e commit 28bd660922a7ffe5231b18df4d6e2dd118755b1e Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2026-02-28 04:13:18 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2026-02-28 04:13:18 +0000 graphics/zint: update the port to version 2.16.0 Install useful documentation files and program icon. Reported by: portscout --- graphics/zint/Makefile | 10 ++++++++-- graphics/zint/distinfo | 6 +++--- graphics/zint/files/patch-CMakeLists.txt | 8 +++++--- graphics/zint/pkg-plist | 7 ++++--- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/graphics/zint/Makefile b/graphics/zint/Makefile index aebe4ce613fe..7a100bd34d74 100644 --- a/graphics/zint/Makefile +++ b/graphics/zint/Makefile @@ -1,5 +1,5 @@ PORTNAME= zint -PORTVERSION= 2.15.0 +PORTVERSION= 2.16.0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -19,11 +19,17 @@ USE_LDCONFIG= yes USE_QT= buildtools:build qmake:build uitools:build core gui \ svg widgets -DESKTOP_ENTRIES="Zint" "Barcode generator" "" "zint-qt" "" false +DESKTOP_ENTRIES="Zint" "Barcode generator" "zint-qt" "zint-qt" "" false PLIST_SUB+= VER=${PORTVERSION:R} +PORTDOCS= ChangeLog README TODO manual.txt + +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^add_library/s,STATIC,SHARED,' \ ${WRKSRC}/backend_qt/CMakeLists.txt +# XXX: in lieu of addressing ``project(zint-package)'' stupidity +post-stage: ; @${RMDIR} ${STAGEDIR}${DOCSDIR}-package + .include <bsd.port.mk> diff --git a/graphics/zint/distinfo b/graphics/zint/distinfo index 5943e4b3ea21..39db2b0e9c48 100644 --- a/graphics/zint/distinfo +++ b/graphics/zint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1740495435 -SHA256 (zint-2.15.0-src.tar.gz) = bce37d9b86e6127cac63c8b6267ac421116d4ac086519d726eb724f5462d98c7 -SIZE (zint-2.15.0-src.tar.gz) = 6355115 +TIMESTAMP = 1766174824 +SHA256 (zint-2.16.0-src.tar.gz) = 37e767afada2403bb9ae49b93a19eb0a9e944a0c278d9f23522746b3d08a3c4b +SIZE (zint-2.16.0-src.tar.gz) = 6423511 diff --git a/graphics/zint/files/patch-CMakeLists.txt b/graphics/zint/files/patch-CMakeLists.txt index 860ea3144924..0c684479470b 100644 --- a/graphics/zint/files/patch-CMakeLists.txt +++ b/graphics/zint/files/patch-CMakeLists.txt @@ -1,11 +1,13 @@ ---- CMakeLists.txt.orig 2025-02-05 09:16:07 UTC +--- CMakeLists.txt.orig 2025-12-19 19:42:13 UTC +++ CMakeLists.txt -@@ -203,5 +203,8 @@ if(ZINT_UNINSTALL) +@@ -201,5 +201,10 @@ if(ZINT_UNINSTALL) "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") endif() +set(CMAKE_MODULES_INSTALL_PATH ${CMAKE_ROOT}/Modules) +install(FILES cmake/modules/FindZint.cmake DESTINATION ${CMAKE_MODULES_INSTALL_PATH} COMPONENT Devel) ++install(FILES ChangeLog README TODO docs/manual.txt DESTINATION ${CMAKE_INSTALL_DOCDIR}/../zint COMPONENT doc) ++install(FILES zint-qt.png DESTINATION share/pixmaps) + configure_file("zint-config.cmake.in" "zint-config.cmake" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zint-config.cmake" DESTINATION "${CMAKE_INSTALL_DATADIR}/zint") + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zint-config.cmake" DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/zint") diff --git a/graphics/zint/pkg-plist b/graphics/zint/pkg-plist index a0b6e53efa85..ddc1fd06b21c 100644 --- a/graphics/zint/pkg-plist +++ b/graphics/zint/pkg-plist @@ -2,6 +2,9 @@ bin/zint bin/zint-qt include/qzint.h include/zint.h +lib/cmake/zint/zint-config.cmake +lib/cmake/zint/zint-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/zint/zint-targets.cmake lib/libQZint.so lib/libQZint.so.%%VER%% lib/libQZint.so.%%VER%%.0.0 @@ -10,6 +13,4 @@ lib/libzint.so.%%VER%% lib/libzint.so.%%VER%%.0.0 share/cmake/Modules/FindZint.cmake share/man/man1/zint.1.gz -%%DATADIR%%/zint-config.cmake -%%DATADIR%%/zint-targets-%%CMAKE_BUILD_TYPE%%.cmake -%%DATADIR%%/zint-targets.cmake +share/pixmaps/zint-qt.pnghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a26bb8.34312.52b19863>
