Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2020 10:23:59 +0000 (UTC)
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540025 - in head/graphics/kimageannotator: . files
Message-ID:  <202006241023.05OANx5w012721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adridg
Date: Wed Jun 24 10:23:59 2020
New Revision: 540025
URL: https://svnweb.freebsd.org/changeset/ports/540025

Log:
  Update graphics/kimageannotator to latest upstream release
  
  Now with translations. While here, polish the COMMENT and description
  a bit, to stress that this is also "just a library", not a complete tool.

Modified:
  head/graphics/kimageannotator/Makefile
  head/graphics/kimageannotator/distinfo
  head/graphics/kimageannotator/files/patch-CMakeLists.txt
  head/graphics/kimageannotator/pkg-descr
  head/graphics/kimageannotator/pkg-plist

Modified: head/graphics/kimageannotator/Makefile
==============================================================================
--- head/graphics/kimageannotator/Makefile	Wed Jun 24 10:23:53 2020	(r540024)
+++ head/graphics/kimageannotator/Makefile	Wed Jun 24 10:23:59 2020	(r540025)
@@ -2,11 +2,11 @@
 
 PORTNAME=	kImageAnnotator
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.1
+DISTVERSION=	0.3.0
 CATEGORIES=	graphics kde
 
 MAINTAINER=	kde@FreeBSD.org
-COMMENT=	Tool for annotating images
+COMMENT=	Library for image-annotation tools
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -16,8 +16,8 @@ LIB_DEPENDS=	libkColorPicker.so:graphics/kcolorpicker
 USES=		cmake localbase compiler:c++11-lang qt:5
 USE_GITHUB=	yes
 GH_ACCOUNT=	ksnip
-USE_QT=		core \
-		buildtools_build qmake_build
+USE_QT=		core svg \
+		buildtools_build linguisttools_build qmake_build
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BUILD_EXAMPLE

Modified: head/graphics/kimageannotator/distinfo
==============================================================================
--- head/graphics/kimageannotator/distinfo	Wed Jun 24 10:23:53 2020	(r540024)
+++ head/graphics/kimageannotator/distinfo	Wed Jun 24 10:23:59 2020	(r540025)
@@ -1,5 +1,3 @@
-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
+TIMESTAMP = 1592991794
+SHA256 (ksnip-kImageAnnotator-v0.3.0_GH0.tar.gz) = d7818246b4278402a7acd7d0675c84a64e91284c134a88605c58bec2a36d0a26
+SIZE (ksnip-kImageAnnotator-v0.3.0_GH0.tar.gz) = 128019

Modified: head/graphics/kimageannotator/files/patch-CMakeLists.txt
==============================================================================
--- head/graphics/kimageannotator/files/patch-CMakeLists.txt	Wed Jun 24 10:23:53 2020	(r540024)
+++ head/graphics/kimageannotator/files/patch-CMakeLists.txt	Wed Jun 24 10:23:59 2020	(r540025)
@@ -1,19 +1,30 @@
-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.orig	2020-06-24 09:59:32 UTC
 +++ CMakeLists.txt
-@@ -55,10 +55,10 @@ target_include_directories(kImageAnnotator
- 						   $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- 						   )
+@@ -8,6 +8,9 @@ set(CMAKE_CXX_EXTENSIONS OFF)
+ set(CMAKE_AUTOMOC ON)
+ set(CMAKE_AUTORCC ON)
  
-+target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets PRIVATE kColorPicker::kColorPicker)
++include(GNUInstallDirs)
++include(FeatureSummary)
 +
+ option(BUILD_TESTS "Build Unit Tests" OFF)
+ option(BUILD_EXAMPLE "Build Example Application" ON)
+ 
+@@ -27,9 +30,6 @@ if (UNIX)
+ 	find_package(X11 REQUIRED)
+ endif ()
+ 
+-include(GNUInstallDirs)
+-include(FeatureSummary)
+-
+ set(KCOLORPICKER_MIN_VERSION "0.1.4")
+ find_package(kColorPicker ${KCOLORPICKER_MIN_VERSION} REQUIRED)
+ 
+@@ -69,7 +69,7 @@ target_include_directories(kImageAnnotator
+ target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets Qt5::Svg 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)
 +	target_link_libraries(kImageAnnotator PRIVATE X11::X11)
  endif ()
  

Modified: head/graphics/kimageannotator/pkg-descr
==============================================================================
--- head/graphics/kimageannotator/pkg-descr	Wed Jun 24 10:23:53 2020	(r540024)
+++ head/graphics/kimageannotator/pkg-descr	Wed Jun 24 10:23:59 2020	(r540025)
@@ -1,3 +1,3 @@
-Tool for annotating images
+Library for image-annotation tools.
 
 WWW: https://github.com/ksnip/kImageAnnotator

Modified: head/graphics/kimageannotator/pkg-plist
==============================================================================
--- head/graphics/kimageannotator/pkg-plist	Wed Jun 24 10:23:53 2020	(r540024)
+++ head/graphics/kimageannotator/pkg-plist	Wed Jun 24 10:23:59 2020	(r540025)
@@ -5,4 +5,26 @@ lib/cmake/kImageAnnotator/kImageAnnotator-targets.cmak
 lib/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake
 lib/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake
 lib/libkImageAnnotator.so
-lib/libkImageAnnotator.so.0.2.1
+lib/libkImageAnnotator.so.0.3.0
+%%DATADIR%%/translations/kImageAnnotator_cs.qm
+%%DATADIR%%/translations/kImageAnnotator_da.qm
+%%DATADIR%%/translations/kImageAnnotator_de.qm
+%%DATADIR%%/translations/kImageAnnotator_el.qm
+%%DATADIR%%/translations/kImageAnnotator_es.qm
+%%DATADIR%%/translations/kImageAnnotator_eu.qm
+%%DATADIR%%/translations/kImageAnnotator_fr.qm
+%%DATADIR%%/translations/kImageAnnotator_fr_CA.qm
+%%DATADIR%%/translations/kImageAnnotator_gl.qm
+%%DATADIR%%/translations/kImageAnnotator_hu.qm
+%%DATADIR%%/translations/kImageAnnotator_id.qm
+%%DATADIR%%/translations/kImageAnnotator_it.qm
+%%DATADIR%%/translations/kImageAnnotator_ja.qm
+%%DATADIR%%/translations/kImageAnnotator_nl.qm
+%%DATADIR%%/translations/kImageAnnotator_no.qm
+%%DATADIR%%/translations/kImageAnnotator_pl.qm
+%%DATADIR%%/translations/kImageAnnotator_pt.qm
+%%DATADIR%%/translations/kImageAnnotator_ru.qm
+%%DATADIR%%/translations/kImageAnnotator_sv.qm
+%%DATADIR%%/translations/kImageAnnotator_tr.qm
+%%DATADIR%%/translations/kImageAnnotator_uk.qm
+%%DATADIR%%/translations/kImageAnnotator_zh_Hans.qm



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