Since we seem to be getting into discussing what to build in xorg,
I'll throw in my tuppence worth.  The following are all working for
me on LFS-7.0, and I don't have an xorg.conf.  What I do have is
/usr/share/X11/xorg.conf.d containing 10-evdev.conf (installed by
xorg-server) and 11-keyboard.conf (included at the end, along
with an alternative 10-keyboard.conf found on the xorg lists).

 My keyboard works correctly (no need to use the xset invocations in
xorg.conf that I have mentioned in the past - the "evdev" keyboard
type takes care of the cursor keys - and no need to specify which
events to use).  Also, I use ctrl-alt-backspace to kill the server.

 As before, I've reduced the xorg-apps, although there is probably
still more here than really necessary - why bother building example
apps just because in xorg-6.9 we had to build them ?  Similarly,
no core fonts (slight detrimental effect to xcalc, see the note).

 Unfortunately, I haven't yet built current Mesa - trying to sort
that out before I'd got a graphical browser didn't seem the best use
of my time - so I'm still on the 7.10 series.

 Also, this is only tested on old radeon R200 cards so I have no
idea about versions of nouveau, intel, unichrome, or other current
video drivers, and I don't know if this version of Mesa needs other
settings (e.g. in libdrm) or dependencies for intel, nouveau.

 Feel free to comment, but PLEASE trim what you are replying to.
Thanks.  This is the order in which I build them.

ĸen

 precursors:

pkg-config-0.26
expat-2.0.1
gperf-3.0.4
ed-1.5
libpng-1.5.6
 (I've gone back to applying the hateful apng patch, after a comment
 in a thread on lwn.net that mozilla had been very slow to patch
 their included version - don't know how true that comment was).
freetype-2.4.8
fontconfig-2.8.0
XML-Parser-2.41
XML-Simple-2.18
intltool-0.50.0
 (still at ubuntu, still needed for xkeyboard-config)

 protocols:

bigreqsproto-1.1.1
compositeproto-0.4.2
damageproto-1.2.1
dmxproto-2.3.1
dri2proto-2.6
fixesproto-5.0
fontsproto-2.1.1
glproto-1.4.14
inputproto-2.0.2
kbproto-1.0.5
randrproto-1.3.2
recordproto-1.14.1
renderproto-0.11.1
resourceproto-1.1.1
scrnsaveproto-1.2.1
videoproto-2.3.1
xcmiscproto-1.2.1
xextproto-7.2.0
xf86bigfontproto-1.2.0
xf86dgaproto-2.1
xf86driproto-2.1.1
xf86vidmodeproto-2.3.1
xineramaproto-1.2.1
xproto-7.0.22

 utilities:

xorg-cf-files-1.0.4
imake-1.0.2
makedepend-1.0.3
 imake and makedepend are needed for the ancient version of xsnow
 that I use - up until this build, my display has had a default
 moiré pattern background from xset -default, and newer versions
 of xsnow didn't play nicely for me.
util-macros-1.15.0

 libs and xcb:

libXau-1.0.6
libXdmcp-1.1.0
libpthread-stubs-0.3
xcb-proto-1.6
libxcb-1.7
xtrans-1.2.6
libX11-1.4.4
libXext-1.2.0
libFS-1.0.3
libICE-1.0.7
libSM-1.2.0
libXScrnSaver-1.2.1
libXt-1.1.1
libXmu-1.1.0
libXpm-3.5.9
libXaw-1.0.9
libXfixes-5.0
libXcomposite-0.4.3
libXrender-0.9.6
libXcursor-1.1.12
libXdamage-1.1.3
libfontenc-1.1.0
libXfont-1.4.4
libXft-2.2.0
libXi-1.4.3
libXinerama-1.1.1
libXrandr-1.3.2
libXres-1.0.5
libXtst-1.2.0
libXv-1.0.6
libXvMC-1.0.6
libXxf86dga-1.1.2
libXxf86vm-1.1.1
libdmx-1.1.1
libpciaccess-0.12.1
libxkbfile-1.0.7
pixman-0.22.2
libdrm-2.4.27
libtalloc-2.0.1
MesaLib-7.10.3
 I plan to test 7.11.2 but I bailed on this build - after sedding
 out the requirement for libdrm_nouveau >= 0.6 (I only have ati
 video cards) it told me I needed llvm : I think Andy posted about
 how to tame that package the other day, but sitting in front of
 a text screen I figured the best way forward was to go back to a
 version I'd built recently on an older system which I new had fewer
 dependencies.
glew-1.5.7
mesa-demos-8.0.1

 bitmaps and progs:

xbitmaps-1.1.1
iceauth-1.0.5
mkfontdir-1.0.6
rgb-1.0.3
setxkbmap-1.2.0
xauth-1.0.6
xcalc-1.0.3
 NB omitting core fonts means that the sqrt key doesn't show the
 correct symbol.  I used to build the adobe 75 or 100 dpi (according
 to screen size) and misc-misc fonts for some years, but I stopped
 bothering - I don't use square roots normally.
xclock-1.0.4
xcursorgen-1.0.4
xdpyinfo-1.3.0
xdriinfo-1.0.4
xev-1.1.0
xgamma-1.0.4
xhost-1.0.4
xinit-1.3.0
xkbcomp-1.2.3
xmodmap-1.0.5
xrdb-1.0.9
xrefresh-1.0.4
xset-1.2.2
xsetroot-1.1.0
xwd-1.0.4
xcursor-themes-1.0.3
xkeyboard-config-2.4.1

 server, drivers, configuration:

xorg-server-1.11.2
  Note that this installed 10-evdev.conf (for mice and
 trackpads) into /usr/share/X11/xorg.conf.d
 Distros add overrides for certain odd devices.
xf86-input-evdev-2.6.0
xf86-video-ati-6.14.3
 (I only have old radeon R200s at the moment, I apply a patch to
 revert a change that made it unusable, now in -patches :probably
 only applies to OLD AGP radeons.
rxvt-unicode-9.12
 to replace xterm, with symlinks from xterm
11-keyboard.conf
  This goes into /usr/share/X11/xorg.conf.d to specify that I have a
 British keyboard and want ctrl-alt-backspace to work.  Everything
 else (particularly, dead keys for accents on latin letters, and
 many extra symbols on AltGr+key) comes anyway!
 Will attach this, and an example found on the xorg lists.

 Note that this is working great, but I need to check if I can
remove the xset invocations in my .xinitrc - I suspect, with the
evdev keyboard type, that I probably can,

 fonts:

 I've long-since abandonned the old core fonts, as you can see from
my reduced build.  I've got a load of other fonts, but as far as the
book is concerned I should mention the following -

bitstream-vera-1.10
baekmuk-ttf-2.2
dejavu-fonts-ttf-2.33
firefly-1.3.0
freefont-ttf-20100919

 and perhaps it might also be worth mentioning
ubuntu-font-family-sources_0.80.orig

 finally, a wm that will do until I've built gtk+-2 and icewm:

fluxbox-1.3.2

 - - -
#my 11-keyboard.conf:
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "gb"
        Option "XkbModel" "evdev"
        Option "XkbOptions" "ctrl_alt_bksp"
        MatchIsKeyboard "on"
EndSection

 - - -
#a Polish 10-keyboard.conf found on the xorg lists -
#if you use both, 11 will override 10, I think
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "pl"
        Option "XkbModel" "evdev"
        Option "XkbOptions" "win:switch,terminate:ctrl_alt_bksp"
        Option          "LeftAlt"       "Meta"
        Option          "RightAlt"      "ModeShift"
        MatchIsKeyboard "on"
EndSection

-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to