From owner-freebsd-gnome Tue Jan 22 13:11:36 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 33D2437B400; Tue, 22 Jan 2002 13:11:06 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0MLBOO32229; Tue, 22 Jan 2002 16:11:24 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Tue, 22 Jan 2002 16:11:24 -0500 (EST) From: Joe Clarke To: Maxim Sobolev Cc: Glenn Johnson , Subject: Re: dependency question In-Reply-To: <3C4DD4C3.23596914@FreeBSD.org> Message-ID: <20020122161059.G30742-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 On Tue, 22 Jan 2002, Maxim Sobolev wrote: > Joe Clarke wrote: > > > > > > > > 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? > > Sounds fine to me. Go and get 'em, tiger! :) I went soft on listing each dependency. Have a look at what I did. Tell me what you think. Joe > > Thanks! > > -Maxim > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message