From owner-freebsd-ports@FreeBSD.ORG Sun Apr 20 15:24:14 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 842A637B401; Sun, 20 Apr 2003 15:24:14 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AAD243FAF; Sun, 20 Apr 2003 15:24:13 -0700 (PDT) (envelope-from marcus@FreeBSD.org) Received: from mail3.nc.rr.com (fe3 [24.93.67.50])h3KMJdhC019050; Sun, 20 Apr 2003 18:19:39 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail3.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sun, 20 Apr 2003 18:21:32 -0400 Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h3KMMLaa028128; Sun, 20 Apr 2003 18:22:22 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Doug Barton In-Reply-To: <20030420151213.J631@znfgre.tberna.bet> References: <20030420002953.55575.qmail@web13503.mail.yahoo.com> <1050799770.13770.51.camel@shumai.marcuscom.com> <20030420212022.GZ25227@vectors.cx> <1050873746.9550.23.camel@shumai.marcuscom.com> <20030420151213.J631@znfgre.tberna.bet> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XUXwyvv3h4d3YciBFUQX" Organization: FreeBSD, Inc. Message-Id: <1050877443.9550.51.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.2 (Preview Release) Date: 20 Apr 2003 18:24:03 -0400 X-Spam-Status: No, hits=-39.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: David Yeske cc: ports@FreeBSD.org cc: petef@FreeBSD.org cc: Adam Weinberger Subject: Re: use_gnomeng 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: Sun, 20 Apr 2003 22:24:14 -0000 --=-XUXwyvv3h4d3YciBFUQX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-04-20 at 18:19, Doug Barton wrote: > On Sun, 20 Apr 2003, Joe Marcus Clarke wrote: >=20 > > On Sun, 2003-04-20 at 17:20, Adam Weinberger wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > >> (04.20.2003 @ 1406 PST): Doug Barton said, in 0.6K: << > > > > On Sat, 19 Apr 2003, Joe Marcus Clarke wrote: > > > > > > > > > > How about a port that just uses gtk12? > > > > > > > > > > USE_GNOME=3D gtk12 > > > > > > > > I'm going to keep bringing this up, since it keeps not getting addr= essed. > > > > Ports that ONLY want gtk should not need USE_GNOME. The USE_GTK kno= b > > > > should be preserved ad infinitum. > > > >> end of "Re: use_gnomeng" from Doug Barton << > > > > > > Doug - > > > > > > USE_{GTK,ESOUND,IMLIB} are still defined in bsd.gnome.mk. > > > > Still defined now for backwards compatibility. However, this won't > > always be the case. >=20 > That's your plan anyway, however it's the plan that is currently under > discussion. >=20 > > > However, Doug, if somebody uses USE_GTK instead of USE_GNOME=3Dgtk12,= they > > > are also then unable to use other useful gnome macros such as > > > gnomeprefix and gnomehack. >=20 > I'm talking about apps which use gtk that don't use any part of gnome. > There seems to be a common misconception that gtk is part of gnome. It > isn't. Ports that ONLY need gtk should not be dragging a bunch of gnome > stuff in with it. But that's not what happens at all. By doing: USE_GNOME=3D gtk20 All you're saying is that I want this port to use GTK+-2. You're not bringing in any additional GNOME components at all. The same is true for the gtk12 component. >=20 > > > That being said, I do agree that USE_GTK and USE_GTK2 macros will mak= e > > > the learning curve a bit less steep. > > > > Now, sure...but as new releases come out, should we add USE_GTK3, > > USE_GTK4...? I think it scales better to have the one system that > > accepts a list of components rather than defining new macros everytime = a > > new API release comes out. >=20 > If that is your actual concern, then let's define 'USE_GTK=3D 2', etc. > However, I don't think individual USE_GTK_FOO macros are all that hard to > manage. >=20 > My point here is simply that subsuming gtk under gnome forces non-gnome > ports to drive a screw with a jackhammer, and that type of design is > flawed from the start. I don't see how this is the case at all. If you want to experiment, take a port that only uses Gtk+-1.2, remove all the USE_GNOME stuff, add USE_GTK=3Dyes, then do a make package-depends. Then, replace USE_GTK=3Dyes with USE_GNOME=3Dgtk12, and do the same make package-depends. You should get the same thing. Joe >=20 > Doug --=20 Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org http://www.FreeBSD.org/gnome --=-XUXwyvv3h4d3YciBFUQX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+ox4Db2iPiv4Uz4cRAhCXAJ0Zph44WUCNKicnSGa33rbMRyotDgCfZG4m fw0aZCdMMceAJEChHHcAOFQ= =SKi8 -----END PGP SIGNATURE----- --=-XUXwyvv3h4d3YciBFUQX--