Skip site navigation (1)Skip section navigation (2)
Date:      20 Apr 2003 18:24:03 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        Adam Weinberger <adamw@FreeBSD.org>
Subject:   Re: use_gnomeng
Message-ID:  <1050877443.9550.51.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1050877443.9550.51.camel>