pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/gmic-qt-digikam
Module Name: pkgsrc
Committed By: wiz
Date: Fri Apr 21 09:09:31 UTC 2023
Added Files:
pkgsrc/graphics/gmic-qt-digikam: DESCR Makefile PLIST distinfo
pkgsrc/graphics/gmic-qt-digikam/patches: patch-gmic__qt.pro
patch-gmic_src_gmic.cpp
Log Message:
graphics/gmic-qt-digikam: import gmic-qt-digikam-3.2.2.20230417
G'MIC is an open and full-featured framework for image processing,
providing several different user interfaces to
convert/manipulate/filter/visualize generic image datasets, from
1d scalar signals to 3d+t sequences of multi-spectral volumetric
images.
The package contains the digiKam plugin based on G'MIC.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gmic-qt-digikam/DESCR \
pkgsrc/graphics/gmic-qt-digikam/Makefile \
pkgsrc/graphics/gmic-qt-digikam/PLIST \
pkgsrc/graphics/gmic-qt-digikam/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic__qt.pro \
pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic_src_gmic.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/gmic-qt-digikam/DESCR
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/DESCR:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/DESCR Fri Apr 21 09:09:31 2023
@@ -0,0 +1,7 @@
+G'MIC is an open and full-featured framework for image processing,
+providing several different user interfaces to
+convert/manipulate/filter/visualize generic image datasets, from
+1d scalar signals to 3d+t sequences of multi-spectral volumetric
+images.
+
+The package contains the digiKam plugin based on G'MIC.
Index: pkgsrc/graphics/gmic-qt-digikam/Makefile
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/Makefile:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/Makefile Fri Apr 21 09:09:31 2023
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2023/04/21 09:09:31 wiz Exp $
+
+DISTNAME= gmic-qt-digikam-3.2.2.20230417
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cgilles/}
+GITHUB_TAG= 925ba362081e875a2ece1bcfffbe0f408a908017
+GITHUB_PROJECT= gmic-qt
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/cgilles/gmic-qt/
+COMMENT= G'MIC plugin for digiKam
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake bash:build
+
+CMAKE_ARGS+= -DENABLE_SYSTEM_GMIC=OFF
+CMAKE_ARGS+= -DGMIC_QT_HOST=digikam
+
+REPLACE_BASH+= translations/lrelease.sh
+
+# make binaries available in default search path
+BUILDLINK_FNAME_TRANSFORM.qt5-qttools+= -e s,qt5/bin,bin,
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/digikam/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt5-qttools?= build
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/gmic-qt-digikam/PLIST
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/PLIST:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/PLIST Fri Apr 21 09:09:31 2023
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/21 09:09:31 wiz Exp $
+qt5/plugins/digikam/editor/Editor_GmicQt_Plugin.so
Index: pkgsrc/graphics/gmic-qt-digikam/distinfo
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/distinfo:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/distinfo Fri Apr 21 09:09:31 2023
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2023/04/21 09:09:31 wiz Exp $
+
+BLAKE2s (gmic-qt-digikam-3.2.2.20230417-925ba362081e875a2ece1bcfffbe0f408a908017.tar.gz) = aa168e2b89c3d484d48c621477014a19f7fb4549c20e7969c0bdfbe45c8305c0
+SHA512 (gmic-qt-digikam-3.2.2.20230417-925ba362081e875a2ece1bcfffbe0f408a908017.tar.gz) =
245eb359b9c16495b1e4b992dcaf869738a9c72e498f4c5e603d9e34b8595f60058e54778d21d9f504ea7a9a94a1deba6d6e63a60c1243385fbab1c40df065af
+Size (gmic-qt-digikam-3.2.2.20230417-925ba362081e875a2ece1bcfffbe0f408a908017.tar.gz) = 111666931 bytes
+SHA1 (patch-gmic__qt.pro) = 4482955d13b6bbdcd6e6f9d7dd3a696d734f05ee
+SHA1 (patch-gmic_src_gmic.cpp) = 6aae87ac24d3c26fcc87c1ad0602f2b929137e51
Index: pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic__qt.pro
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic__qt.pro:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic__qt.pro Fri Apr 21 09:09:31 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-gmic__qt.pro,v 1.1 2023/04/21 09:09:31 wiz Exp $
+
+Link against libX11 on everything except macOS which might not use X11.
+https://github.com/c-koi/gmic-qt/pull/180
+
+--- gmic_qt.pro.orig 2023-04-17 02:59:18.000000000 +0000
++++ gmic_qt.pro
+@@ -179,7 +179,7 @@ win32 {
+ DEFINES += cimg_display=2
+ }
+
+-linux {
++unix:!macx {
+ DEFINES += _IS_LINUX_
+ PKGCONFIG += x11
+ message( Linux platform )
Index: pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic_src_gmic.cpp
diff -u /dev/null pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic_src_gmic.cpp:1.1
--- /dev/null Fri Apr 21 09:09:31 2023
+++ pkgsrc/graphics/gmic-qt-digikam/patches/patch-gmic_src_gmic.cpp Fri Apr 21 09:09:31 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-gmic_src_gmic.cpp,v 1.1 2023/04/21 09:09:31 wiz Exp $
+
+* Support NetBSD.
+https://github.com/GreycLab/gmic/pull/449
+
+--- gmic/src/gmic.cpp.orig 2023-04-17 02:59:18.000000000 +0000
++++ gmic/src/gmic.cpp
+@@ -2204,7 +2204,11 @@ inline void* get_tid() {
+ #if defined(__MACOSX__) || defined(__APPLE__)
+ void* tid = (void*)(cimg_ulong)getpid();
+ #elif cimg_OS==1
++#if defined(__NetBSD__)
++ void* tid = (void*)(cimg_ulong)pthread_self();
++#else
+ void* tid = (void*)(cimg_ulong)syscall(SYS_gettid);
++#endif
+ #elif cimg_OS==2
+ void* tid = (void*)(cimg_ulong)GetCurrentThreadId();
+ #else
Home |
Main Index |
Thread Index |
Old Index