From owner-svn-ports-head@FreeBSD.ORG Sun Dec 1 17:39:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1ABA4A16; Sun, 1 Dec 2013 17:39:47 +0000 (UTC) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 74D5C11A0; Sun, 1 Dec 2013 17:39:46 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:64051] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id rB1HdY7h048505 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Sun, 1 Dec 2013 21:39:35 +0400 (MSK) From: Max Brazhnikov To: Rusmir Dusko Subject: Re: svn commit: r335345 - head/games/bs Date: Sun, 01 Dec 2013 17:39:33 +0000 Message-ID: <1438162.nG8DGo4IHR@mercury.ph.man.ac.uk> User-Agent: KMail/4.10.5 (FreeBSD/9.2-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <201311302009.rAUK9052093182@svn.freebsd.org> References: <201311302009.rAUK9052093182@svn.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 17:39:47 -0000 Hi Rusmir, On Sat, 30 Nov 2013 20:09 +0000Sat Nov 30 20:09:00 2013 Rusmir Dusko wrote: > Author: nemysis > Date: Sat Nov 30 20:09:00 2013 > New Revision: 335345 > URL: http://svnweb.freebsd.org/changeset/ports/335345 > > Log: > - Change maintainer email to @FreeBSD.org > - Change license GPLv2 to BSD > - USES gmake instead of USE_GMAKE > - Add DOCS and Option > - Add Desktop entry file > > Approved by: pawel / wg (mentors, implicit) > > Modified: > head/games/bs/Makefile > > Modified: head/games/bs/Makefile > ============================================================================== > --- head/games/bs/Makefile Sat Nov 30 20:03:06 2013 (r335344) > +++ head/games/bs/Makefile Sat Nov 30 20:09:00 2013 (r335345) > @@ -6,21 +6,32 @@ PORTVERSION= 2.9 > CATEGORIES= games > MASTER_SITES= http://www.catb.org/~esr/bs/ > > -MAINTAINER= nemysis@gmx.ch > +MAINTAINER= nemysis@FreeBSD.org > COMMENT= Battleships solitaire game with a color interface > > -LICENSE= GPLv2 > +LICENSE= BSD > > +USES= gmake > MAKE_ARGS= CC="${CC}" > ALL_TARGET= # empty > -USE_GMAKE= yes > > -MAN6= bs.6 > -PLIST_FILES= bin/bs > +PLIST_FILES= bin/bs \ > + man/man6/bs.6.gz \ > + share/pixmaps/battleship.png > + > +PORTDOCS= NEWS README > + > +OPTIONS_DEFINE= DOCS > + > +DESKTOP_ENTRIES="Battleships" "${COMMENT}" "battleship" \ > + "xterm -e ${PORTNAME}" "Game;ArcadeGame;" false Hardcoding particular terminal in desktop entry does not seem good from users perspective. Although desktop entry specification has a special key for this case (Terminal=true) [*], our DESKTOP_ENTRIES support was designed for simple cases and has no support for it. If you really need desktop entry for this port, probably the best solution would be to use pregenerated desktop file. If there is a substantial demand for terminal applications, we may think about making DESKTOP_ENTRIES more flexible. Btw, if you want to use port's COMMENT for desktop entry, you may leave the corresponding field empty - the ports framework will do the job. If you unsure about StartupNotify field, just leave it empty, rather then forcing 'false'. Cheers, Max [*] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html