From owner-freebsd-gnome@FreeBSD.ORG Wed Oct 10 02:54:38 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 904AA16A420; Wed, 10 Oct 2007 02:54:38 +0000 (UTC) Date: Wed, 10 Oct 2007 02:54:38 +0000 From: Alexey Dokuchaev To: Jeremy Messenger Message-ID: <20071010025438.GA95779@FreeBSD.org> References: <20071008112437.GA50806@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: gnome@freebsd.org Subject: Re: gnomish port -- a review please? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 02:54:38 -0000 On Mon, Oct 08, 2007 at 05:28:05PM -0500, Jeremy Messenger wrote: > On Mon, 08 Oct 2007 06:24:37 -0500, Alexey Dokuchaev > wrote: > > >Hi there, > > > >I'm currently trying out Gnome DE again after several years, as well as > >porting several apps for It. Since all those gconf schemas, desktop > >entries > >et al. are sort of new for me, can someone with gnome@ hat glance over > >attached port? Things I'm not sure about: > > Your attach port doesn't make it to the list. Upload it in freefall would > be best. Oops, sorry for that. It's in my ~ on ff. > > > - Do I need "gnomeprefix" and alike, or they are not necessary here? > > Depend on what your port has. If your port has gconf or/and other stuff > that need to be install in share/gnome, then gnomeprefix is a must and > might be gnomehack as well. > > > - Did I get all the paths correctly? > > Since your attach doesn't make it, so you can take a look at > ports/misc/gnomehier/files/dirlist to help you with it. Be sure to check > on gnomehack in bsd.gnome.mk too. > > > - I've noticed "@exec %%LOCALBASE%%/bin/update-desktop-database" lines > > in PLISTs of number of ports, does having a .desktop file in PLIST > > means I have to add those as well? > > No, just depend on if *.desktop has MimeType line in it. Make sure if your > port's installation stuff does run update-desktop-database. If not, then > be sure to run it by manual in post-patch. > > # grep MimeType /usr/local/share/applications/gedit.desktop > MimeType=text/plain; > > > - It seems that with Gnome, it's rather hard to make sure everything > > will install/deinstall/work correctly in case LOCALBASE != PREFIX. > > In fact, I'm seeing that many ports, including those under courtesy > > of gnome@, are silenty assume this asserting is true. So, should I > > bother diligently creating and then @dirrmtry'ing all needed > > directories, or just assume it's all there? > > If you have all stuff installed in LOCALBASE, but a port install in > different prefix by custom PREFIX then it might or might not work. Just > depend on what your port has. GNOME works best if everything is in a same > prefix. > > > - Anything else I missed along the way? > > There has GNOME port manual over at http://www.freebsd.org/gnome/ (current > www.freebsd.org is down).. If there is anything that we have missed or not > clear enough for you, let us know and we can try to make it better. > > You can check > http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/portstools/auto-plist/ , > it works great with GTK/GNOME ports. The auto-plist will adding > update-desktop-database in plist for you if it needs and other stuff such > as update-mime-database and etc. Thanks, I'll take a look. ./danfe