ports/122392: [PATCH] graphics/gqview Fix desktop entry

Martin Tournoij carpetsmoker at xs4all.nl
Wed Apr 2 23:50:02 UTC 2008


>Number:         122392
>Category:       ports
>Synopsis:       [PATCH] graphics/gqview Fix desktop entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 02 23:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD phong.rwxrwxrwx.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Mar 21 20:18:47 CET 2008     carpetsmoker at phong.rwxrwxrwx.net:/usr/obj/usr/src/sys/PHONG  i386

>Description:
This patch removes the -f flag from the desktop entry, which seems to
cause problems, see:
http://www.freebsdforums.org/forums/showthread.php?t=57531

I would submit this to the gqview devs, but the project has been
inactive for 2 years and the sole author/maintainer is MIA.

>How-To-Repeat:

>Fix:

--- gqview.diff begins here ---
diff -urN --exclude CVS --exclude PBI /ports/graphics/gqview/Makefile gqview/Makefile
--- /ports/graphics/gqview/Makefile	2007-11-04 03:37:19.000000000 +0100
+++ gqview/Makefile	2008-04-03 01:37:28.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	gqview
 PORTVERSION=	2.0.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -44,6 +44,8 @@
 	@${REINPLACE_CMD} -e \
 		's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \
 		${WRKSRC}/doc/Makefile.in
+	@${REINPLACE_CMD} -e 's| -r %F||' \
+		${WRKSRC}/gqview.desktop
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
--- gqview.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list