use_gnomeng

Joe Marcus Clarke marcus at FreeBSD.org
Sun Apr 20 14:48:09 PDT 2003


On Sun, 2003-04-20 at 17:30, Adam Weinberger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >> (04.20.2003 @ 1422 PST): Joe Marcus Clarke said, in 2.1K: <<
> > > 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.
> 
> USE_ESOUND and USE_IMLIB should be taken out of bsd.gnome.mk and should
> be excised from the ports tree stat, IMO.

I'm with you.  The only reason they're still in there is that some ports
are using them.  I managed to convert out GNOMELIBS, GLIB, and
GNOMECTRL.  Then I got lazy.

> 
> > > That being said, I do agree that USE_GTK and USE_GTK2 macros will make
> > > 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.
> 
> Your point is well taken, except that the GTK libraries are ubiquitous
> compared to any other GNOME components. I think that the relative
> complexity of the USE_GNOME system as compared to "USE_GTK2=yes" is
> warranted for all other GNOME components, but I wonder if the
> extra-macros-to-support tradeoff is worth it for the relative ease of
> porting apps that simply utilize the toolkit.

I concur with your answer below, and I would add that FreeBSD porters
are smart people.  Is it really too complex or too time consuming to do
USE_GNOME=gtk[12|20]?  I thought we did a good job with the docs.  

Also, adding the macros back in could cause some conflicts if both the
compat macros and USE_GNOME were used.  

Joe

> 
> On the other hand, "USE_GNOME= gtk20" isn't all that difficult. I think
> it may be worth it to add a paragraph towards the top of the docs I'm
> hacking to spell out "If you want gtk2 libs, do this."
> 
> # Adam
> 
> 
> - --
> Adam Weinberger
> vectors.cx	>>	adam at vectors.cx
> FreeBSD.org	<<	adamw at FreeBSD.ORG
> #vim:set ts=8: 8-char tabs prevent tooth decay.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (FreeBSD)
> 
> iD8DBQE+oxF0o8KM2ULHQ/0RAhl8AKDcf9XNpPQpK26GZ0HOsnoDn+Q5JQCeOfbk
> 5oZJA5+DR/ycQNHcWGbAUfo=
> =x3pA
> -----END PGP SIGNATURE-----
-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus at FreeBSD.org
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030420/c4e193bf/attachment.bin


More information about the freebsd-ports mailing list