Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2018 13:11:49 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478789 - in head/graphics/gcolor3: . files
Message-ID:  <201809021311.w82DBnna086482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Sep  2 13:11:49 2018
New Revision: 478789
URL: https://svnweb.freebsd.org/changeset/ports/478789

Log:
  graphics/gcolor3: Update to 2.3
  
  - Remove NLS option.  There is no support for it in the build script anymore
  
  Changes:	https://github.com/Hjdskes/gcolor3/releases/tag/v2.3

Added:
  head/graphics/gcolor3/files/
  head/graphics/gcolor3/files/patch-src_gcolor3-color-row.c   (contents, props changed)
  head/graphics/gcolor3/files/patch-src_gcolor3-color-selection.c   (contents, props changed)
Modified:
  head/graphics/gcolor3/Makefile
  head/graphics/gcolor3/distinfo
  head/graphics/gcolor3/pkg-plist

Modified: head/graphics/gcolor3/Makefile
==============================================================================
--- head/graphics/gcolor3/Makefile	Sun Sep  2 11:42:21 2018	(r478788)
+++ head/graphics/gcolor3/Makefile	Sun Sep  2 13:11:49 2018	(r478789)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	gcolor3
-PORTVERSION=	2.2
 DISTVERSIONPREFIX=	v
+DISTVERSION=	2.3
 CATEGORIES=	graphics
 
 MAINTAINER=	tobik@FreeBSD.org
@@ -13,17 +13,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_powerpc64=	fails to compile: main.c: In function '_print_version_and_exit': will never be executed
 
-USES=		autoreconf gmake gettext libtool pkgconfig
-USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
-GNU_CONFIGURE=	yes
-INSTALLS_ICONS=	yes
-
+USES=		gnome gettext meson libtool pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	Hjdskes
-
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
-
-NLS_CONFIGURE_ENABLE=	nls
+USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
+INSTALLS_ICONS=	yes
 
 .include <bsd.port.mk>

Modified: head/graphics/gcolor3/distinfo
==============================================================================
--- head/graphics/gcolor3/distinfo	Sun Sep  2 11:42:21 2018	(r478788)
+++ head/graphics/gcolor3/distinfo	Sun Sep  2 13:11:49 2018	(r478789)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1493043434
-SHA256 (Hjdskes-gcolor3-v2.2_GH0.tar.gz) = a3f67108ef7524b424b774b4b68332e45371703f61d659ce7ca1da47c7fb5590
-SIZE (Hjdskes-gcolor3-v2.2_GH0.tar.gz) = 37947
+TIMESTAMP = 1535877677
+SHA256 (Hjdskes-gcolor3-v2.3_GH0.tar.gz) = 37d668a0dae32a1031a150d680be2c51efce45f5ac3c11fb6c1166449da21ea0
+SIZE (Hjdskes-gcolor3-v2.3_GH0.tar.gz) = 135462

Added: head/graphics/gcolor3/files/patch-src_gcolor3-color-row.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gcolor3/files/patch-src_gcolor3-color-row.c	Sun Sep  2 13:11:49 2018	(r478789)
@@ -0,0 +1,17 @@
+https://github.com/Hjdskes/gcolor3/commit/9130ffeff091fbafff6a0c8f06b09f54657d5dfd
+
+../src/gcolor3-color-row.c:88:6: error: implicit conversion from enumeration type 'GtkStateType' to different enumeration type 'GtkStateFlags' [-Werror,-Wenum-conversion]
+                                        GTK_STATE_NORMAL,
+                                        ^~~~~~~~~~~~~~~~
+
+--- src/gcolor3-color-row.c.orig	2018-09-02 12:20:53 UTC
++++ src/gcolor3-color-row.c
+@@ -85,7 +85,7 @@ set_color_thumbnail (Gcolor3ColorRow *row)
+ 	gtk_style_context_save (style_context);
+ 	gtk_style_context_get_property (style_context,
+ 					GTK_STYLE_PROPERTY_BORDER_RADIUS,
+-					GTK_STATE_NORMAL,
++					GTK_STATE_FLAG_NORMAL,
+ 					&border_radius);
+ 	gtk_style_context_restore (style_context);
+ 

Added: head/graphics/gcolor3/files/patch-src_gcolor3-color-selection.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gcolor3/files/patch-src_gcolor3-color-selection.c	Sun Sep  2 13:11:49 2018	(r478789)
@@ -0,0 +1,15 @@
+https://github.com/Hjdskes/gcolor3/commit/8d89081a8e13749f5a9051821114bc5fe814eaf3
+
+--- src/gcolor3-color-selection.c.orig	2018-09-02 12:48:50 UTC
++++ src/gcolor3-color-selection.c
+@@ -36,7 +36,10 @@
+ 
+ #include <math.h>
+ #include <string.h>
++#include <gdk/gdk.h>
++#ifdef GDK_WINDOWING_WAYLAND
+ #include <gdk/gdkwayland.h>
++#endif
+ #include <gtk/gtk.h>
+ #include <glib/gi18n.h>
+ 

Modified: head/graphics/gcolor3/pkg-plist
==============================================================================
--- head/graphics/gcolor3/pkg-plist	Sun Sep  2 11:42:21 2018	(r478788)
+++ head/graphics/gcolor3/pkg-plist	Sun Sep  2 13:11:49 2018	(r478789)
@@ -1,11 +1,10 @@
 bin/gcolor3
-share/appdata/gcolor3.appdata.xml
-share/applications/gcolor3.desktop
-share/icons/hicolor/scalable/apps/gcolor3.svg
-%%NLS%%share/locale/de_DE/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/en_GB/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/sr/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/Gcolor3.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/Gcolor3.mo
+man/man1/gcolor3.1.gz
+share/applications/nl.hjdskes.gcolor3.desktop
+share/icons/hicolor/scalable/apps/nl.hjdskes.gcolor3.svg
+share/locale/de_DE/LC_MESSAGES/gcolor3.mo
+share/locale/en_GB/LC_MESSAGES/gcolor3.mo
+share/locale/nl/LC_MESSAGES/gcolor3.mo
+share/locale/ru/LC_MESSAGES/gcolor3.mo
+share/locale/sr/LC_MESSAGES/gcolor3.mo
+share/metainfo/nl.hjdskes.gcolor3.appdata.xml



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