NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lost touchpad support after upgrading to modular-xorg in current pkgsrc



On Fri 21 Jun 2013 at 23:06:10 +0530, Mayuresh wrote:
> On Fri, Jun 21, 2013 at 07:24:38PM +0200, Rhialto wrote:
> > Also, with "modern" programs that use Gnome or KDE, the font rendering
> > has become client-side, while it traditionally always has been
> > server-side. Even worse are those newfangled display things that are
> > being pushed by the Ubuntu people (Wayland, I believe it is called[1]),
> > which do away with network transpareny completely, and which therefore
> > lose very much of what makes X (or anything like it) so useful.
> 
> The most common clients I need are xterm, ratpoison and firefox. May be
> these work without those dependencies? (Not sure about firefox actually.)

If I look at the shared X libraries that are in use by Xorg and xterm, I
see some that are shared:

$ sudo ldd /usr/X11R7/bin/Xorg 
/usr/X11R7/bin/Xorg:
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lpixman-1.2 => /usr/X11R7/lib/libpixman-1.so.2
        -lXfont.3 => /usr/X11R7/lib/libXfont.so.3
        -lXt.7 => /usr/X11R7/lib/libXt.so.7             ***
        -lX11.7 => /usr/X11R7/lib/libX11.so.7           ***
        -lxcb.1 => /usr/X11R7/lib/libxcb.so.1           ***
        -lXau.7 => /usr/X11R7/lib/libXau.so.7           ***
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7       ***
        -lSM.7 => /usr/X11R7/lib/libSM.so.7             ***
        -lICE.7 => /usr/X11R7/lib/libICE.so.7           ***
        -lXext.7 => /usr/X11R7/lib/libXext.so.7         ***
        -lfontenc.2 => /usr/X11R7/lib/libfontenc.so.2
        -lz.1 => /usr/lib/libz.so.1
        -lfreetype.7 => /usr/X11R7/lib/libfreetype.so.7 ***
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lpciaccess.0 => /usr/X11R7/lib/libpciaccess.so.0
        -lpci.2 => /usr/lib/libpci.so.2
        -lx86_64.0 => /usr/lib/libx86_64.so.0
        -ldrm.3 => /usr/X11R7/lib/libdrm.so.3
        -lcrypto.8 => /usr/lib/libcrypto.so.8
        -lcrypt.1 => /lib/libcrypt.so.1

$ ldd /usr/X11R7/bin/xterm 
/usr/X11R7/bin/xterm:
        -lXft.3 => /usr/X11R7/lib/libXft.so.3
        -lX11.7 => /usr/X11R7/lib/libX11.so.7           ***
        -lxcb.1 => /usr/X11R7/lib/libxcb.so.1           ***
        -lXau.7 => /usr/X11R7/lib/libXau.so.7           ***
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7       ***
        -lfontconfig.2 => /usr/X11R7/lib/libfontconfig.so.2
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lfreetype.7 => /usr/X11R7/lib/libfreetype.so.7 ***
        -lz.1 => /usr/lib/libz.so.1
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lXrandr.3 => /usr/X11R7/lib/libXrandr.so.3
        -lXrender.2 => /usr/X11R7/lib/libXrender.so.2
        -lXext.7 => /usr/X11R7/lib/libXext.so.7         ***
        -lXaw7.10 => /usr/X11R7/lib/libXaw7.so.10
        -lXmu.7 => /usr/X11R7/lib/libXmu.so.7
        -lXt.7 => /usr/X11R7/lib/libXt.so.7             ***
        -lSM.7 => /usr/X11R7/lib/libSM.so.7             ***
        -lICE.7 => /usr/X11R7/lib/libICE.so.7           ***
        -lXpm.5 => /usr/X11R7/lib/libXpm.so.5
        -lcurses.7 => /usr/lib/libcurses.so.7
        -lterminfo.1 => /usr/lib/libterminfo.so.1
        -lutil.7 => /usr/lib/libutil.so.7

For Firefox it is more difficult to see, since it is a shell script that
uses xulrunner, and a lot of the stuff that it uses is I think loaded
dynamically. But it is based on gtk+.

One thing you can do is to use pkg_comp to set up a separate environment
to build your packages. Inside it you can configure it for modular X.

Hopefully, if you install those client packages but not the Xorg server,
they will use the modular versions of the libraries in /usr/pkgsrc/
instead of the native ones in /usr/X11R7/lib/. But to make sure, the
client-side and server-side libraries should have different names.
(If you don't install native X inside the pkg_comp environment, then
hopefully you can build the modular packages, and I expect that they
won't have /usr/X11R7/lib/ in their library search path. But I haven't
tried that.)

> Mayuresh.
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'



Home | Main Index | Thread Index | Old Index