From owner-freebsd-ports@FreeBSD.ORG Wed Jul 13 19:36:14 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id D8654106566C; Wed, 13 Jul 2011 19:36:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-ports@FreeBSD.org Date: Wed, 13 Jul 2011 15:35:58 -0400 User-Agent: KMail/1.6.2 References: <201107121826.00020.jkim@FreeBSD.org> <4E1D767C.8050404@gmx.de> In-Reply-To: <4E1D767C.8050404@gmx.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107131536.01059.jkim@FreeBSD.org> Cc: Matthias Andree Subject: Re: [RFC] A trivial change for DESKTOP_ENTRIES X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2011 19:36:14 -0000 On Wednesday 13 July 2011 06:42 am, Matthias Andree wrote: > Am 13.07.2011 00:25, schrieb Jung-uk Kim: > > After I updated x11-wm/compiz, GNOME was not able to start the > > window manager. Basically, it complained that compiz-manager was > > not found. Then, I realized compiz-manager.desktop was > > automagically replaced by compizmanager.desktop. Now I tracked > > it down to this commit: > > > > Sat Nov 27 17:42:46 2010 UTC (7 months, 2 weeks ago) by pav > > > > - DESKTOP_ENTRIES: commandline is used to name installed .desktop > > file, this can lead to files containing whitespace and funny > > characters; thus strip all non-alphanumeric characters > > > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r > >1=1.656;r2=1.657 > > > > To me, it looks far too restrictive. At least, I'd like to allow > > '-' and '_'. Please see the attached patch. > > > > Any objections? > > The dot should also be allowed, to cover the POSIX portable > filename character set altogether. I liked the idea first. Then, I realized that we have to add more sanity checks, e.g., ".", "..", ".foo", etc. Sorry, Jung-uk Kim