From owner-freebsd-ports@FreeBSD.ORG Sun Apr 2 02:32:58 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E895716A423 for ; Sun, 2 Apr 2006 02:32:58 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AAAC43D53 for ; Sun, 2 Apr 2006 02:32:58 +0000 (GMT) (envelope-from tmclaugh@sdf.lonestar.org) Received: from bofh.straycat.dhs.org (bofh.straycat.dhs.org [192.168.1.56]) by straycat.dhs.org (8.13.4/8.13.4) with ESMTP id k322Wlcs026487; Sat, 1 Apr 2006 21:32:57 -0500 (EST) From: Tom McLaughlin To: "Jason C. Wells" In-Reply-To: <442ED838.90000@highperformance.net> References: <442ED838.90000@highperformance.net> Content-Type: text/plain Date: Sat, 01 Apr 2006 21:32:46 -0500 Message-Id: <1143945166.1978.65.camel@bofh> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Pare Down Dependencies from Gnome X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2006 02:32:59 -0000 On Sat, 2006-04-01 at 11:44 -0800, Jason C. Wells wrote: > I am having a hard time tracking down how some dependencies get hooked > into the gnome2 port. I am looking for the equivalent of the NO_* > options in /usr/src/Makefile.inc1 if such a thing exists. > > Where does one start if one wants to pare down gnome2 port dependencies? > Use the x11/gnome2-lite metaport like I do in my jails which only need a bare minimum. > Specifically, I would like to chop these dependencies out of gnome2: > > evolution It's a part of Gnome as determined by the Gnome developers. The Gnome metaports are based on what upstream considers a part of Gnome. > heimdal x11/gnome2 does not rely on the heimdal port by default. It sounds like somewhere along the way you set an option in a port or something in make.conf is triggering heimdal to be sucked in. Here we go, gnomevfs2 has this: .if exists(${LOCALBASE}/lib/libkrb5.so) LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal .endif A simple solution would be to check for ${LOCALBASE}/lib/libhdb.so to rely on security/heimdal and ${LOCALBASE}/lib/libkdb5.so to rely on security/krb5. I picked these simply because they are unique to either port. At most it should simply quiet pkgdb. (see below too.) > openldap22 I tried searching to see what port specifically pulled this in and after a long while searching I got bored. It takes under 3 minutes for the port to build and doesn't exactly take up a lot of room. Maybe some ports respect WITHOUT_LDAP, I don't know. > samba-libsmbclient There is WITHOUT_SAMBA to prevent gnomevfs2 from pulling in the client. Possibly other ports respect this. > > Evolution has a RUN_DEPENDS dependency in the makefile but the others > don't appear in the gnome2 makefile. They're indirect dependencies. openldap is a dependency of something which is a dependency of something else ... which is a dependency of gnome2 > > The listed dependencies are a big hurking deal. I don't use LDAP. I > run MIT kerberos, which conflicts with Heimdal. If you have security/krb5 installed then gnome dependencies should build against it without installing heimdal. If that doesn't happen then point out the offending port so it can be fixed. > Simply building them in > would require extra work my part. I was looking at installing various > gnome ports piece by piece rather than use the metaport but I still ran > into this problem when I got to gnomepanel. I'd rather not build too > much extra stuff into gnome if I can help it. > > Thanks, > Jason C. Wells > Thanks, Tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | | BSD# http://www.mono-project.com/Mono:FreeBSD |