Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148775785
D12549.id34431.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D12549.id34431.diff
View Options
Index: head/graphics/Makefile
===================================================================
--- head/graphics/Makefile
+++ head/graphics/Makefile
@@ -279,6 +279,7 @@
SUBDIR += glosm
SUBDIR += glpng
SUBDIR += gltt
+ SUBDIR += gmic-qt
SUBDIR += gmt
SUBDIR += gnash
SUBDIR += gnofract4d
Index: head/graphics/gmic-qt/Makefile
===================================================================
--- head/graphics/gmic-qt/Makefile
+++ head/graphics/gmic-qt/Makefile
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+PORTNAME= gmic-qt
+DISTVERSIONPREFIX= v.
+DISTVERSION= 204
+CATEGORIES= graphics kde
+MASTER_SITES= http://gmic.eu/:stdlib \
+ LOCAL/tcberner/${PORTNAME}/${PORTVERSION}:stdlib
+DISTFILES= gmic_stdlib.h:stdlib
+DIST_SUBDIR= KDE/${PORTNAME}
+EXTRACT_ONLY= ${DISTNAME}.tar.gz ${DISTFILE_gmic} ${DISTFILE_cimg}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Versatile Qt front-end to GMIC
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libfftw3.so:math/fftw3 \
+ libpng.so:graphics/png
+
+USES= cmake:outsource pkgconfig
+USE_QT5= core gui network widgets \
+ buildtools_build linguisttools_build qmake_build
+USE_XORG= ice sm x11 xext
+
+# Use the extracted cimg/gmic & Co, as we do not want to depend on graphics/gimp
+# which would get pulled in by graphics/cimg.
+CMAKE_ARGS= -DGMIC_QT_HOST:STRING="krita" \
+ -DGMIC_PATH:STRING="${WRKSRC_gmic}/src"
+
+USE_GITHUB= yes
+GH_ACCOUNT= c-koi
+GH_TUPLE= dtschump:gmic:${DISTVERSIONFULL}:gmic \
+ dtschump:cimg:${DISTVERSIONFULL}:cimg
+
+pre-configure:
+# Copy the necessary files
+ ${CP} ${WRKDIR}/CImg-${DISTVERSIONFULL}/CImg.h ${WRKSRC_gmic}/src
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/gmic_stdlib.h ${WRKSRC_gmic}/src
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gmic_krita_qt ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}/translations
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/*.qm ${STAGEDIR}${DATADIR}/translations/
+
+.include <bsd.port.mk>
Index: head/graphics/gmic-qt/distinfo
===================================================================
--- head/graphics/gmic-qt/distinfo
+++ head/graphics/gmic-qt/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1509037058
+SHA256 (KDE/gmic-qt/gmic_stdlib.h) = 127f10099f86ee97a87571c6f4372cc419171b3cb139396e1189739911fcb865
+SIZE (KDE/gmic-qt/gmic_stdlib.h) = 3041437
+SHA256 (KDE/gmic-qt/c-koi-gmic-qt-v.204_GH0.tar.gz) = cd4170adbe916802e8ced03b6e63dea5ba9bf26a1e29e01cebf07a4001d1a126
+SIZE (KDE/gmic-qt/c-koi-gmic-qt-v.204_GH0.tar.gz) = 313433
+SHA256 (KDE/gmic-qt/dtschump-gmic-v.204_GH0.tar.gz) = 2a99e457b764bc843aa4d67d22842e0af6567934604ba9c3e3cf9dd9bbe381b4
+SIZE (KDE/gmic-qt/dtschump-gmic-v.204_GH0.tar.gz) = 37274742
+SHA256 (KDE/gmic-qt/dtschump-cimg-v.204_GH0.tar.gz) = 1663e1710f50b412bcaeeaf59725723d042b63242eaee8503e5cd13e28976dd3
+SIZE (KDE/gmic-qt/dtschump-cimg-v.204_GH0.tar.gz) = 11028464
Index: head/graphics/gmic-qt/files/patch-CMakeLists.txt
===================================================================
--- head/graphics/gmic-qt/files/patch-CMakeLists.txt
+++ head/graphics/gmic-qt/files/patch-CMakeLists.txt
@@ -0,0 +1,27 @@
+--- CMakeLists.txt.orig 2017-09-18 13:15:50 UTC
++++ CMakeLists.txt
+@@ -139,9 +139,10 @@ if (UNIX AND NOT APPLE)
+ add_definitions(-D_IS_LINUX_)
+ add_definitions(-Dcimg_use_vt100)
+ add_definitions(-D_IS_UNIX_)
++ find_package(X11)
+ set(gmic_qt_LIBRARIES
+ ${gmic_qt_LIBRARIES}
+- X11 # XXX: Search for X11: Wayland is coming!
++ ${X11_LIBRARIES} # XXX: Search for X11: Wayland is coming!
+ )
+
+ endif()
+@@ -162,6 +163,12 @@ if (WIN32)
+ pthread psapi gdi32
+ )
+ endif()
++
++find_package(Threads)
++set(gmic_qt_LIBRARIES
++ ${gmic_qt_LIBRARIES}
++ Threads::Threads
++)
+
+ if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Release")
Index: head/graphics/gmic-qt/pkg-descr
===================================================================
--- head/graphics/gmic-qt/pkg-descr
+++ head/graphics/gmic-qt/pkg-descr
@@ -0,0 +1,4 @@
+G'MIC-Qt is a versatile front-end to the image processing framework G'MIC.
+It is in fact a plugin for GIMP, as well as a standalone application.
+
+WWW: https://github.com/c-koi/gmic-qt
Index: head/graphics/gmic-qt/pkg-plist
===================================================================
--- head/graphics/gmic-qt/pkg-plist
+++ head/graphics/gmic-qt/pkg-plist
@@ -0,0 +1,14 @@
+bin/gmic_krita_qt
+%%DATADIR%%/translations/cs.qm
+%%DATADIR%%/translations/de.qm
+%%DATADIR%%/translations/es.qm
+%%DATADIR%%/translations/fr.qm
+%%DATADIR%%/translations/id.qm
+%%DATADIR%%/translations/it.qm
+%%DATADIR%%/translations/ja.qm
+%%DATADIR%%/translations/nl.qm
+%%DATADIR%%/translations/pl.qm
+%%DATADIR%%/translations/pt.qm
+%%DATADIR%%/translations/ru.qm
+%%DATADIR%%/translations/ua.qm
+%%DATADIR%%/translations/zh.qm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 4:13 AM (3 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30014820
Default Alt Text
D12549.id34431.diff (4 KB)
Attached To
Mode
D12549: New port: graphics/gmic-qt
Attached
Detach File
Event Timeline
Log In to Comment