Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bring On Xorg! (and how I dumped XFree86)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
huffd
n00b
n00b


Joined: 10 Mar 2003
Posts: 33

PostPosted: Tue Apr 20, 2004 4:36 am    Post subject: Bring On Xorg! (and how I dumped XFree86) Reply with quote

Edit these 4 files and you won't have to worry about conflicts or accidently reinstalling xfree during an automated "emerge -DU world". Of course this is only for early birds, the Gentoo team will greatly enhance the system to allow for an automated conversion from xfree to xorg.

In the following directories create or add/modify these files with the following lines.
/etc/portage/package.keywords
x11-base/xorg-x11 ~x86
x11-terms/xterm ~x86
sys-apps/utempter ~x86

/etc/portage/package.mask
>=x11-base/xfree-4.3.0

/etc/env.d/09opengl
LDPATH=/usr/lib/opengl/xfree/lib
<correct this line to read>
LDPATH=/usr/lib/opengl/xorg-x11/lib

cp /etc/X11/XF86Config /etc/X11/xorg.conf

Then change your /etc/X11/xorg.conf font paths to the following:
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/ukr/"

When this above is completed all that is required is:
emerge -C xfree && emerge -DU xorg-x11 && reboot

and someone special to spend the next few hours with..
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Tue Apr 20, 2004 4:59 am    Post subject: Re: Bring On Xorg! (and how I dumped XFree86) Reply with quote

huffd wrote:
/etc/env.d/09opengl
LDPATH=/usr/lib/opengl/xfree/lib
<correct this line to read>
LDPATH=/usr/lib/opengl/xorg-x11/lib

This could/should be done with the opengl-update utility. E.g.
Code:
opengl-update xfree

for xfree, or
Code:
opengl-update xorg-x11

for xorg-x11, or
Code:
opengl-update nvidia

for nvidia. You get the idea.

Code:
emerge -C xfree && emerge xorg-x11
may be necessary, but you don't need
Code:
&& reboot
. This is linux people! :-D Just restart X.

Also, a little reccomendation, once you've done
Code:
emerge -C xfree
and until you've completed the steps you won't of course be able to open any new X apps, so if you want to do anything in X whiole your waiting, load up all your X apps in advance. :-D

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
andyjeffries
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 196
Location: Stevenage, Herts, UK

PostPosted: Tue Apr 20, 2004 10:15 am    Post subject: Reply with quote

Just wanted to post a note to say: Thanks huffd!

I'd never have thought of changing X until two weeks ago (was a strict RH user) - now I'm running GNOME 2.6 on a 2.6.5 kernel with x.org!

Gentoo is sooooo cool!!!!

Anyway, thanks again!
_________________
Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Tue Apr 27, 2004 10:54 am    Post subject: Reply with quote

Is this the way as well to prevent portage installing XFree86 on a new install?
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
HRH_H_Crab
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 115
Location: Sarf East Lahndahn

PostPosted: Thu Apr 29, 2004 2:51 pm    Post subject: Reply with quote

if you dont want /any/ X at all, try setting the following USE flags:

-X -gnome -kde -qt -gtk -gtk+

this should also allow you to install packages like gkrellm, and only get the gkrellmd daemon, without getting the gui stuff.

but yes, adding the line : >=x11-base/xfree-4.3.0
to /etc/portage/packages.mask should also mask xfree-4.3.0. Im not sure if packages that require X wont automatically install Xorg though...
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sun May 02, 2004 2:29 pm    Post subject: Reply with quote

Quote:
Is this the way as well to prevent portage installing XFree86 on a new install?

On a fresh installation you can skip almost all of this. If 'emerge system' is going to install xfree because of your USE flags, interrupt it, emerge xorg-x11, and then continue. All the virtual-x11 dependencies _should_ be covered, but check with --pretend to make sure.

If you don't have ACCEPT_KEYWORDS="~arch" set in make.conf, you may have add them to /etc/portage/package.keywords. Other than that, converting an XF86Config to an xorg.conf and fixing the font directories (or making one from scratch) should do the trick.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
yeoman
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 109
Location: Germany

PostPosted: Sat May 15, 2004 1:38 am    Post subject: Reply with quote

Wouldn't it be the smarter way to add
Code:
~x11-base/xorg-x11-6.7.0 ~x86
~x11-terms/xterm-184 ~x86
~sys-apps/utempter-0.5.5.4 ~x86
to package.keywords as subscribed here:

https://forums.gentoo.org/viewtopic.php?p=1093204#1093204

This should prevent you from
Code:
emerge -u world
always getting a new version if availiable, even if it's still not marked stable.

BTW: portage rocks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum