From nobody@FreeBSD.org  Mon Apr  9 10:54:53 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 35558106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 10:54:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 209398FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 10:54:53 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q39Asqas090205
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 9 Apr 2012 10:54:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q39Asqn0090204;
	Mon, 9 Apr 2012 10:54:52 GMT
	(envelope-from nobody)
Message-Id: <201204091054.q39Asqn0090204@red.freebsd.org>
Date: Mon, 9 Apr 2012 10:54:52 GMT
From: Hardy Schumacher <hardy.schumacher@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] java/netbeans: add desktop entry
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166785
>Category:       ports
>Synopsis:       [PATCH] java/netbeans: add desktop entry
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gahr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 11:00:24 UTC 2012
>Closed-Date:    Thu Apr 12 08:28:59 UTC 2012
>Last-Modified:  Thu Apr 12 08:30:12 UTC 2012
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.0 i386
>Organization:
>Environment:
FreeBSD gamma.low.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan 27 22:10:15 CET 2012 root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA i386
>Description:
Add a desktop entry for NetBeans to the start menu.
>How-To-Repeat:
n/a
>Fix:
See attachment.

Patch attached with submission follows:

diff -ruN /usr/ports/java/netbeans/Makefile ./netbeans/Makefile
--- /usr/ports/java/netbeans/Makefile	2012-03-20 18:09:28.000000000 +0100
+++ ./netbeans/Makefile	2012-04-09 12:47:22.000000000 +0200
@@ -26,6 +26,13 @@
 
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
+DESKTOP_ENTRIES="NetBeans" \
+		"NetBeans IDE" \
+		${DATADIR}/nb/netbeans.png \
+		${PORTNAME}-${PORTVERSION} \
+		"Development;" \
+		${FALSE}
+
 post-patch:
 	@${REINPLACE_CMD} -i "" -e '19s|#||;19s|/path/to/jdk|${JAVA_HOME}|' \
 	    ${WRKSRC}/etc/netbeans.conf


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gahr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 9 11:00:34 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166785 
State-Changed-From-To: open->closed 
State-Changed-By: gahr 
State-Changed-When: Thu Apr 12 08:28:57 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/166785: commit references a PR
Date: Thu, 12 Apr 2012 08:28:59 +0000 (UTC)

 gahr        2012-04-12 08:28:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/netbeans        Makefile 
   Log:
   - Add desktop entry
   
   PR:             166785
   Submitted by:   Hardy Schumacher <hardy.schumacher@gmx.de>
   
   Revision  Changes    Path
   1.49      +7 -0      ports/java/netbeans/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
