Re: UPDATE: graphics/ksnip

2021-02-15 Thread Omar Polo


Rafael Sadowski  writes:

> Update ksnip and dependency to the last version. This update drops a lot
> of upstreamed patches.
>
> Tests and feedback welcome.

Builds and works fine here.

Thanks for the update :)



UPDATE: graphics/ksnip

2021-02-14 Thread Rafael Sadowski
Update ksnip and dependency to the last version. This update drops a lot
of upstreamed patches.

Tests and feedback welcome.

RS

Index: graphics/kimageannotator/Makefile
===
RCS file: /cvs/ports/graphics/kimageannotator/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- graphics/kimageannotator/Makefile   28 Jan 2021 19:59:02 -  1.1.1.1
+++ graphics/kimageannotator/Makefile   15 Feb 2021 06:02:03 -
@@ -2,14 +2,14 @@
 
 COMMENT =  tool for annotating images
 
-V =0.4.0
+V =0.4.1
 PKGNAME =  kimageannotator-${V}
 
 GH_ACCOUNT =   ksnip
 GH_PROJECT =   kImageAnnotator
 GH_TAGNAME =   v${V}
 
-SHARED_LIBS =  kImageAnnotator 0.0 # 0.4.0
+SHARED_LIBS =  kImageAnnotator 1.0 # 0.4.1
 
 CATEGORIES =   graphics
 
Index: graphics/kimageannotator/distinfo
===
RCS file: /cvs/ports/graphics/kimageannotator/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- graphics/kimageannotator/distinfo   28 Jan 2021 19:59:02 -  1.1.1.1
+++ graphics/kimageannotator/distinfo   15 Feb 2021 06:02:03 -
@@ -1,2 +1,2 @@
-SHA256 (kImageAnnotator-0.4.0.tar.gz) = 
TOi5hT58Vc/9XrX+QsqJ6tVdtfQyvhtxXm8oBPfoKH0=
-SIZE (kImageAnnotator-0.4.0.tar.gz) = 164030
+SHA256 (kImageAnnotator-0.4.1.tar.gz) = 
ZOYvc3mgdB9nVRXlfCExHrvGVE2oyKADpaHsSWSQKsg=
+SIZE (kImageAnnotator-0.4.1.tar.gz) = 165976
Index: graphics/kimageannotator/pkg/PLIST
===
RCS file: /cvs/ports/graphics/kimageannotator/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- graphics/kimageannotator/pkg/PLIST  28 Jan 2021 19:59:02 -  1.1.1.1
+++ graphics/kimageannotator/pkg/PLIST  15 Feb 2021 06:02:03 -
@@ -27,6 +27,7 @@ share/kImageAnnotator/translations/kImag
 share/kImageAnnotator/translations/kImageAnnotator_no.qm
 share/kImageAnnotator/translations/kImageAnnotator_pl.qm
 share/kImageAnnotator/translations/kImageAnnotator_pt.qm
+share/kImageAnnotator/translations/kImageAnnotator_pt_BR.qm
 share/kImageAnnotator/translations/kImageAnnotator_ru.qm
 share/kImageAnnotator/translations/kImageAnnotator_sv.qm
 share/kImageAnnotator/translations/kImageAnnotator_tr.qm
Index: graphics/ksnip/Makefile
===
RCS file: /cvs/ports/graphics/ksnip/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- graphics/ksnip/Makefile 28 Jan 2021 20:00:19 -  1.1.1.1
+++ graphics/ksnip/Makefile 15 Feb 2021 06:02:03 -
@@ -4,7 +4,7 @@ COMMENT =   screenshot tool with annotatio
 
 GH_ACCOUNT =   ksnip
 GH_PROJECT =   ksnip
-GH_TAGNAME =   v1.8.0
+GH_TAGNAME =   v1.8.1
 
 CATEGORIES =   graphics
 
@@ -24,7 +24,7 @@ RUN_DEPENDS = devel/desktop-file-utils 
x11/gtk+3,-guic
 
 LIB_DEPENDS =  graphics/kcolorpicker \
-   graphics/kimageannotator \
+   graphics/kimageannotator>=0.4.1 \
x11/qt5/qtx11extras
 
 CONFIGURE_ARGS +=  -DCMAKE_CXX_FLAGS="-I${LOCALBASE}/include"
Index: graphics/ksnip/distinfo
===
RCS file: /cvs/ports/graphics/ksnip/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- graphics/ksnip/distinfo 28 Jan 2021 20:00:19 -  1.1.1.1
+++ graphics/ksnip/distinfo 15 Feb 2021 06:02:03 -
@@ -1,2 +1,2 @@
-SHA256 (ksnip-1.8.0.tar.gz) = JfhYklxpKGbtq9P8X0sgxVyzqmG4wMo5Gq+/gVOCcfE=
-SIZE (ksnip-1.8.0.tar.gz) = 427497
+SHA256 (ksnip-1.8.1.tar.gz) = GEJijMRE2DvBYXAoXjE7dAIZqi1KCtO2MKkabOo53lk=
+SIZE (ksnip-1.8.1.tar.gz) = 443044
Index: graphics/ksnip/patches/patch-src_CMakeLists_txt
===
RCS file: graphics/ksnip/patches/patch-src_CMakeLists_txt
diff -N graphics/ksnip/patches/patch-src_CMakeLists_txt
--- graphics/ksnip/patches/patch-src_CMakeLists_txt 28 Jan 2021 20:00:19 
-  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_CMakeLists_txt,v 1.1.1.1 2021/01/28 20:00:19 rsadowski Exp 
$
-
-backporting commit
-https://github.com/ksnip/ksnip/commit/aa3ef9087100574d1f32022eac2e6e46043afa5c
-
-Index: src/CMakeLists.txt
 src/CMakeLists.txt.orig
-+++ src/CMakeLists.txt
-@@ -197,6 +197,12 @@ elseif (UNIX)
-   XCB::XFIXES
- X11
- )
-+# This is the "UNIX AND NOT APPLE" case, which is the Free Desktop
-+# world: Linux and the BSDs and Illumos. To simplify #ifdefs in
-+# the source, add a UNIX_X11 defined to be used instead of __linux__ etc.
-+# While the "X11" part of the define isn't necessarily accurate,
-+# it is easy to spot.
-+target_compile_definitions(ksnip PRIVATE UNIX_X11)
- elseif(WIN32)
-   target_link_lib