From owner-freebsd-gnome@FreeBSD.ORG Sat Nov 15 10:32:32 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BA4916A4CE for ; Sat, 15 Nov 2003 10:32:32 -0800 (PST) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A4BE43FBF for ; Sat, 15 Nov 2003 10:32:31 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao07.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031115183231.EPGA4890.lakemtao07.cox.net@mezz.mezzweb.com>; Sat, 15 Nov 2003 13:32:31 -0500 To: Florent Thoumie References: <20031114144428.GA18751@xbsd.org> <20031115121031.GA39162@xbsd.org> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sat, 15 Nov 2003 12:31:47 -0600 In-Reply-To: <20031115121031.GA39162@xbsd.org> User-Agent: Opera7.21/Linux M2 build 497 cc: gnome@freebsd.org Subject: Re: PR for deskutils/gnomeblog X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 18:32:32 -0000 On Sat, 15 Nov 2003 13:10:31 +0100, Florent Thoumie wrote: > On Fri, Nov 14, 2003 at 04:52:43PM -0600, > Jeremy Messenger wrote: > >> I give up because I am not skill on Python; it looks like gnomeblog >> isn't >> flexible to me on path where you want to install. Two ways are to set >> prefix to /usr/local or hack somewhere in one of script to add path. I >> will leave it to gnome@freebsd.org team. >> >> To save anyone's work if one of you want to change it to >> share/gnome/gnomeblog. Change from $(pythondir)/gnomeblog to >> $(datadir)/gnomeblog in Makefile.in and protocols/Makefile.in. > > I looked at port internals, I just added a line in the > deskutils/gnomeblog/Makefile and it seems to work correcty > (installing in local prefix). > > ,---- > | > | USE_PYTHON= yes > | + PREFIX= ${LOCALBASE} > | > `---- > > I'm not very familiar to ports system but it looks good. > > Hope this helps. Not really correct patch, all you have to do is remove the 'USE_X_PREFIX=yes' if you want the prefix to be /usr/local. It really should be install in share/gnome/gnomeblog with 'USE_X_PREFIX=yes', if you look at a lot of other gnome apps. However, since you only change it to ${LOCALBASE} and all other files have went to the wrong place such as icons, *.schemas, *.server, *.xml and etc. Yep, more work to make the change than just prefix it to /usr/local. :-) Cheers, Mezz -- bsdforums.org 's moderator, mezz.