Date: Sun, 2 Jun 2013 21:49:56 GMT From: Beņat Gonzalez Etxepare <bbtruk@users.sourceforge.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179231: [MAINTAINER PATCH] x11-fm/doublecmd: fixes in desktop file Message-ID: <201306022149.r52Lnu4p039167@oldred.freebsd.org> Resent-Message-ID: <201306022200.r52M00qL047555@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179231 >Category: ports >Synopsis: [MAINTAINER PATCH] x11-fm/doublecmd: fixes in desktop file >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: Sun Jun 02 22:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Beņat Gonzalez Etxepare >Release: >Organization: >Environment: >Description: Changes: - Fixed desktop file's paths (reported by Scott Sealy) - Fixed 'update-desktop-database not found' error - Added license information Patch tested in RedPorts (rev. 12867): http://redports.org/buildarchive/20130602114553-17031/ http://redports.org/buildarchive/20130602151917-89947/ (all errors because of dependencies) >How-To-Repeat: >Fix: Patch attached with submission follows: --- /usr/ports/x11-fm/doublecmd/Makefile 2013-03-23 07:09:53.000000000 +0100 +++ ./Makefile 2013-06-02 13:18:56.000000000 +0200 @@ -3,7 +3,7 @@ PORTNAME= doublecmd PORTVERSION= 0.5.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME}/Double%20Commander%20Source @@ -13,6 +13,8 @@ MAINTAINER= bbtruk@users.sourceforge.net COMMENT= Total Commander like file manager for the X Window System +LICENSE= GPLv2 + BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \ fpcres:${PORTSDIR}/lang/fpc-utils @@ -45,7 +47,7 @@ .if ${PORT_OPTIONS:MGTK2} USE_FPC+= gtk2 -USE_GNOME= gtk20 gdkpixbuf +USE_GNOME+= gtk20 gdkpixbuf LCL_PLATFORM= gtk2 BUILD_DEPENDS+= ${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2 .endif @@ -66,6 +68,8 @@ @${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/src/dmhelpmanager.pas @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/src/uGlobsPaths.pas + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ + ${WRKSRC}/install/linux/doublecmd.desktop @${REINPLACE_CMD} -e 's|.GetSize|.Size|g' ${WRKSRC}/src/platform/uClipboard.pas @${REINPLACE_CMD} -e '176d' ${WRKSRC}/src/uxmlconfig.pas @@ -81,7 +85,7 @@ pre-install: @${RM} -f ${PLIST} -.for FILE in %%DATADIR%%/doublecmd.ext.example \ +.for FILE in %%DATADIR%%/doublecmd.png %%DATADIR%%/doublecmd.ext.example \ %%DATADIR%%/editor.col %%DATADIR%%/twilight.col %%DATADIR%%/pixmaps.txt \ %%DATADIR%%/default.bar %%DATADIR%%/multiarc.ini bin/doublecmd \ share/applications/doublecmd.desktop @@ -129,7 +133,7 @@ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; .endif -.for FILE in doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini +.for FILE in doublecmd.png doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/doublecmd ${PREFIX}/bin/${PORTNAME} diff -ruN /usr/ports/x11-fm/doublecmd/files/patch-install-linux-doublecmd.desktop ./files/patch-install-linux-doublecmd.desktop --- /usr/ports/x11-fm/doublecmd/files/patch-install-linux-doublecmd.desktop 1970-01-01 01:00:00.000000000 +0100 +++ ./files/patch-install-linux-doublecmd.desktop 2013-06-02 13:15:57.000000000 +0200 @@ -0,0 +1,13 @@ +--- install/linux/doublecmd.desktop 2010-06-13 10:24:46.000000000 +0200 ++++ install/linux/doublecmd.desktop 2013-06-02 01:02:42.000000000 +0200 +@@ -1,8 +1,8 @@ + [Desktop Entry] + Name=Double Commander + Comment=Double Commander is a cross platform open source file manager with two panels side by side. +-Exec=/usr/bin/doublecmd ++Exec=%%PREFIX%%/bin/doublecmd + Terminal=false + Type=Application +-Icon=/usr/share/pixmaps/doublecmd.png ++Icon=%%DATADIR%%/doublecmd.png + Categories=Application;Utility;FileManager; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306022149.r52Lnu4p039167>