Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 01:11:36 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177010: [MAINTAINER] games/asteroid: Adjusted dependencies for Desktop files, added desktopfileutils
Message-ID:  <20130316001140.5DA84D6D@hub.freebsd.org>
Resent-Message-ID: <201303160020.r2G0K0V5071893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177010
>Category:       ports
>Synopsis:       [MAINTAINER] games/asteroid: Adjusted dependencies for Desktop files, added desktopfileutils
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 16 00:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Makefile changed:
-USE_GNOME=	gtk20
+USE_GNOME=	desktopfileutils gtk20 <-- needed for @-update-desktop-database -q

adde in pkg-plist
+@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true


Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- asteroid-1.2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/asteroid/Makefile ./Makefile
--- /usr/ports/games/asteroid/Makefile	2013-02-19 23:46:57.000000000 +0100
+++ ./Makefile	2013-03-16 00:57:36.000000000 +0100
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD: head/games/asteroid/Makefile 312567 2013-02-19 14:27:07Z miwi $
 
 PORTNAME=	asteroid
@@ -18,7 +18,7 @@
 
 USE_GL=		glut
 USE_SDL=	mixer sdl
-USE_GNOME=	gtk20
+USE_GNOME=	desktopfileutils gtk20
 USE_XORG=	xmu
 INSTALLS_ICONS=	yes
 USE_CMAKE=	yes
diff -ruN --exclude=CVS /usr/ports/games/asteroid/pkg-plist ./pkg-plist
--- /usr/ports/games/asteroid/pkg-plist	2013-02-19 23:46:57.000000000 +0100
+++ ./pkg-plist	2013-03-16 00:12:05.000000000 +0100
@@ -18,3 +18,5 @@
 @dirrm %%DATADIR%%/gfx
 @dirrm %%DATADIR%%
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
--- asteroid-1.2.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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