Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 13:30:40 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559241 - in head/graphics/gimp-app: . files
Message-ID:  <202012251330.0BPDUe2Q041575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Fri Dec 25 13:30:40 2020
New Revision: 559241
URL: https://svnweb.freebsd.org/changeset/ports/559241

Log:
  Fix gimp startup due to missing gegl action 'gegl:introspect'.
  
  Details:
  - The fix applied to the OpenBSD source tree
    (https://github.com/openbsd/ports/commit/b3b872c09b35d84889a2d5e1945bf3a31642296f)
    resolves the problem on FreeBSD as well.
  
  Approved by:	fluffy

Added:
  head/graphics/gimp-app/files/patch-app_actions_debug-actions.c   (contents, props changed)
  head/graphics/gimp-app/files/patch-app_sanity.c   (contents, props changed)
Modified:
  head/graphics/gimp-app/Makefile

Modified: head/graphics/gimp-app/Makefile
==============================================================================
--- head/graphics/gimp-app/Makefile	Fri Dec 25 12:51:06 2020	(r559240)
+++ head/graphics/gimp-app/Makefile	Fri Dec 25 13:30:40 2020	(r559241)
@@ -3,7 +3,7 @@
 
 PORTNAME?=	gimp-app
 PORTVERSION=	2.10.20
-PORTREVISION=	12
+PORTREVISION=	13
 PORTEPOCH?=	1
 CATEGORIES?=	graphics gnome
 MASTER_SITES=	GIMP/gimp/v${PORTVERSION:R}

Added: head/graphics/gimp-app/files/patch-app_actions_debug-actions.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-app/files/patch-app_actions_debug-actions.c	Fri Dec 25 13:30:40 2020	(r559241)
@@ -0,0 +1,13 @@
+--- app/actions/debug-actions.c.orig	2019-10-26 18:49:18 UTC
++++ app/actions/debug-actions.c
+@@ -98,4 +98,10 @@ void
+ debug_actions_update (GimpActionGroup *group,
+                       gpointer         data)
+ {
++#define SET_SENSITIVE(action,condition) \
++        gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
++
++  SET_SENSITIVE ("debug-show-image-graph", gegl_has_operation ("gegl:introspect"));
++
++#undef SET_SENSITIVE
+ }

Added: head/graphics/gimp-app/files/patch-app_sanity.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-app/files/patch-app_sanity.c	Fri Dec 25 13:30:40 2020	(r559241)
@@ -0,0 +1,10 @@
+--- app/sanity.c.orig	2020-06-07 20:03:47 UTC
++++ app/sanity.c
+@@ -650,7 +650,6 @@ sanity_check_gegl_ops (void)
+     "gegl:hue-chroma",
+     "gegl:illusion",
+     "gegl:image-gradient",
+-    "gegl:introspect",
+     "gegl:invert-gamma",
+     "gegl:invert-linear",
+     "gegl:lens-blur",



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