cvs commit: ports CHANGES UPDATING ports/Mk bsd.port.mk ports/accessibility/linux-atk Makefile pkg-plist ports/archivers/stuffit Makefile ports/astro/linux-setiathome Makefile ports/audio/baudline Makefile ports/audio/linux-arts ...

Eric Anholt eta at lclark.edu
Mon Jun 27 19:02:10 GMT 2005


On Mon, 2005-06-27 at 13:13 +0000, Alexey Dokuchaev wrote:
> On Sat, Jun 25, 2005 at 05:16:25PM -0700, Adam Weinberger wrote:
> > Michael Nottebrock wrote:
> > >On Saturday, 18. June 2005 00:59, Alexander Leidinger wrote:
> > >
> > >
> > >>   - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some
> > >>ports. Chase dependencies for this.
> > >
> > >
> > >I know I'm late to the party, but I'm really wondering what that is meant 
> > >to accomplish.
> > >
> > >X_PREFIX is *not* the 'correct' prefix for *anything* but the X11 
> > >distribution - the fact that there's a truckload of other stuff in there 
> > >is an age-old bug. We *should* be moving stuff *out* of X_PREFIX en masse, 
> > >but I know how likely that is to happen. We *really should NOT*, however, 
> > >keep putting *new* stuff in there.
> 
> I tend to agree.  FreeBSD has a long history of abusing both X11BASE and
> LOCALBASE, FWIW.  Pure X11R6 stuff (which is a lot of bits and files)
> should go under X11BASE (that is, XFree86/X.Org distibution files + some
> stuff like GLUT, nvidia's, etc).  Everything else should go to PKGBASE,
> which usually is /opt, and this is IMHO The Right Way(TM).
> 
> I'll go and shut up, making sure that my ports are truly
> PREFIX-relocatable.

- Is imake pure X11R6 stuff?  It's just another ugly build system.
- How about mmapr/mmapw/pcitweak, distributed with xorg-server?
- DRI drivers definitely aren't X11R6 stuff -- they've already been
demonstrated in many situations involving no X11 at all, and in the
future X will run on top of DRI, not the other way around.
- Luit isn't an X program, it's just a filter to help terminal
emulators.

That's off the top of my head.  The fact is, even the X.Org distribution
has a lot of non-X stuff.  Trying to maintain this divide between X
stuff and not X stuff is a bad move.  /usr/X11R6 existed (afaik) to deal
with interface breakages across X11 versions.  That's not happening any
more.  The reason for /usr/X11R6's existence is gone.  Some linux
distributions are getting rid of /usr/X11R6 and replacing it with a
symlink (for compatibility), with good results.  I believe we should
adopt a policy now:

* Do not put new ports in X11BASE if you can avoid it.
* Move leaf ports to LOCALBASE if you can.

to pave the way for making a complete move at some point.

-- 
Eric Anholt                                     eta at lclark.edu
http://people.freebsd.org/~anholt/              anholt at FreeBSD.org


More information about the cvs-ports mailing list