Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103022

Summary: Xorg ebuild allowing to specify video driver in minimal mode
Product: Gentoo Linux Reporter: René Rhéaume (a.k.a. repzilon, rener) <rene.rheaume>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: Inclusion
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch
Ebuild patch without the font size change

Description René Rhéaume (a.k.a. repzilon, rener) 2005-08-18 16:46:00 UTC
I wanted to have the driver for my video card because it is much faster than
vesa/fbdev. Inside the xorg-x11-6.8.2-r2.ebuild file, I found this comment:

# If you want more drivers built with minimal, file a bug
# -Donnie Berkholz <spyderous@gentoo.org>

But asking a Gentoo Xorg maintainer every time for a driver addition is lame.
Someone who wants a minimal Xorg would like to have only the accelerated driver
he needs, and the needed driver varies from user to user.

So, I came up with an ebuild patch enabling to use the XORG_MINIMAL_USER_DRIVERS
to supply a list of drivers to build in addition to the basic ones.

Reproducible: Always
Steps to Reproduce:
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2005-08-18 16:51:14 UTC
Created attachment 66274 [details, diff]
Ebuild patch

Also in the patch:
 - I converted the deprecated uclibc USE flag to elibc_uclibc
 - The 7x14 font font is supplied instead of the 6x13 font. A 80x24 terminal
window still fits a 640x480 resolution and the increased size improves
legibility at higher resolutions.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-20 09:57:37 UTC
Did you test that X actually starts after applying your patch and installing
that build? One of the 6x13 fonts is the 'fixed' font that is necessary for
starting X.

I would be interested to see what appears if you 'grep ^fixed
/usr/share/fonts/misc/fonts.alias'
Comment 3 René Rhéaume (a.k.a. repzilon, rener) 2005-09-21 16:34:48 UTC
I was running X fine for a month until. Then, I found out that it worked because
the 6x13 font was not removed by emerge. Today, I cleaned my fonts directory,
then  ran "emerge -K xorg-x11" and I was unable to start X because it cannot
find the "fixed" font. By the way, the grep invocation you asked echoed this: 
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

Also, Motif (I use openmotif 2.1.30) was ugly because it scaled up a bitmap font
(well, until I changed my ~/.Xdefaults to use a better font). Talking about
Motif apps, they whine for helvetica, times and courier. Should we do something
about it?

I would say stick to 6x13. Using 7x14 was some sort of experiment, as you see.
Comment 4 René Rhéaume (a.k.a. repzilon, rener) 2005-09-21 16:35:33 UTC
Created attachment 68972 [details, diff]
Ebuild patch without the font size change
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-12 12:55:47 UTC
Equivalent functionality has been incorporated into X.Org 7.0 ebuilds.