Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2008 01:44:09 +0200 (CEST)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122391: [PATCH] graphics/gqview-devel Fix desktop entry
Message-ID:  <200804022344.m32Ni9dG001815@phong.rwxrwxrwx.net>
Resent-Message-ID: <200804022350.m32No1Ka012304@freefall.freebsd.org>

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

>Number:         122391
>Category:       ports
>Synopsis:       [PATCH] graphics/gqview-devel 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@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-devel.diff begins here ---
diff -urN --exclude CVS --exclude PBI /ports/graphics/gqview-devel/Makefile gqview-devel/Makefile
--- /ports/graphics/gqview-devel/Makefile	2007-11-04 03:37:19.000000000 +0100
+++ gqview-devel/Makefile	2008-04-03 01:37:37.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	gqview
 PORTVERSION=	2.1.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -33,6 +33,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:
 	${MKDIR} ${PREFIX}/share/gnome/apps/Graphics
--- gqview-devel.diff ends here ---

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



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