Re: xorg 7.x and non-standard X11BASE

2006-11-29 Thread Florent Thoumie
Kris Kennaway wrote:
 On Tue, Nov 28, 2006 at 08:44:25PM +, Florent Thoumie wrote:
 Joel Dahl wrote:
 On Tue, 2006-11-28 at 18:24 +, Florent Thoumie wrote:
 Doug Barton wrote:

 Currently we have 2 locations for files installed by ports. LOCALBASE
 (which defaults to /usr/local) and X11BASE (which defaults to
 /usr/X11R6). When xorg 7 is imported, it will be installing into
 /usr/local.
 I don't know where you guys read that.
 Well, some of us might remember
 http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033964.html
 I've been talking to Dejan at that time but I can't remember if I
 actually meant that we were going to add new X.org directly in
 LOCALBASE. Though I haven't tried to contact him for a while, I guess
 he's been busy with other things these days.

 I somehow inherited a x11 hat and IMHO, it would be better to move to
 LOCALBASE after we moved everything else and made sure all ports were
 X11BASE-clean.
 
 I guess I was also mistaken about the intentions as well.

I actually thought of moving everything but libs and fonts to LOCALBASE.

... but if miwi manages to fix all non X11BASE-clean ports and move them
to LOCALBASE within a month then we can install the complete X.org 7.2
distribution in LOCALBASE :-)

 Anyway, the
 good news is that there are only a few hundred X11BASE-unclean errors
 (less than I'd thought), so this is something we can keep pushing on
 for now.

I guess the next exp-build will be with X11BASE set to LOCALBASE then.

Note: We might get runtime problems if some hardcoded /usr/X11R6 remain
in source files though.

-- 
Florent Thoumie



signature.asc
Description: OpenPGP digital signature


xorg 7.x and non-standard X11BASE

2006-11-28 Thread Max Khon
Hi!

I received a bunch of port build failure logs wrt. move to Xorg 7.x.

I would like to know if there is known easy way to reproduce build
failures with Xorg 7.x.

Thanks,

/fjoe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.x and non-standard X11BASE

2006-11-28 Thread Doug Barton

Max Khon wrote:

Hi!

I received a bunch of port build failure logs wrt. move to Xorg 7.x.

I would like to know if there is known easy way to reproduce build
failures with Xorg 7.x.


Currently we have 2 locations for files installed by ports. LOCALBASE 
(which defaults to /usr/local) and X11BASE (which defaults to 
/usr/X11R6). When xorg 7 is imported, it will be installing into 
/usr/local. Shortly thereafter the plan is to do away with the X11BASE 
stuff altogether, and have all ports install into /usr/local.


In order to prepare for this change, and to fix as many ports as 
possible before it happens, the ports cluster has started running 
experimental builds with X11BASE set to something that is not 
/usr/X11R6 AND not /usr/local. So, you can easily reproduce this 
condition by doing the same thing yourself. That's the good news. The 
bad news is that in order to test stuff, you have to rebuild your X 
related ports with the new X11BASE.


There are two ways to do this. Either way you choose, you have to put 
something like this in /etc/make.conf:  X11BASE= /usr/local/xorg
I chose that directory for my experiment, you can use whatever 
directory works for you that is NOT /usr/X11R6 or /usr/local.


Then you can either do this:

cd /var/db/
mv pkg pkg-X11R6
cd /usr/
mv X11R6 save-X11R6
cd /usr/ports/your/port
make (or portmaster $PWD)

or

If you want to make the change permanent, follow the instructions in 
/usr/ports/UPDATING related to the gnome move to /usr/local, and use 
portupgrade or portmaster to upgrade everything that depends on 
pkg-config.


hth,

Doug

--

This .signature sanitized for your protection
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.x and non-standard X11BASE

2006-11-28 Thread Florent Thoumie
Doug Barton wrote:

 Currently we have 2 locations for files installed by ports. LOCALBASE
 (which defaults to /usr/local) and X11BASE (which defaults to
 /usr/X11R6). When xorg 7 is imported, it will be installing into
 /usr/local.

I don't know where you guys read that.

 Shortly thereafter the plan is to do away with the X11BASE
 stuff altogether, and have all ports install into /usr/local.

This should happen before we move X.org to LOCALBASE.

-- 
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer



signature.asc
Description: OpenPGP digital signature


Re: xorg 7.x and non-standard X11BASE

2006-11-28 Thread Florent Thoumie
Doug Barton wrote:
 Florent Thoumie wrote:
 Doug Barton wrote:

 Currently we have 2 locations for files installed by ports. LOCALBASE
 (which defaults to /usr/local) and X11BASE (which defaults to
 /usr/X11R6). When xorg 7 is imported, it will be installing into
 /usr/local.

 I don't know where you guys read that.
 
 Well, feel free to correct me if I'm wrong, but I thought that was the
 plan?

Well, unless somebody with a hat tells me to do it, I definitely won't :-)

 Shortly thereafter the plan is to do away with the X11BASE
 stuff altogether, and have all ports install into /usr/local.

 This should happen before we move X.org to LOCALBASE.
 
 Cool, I wasn't sure about the ordering on that, but one virtue of
 installing xorg 7 into LOCALBASE would be that you don't have to move
 all the current X11BASE ports all at once, since most things would just
 work.

But you end up with real X11 stuff in LOCALBASE and some other stuff in
X11BASE while everything is being moved. This is a bit confusing.

Anyway, we've have X11 in X11BASE for quite a few years now, it can wait
two months before we move it :-)

 For example, when I installed my new laptop I put X11BASE=/usr/local
 in /etc/make.conf, and everything worked fine, including a bunch of the
 ports that were broken when kris did his recent /usr/xorg run.

I did the same on all my machine, had only a couple of mtree problems,
otherwise it was just fine.

 In any case, none of this is material to the OP's question. Fixing the
 ports now to install into a non-standard base will make them PREFIX
 clean down the road no matter where PREFIX happens to be. :)

True enough, once we fixed all ports to be PREFIX-clean and
X11BASE-clean, X.org move will just be a matter of removing one line in
bsd.xorg.mk and bumping PORTREVISIONs.

-- 
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer



signature.asc
Description: OpenPGP digital signature


Re: xorg 7.x and non-standard X11BASE

2006-11-28 Thread Joel Dahl
On Tue, 2006-11-28 at 18:24 +, Florent Thoumie wrote:
 Doug Barton wrote:
 
  Currently we have 2 locations for files installed by ports. LOCALBASE
  (which defaults to /usr/local) and X11BASE (which defaults to
  /usr/X11R6). When xorg 7 is imported, it will be installing into
  /usr/local.
 
 I don't know where you guys read that.

Well, some of us might remember
http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033964.html

-- 
Joel

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.x and non-standard X11BASE

2006-11-28 Thread Kris Kennaway
On Tue, Nov 28, 2006 at 08:44:25PM +, Florent Thoumie wrote:
 Joel Dahl wrote:
  On Tue, 2006-11-28 at 18:24 +, Florent Thoumie wrote:
  Doug Barton wrote:
 
  Currently we have 2 locations for files installed by ports. LOCALBASE
  (which defaults to /usr/local) and X11BASE (which defaults to
  /usr/X11R6). When xorg 7 is imported, it will be installing into
  /usr/local.
  I don't know where you guys read that.
  
  Well, some of us might remember
  http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033964.html
 
 I've been talking to Dejan at that time but I can't remember if I
 actually meant that we were going to add new X.org directly in
 LOCALBASE. Though I haven't tried to contact him for a while, I guess
 he's been busy with other things these days.
 
 I somehow inherited a x11 hat and IMHO, it would be better to move to
 LOCALBASE after we moved everything else and made sure all ports were
 X11BASE-clean.

I guess I was also mistaken about the intentions as well.  Anyway, the
good news is that there are only a few hundred X11BASE-unclean errors
(less than I'd thought), so this is something we can keep pushing on
for now.

Kris


pgpgRx3rYqnbg.pgp
Description: PGP signature