git: 95e667c0f59c - main - graphics/ufraw: remove GNOME option

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 08 Jun 2022 20:34:49 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95e667c0f59c3ea31a3951083d90abe8529b9c9e

commit 95e667c0f59c3ea31a3951083d90abe8529b9c9e
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-06-08 20:33:34 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-06-08 20:34:44 +0000

    graphics/ufraw: remove GNOME option
    
    gnome option only served the purpose to instal mime data including
    gconf information only useful for gnome2 which is gone.
    
    The mime data information are anyway installed by shared-mime-info
    making this option completly unuseful
---
 graphics/ufraw/Makefile  | 9 +++------
 graphics/ufraw/pkg-plist | 1 -
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile
index 7c7b07064b96..7445697b08cb 100644
--- a/graphics/ufraw/Makefile
+++ b/graphics/ufraw/Makefile
@@ -26,14 +26,15 @@ USE_GNOME+=	cairo gdkpixbuf2 glib20 gtk20
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-extras \
-		--enable-jasper
+		--enable-jasper \
+		--disable-mime
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 CONFLICTS_INSTALL=	dcraw
 
-OPTIONS_DEFINE=		CONTRAST DST EXIV2 FITS GIMP GNOME GTK2 LENSFUN
+OPTIONS_DEFINE=		CONTRAST DST EXIV2 FITS GIMP GTK2 LENSFUN
 OPTIONS_DEFAULT=	CONTRAST EXIV2 GTK2 LENSFUN
 OPTIONS_SUB=		yes
 
@@ -53,10 +54,6 @@ GIMP_LIB_DEPENDS=		libbabl-0.1.so:x11/babl \
 				libgimp-2.0.so:graphics/gimp-app \
 				libjson-glib-1.0.so:devel/json-glib
 GIMP_CONFIGURE_WITH=		gimp
-GNOME_USE=			GNOME=gconf2
-GNOME_CONFIGURE_ENABLE=		mime
-GNOME_VARS=			CATEGORIES+=gnome \
-				GCONF_SCHEMAS=${PORTNAME}.schemas
 GTK2_LIB_DEPENDS=		libgtkimageview.so:x11-toolkits/gtkimageview
 GTK2_CONFIGURE_WITH=		gtk
 LENSFUN_LIB_DEPENDS=		liblensfun.so:graphics/lensfun
diff --git a/graphics/ufraw/pkg-plist b/graphics/ufraw/pkg-plist
index 78e54e7b3e22..ec092150b1d4 100644
--- a/graphics/ufraw/pkg-plist
+++ b/graphics/ufraw/pkg-plist
@@ -4,7 +4,6 @@ bin/nikon-curve
 bin/ufraw-batch
 %%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
 man/man1/ufraw.1.gz
-%%GNOME%%share/appdata/ufraw.appdata.xml
 share/applications/ufraw.desktop
 share/locale/ca/LC_MESSAGES/ufraw.mo
 share/locale/cs/LC_MESSAGES/ufraw.mo