Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 15:23:02 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531856 - in head/graphics: . kcolorpicker kimageannotator kimageannotator/files
Message-ID:  <202004161523.03GFN2ki012905@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Thu Apr 16 15:23:01 2020
New Revision: 531856
URL: https://svnweb.freebsd.org/changeset/ports/531856

Log:
  New Port: graphics/kimageannotator and graphics/kcolorpicker
  
  This is a future dependency for graphics/spectacle.

Added:
  head/graphics/kcolorpicker/
  head/graphics/kcolorpicker/Makefile   (contents, props changed)
  head/graphics/kcolorpicker/distinfo   (contents, props changed)
  head/graphics/kcolorpicker/pkg-descr   (contents, props changed)
  head/graphics/kcolorpicker/pkg-plist   (contents, props changed)
  head/graphics/kimageannotator/
  head/graphics/kimageannotator/Makefile   (contents, props changed)
  head/graphics/kimageannotator/distinfo   (contents, props changed)
  head/graphics/kimageannotator/files/
  head/graphics/kimageannotator/files/patch-CMakeLists.txt   (contents, props changed)
  head/graphics/kimageannotator/pkg-descr   (contents, props changed)
  head/graphics/kimageannotator/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Thu Apr 16 15:16:28 2020	(r531855)
+++ head/graphics/Makefile	Thu Apr 16 15:23:01 2020	(r531856)
@@ -380,6 +380,7 @@
     SUBDIR += kamera
     SUBDIR += kamerka
     SUBDIR += kcolorchooser
+    SUBDIR += kcolorpicker
     SUBDIR += kdegraphics
     SUBDIR += kdegraphics-mobipocket
     SUBDIR += kdegraphics-svgpart
@@ -390,6 +391,7 @@
     SUBDIR += kf5-kquickcharts
     SUBDIR += kf5-prison
     SUBDIR += kgraphviewer
+    SUBDIR += kimageannotator
     SUBDIR += kimagemapeditor
     SUBDIR += kipi-plugins
     SUBDIR += kix-kmod

Added: head/graphics/kcolorpicker/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kcolorpicker/Makefile	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	kColorPicker
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.1
+CATEGORIES=	graphics kde
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Qt based Color Picker with popup menu
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake qt:5
+USE_GITHUB=	yes
+GH_ACCOUNT=	ksnip
+USE_QT=		core testlib widgets \
+		buildtools_build qmake_build
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+.include <bsd.port.mk>

Added: head/graphics/kcolorpicker/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kcolorpicker/distinfo	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587039013
+SHA256 (ksnip-kColorPicker-v0.1.1_GH0.tar.gz) = 3abecbe2268affee0e725f6a5bd03a249265dcd1d6c535e9f2ba2aa5cc00ac36
+SIZE (ksnip-kColorPicker-v0.1.1_GH0.tar.gz) = 15526

Added: head/graphics/kcolorpicker/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kcolorpicker/pkg-descr	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,5 @@
+QToolButton with color popup menu with lets you select a color. The popup
+features a color dialog button which can be used to add custom colors to the
+popup menu.
+
+WWW: https://github.com/ksnip/kColorPicker

Added: head/graphics/kcolorpicker/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kcolorpicker/pkg-plist	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,8 @@
+include/kColorPicker/KColorPicker.h
+include/kColorPicker/KColorPickerExport.h
+lib/cmake/kColorPicker/kColorPicker-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/kColorPicker/kColorPicker-targets.cmake
+lib/cmake/kColorPicker/kColorPickerConfig-version.cmake
+lib/cmake/kColorPicker/kColorPickerConfig.cmake
+lib/libkColorPicker.so
+lib/libkColorPicker.so.0.1.1

Added: head/graphics/kimageannotator/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kimageannotator/Makefile	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	kImageAnnotator
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1
+CATEGORIES=	graphics kde
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Tool for annotating images
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libkColorPicker.so:graphics/kcolorpicker
+
+USES=		cmake localbase qt:5
+USE_GITHUB=	yes
+GH_ACCOUNT=	ksnip
+USE_QT=		core \
+		buildtools_build qmake_build
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	BUILD_EXAMPLE
+
+.include <bsd.port.mk>

Added: head/graphics/kimageannotator/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kimageannotator/distinfo	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1587049005
+SHA256 (ksnip-kImageAnnotator-v0.2.1_GH0.tar.gz) = 790c4302d56719cf6a05eaf10b2d2baef760fffa29c1a43d0642822526520aed
+SIZE (ksnip-kImageAnnotator-v0.2.1_GH0.tar.gz) = 107027
+SHA256 (643e15e45ef7474f6f4c4b01ee3c3f71ef82f022.patch) = 19a9980f78dffb1bc359791d7797685a21f117d57587b098caaab82e2de3e3cd
+SIZE (643e15e45ef7474f6f4c4b01ee3c3f71ef82f022.patch) = 1137

Added: head/graphics/kimageannotator/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kimageannotator/files/patch-CMakeLists.txt	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,20 @@
+Obtained from [1] with minor adaption to fix linking against X11
+
+[1] https://github.com/ksnip/kImageAnnotator/pull/85
+
+--- CMakeLists.txt.orig	2020-02-21 21:51:32 UTC
++++ CMakeLists.txt
+@@ -55,10 +55,10 @@ target_include_directories(kImageAnnotator
+ 						   $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ 						   )
+ 
++target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets PRIVATE kColorPicker::kColorPicker)
++
+ if (UNIX)
+-	target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets kColorPicker X11)
+-else ()
+-	target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets kColorPicker)
++	target_link_libraries(kImageAnnotator PRIVATE X11::X11)
+ endif ()
+ 
+ target_compile_definitions(kImageAnnotator PRIVATE KIMAGEANNOTATOR_LIB)

Added: head/graphics/kimageannotator/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kimageannotator/pkg-descr	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,3 @@
+Tool for annotating images
+
+WWW: https://github.com/ksnip/kImageAnnotator

Added: head/graphics/kimageannotator/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/kimageannotator/pkg-plist	Thu Apr 16 15:23:01 2020	(r531856)
@@ -0,0 +1,8 @@
+include/kImageAnnotator/KImageAnnotator.h
+include/kImageAnnotator/KImageAnnotatorExport.h
+lib/cmake/kImageAnnotator/kImageAnnotator-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/kImageAnnotator/kImageAnnotator-targets.cmake
+lib/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake
+lib/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake
+lib/libkImageAnnotator.so
+lib/libkImageAnnotator.so.0.2.1



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