Subject: Re: modular xorg packages?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 05/02/2007 14:29:47
Hi,

using NetBSD 4.0_BETA2 and NetBSD 4.99.18 (and the same pkgsrc-CURRENT),
all went OK. Here's my notes:
#####################################################################
# Modular X.org on NetBSD
#

# /etc/mk.conf
#
X11_TYPE=modular
PKG_OPTIOS.xorg-server=glx

# packages
#
x11/xf86-video-nv
x11/xf86-video-i810
x11/xf86-input-keyboard
x11/xf86-input-mouse
fonts/font-adobe-75dpi          # this one or font-bitstream-75dpi
fonts/font-adobe-100dpi         # this one or font-bitstream-100dpi
fonts/font-misc-misc
fonts/font-alias
fonts/font-cursor-misc
x11/xinit

# additional packages
#
x11/xterm
x11/xauth
x11/iceauth

x11/xdpyinfo
graphics/glx-utils/
x11/xset
x11/xrdb
#####################################################################

The server package is modular-xorg-server-1.2.0nb1.
I also compiled "wpi/mesa-dri" on NetBSD 4.0_BETA2 and it went OK (running
a i810). I didn't test server 1.3 from wip (yet).

You may grab my binaries from http://www.tumfatig.net/packw/ if you want
to give a quick try on your hardware. 4.0_BETA2 has only -i810- driver
available and 4.99.18 has only -nv- driver (because those are the hardware
I have on the machine I compiled the packages ;)

The mk.conf is here http://www.tumfatig.net/pack/mk.conf

Regards,
   Jo

> On Sat, 28 Apr 2007, Sverre Froyen wrote:
>
>> On Saturday 28 April 2007, Steven M. Bellovin wrote:
>>> I want to switch one of my machines to modular xorg.  What, precisely,
>>> do I need to install?  I do not see any obvious set of packages that I
>>> should install.
>>
>> Here's what I installed (by trial and error until the X server would
>> start and
>> then until kde would build and run).  I believe it's i fairly minimal
>> set.
>>
>> x11/modular-xorg-server
>> x11/xf86-input-keyboard
>> x11/xf86-input-mouse
>> x11/xf86-video-ati  (has to match your graphics card)
>> x11/xinit
>> x11/xterm
>> x11/xauth
>> x11/iceauth
>> fonts/font-alias
>> fonts/font-misc-misc
>> fonts/font-cursor-misc
>> wm/tvtwm (not strictly needed)
>>
>> I also added:
>>
>> fonts/font-adobe-75dpi
>> fonts/font-adobe-100dpi
>
> Every time I try to build x11/modular-xorg-server, I get an error in
> x11/xkbcomp. Any ideas?
>
> checking pkg-config is at least version 0.9.0... yes
> checking for XKBCOMP... gnome-config: not found
> gnome-config: not found
> configure: error: Package requirements (x11 xkbfile) were not met:
>
> No package 'x11' found
> No package 'xkbfile' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables XKBCOMP_CFLAGS
> and XKBCOMP_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/x11/xkbcomp
> *** Error code 1
>
>
> --
> Hisashi T Fujinaka - htodd@twofifty.com
> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
>