From owner-freebsd-gnome@FreeBSD.ORG Sat Nov 15 11:14:48 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 7DB8F16A4CE for ; Sat, 15 Nov 2003 11:14:48 -0800 (PST) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAE043FE5 for ; Sat, 15 Nov 2003 11:14:46 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031115191446.EOHK5790.lakemtao08.cox.net@mezz.mezzweb.com>; Sat, 15 Nov 2003 14:14:46 -0500 Date: Sat, 15 Nov 2003 13:14:02 -0600 To: Florent Thoumie References: <20031114144428.GA18751@xbsd.org> <20031115121031.GA39162@xbsd.org> <20031115185234.GA47090@xbsd.org> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20031115185234.GA47090@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 19:14:48 -0000 On Sat, 15 Nov 2003 19:52:34 +0100, Florent Thoumie wrote: > On Sat, Nov 15, 2003 at 12:31:47PM -0600, > Jeremy Messenger wrote: > >> 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 > > I was going to mail you about this. I just finished reading > FreeBSD porter handbook :) > > You're right, I only saw python stuff. I'm not very familiar > with ports yet but I asked myself if just using 2 variables like > %%LOCALBASE%% and %%X_PREFIX%% (and subst with PLIST_SUB) would > be enough. What do you think of that ? You can try that, but I still think it should be install in share/gnome/gnomeblog if you want to change in the ports tree too. But, if only on your local machine then it's fine. Don't forget to change your pkg-plist when you start to use two variables for example: bin/blog_applet.py bin/gnome-blog-poster [...stuff in PREFIX (USE_X_PREFIX)...] @cwd %%LOCALBASE%% %%PYTHON_SITELIBDIR%%/gnomeblog/MetaWeblog.py [...stuff in LOCALBASE...] > PS: Maybe shouldn't I cc to gnome each time ? No, keep cc to freebsd-gnome. There's no secret in here.. :-) If I remember it correct, I believe Adam W. has created this port, so he might follow up this thread when he has the time to check and read his email. > PPS: Sorry for my english ;) No worry, I am not good at it either. ;-) Cheers, Mezz -- bsdforums.org 's moderator, mezz.