pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

licasa: update to 0.9.7.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Nov 8 16:59:31 2026 +0100
Changeset:	50c6fd580e77a2fafcfea0bcac85b5e26b72330b

Modified Files:
	TODO
	licasa/Makefile
	licasa/PLIST
	licasa/distinfo
Added Files:
	licasa/patches/patch-tests_tst__lifecycle__platform.cpp

Log Message:
licasa: update to 0.9.7.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50c6fd580e77a2fafcfea0bcac85b5e26b72330b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 TODO                                               |  1 -
 licasa/Makefile                                    |  8 +++---
 licasa/PLIST                                       |  2 ++
 licasa/distinfo                                    |  7 ++---
 .../patch-tests_tst__lifecycle__platform.cpp       | 31 ++++++++++++++++++++++
 5 files changed, 42 insertions(+), 7 deletions(-)

diffs:
diff --git a/TODO b/TODO
index a251c93f43..5d3e44f47c 100644
--- a/TODO
+++ b/TODO
@@ -86,7 +86,6 @@ Suggested package updates
 	o libgtk-java-2.10.2
 	o libinput-1.31.1
 	o libressl-2.3.1
-	o licasa-0.9.7
 	o lightdm-1.32
 	o lives-2.8.2
 	o lucene-4.5.0
diff --git a/licasa/Makefile b/licasa/Makefile
index 17470efc42..c9b9766d12 100644
--- a/licasa/Makefile
+++ b/licasa/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	licasa-0.8.1
+DISTNAME=	licasa-0.9.7
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GITHUB:=sanxchep/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -10,11 +10,13 @@ HOMEPAGE=	https://github.com/sanxchep/licasa/
 COMMENT=	Open-source image viewer and editor
 LICENSE=	2-clause-bsd
 
-#WRKSRC=	${WRKDIR}/${DISTNAME}
-
 USE_LANGUAGES=	c++
 
+REPLACE_PYTHON+=	tools/*.py
+
 .include "../../devel/cmake/build.mk"
+.include "../../lang/python/application.mk"
+.include "../../devel/qt6-qttools/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/qt6-qtdeclarative/buildlink3.mk"
 .include "../../x11/qt6-qtbase/buildlink3.mk"
diff --git a/licasa/PLIST b/licasa/PLIST
index 8091c5e1f3..517a7eff11 100644
--- a/licasa/PLIST
+++ b/licasa/PLIST
@@ -1,7 +1,9 @@
 @comment $NetBSD$
 bin/licasa
 lib/licasa/plugins/imageformats/liblicasa_qoi_plugin.so
+libexec/licasa/lifecycle_update.py
 share/applications/licasa.desktop
 share/icons/hicolor/512x512/apps/licasa.png
+share/licasa/images/licasa-4096x4096.png
 share/licenses/licasa/LICENSE
 share/pixmaps/licasa.png
diff --git a/licasa/distinfo b/licasa/distinfo
index e499cab0b3..32c82ba21e 100644
--- a/licasa/distinfo
+++ b/licasa/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-BLAKE2s (licasa-0.8.1.tar.gz) = b57cb714367d00492ea944c8bfa27370f125b7f9fee4f349c08d5bbf2f177eba
-SHA512 (licasa-0.8.1.tar.gz) = 3f70ce9d298aa4e1c670f54a02db6a32dab369d7b58926f9ef974445aa846c2e1d03b98f742354fd8cd61d0a9d69931b3c093ebd5dc027a875449d7032bc418c
-Size (licasa-0.8.1.tar.gz) = 24721415 bytes
+BLAKE2s (licasa-0.9.7.tar.gz) = 87730881e1dce646ef68c60e1eb4003eb9646ccc898a8ac8f04175aab763e098
+SHA512 (licasa-0.9.7.tar.gz) = 5ab49cf349a619770d8e567de927feef5eaad666c8bcd9336bbe4a2d808de8c8029c9b114aa199ca1df0751632738af08aad731d390ba99b052bd4d6cc3e26b7
+Size (licasa-0.9.7.tar.gz) = 25041135 bytes
+SHA1 (patch-tests_tst__lifecycle__platform.cpp) = 69f75b7f9a82b7e775704491125114b8e5a305c9
diff --git a/licasa/patches/patch-tests_tst__lifecycle__platform.cpp b/licasa/patches/patch-tests_tst__lifecycle__platform.cpp
new file mode 100644
index 0000000000..5c0472bf86
--- /dev/null
+++ b/licasa/patches/patch-tests_tst__lifecycle__platform.cpp
@@ -0,0 +1,31 @@
+$NetBSD$
+
+Hack around Linux-only interface.
+
+--- tests/tst_lifecycle_platform.cpp.orig	2026-11-08 15:55:46.445360725 +0000
++++ tests/tst_lifecycle_platform.cpp
+@@ -19,7 +19,9 @@
+ #include <cerrno>
+ #include <fcntl.h>
+ #include <sys/file.h>
++#if __linux__
+ #include <sys/prctl.h>
++#endif
+ #include <sys/stat.h>
+ #include <unistd.h>
+ 
+@@ -683,12 +685,14 @@ int main(int argc, char** argv)
+         return 0;
+     }
+     if (fixture == QStringLiteral("1") || fixture == QStringLiteral("inaccessible-viewer")) {
++#if __linux__
+         // Real same-executable peers, kept alive until the parent closes stdin.
+         // This branch is confined to the test executable.
+         if (fixture == QStringLiteral("inaccessible-viewer") &&
+             (::prctl(PR_SET_DUMPABLE, 0) != 0 || ::prctl(PR_SET_NAME, "unrelated") != 0)) {
+             return 2;
+         }
++#endif
+         const char ready[] = "ready\n";
+         const auto written = ::write(STDOUT_FILENO, ready, sizeof(ready) - 1);
+         if (written != sizeof(ready) - 1) {


Home | Main Index | Thread Index | Old Index