Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2011 21:30:06 GMT
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155323: [patch] graphics/epdfview: missing icon in .desktop
Message-ID:  <201103062130.p26LU6Pe047185@red.freebsd.org>
Resent-Message-ID: <201103062140.p26LeCQa095364@freefall.freebsd.org>

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

>Number:         155323
>Category:       ports
>Synopsis:       [patch] graphics/epdfview: missing icon in .desktop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 06 21:40:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD Groseille.malikania.fr 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Sun Mar  6 16:16:03 CET 2011     root@Groseille.malikania.fr:/usr/obj/usr/src/sys/Groseille  amd64

>Description:
The graphics/epdfview install a .desktop entry to be shown in the menu. But it request a icon_epdfview-48 which should live in /usr/local/share/applications but this icon is located in /usr/local/share/epdfview/pixmaps/

I prefere the way to modify the .desktop file instead of copying the icon into /usr/local/share/pixmaps
>How-To-Repeat:

>Fix:
--- epdfview.diff begins here ---
--- Makefile.orig	2011-03-06 22:18:31.000000000 +0100
+++ Makefile	2011-03-06 22:25:50.000000000 +0100
@@ -51,6 +51,7 @@
 .endif
 
 post-install:
+	${REINPLACE_CMD} -e 's,Icon.*,Icon=${DATADIR}/pixmaps/icon_epdfview-48.png,' ${WRKSRC}/data/${PORTNAME}.desktop
 	${MKDIR} ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/
 	@-update-desktop-database
--- epdfview.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?201103062130.p26LU6Pe047185>