Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 18:21:17 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340330 - head/x11/xterm
Message-ID:  <201401191821.s0JILHpm036339@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Jan 19 18:21:17 2014
New Revision: 340330
URL: http://svnweb.freebsd.org/changeset/ports/340330
QAT: https://qat.redports.org/buildarchive/r340330/

Log:
  Simplify desktop-file-utils usage.
  
  Submitted by:	bapt

Modified:
  head/x11/xterm/Makefile
  head/x11/xterm/pkg-plist

Modified: head/x11/xterm/Makefile
==============================================================================
--- head/x11/xterm/Makefile	Sun Jan 19 18:17:54 2014	(r340329)
+++ head/x11/xterm/Makefile	Sun Jan 19 18:21:17 2014	(r340330)
@@ -15,8 +15,8 @@ COMMENT=	Terminal emulator for the X Win
 
 CONFLICTS=	x11iraf-[0-9]*
 
+USES=		desktop-file-utils
 USE_XORG=	xaw xft
-WANT_GNOME=	desktopfileutils
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib"
@@ -26,7 +26,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 
 ICONVERSION=	1
 
-OPTIONS_DEFINE=	WCHAR LUIT DECTERM PCRE GNOME DABBREV 256COLOR SIXEL
+OPTIONS_DEFINE=	WCHAR LUIT DECTERM PCRE DABBREV 256COLOR SIXEL
 
 DABBREV_DESC=	Enable support for dabbrev-expand
 DECTERM_DESC=	Enable DECterm Locator support
@@ -46,7 +46,6 @@ PCRE_CONFIGURE_WITH=	pcre
 PCRE_LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 DABBREV_CONFIGURE_ENABLE=	dabbrev
 SIXEL_CONFIGURE_ENABLE=	sixel-graphics
-GNOME_USES=	desktop-file-utils
 
 .include <bsd.port.options.mk>
 

Modified: head/x11/xterm/pkg-plist
==============================================================================
--- head/x11/xterm/pkg-plist	Sun Jan 19 18:17:54 2014	(r340329)
+++ head/x11/xterm/pkg-plist	Sun Jan 19 18:21:17 2014	(r340330)
@@ -21,3 +21,5 @@ share/pixmaps/xterm-color_32x32.xpm
 share/pixmaps/xterm-color_48x48.xpm
 share/pixmaps/xterm_32x32.xpm
 share/pixmaps/xterm_48x48.xpm
+%%GNOME%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+%%GNOME%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



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