From owner-freebsd-gnome Mon Jan 21 7:52:57 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id D1A6437B41A; Mon, 21 Jan 2002 07:52:48 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0LFr3Z56438; Mon, 21 Jan 2002 10:53:03 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 21 Jan 2002 10:53:02 -0500 (EST) From: Joe Clarke To: Maxim Sobolev Cc: Glenn Johnson , Subject: Re: dependency question In-Reply-To: <3C4BED10.725FFBD3@FreeBSD.org> Message-ID: <20020121105206.H56403-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > There is another consideration, namely the problem with shared > directories under ${PREFIX}/share/gnome. Most GNOME packages use them > extensively to store their .desktop files, pixmaps, .omf files, help > files and so on, so that the dependencies should be constructed in a > way that ensures that a package that installs file(s) into shared > directory will be deleted before a package which "owns" that directory > (i.e. has an appropriate @dirrm in its pkg-plist). Since most of > GNOME ports install their shortcuts into menu directory owned by > gnomecore all you should do it to define USE_GNOME. There is even a > tool called ports/Tools/scripts/gnomedepends.py, which inspects your > port's pkg-plist and tells you which packages should be put into its > dependency chain to warrant correct removal of shared dirts. > > -Maxim > P.S. Joe, please consider refining this explanation and turn it into > another para in our FAQ. Tnx. I was actually thinking of updating the porting guide to include this as well as mention what depednecies are imported by each of the GNOME macros. What do you think? Joe > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message