|
Subject: HOWTO Xgl under Mandriva Newsgroups: gmane.linux.mandrake.cooker.devel Date: 2006-02-13 10:47:34 GMT (3 years, 20 weeks, 1 day, 21 hours and 10 minutes ago) This is how I have done to run Xgl with compiz under Mandriva 2006 HOWTO XGL : create /usr/share/aclocal/dirlist file add the following line /opt/fdo/share/aclocal export PKG_CONFIG_PATH="/opt/fdo/lib/pkgconfig:$PKG_CONFIG_PATH" cd /opt/cvs cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/cairo co glitz cd glitz ./autogen.sh --prefix=/opt/fdo make make install cd .. cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/dri co drm cd drm ./autogen.sh --prefix=/opt/fdo make make install cd .. mkdir xorg cd xorg cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co util/macros cd util/macros ./autogen.sh --prefix=/opt/fdo make make install cd /opt/cvs/xorg compile all apps/libs/proto with ./autogen.sh --prefix=/opt/fdo make make install in this order : cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/BigReqs cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/X11 cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XExt cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XCMisc cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/KB cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Input cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XF86DRI cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/GL cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Randr cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Render cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Fixes cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Damage cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XF86BigFont cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XF86Misc cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XF86VidMode cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/ScrnSaver cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Resource cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Fonts cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/XF86DGA cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Video cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Composite cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Trap cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Record cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Xinerama cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/EvIE cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co proto/Fontcache cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/xtrans cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xdmcp cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xau cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/X11 cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/xkbfile cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/fontenc cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xfont cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xext cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/XRes cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xrender cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xrandr cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xfixes cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xdamage cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xcomposite cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/ICE cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/SM cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xt cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/xkbui cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xxf86vm cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xxf86misc cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xmu cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xpm cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co lib/Xaw Now, the can compile Mesa... cd /opt/cvs cvs -d:pserver:anonymous <at> pdx.freedesktop.org:/cvs/mesa co Mesa cd Mesa make linux-dri-x86 cd .. and xorg/Xgl cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co -r xgl-0-0-1 -d xgl-0.0.1 xserver/xorg cd xgl cat ../xgl-mesa-makefile-fix.diff | patch -p1 (if you use an ATI card with r200, you need one more patch) ./autogen --prefix=/opt/fdo --enable-xgl --enable-xglx --disable-xprint --disable-dmx --disable-xvfb --disable-xnest --with-mesa-source=/opt/cvs/Mesa make make install link fonts from actual xorg to your new Xgl cd /opt/fdo/lib/X11 ln -s fonts /usr/lib/X11/fonts launch Xgl from a consol (TTY1) : /opt/fdo/bin/Xgl -ac -accel xv -accel glx:pbuffer & xterm or /opt/fdo/bin/Xgl -ac -accel xv -accel glx:pbuffer :2 & xterm -display :2 ---- to use compiz -------- cd /opt/cvs/xorg cvs -d :pserver:anoncvs <at> cvs.freedesktop.org:/cvs/xorg co app/compiz cd app/compiz ./autogen.sh --prefix=/opt/fdo make make install in your xterm (under Xgl) type : startkde or startgnome open a new xterm and type: LD_LIBRARY_PATH=/opt/fdo/lib:/opt/cvs/Mesa/lib /opt/fdo/bin/compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place menu or if you are under gnome LD_LIBRARY_PATH=/opt/fdo/lib:/opt/cvs/Mesa/lib /opt/fdo/bin/compiz --replace gconf then, you can change setttings with gconf under apps/compiz -- Mon Blog : http://alkahan.free.fr Le Sans fil au Mans : http://www.lemans-sansfil.net |
|
|