Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2012 16:45:51 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163924: [PATCH] archivers/xarchiver, warning when delete desktop application
Message-ID:  <201201081645.q08GjpRc077035@red.freebsd.org>
Resent-Message-ID: <201201081650.q08GoAF1095825@freefall.freebsd.org>

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

>Number:         163924
>Category:       ports
>Synopsis:       [PATCH] archivers/xarchiver, warning when delete desktop application
>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 Jan 08 16:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
When I delete desktop application (i.e. Thunar), update-desktop-database complains, because "multipart/..." in .desktop file is obsolete. 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/archivers/xarchiver/Makefile xarchiver/Makefile
--- /usr/ports/archivers/xarchiver/Makefile	2011-09-24 00:20:52.000000000 +0200
+++ xarchiver/Makefile	2012-01-08 12:16:53.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	xarchiver
 PORTVERSION=	0.5.2
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	archivers
 MASTER_SITES=	SF
 
@@ -34,11 +34,13 @@
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|;multipart/x-zip||' \
+		${WRKSRC}/xarchiver.desktop.in
 .if defined(NOPORTDOCS)
-	${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
 .endif
 .if defined(WITHOUT_NLS)
-	${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
 .endif
 
 .include <bsd.port.post.mk>
diff -u /usr/ports/archivers/xarchiver/pkg-plist xarchiver/pkg-plist
--- /usr/ports/archivers/xarchiver/pkg-plist	2008-12-01 01:20:22.000000000 +0100
+++ xarchiver/pkg-plist	2012-01-01 15:08:32.000000000 +0100
@@ -70,8 +70,8 @@
 share/pixmaps/xarchiver/xarchiver-add.png
 share/pixmaps/xarchiver/xarchiver-extract.png
 share/pixmaps/xarchiver/xarchiver-html.png
-%%NLS%%@dirrm share/locale/nb_NO/LC_MESSAGES
-%%NLS%%@dirrm share/locale/nb_NO
+%%NLS%%@dirrmtry share/locale/nb_NO/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/nb_NO
 @dirrm share/pixmaps/xarchiver
 @dirrmtry share/icons/hicolor/scalable/apps
 @dirrmtry share/pixmaps/hicolor/48x48/apps


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



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