From nobody@FreeBSD.org  Thu Jul  4 11:16:20 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id C5A94CF2
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2013 11:16:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id B97871F19
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2013 11:16:20 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r64BGKZc013121
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 Jul 2013 11:16:20 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r64BGKKn013120;
	Thu, 4 Jul 2013 11:16:20 GMT
	(envelope-from nobody)
Message-Id: <201307041116.r64BGKKn013120@oldred.freebsd.org>
Date: Thu, 4 Jul 2013 11:16:20 GMT
From: Boris Samorodov <bsam@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] deskutils/notecase: add some USES options
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180255
>Category:       ports
>Synopsis:       [patch] deskutils/notecase: add some USES options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    martymac
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 11:20:00 UTC 2013
>Closed-Date:    Fri Jul 05 13:54:34 UTC 2013
>Last-Modified:  Fri Jul  5 14:00:00 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->martymac 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 4 11:20:07 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180255 
State-Changed-From-To: open->closed 
State-Changed-By: martymac 
State-Changed-When: Fri Jul 5 13:54:33 UTC 2013 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180255 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180255: commit references a PR
Date: Fri,  5 Jul 2013 13:53:42 +0000 (UTC)

 Author: martymac
 Date: Fri Jul  5 13:53:33 2013
 New Revision: 322327
 URL: http://svnweb.freebsd.org/changeset/ports/322327
 
 Log:
   - Fix COMMENT
   - Rework USE_GNOME and USES
   
   PR:		ports/180255
   Submitted by:	bsam
 
 Modified:
   head/deskutils/notecase/Makefile
   head/deskutils/notecase/pkg-plist   (contents, props changed)
 
 Modified: head/deskutils/notecase/Makefile
 ==============================================================================
 --- head/deskutils/notecase/Makefile	Fri Jul  5 13:51:13 2013	(r322326)
 +++ head/deskutils/notecase/Makefile	Fri Jul  5 13:53:33 2013	(r322327)
 @@ -9,13 +9,13 @@ MASTER_SITES=	SF
  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 @@ post-patch:
  	@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
  		${WRKSRC}/Makefile
  
 -post-install:
 -	@-update-mime-database ${PREFIX}/share/mime
 -	@-update-desktop-database
 -
  .include <bsd.port.mk>
 
 Modified: head/deskutils/notecase/pkg-plist
 ==============================================================================
 --- head/deskutils/notecase/pkg-plist	Fri Jul  5 13:51:13 2013	(r322326)
 +++ head/deskutils/notecase/pkg-plist	Fri Jul  5 13:53:33 2013	(r322327)
 @@ -40,8 +40,4 @@ share/mime/packages/notecase.xml
  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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
