From owner-freebsd-gnome@FreeBSD.ORG Mon Oct 8 22:24:08 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D43B16A420; Mon, 8 Oct 2007 22:24:08 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id D7A3613C468; Mon, 8 Oct 2007 22:24:07 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071008222407.JLTB6410.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Mon, 8 Oct 2007 18:24:07 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id xyQ61X0064iy4EG0000000; Mon, 08 Oct 2007 18:24:06 -0400 Date: Mon, 08 Oct 2007 17:28:05 -0500 To: "Alexey Dokuchaev" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20071008112437.GA50806@FreeBSD.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20071008112437.GA50806@FreeBSD.org> User-Agent: Opera Mail/9.23 (Linux) 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: Mon, 08 Oct 2007 22:24:08 -0000 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 a= s > 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 woul= d = be best. > - 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" lin= es > 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 yo= ur = 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=3Dtext/plain; > - It seems that with Gnome, it's rather hard to make sure everything= > will install/deinstall/work correctly in case LOCALBASE !=3D PREFI= X. > In fact, I'm seeing that many ports, including those under courtes= y > 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 sam= e = prefix. > - Anything else I missed along the way? There has GNOME port manual over at http://www.freebsd.org/gnome/ (curre= nt = www.freebsd.org is down).. If there is anything that we have missed or n= ot = 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 suc= h = as update-mime-database and etc. -- While I am here, just let you know about that in GNOME 2.20. It's a big = = change, there will be no longer custom hack for share/gnome. A lot stuff= = have been moved from share/gnome/ -> share/, but a few stuff that is = default from ports' installation tool that install in share/gnome/ will = be = stay. You can check in MC's gnomehier/files/dirlist[1] to get idea which= = paths changed. What we are trying to do are leave everything by default = as = much as possible without add many patches. [1] = http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports/misc/gnomehier/fi= les/dirlist Cheers, Mezz > Thanks in advance, > > ./danfe -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org