From owner-freebsd-ports@FreeBSD.ORG Mon Jul 5 09:00:31 2004 Return-Path: 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 CE61716A4CE; Mon, 5 Jul 2004 09:00:31 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF26D43D2D; Mon, 5 Jul 2004 09:00:30 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from [192.168.0.103] (c-24-21-18-195.client.comcast.net[24.21.18.195]) by comcast.net (rwcrmhc12) with SMTP id <2004070509003001400jan72e>; Mon, 5 Jul 2004 09:00:30 +0000 From: Eric Anholt To: Oliver Eikemeier In-Reply-To: <575A8BB2-CE61-11D8-9FE1-00039312D914@fillmore-labs.com> References: <575A8BB2-CE61-11D8-9FE1-00039312D914@fillmore-labs.com> Content-Type: text/plain Message-Id: <1089018028.987.34.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 05 Jul 2004 02:00:29 -0700 Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: x11@freebsd.org Subject: Re: dependency fixing for xorg stuff X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 09:00:32 -0000 On Mon, 2004-07-05 at 01:57, Oliver Eikemeier wrote: > Eric Anholt wrote: > > > http://people.freebsd.org/~anholt/X/xorg-conv-1.diff > > > > The link above is a patch to fix up dependencies and make xorg the > > default X for FreeBSD 5.2 and up. [...] > > > May I suggest to just define a default X_WINDOW_SYSTEM in bsd.port.mk, > and make a new category meta, with the following ports: > > * port `meta/imake', used with > `BUILD_DEPENDS+=imake:${PORTSDIR}/meta/imake', Makefile contents: > > META_PROVIDES= imake > > .include > .if ${X_WINDOW_SYSTEM:L} == xorg > RUN_DEPENDS= ${META_PROVIDES}:${PORTSDIR}/devel/imake-6 > .elif ${X_WINDOW_SYSTEM:L} == xfree86-4 > RUN_DEPENDS= ${META_PROVIDES}:${PORTSDIR}/devel/imake-4 > .elif ${X_WINDOW_SYSTEM:L} == xfree86-3 > RUN_DEPENDS= ${META_PROVIDES}:${PORTSDIR}/x11/XFree86 > .else > BROKEN= Unknown X_WINDOW_SYSTEM: ${X_WINDOW_SYSTEM} > .endif > .include [...] This does sound like a not too bad way of doing things while avoiding bsd.port.mk. Not having to touch bsd.port.mk is definitely a feature. My concerns: - having about 2n ports if we go the modular route instead of just n. - getting a meta category made (how much work is this?) - time -- we're looking at getting the switch done for 5.3, so I want the tree to be stable WRT X before the freeze happens. Are there any efforts going on to provide some sort of "capabilities" that ports could set and others could depend on? I guess in this case it's all shlibs and binaries anyway, so the only difference is the ability to swap out the providers of capabilities without pkgdb mess. Hmmm. Bah, it's late. I'll have to sleep on this one. Interesting idea. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org