1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

graphics/gcolor3: Update to 2.3.1

- Update WWW and move to new home on GNOME's Gitlab
- Drop upstreamed patches

Changes:	https://gitlab.gnome.org/World/gcolor3/tags/v2.3.1
This commit is contained in:
Tobias Kortkamp 2018-10-20 09:17:28 +00:00
parent f0fdfc46ba
commit 53f62e82b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482475
6 changed files with 10 additions and 40 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= gcolor3
DISTVERSIONPREFIX= v
DISTVERSION= 2.3
DISTVERSION= 2.3.1
CATEGORIES= graphics
MAINTAINER= tobik@FreeBSD.org
@ -14,8 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to compile: main.c: In function '_print_version_and_exit': will never be executed
USES= gnome gettext meson libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= Hjdskes
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_COMMIT= 17dca0125fc3c931418d8723b684332d35bd5715
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool
INSTALLS_ICONS= yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1535877677
SHA256 (Hjdskes-gcolor3-v2.3_GH0.tar.gz) = 37d668a0dae32a1031a150d680be2c51efce45f5ac3c11fb6c1166449da21ea0
SIZE (Hjdskes-gcolor3-v2.3_GH0.tar.gz) = 135462
TIMESTAMP = 1540025149
SHA256 (World-gcolor3-17dca0125fc3c931418d8723b684332d35bd5715_GL0.tar.gz) = 880efe4ded8d5be97605ee461a69b8dced7c215e91acb63b6f2f6c26f611a6f3
SIZE (World-gcolor3-17dca0125fc3c931418d8723b684332d35bd5715_GL0.tar.gz) = 132277

View File

@ -1,17 +0,0 @@
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);

View File

@ -1,15 +0,0 @@
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>

View File

@ -6,4 +6,4 @@ When you have found the perfect combination of colors, naturally you
want to save them. Gcolor3 allows you to conveniently save and
retrieve colors.
WWW: https://hjdskes.github.io/projects/gcolor3/
WWW: https://www.hjdskes.nl/projects/gcolor3/

View File

@ -2,7 +2,7 @@ bin/gcolor3
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/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