Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-20 Thread Alexander Hansen
The symlinks are generated by Ben's script for Beta 1.  For Beta 2, they
are built in

Actually, I checked my installation again and libapplexp.1.0.dylib
doesn't exist anymore--it was in my backup directory, but it was copied
over from my Beta 1 install.  I confirmed this by using Pacifist, so
that I could go into the original .pkg files.

For other readers, I'll summarize:

?1 - (same)
sudo sudo dpkg -r --force-depends xfree86-rootless-threaded=20 
xfree86-rootless-threaded-shlibs xfree86-base-threaded=20 
xfree86-base-threaded-shlibs 

2 - (same)
Install X11User, X11SDK 

3 - (same)
sudo mv /usr/X11R6 /usr/X11R6_bak 
sudo mv /etc/X11   /etc/X11_bak 

4 - (same)
fink install xfree86-base-threaded 
fink install xfree86-rootless-threaded 

5 - (changed)
sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin 
sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.1.dylib  /usr/X11R6/lib 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.dylib  /usr/X11R6/lib 
sudo cp /usr/X11R6_bak/lib/libapplexp.dylib  /usr/X11R6/lib 
(the last 3 dylibs were absent in the beta 0.1 post)

6 - (changed)
mkdir ~/X11 
sudo cp /usr/X11R6_bak/bin/Xquartz   ~/X11 
sudo cp /usr/X11R6_bak/bin/quartz-wm ~/X11 
 sudo cp /usr/X11R6_bak/lib/libapplexp.1.1.dylib  ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.dylib  ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.dylib  ~/X11 
(same 3 dylibs absent from beta 0.1)

7 - 
sudo pico .xinitrc 
and added: exec quartz-wm 


On Thu, 2003-02-20 at 00:34, Michèle Garoche wrote:
 Le mercredi, 19 fév 2003, à 22:25 Europe/Paris, Alexander Hansen a 
 écrit :
 
 I redo the same also, but then when I inspect the differences both bak 
 and non bak folder I saw that the files where the same except for 
 applexp.1.dylib which I copied, the other ones were only symbolic links 
 to this one (I had run before the perl script from Ben (not sure if 
 it's from Ben, sorry for the author if I'm wrong here, I apologize in 
 advance). So I remove them and remove too the bak folder since it is 
 noted on Fink site that the script is no longer needed.
 
 Did I do something wrong, in which case I will erase all and reinstall 
 X11 and XDarwin (fun, fun, fun :-)?
 
 Michèle
 http://micmacfr.homeunix.org/
 
 
 
 ---
 This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
 The most comprehensive and flexible code editor you can use.
 Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
 www.slickedit.com/sourceforge
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-20 Thread Alexander Hansen
On Wed, 2003-02-19 at 16:35, Samuel M.Smith wrote:
 
  Why would anyone want to this?
  1)  Apple's X11 is rootless only, so this gives the option to run
  fullscreen.
  2)  quartz-wm (the Apple window manager) is fast even if cobbled into a
  standard XFree86 installation, and there are other nice features, too.
  3)  If you build packages from source against xfree86-threaded, they
  frequently don't work with Apple X11, and some packages require 
  threaded
  X.  This way you can have threaded X with the benefits of Apple X11.
 
 I am still a little confused but I feel some light peeking through.
 
 so ... if I don't need to build any fink packages that need to compile 
 against
 XFree86 Threaded but I do want to use packages that compile or depend on
 X Windows and would like to use Apple's Xll instead of XFree86 then  I 
 just delete
 my current XFree86 installation and then install Apples including the 
 sdk?
 
That's right. Instructions for switching with are available at

http://fink.sourceforge.net/doc/x11/inst-xfree86.php#switching-x11

One thing to keep in mind is that Apple's X11 is still in beta, so there
are still bugs to be worked out.  XDarwin is much more mature and
stable.

 Then any fink apps that depend on X windows (but not threaded)
   will for the most part build OK? Run OK?
 
There may be packages that won't build--geomview is one that has come up
recently.

 I assume that with Apple's quartz-wm that you get the benefit of open-gl
 graphics even if using the combined XFree86 and X11 approach?
 
There is some degradation, but it's still noticeably faster.

snip
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Alexander Hansen
Here's what actually is going on:

Apple's X11 has some files that aren't found in standard XFree86, such
as the window manager.  The convoluted process serves to extract just
those files, so that they can be placed on top of a standard XFree86
installation (not replacing anything that's there).  

Basically, you can run standard XFree86 in rootless or fullscreen mode
by using XDarwin.app or startx, as usual, or you can run X11.app
(rootless only).  

Why would anyone want to this?
1)  Apple's X11 is rootless only, so this gives the option to run
fullscreen.
2)  quartz-wm (the Apple window manager) is fast even if cobbled into a
standard XFree86 installation, and there are other nice features, too.
3)  If you build packages from source against xfree86-threaded, they
frequently don't work with Apple X11, and some packages require threaded
X.  This way you can have threaded X with the benefits of Apple X11.

I'm working on the X11 docs right now, but I personally don't think this
alternative is sufficiently robust to be made an officially recommended
option.  If a fink package that automated this was released, then that's
different.

As an aside, one thing that I found out is that James G's instructions
were appropriate for Beta0.1, but more files needed to be moved for
Beta0.2 .  If you're interested I'll elaborate.

On Wed, 2003-02-19 at 13:44, Samuel M.Smith wrote:
 I know there has been some discussion on this list on how to make 
 Apple's X11 distribution coexist
 with Fink XFree86 X11. But it is somewhat confusing. I found in the 
 archives a message from James Gibbs that decribes a proceedure where 
 one installs Apple X11, moves it out of /usr/X11r6, then installs 
 xfree86 then moves back Apples x11.
 
 I must say I don't understand what is going on or how they interact 
 well enough to have confidence that I can apply the approach in general 
 or tell if I have done something wrong.
 
 Would someone care to elaborate a little bit on how the two are 
 supposed to coexist. Will the docs for XFree86 get updated to reflect 
 this new alternative?
 
 Thanks,
 
 Sam
 
 
 
 ---
 This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
 The most comprehensive and flexible code editor you can use.
 Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
 www.slickedit.com/sourceforge
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Jeff Whitaker

On Wed, 19 Feb 2003, Samuel M.Smith wrote:

 I know there has been some discussion on this list on how to make
 Apple's X11 distribution coexist
 with Fink XFree86 X11. But it is somewhat confusing. I found in the
 archives a message from James Gibbs that decribes a proceedure where
 one installs Apple X11, moves it out of /usr/X11r6, then installs
 xfree86 then moves back Apples x11.

 I must say I don't understand what is going on or how they interact
 well enough to have confidence that I can apply the approach in general
 or tell if I have done something wrong.

 Would someone care to elaborate a little bit on how the two are
 supposed to coexist. Will the docs for XFree86 get updated to reflect
 this new alternative?

 Thanks,

 Sam



Sam:  The short answer is they don't (coexist that is).

The long answer is that if you want, you can use Apples' quartz-wm with
fink Xfree86.  There have been some posts on this list, and fink-devel on
how to do this.  It involves copying some files from Apples X11 into your
fink installed /usr/X11R6. You can use Pacifist to extract these
files from the X11 package. These files exist only in Apple's X11 (such as
quartz-wm, Xquartz), so you won't be overwriting any fink installed files.

-Jeff


-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1FAX   : (303)497-6449
325 BroadwayWeb   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Michèle Garoche

Le mercredi, 19 fév 2003, à 20:46 Europe/Paris, Alexander Hansen a 
écrit :

As an aside, one thing that I found out is that James G's instructions
were appropriate for Beta0.1, but more files needed to be moved for
Beta0.2 .  If you're interested I'll elaborate.

I'm interesting if you don't mind to elaborate.

Michèle
http://micmacfr.homeunix.org/



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Alexander Hansen
It's not too different.

Quoting the message:
1 - (same)
sudo sudo dpkg -r --force-depends xfree86-rootless-threaded=20 
xfree86-rootless-threaded-shlibs xfree86-base-threaded=20 
xfree86-base-threaded-shlibs 

2 - (same)
Install X11User, X11SDK 

3 - (same)
sudo mv /usr/X11R6 /usr/X11R6_bak 
sudo mv /etc/X11   /etc/X11_bak 

4 - (same)
fink install xfree86-base-threaded 
fink install xfree86-rootless-threaded 

5 - (changed)
sudo cp /usr/X11R6_bak/bin/Xquartz   /usr/X11R6/bin 
sudo cp /usr/X11R6_bak/bin/quartz-wm /usr/X11R6/bin 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  /usr/X11R6/lib 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.1.dylib  /usr/X11R6/lib 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.dylib  /usr/X11R6/lib 
sudo cp /usr/X11R6_bak/lib/libapplexp.dylib  /usr/X11R6/lib 
(the last 3 dylibs were absent in the beta 0.1 post)

6 - (changed)
mkdir ~/X11 
sudo cp /usr/X11R6_bak/bin/Xquartz   ~/X11 
sudo cp /usr/X11R6_bak/bin/quartz-wm ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.0.dylib  ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.1.dylib  ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.1.dylib  ~/X11 
sudo cp /usr/X11R6_bak/lib/libapplexp.dylib  ~/X11 
(same 3 dylibs absent from beta 0.1)

7 - 
sudo pico .xinitrc 
and added: exec quartz-wm 



On Wed, 2003-02-19 at 16:17, Michèle Garoche wrote:
 Le mercredi, 19 fév 2003, à 20:46 Europe/Paris, Alexander Hansen a 
 écrit :
 
  As an aside, one thing that I found out is that James G's instructions
  were appropriate for Beta0.1, but more files needed to be moved for
  Beta0.2 .  If you're interested I'll elaborate.
 I'm interesting if you don't mind to elaborate.
 
 Michèle
 http://micmacfr.homeunix.org/
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Samuel M . Smith

Why would anyone want to this?
1)  Apple's X11 is rootless only, so this gives the option to run
fullscreen.
2)  quartz-wm (the Apple window manager) is fast even if cobbled into a
standard XFree86 installation, and there are other nice features, too.
3)  If you build packages from source against xfree86-threaded, they
frequently don't work with Apple X11, and some packages require 
threaded
X.  This way you can have threaded X with the benefits of Apple X11.

I am still a little confused but I feel some light peeking through.

so ... if I don't need to build any fink packages that need to compile 
against
XFree86 Threaded but I do want to use packages that compile or depend on
X Windows and would like to use Apple's Xll instead of XFree86 then  I 
just delete
my current XFree86 installation and then install Apples including the 
sdk?

Then any fink apps that depend on X windows (but not threaded)
 will for the most part build OK? Run OK?

I assume that with Apple's quartz-wm that you get the benefit of open-gl
graphics even if using the combined XFree86 and X11 approach?

I'm working on the X11 docs right now, but I personally don't think 
this
alternative is sufficiently robust to be made an officially recommended
option.  If a fink package that automated this was released, then 
that's
different.

As an aside, one thing that I found out is that James G's instructions
were appropriate for Beta0.1, but more files needed to be moved for
Beta0.2 .  If you're interested I'll elaborate.

On Wed, 2003-02-19 at 13:44, Samuel M.Smith wrote:
I know there has been some discussion on this list on how to make
Apple's X11 distribution coexist
with Fink XFree86 X11. But it is somewhat confusing. I found in the
archives a message from James Gibbs that decribes a proceedure where
one installs Apple X11, moves it out of /usr/X11r6, then installs
xfree86 then moves back Apples x11.

I must say I don't understand what is going on or how they interact
well enough to have confidence that I can apply the approach in 
general
or tell if I have done something wrong.

Would someone care to elaborate a little bit on how the two are
supposed to coexist. Will the docs for XFree86 get updated to reflect
this new alternative?

Thanks,

Sam



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213





---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] How do Apple X11 and Fink XFree86 Coexist

2003-02-19 Thread Michèle Garoche

Le mercredi, 19 fév 2003, à 22:25 Europe/Paris, Alexander Hansen a 
écrit :

I redo the same also, but then when I inspect the differences both bak 
and non bak folder I saw that the files where the same except for 
applexp.1.dylib which I copied, the other ones were only symbolic links 
to this one (I had run before the perl script from Ben (not sure if 
it's from Ben, sorry for the author if I'm wrong here, I apologize in 
advance). So I remove them and remove too the bak folder since it is 
noted on Fink site that the script is no longer needed.

Did I do something wrong, in which case I will erase all and reinstall 
X11 and XDarwin (fun, fun, fun :-)?

Michèle
http://micmacfr.homeunix.org/



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users