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

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

>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@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:
 



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