From owner-freebsd-gnome Tue Jan 22 13: 8:23 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 6E7DB37B405 for ; Tue, 22 Jan 2002 13:08:18 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id XAA48557; Tue, 22 Jan 2002 23:08:02 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h203.228.dialup.iptcom.net [212.9.228.203]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id XAA17362; Tue, 22 Jan 2002 23:07:58 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g0ML7RI22249; Tue, 22 Jan 2002 23:07:27 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C4DD4C3.23596914@FreeBSD.org> Date: Tue, 22 Jan 2002 23:08:19 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Joe Clarke Cc: Glenn Johnson , freebsd-gnome@FreeBSD.org Subject: Re: dependency question References: <20020121105206.H56403-100000@shumai.marcuscom.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 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! :) Thanks! -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message