Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 11:16:20 GMT
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180255: [patch] deskutils/notecase: add some USES options
Message-ID:  <201307041116.r64BGKKn013120@oldred.freebsd.org>
Resent-Message-ID: <201307041120.r64BK0Lt034622@freefall.freebsd.org>

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

>Number:         180255
>Category:       ports
>Synopsis:       [patch] deskutils/notecase: add some USES options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 11:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 10.0-CURRENT
>Organization:
BSDprint
>Environment:
FreeBSD bsam.int.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #32 r252679: Thu Jul  4 13:43:00 SAMT 2013     bsam@bsam.int.wart.ru:/usr/obj/usr/src/sys/BB64X  amd64
>Description:

>How-To-Repeat:

>Fix:
. USES+= desktop-file-utils shared-mime-info;
. remove article from COMMENT.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 322269)
+++ Makefile	(working copy)
@@ -9,13 +9,13 @@
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
 
 MAINTAINER=	martymac@FreeBSD.org
-COMMENT=	A hierarchical text notes manager
+COMMENT=	Hierarchical text notes manager
 
 LICENSE=	BSD
 
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 gtksourceview2 gnomevfs2 desktopfileutils
-USES=		gettext pkgconfig
+USE_GNOME=	gtk20 gtksourceview2 gnomevfs2
+USES=		desktop-file-utils gettext pkgconfig shared-mime-info
 
 USE_DOS2UNIX=	yes
 DOS2UNIX_REGEX=	.*\.(c|h|cpp)
@@ -35,8 +35,4 @@
 	@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
 		${WRKSRC}/Makefile
 
-post-install:
-	@-update-mime-database ${PREFIX}/share/mime
-	@-update-desktop-database
-
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 322269)
+++ pkg-plist	(working copy)
@@ -40,8 +40,4 @@
 share/pixmaps/notecase.xpm
 @dirrmtry share/locale/fr_CA/LC_MESSAGES
 @dirrmtry share/locale/fr_CA
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 @dirrmtry share/applications


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



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