From owner-freebsd-ports@FreeBSD.ORG Wed Dec 17 23:53:00 2003 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 BEEBF16A4CF; Wed, 17 Dec 2003 23:53:00 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id B15E743D31; Wed, 17 Dec 2003 23:52:58 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hBI7qsov027095; Thu, 18 Dec 2003 02:52:55 -0500 (EST) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) hBI7omu5018113; Thu, 18 Dec 2003 02:50:48 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "Brandon D. Valentine" In-Reply-To: <20031218074613.GA8284@geekpunk.net> References: <20031218074613.GA8284@geekpunk.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dHKnmIGNoaGvSkAXlKB1" Organization: MarcusCom, Inc. Message-Id: <1071733971.59139.34.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 18 Dec 2003 02:52:52 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: nc-rotherdo@netcologne.de cc: FreeBSD Ports cc: freebsd-gnome@freebsd.org Subject: Re: prying x11-wm/wmakerconf loose from gnome 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: Thu, 18 Dec 2003 07:53:01 -0000 --=-dHKnmIGNoaGvSkAXlKB1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-12-18 at 02:46, Brandon D. Valentine wrote: > TO Dominik (wmakerconf maintainer), > freebsd-ports (gnome2wmaker maintainer), > and freebsd-gnome, >=20 > My apologies for the crosspost, but I'm looking for some advice on > eliminating this: >=20 > % pkg_info -r wmakerconf-2.8.1 | wc -l > 68 >=20 > The wmakerconf port does not require gnome, except that it does. The > Makefile for wmakerconf contains this: >=20 > [...] > USE_GNOME=3D imlib > WANT_GNOME=3D yes > [...] > .if defined(HAVE_GNOME) > BUILD_DEPENDS+=3D gnome2wmaker:${PORTSDIR}/x11-wm/gnome2wmaker > RUN_DEPENDS+=3D gnome2wmaker:${PORTSDIR}/x11-wm/gnome2wmaker > PLIST_SUB+=3D GNOME:=3D"" > .else > PLIST_SUB+=3D GNOME:=3D"@comment " > .endif > [...] >=20 > '.if defined(HAVE_GNOME)' will always evaluate to true as the port has > just declared its dependency on imlib above. Thus, wmakerconf _always_ > adds gnome2wmaker to its dependency list. This is a non-trivial > addition as gnome2wmaker's Makefile uses the old 'USE_GNOME=3Dyes' syntax > which sucks in all of gnomeprefix, gnomehack and gtkhtml. gtkhtml > pretty much takes care of sucking the rest of gnome in by declaring > 'USE_GNOME=3Dgnomehack gnomeprefix gnomehier glibwww libghttp libcapplet > gal'. >=20 > In this way we end up with 68 dependencies for a simple little program > like wmakerconf. >=20 > I would like to submit some PRs w/ patches to clean all of this up (or > have a committer reading this just go and fix it without hassling around > with gnats). Both x11-wm/wmakerconf and x11-wm/gnome2wmaker need to be > fixed. >=20 > gnome2wmaker needs to comply with the new bsd.gnome.mk policy regarding > USE_GNOME, i.e. no more 'USE_GNOME=3Dyes'. It should do this by setting > USE_GNOME to whichever gnome component provides "menus". gnome2wmaker's > purpose is to insert the gnome menu into the windowmaker menu, so it > should require the part of gnome that provides menus. It is not > immediately clear to me which component that might be. Perhaps one of > the freebsd-gnome boys can shed some light on that. >=20 > wmakerconf needs to be updated so that instead of testing to see if > HAVE_GNOME is defined, it checks HAVE_GNOME for the same "menu" > component. If that component is installed, then it should add > gnome2wmaker to its dependencies. >=20 > Which of the gnome components contains the "menus" and should be tested > against? Should I submit PRs+patches or is there some ports or gnome > committer who would prefer to clean these up? They both should be > simple to fix. I agree this is a bug in wmakerconf, but someone will need to determine which GNOME component to check for, then modify the HAVE_GNOME test to be: .if ${HAVE_GNOME:Mcomponent}!=3D"" ... At that point, the problem should go away. Given that no one has truly migrated this port to the new GNOME infrastructure, that "component" could be gtkhtml (however, I'm sure gnomelibs would suffice). Joe >=20 > Thanks, >=20 > Brandon D. Valentine --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-dHKnmIGNoaGvSkAXlKB1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/4VzTb2iPiv4Uz4cRAs4jAJ91O2d2AG0EtHOXPLiSflfvaHhXSQCeJ71k mZVcbU1vuSnWcNhJmLHiz7A= =RU/S -----END PGP SIGNATURE----- --=-dHKnmIGNoaGvSkAXlKB1--