From owner-freebsd-ports@FreeBSD.ORG Wed Jun 25 09:14:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 284A71065670 for ; Wed, 25 Jun 2008 09:14:23 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail.irbisnet.ru (mail.irbisnet.ru [194.186.18.2]) by mx1.freebsd.org (Postfix) with ESMTP id 940A88FC23 for ; Wed, 25 Jun 2008 09:14:22 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.homeunix.org ([85.173.19.41]) (authenticated bits=0) by mail.irbisnet.ru (8.14.2/8.14.2) with ESMTP id m5P9EIgR001234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2008 13:14:20 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: from darklight.homeunix.org (darklight.homeunix.org [127.0.0.1]) by darklight.homeunix.org (8.14.2/8.14.2) with ESMTP id m5P9ET0Q006332; Wed, 25 Jun 2008 13:14:29 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.homeunix.org (8.14.2/8.14.2/Submit) id m5P9ESBm006331; Wed, 25 Jun 2008 13:14:28 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.homeunix.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 25 Jun 2008 13:14:28 +0400 From: Yuri Pankov To: Danny Pansters Message-ID: <20080625091428.GB25514@darklight.homeunix.org> References: <200806250100.53227.danny@ricin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806250100.53227.danny@ricin.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: .desktop file and icon 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, 25 Jun 2008 09:14:23 -0000 On Wed, Jun 25, 2008 at 01:00:53AM +0200, Danny Pansters wrote: > I have an app (kbtv2) that I want to get committed to ports soon. > > Where do I put the .desktop file and icon (or I'll just refer to the latter > through absolute path) so that it gets picked up by the various desktop > environments (prefix/share/applications/foo.desktop does not seem to work > here in kde3)? > > Thanks, > > Dan Try using update-desktop-database from devel/desktop-file-utils. Check security/seahorse/{Makefile,pkg-plist}, for example, and http://www.freebsd.org/gnome/docs/porting.html "Desktop database" section (should be DE independent, though). HTH, Yuri