Changeset 5b5c0e9 for x/installing
- Timestamp:
- 10/26/2014 11:23:17 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- d72fae5a
- Parents:
- 44ae5736
- Location:
- x/installing
- Files:
-
- 1 added
- 4 edited
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
x/installing/installing.xml
r44ae5736 r5b5c0e9 64 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xcb-util-renderutil.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xcb-util-wm.xml"/> 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mesalib .xml"/>66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mesalib-systemd.xml"/> 67 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xbitmaps.xml"/> 68 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x7app.xml"/> 69 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xcursor-themes.xml"/> 70 70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x7font.xml"/> 71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xkeyboard-config .xml"/>72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xorg-server .xml"/>73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x7driver .xml"/>71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xkeyboard-config-systemd.xml"/> 72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xorg-server-systemd.xml"/> 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x7driver-systemd.xml"/> 74 74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="twm.xml"/> 75 75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xterm.xml"/> -
x/installing/mesalib-systemd.xml
r44ae5736 r5b5c0e9 7 7 <!ENTITY mesalib-download-http " "> 8 8 <!ENTITY mesalib-download-ftp 9 "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">9 "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2"> 10 10 <!ENTITY mesalib-md5sum "c0a2a975899c4e7485124b388c16cd2f"> 11 11 <!ENTITY mesalib-size "7.0 MB"> 12 <!ENTITY mesalib-buildsize "25 3 MB (additional 2 MB for the docs)">12 <!ENTITY mesalib-buildsize "255 MB"> 13 13 <!ENTITY mesalib-time "5.2 SBU"> 14 15 14 ]> 16 15 … … 87 86 <bridgehead renderas="sect4">Required</bridgehead> 88 87 <para role="required"> 89 <xref linkend=" xorg7-lib"/>,90 <xref linkend=" libdrm"/>,and91 <xref linkend=" python2"/>88 <xref linkend="libdrm"/>, 89 <xref linkend="python2"/> and 90 <xref linkend="xorg7-lib"/> 92 91 </para> 93 92 94 93 <bridgehead renderas="sect4">Recommended</bridgehead> 95 94 <para role="recommended"> 96 <xref linkend="elfutils"/> (required for radeon 3ddrivers),97 <xref linkend="libvdpau"/> (to build VDPAU drivers ),98 <xref linkend="llvm"/> (required for radeon 3ddrivers and also for95 <xref linkend="elfutils"/> (required for Radeon 3D drivers), 96 <xref linkend="libvdpau"/> (to build VDPAU drivers for supported hardware), 97 <xref linkend="llvm"/> (required for Radeon 3D drivers and also for 99 98 llvmpipe which is intended to be the fastest of the three sw rasterizers, 100 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink> ) 99 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink>) and 100 <xref linkend="wayland"/> (required for <filename>libwayland-egl</filename> 101 library which is used by many packages that use 102 <application>Wayland</application>) 101 103 </para> 102 104 103 105 <bridgehead renderas="sect4">Optional</bridgehead> 104 106 <para role="optional"> 105 <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink> 106 provides more than 300 extra demos to test 107 <application>MesaLib</application>; two of them overwrites the ones 108 included by 109 <filename>MesaLib-&mesalib-version;-add_xdemos-1.patch</filename>; 110 to avoid that, install in a different prefix or add, e.g. 111 <option>--program-prefix=md</option> to configure, and 112 <ulink url="http://wayland.freedesktop.org/">Wayland</ulink> 107 <ulink url="http://libclc.llvm.org/">libclc</ulink> 108 (to build Radeon OpenCL library) and 109 <ulink url="http://omxil.sourceforge.net/">libomxil-bellagio</ulink> 110 (to build Radeon OpenMAX driver) 113 111 </para> 114 112 … … 120 118 Please note that <application>elfutils</application> and 121 119 <application>LLVM</application> are <emphasis>required</emphasis> 122 for Radeon 3D drivers. For an explanation of gallium please see120 for Radeon 3D drivers. For an explanation of Gallium please see 123 121 <ulink url="https://en.wikipedia.org/wiki/Gallium3D"></ulink>. 124 122 </para> … … 156 154 </para> 157 155 158 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \ 159 --prefix=$XORG_PREFIX \ 160 --sysconfdir=/etc \ 161 --enable-texture-float \ 162 --enable-gles1 \ 163 --enable-gles2 \ 164 --enable-openvg \ 165 --enable-osmesa \ 166 --enable-xa \ 167 --enable-gbm \ 168 --enable-gallium-egl \ 169 --enable-gallium-gbm \ 170 --enable-glx-tls \ 171 --with-egl-platforms="drm,x11" \ 156 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \ 157 --prefix=/usr \ 158 --sysconfdir=/etc \ 159 --disable-gallium-egl \ 160 --enable-texture-float \ 161 --enable-gles1 \ 162 --enable-gles2 \ 163 --enable-osmesa \ 164 --enable-xa \ 165 --enable-gbm \ 166 --enable-glx-tls \ 167 --with-egl-platforms="drm,x11,wayland" \ 172 168 --with-gallium-drivers="nouveau,r300,r600,radeonsi,svga,swrast" && 173 169 make</userinput></screen> … … 178 174 </para> 179 175 180 <screen><userinput>make -C xdemos DEMOS_PREFIX= $XORG_PREFIX</userinput></screen>176 <screen><userinput>make -C xdemos DEMOS_PREFIX=/usr</userinput></screen> 181 177 182 178 <para> … … 196 192 </para> 197 193 198 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX= $XORG_PREFIXinstall</userinput></screen>194 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=/usr install</userinput></screen> 199 195 200 196 <para> … … 211 207 <sect2 role="commands"> 212 208 <title>Command Explanations</title> 213 214 <para>215 <command>patch -Np1...</command>: Fix various problems216 introduced with LLVM-3.5.0.217 </para>218 209 219 210 <para> … … 226 217 227 218 <para> 219 <parameter>--disable-gallium-egl</parameter>: This switch disables 220 the egl_gallium loader in favor of egl_dri2 loader which supports 221 both DRI and Gallium drivers. 222 </para> 223 224 <para> 228 225 <parameter>--enable-texture-float</parameter>: This switch enables 229 226 floating-point textures and render buffers. Please consult … … 243 240 244 241 <para> 245 <parameter>--enable-openvg</parameter>: This switch enables support for246 OpenVG API.247 </para>248 249 <para>250 242 <parameter>--enable-osmesa</parameter>: This switch enables building of 251 243 the <filename class="libraryfile">libOSMesa</filename> library. … … 263 255 264 256 <para> 265 <parameter>--enable-gallium-egl</parameter>: This switch enables optional266 EGL state tracker for Gallium.267 </para>268 269 <para>270 257 <parameter>--enable-gallium-gbm</parameter>: This switch enables optional 271 258 GBM state tracker for Gallium. … … 280 267 <parameter>--with-egl-platforms="..."</parameter>: This parameter 281 268 controls for which platforms EGL should be built. Available 282 platforms are drm, x11 and wayland. 269 platforms are drm, x11 and wayland. Remove <option>wayland</option> 270 from the list if you have not installed 271 <application>Wayland</application>. 283 272 </para> 284 273 … … 296 285 enable experimental R600 <application>LLVM</application> backend 297 286 for graphics shaders which claims to speed up the driver. 298 </para>299 300 <para>301 <option>--enable-sysfs</option>: Use this switch to enable simple PCI302 identification method, required for building DRI on systems without udev.303 287 </para> 304 288 … … 324 308 libGLESv2.so, 325 309 libGL.so, 326 libO penVG.so,327 lib OSMesa.so, and310 libOSMesa.so, 311 libwayland-egl.so, and 328 312 libxatracker.so 329 <!--libXvMCnouveau.so and libXvMCr600.so-->330 313 </seg> 331 314 <seg> 332 $XORG_PREFIX/include/EGL, 333 $XORG_PREFIX/include/GL, 334 $XORG_PREFIX/include/GLES, 335 $XORG_PREFIX/include/GLES2, 336 $XORG_PREFIX/include/GLES3, 337 $XORG_PREFIX/include/KHR, 338 $XORG_PREFIX/include/VG, 339 $XORG_PREFIX/lib/dri, 340 $XORG_PREFIX/lib/egl, 341 $XORG_PREFIX/lib/gbm, 342 $XORG_PREFIX/lib/vdpau, and 315 /usr/include/EGL, 316 /usr/include/GL, 317 /usr/include/GLES, 318 /usr/include/GLES2, 319 /usr/include/GLES3, 320 /usr/include/KHR, 321 /usr/include/VG, 322 /usr/lib/dri, 323 /usr/lib/egl, 324 /usr/lib/gallium-pipe, 325 /usr/lib/gbm, 326 /usr/lib/vdpau, and 343 327 /usr/share/doc/MesaLib-&mesalib-version; (optional) 344 328 </seg> … … 439 423 </varlistentry> 440 424 441 <varlistentry id="libOpenVG">442 <term><filename class="libraryfile">libOpenVG.so</filename></term>443 <listitem>444 <para>445 is the <application>Mesa</application> OpenVG 1.0 library.446 </para>447 <indexterm zone="mesalib libOpenVG">448 <primary sortas="c-libOpenVG">libOpenVG.so</primary>449 </indexterm>450 </listitem>451 </varlistentry>452 453 425 <varlistentry id="libOSMesa"> 454 426 <term><filename class="libraryfile">libOSMesa.so</filename></term> … … 463 435 </varlistentry> 464 436 437 <varlistentry id="libwayland-egl"> 438 <term><filename class="libraryfile">libwayland-egl.so</filename></term> 439 <listitem> 440 <para> 441 is the <application>Wayland</application> specific EGL library. 442 </para> 443 <indexterm zone="mesalib libwayland-egl"> 444 <primary sortas="c-libwayland-egl">libwayland-egl.so</primary> 445 </indexterm> 446 </listitem> 447 </varlistentry> 448 465 449 <varlistentry id="libxatracker"> 466 450 <term><filename class="libraryfile">libxatracker.so</filename></term> -
x/installing/x7driver-ati.xml
r44ae5736 r5b5c0e9 144 144 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"</literal></screen> 145 145 146 <note><para>CONFIG_EXTRA_FIRMWARE should all be on one line. It 147 is shown above as two lines for presentation only.</para></note> 146 <note> 147 <para> 148 CONFIG_EXTRA_FIRMWARE should all be on one line. It 149 is shown above as two lines for presentation only. 150 </para> 151 </note> 148 152 149 153 <tip> -
x/installing/x7driver-intel-systemd.xml
r44ae5736 r5b5c0e9 116 116 --enable-kms-only \ 117 117 --enable-uxa \ 118 --enable-glamor && 118 --enable-glamor \ 119 --disable-dri3 && 119 120 make</userinput></screen> 120 121 … … 141 142 <para> 142 143 <parameter>--enable-uxa</parameter>: This switch enables Unified 143 Acceleration Architecture (UXA) andis required for Glamor144 Acceleration Architecture (UXA) which is required for Glamor 144 145 acceleration. 145 146 </para> … … 149 150 new GL-based 2D acceleration. As well as specifying this in the 150 151 build, it needs to be enabled at run time (see below). 152 </para> 153 154 <para> 155 <parameter>--disable-dri3</parameter>: This switch disables DRI3 156 support in the driver as it has been known to be buggy with the 157 current stack. 151 158 </para> 152 159 -
x/installing/x7driver-synaptics.xml
r44ae5736 r5b5c0e9 105 105 106 106 <screen role="root"><userinput>make install</userinput></screen> 107 107 108 </sect3> 108 109 -
x/installing/x7driver-vmmouse-systemd.xml
r44ae5736 r5b5c0e9 34 34 </para> 35 35 36 &lfs76_ built;36 &lfs76_checked; 37 37 38 38 <bridgehead renderas="sect4">Package Information</bridgehead> … … 102 102 <screen><userinput>patch -Np1 -i ../xf86-input-vmmouse-&xorg-vmmouse-driver-version;-build_fix-1.patch && 103 103 ./configure $XORG_CONFIG \ 104 --without-hal-callouts-dir \ 104 105 --without-hal-fdi-dir \ 105 --without-hal-callouts-dir \106 106 --with-udev-rules-dir=/lib/udev/rules.d && 107 107 make</userinput></screen> … … 122 122 123 123 <para> 124 <parameter>--with-udev-rules-dir=/lib/udev/rules.d</parameter>: 125 This switch specifies where udev rules should be installed. 124 <parameter>--without-hal-*-dir</parameter>: These switches 125 disable installation of the <application>HAL</application> 126 components which are not needed on Linux. 126 127 </para> 127 128 128 129 <para> 129 <option>--without-hal-*-dir</option>: These switches disable 130 installation of the <application>HAL</application> components 131 which are not needed on Linux. 130 <parameter>--with-udev-rules-dir=/lib/udev/rules.d</parameter>: 131 This switch specifies where Udev rules should be installed. 132 132 </para> 133 133 -
x/installing/x7driver-vmware-systemd.xml
r44ae5736 r5b5c0e9 68 68 </itemizedlist> 69 69 70 <bridgehead renderas="sect4">Additional Downloads</bridgehead> 71 <itemizedlist spacing="compact"> 72 <listitem> 73 <para> 74 Required patch: 75 <ulink url="&patch-root;/xf86-video-vmware-&xorg-vmware-driver-version;-upstream_fixes-1.patch"/> 76 </para> 77 </listitem> 78 </itemizedlist> 79 70 80 <bridgehead renderas="sect4">Xorg VMware Driver Dependencies</bridgehead> 71 81 … … 107 117 </para> 108 118 109 <screen><userinput>sed -i "/xf86xv.h/i #include <xorg-server.h>" vmwgfx/vmwgfx_overlay.c && 119 <screen><userinput>patch -Np1 -i ../xf86-video-vmware-&xorg-vmware-driver-version;-upstream_fixes-1.patch && 120 sed -i "/xf86xv.h/i #include <xorg-server.h>" vmwgfx/vmwgfx_overlay.c && 110 121 111 122 ./configure $XORG_CONFIG && … … 121 132 122 133 <screen role="root"><userinput>make install</userinput></screen> 134 123 135 </sect3> 124 136 125 137 <sect3> 126 138 <title>Command Explanations</title> 139 127 140 <para> 128 141 <command>sed -i ...</command>: This sed fixes building with the latest 129 142 version of <application>Glibc</application>. 130 143 </para> 144 131 145 </sect3> 132 146 -
x/installing/x7driver-wacom-systemd.xml
r44ae5736 r5b5c0e9 115 115 </para> 116 116 117 <screen><userinput>./configure $XORG_CONFIG --with-systemd-unit-dir=no && 117 <screen><userinput>./configure $XORG_CONFIG \ 118 --with-udev-rules-dir=/lib/udev/rules.d \ 119 --with-systemd-unit-dir=/lib/systemd/system && 118 120 make</userinput></screen> 119 121 … … 127 129 128 130 <screen role="root"><userinput>make install</userinput></screen> 131 132 </sect3> 133 134 <sect3> 135 <title>Command Explanations</title> 136 137 <para> 138 <parameter>--with-udev-rules-dir=/lib/udev/rules.d</parameter>: 139 This switch specifies where Udev rules should be installed. 140 </para> 141 142 <para> 143 <parameter>--with-systemd-unit-dir=/lib/systemd/system</parameter>: 144 This switch specifies where systemd units should be installed. 145 </para> 146 129 147 </sect3> 130 148 -
x/installing/xkeyboard-config-systemd.xml
r44ae5736 r5b5c0e9 6 6 7 7 <!ENTITY xkeyboard-config-download-http 8 "&xorg-download-http;/data/xkeyboard-config/xkeyboard-config-&xkeyboard-config-version;.tar.bz2">8 "&xorg-download-http;/data/xkeyboard-config/xkeyboard-config-&xkeyboard-config-version;.tar.bz2"> 9 9 <!ENTITY xkeyboard-config-download-ftp 10 "&xorg-download-ftp;/data/xkeyboard-config/xkeyboard-config-&xkeyboard-config-version;.tar.bz2">10 "&xorg-download-ftp;/data/xkeyboard-config/xkeyboard-config-&xkeyboard-config-version;.tar.bz2"> 11 11 <!ENTITY xkeyboard-config-md5sum "a415775ca8ecf4dfafc9488b8cbd7114"> 12 12 <!ENTITY xkeyboard-config-size "922 KB"> … … 77 77 <bridgehead renderas="sect4">Required</bridgehead> 78 78 <para role="required"> 79 <xref linkend="xorg7-lib"/> 79 <xref linkend="libxslt"/> 80 </para> 81 82 <bridgehead renderas="sect4">Optional</bridgehead> 83 <para role="optional"> 84 <xref linkend="xorg7-proto"/> 80 85 </para> 81 86 … … 93 98 </para> 94 99 95 <screen><userinput>./configure $XORG_CONFIG --with-xkb-rules-symlink=xorg && 100 <screen><userinput>./configure --prefix=/usr \ 101 --disable-runtime-deps \ 102 --with-xkb-rules-symlink=xorg && 96 103 make</userinput></screen> 97 104 … … 110 117 <sect2 role="commands"> 111 118 <title>Command Explanations</title> 119 120 <para> 121 <parameter>--disable-runtime-deps</parameter>: This switch disables 122 checking for Xorg Protocol Headers which are only required for 123 <application>Xorg</application> at runtime. 124 </para> 112 125 113 126 <para> … … 131 144 <seg>None</seg> 132 145 <seg> 133 <envar>$XORG_PREFIX</envar>/share/X11/xkb146 /usr/share/X11/xkb 134 147 </seg> 135 148 </seglistitem> -
x/installing/xorg-server-systemd.xml
r44ae5736 r5b5c0e9 95 95 <bridgehead renderas="sect4">Recommended</bridgehead> 96 96 <para role="recommended"> 97 <xref linkend="libepoxy"/> (required for glamor, see command 98 explanations below) 97 <xref linkend="libepoxy"/> (for Glamor), 98 <xref linkend="wayland"/> (both for <command>Xwayland</command>) and 99 <xref linkend="systemd"/> (for Logind) 99 100 </para> 100 101 101 102 <bridgehead renderas="sect4">Optional</bridgehead> 102 <para role="optional">103 <para> 103 104 <xref linkend="acpid"/> (runtime), 104 105 <xref linkend="doxygen"/> (to build API documentation), 105 106 <xref linkend="fop"/>, (to build documentation), 106 <xref linkend="gs"/> (to build documentation), and 107 <xref linkend="xmlto"/>, (to build documentation) 107 <xref linkend="gs"/> (to build documentation), 108 <xref linkend="xmlto"/>, (to build documentation), and 109 <ulink url="http://download.savannah.gnu.org/releases/libunwind/">libunwind</ulink> 108 110 </para> 109 111 … … 131 133 --enable-dmx \ 132 134 --enable-glamor \ 133 --enable-install-setuid \134 135 --enable-suid-wrapper && 135 136 make</userinput></screen> … … 145 146 146 147 <screen role="root"><userinput>make install && 147 mkdir -pv /etc/X11/xorg.conf.d && 148 cat >> /etc/sysconfig/createfiles << "EOF" 149 <literal>/tmp/.ICE-unix dir 1777 root root 150 /tmp/.X11-unix dir 1777 root root</literal> 151 EOF</userinput></screen> 148 mkdir -pv /etc/X11/xorg.conf.d</userinput></screen> 152 149 153 150 </sect2> … … 157 154 158 155 <para> 159 <parameter>--enable-dmx</parameter>: Build DMX (Distributed Multihead X) 160 server. 161 </para> 162 163 <para> 164 <parameter>--enable-glamor</parameter>: Build the Glamor DIX (Device 165 Independent X) module which is currently required for Southern Islands and 166 Sea Islands radeon video chipsets, optional for some other radeons, and 167 also optional for the intel driver. 168 </para> 169 170 <para> 171 <parameter>--enable-install-setuid</parameter>: The Xorg binary must run as 172 the root user. This switch ensures that the binary is installed 173 setuid when <command>make</command> is run by an unprivileged user. 174 </para> 175 176 <para> 177 <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for 178 legacy driver support on rootless xserver systems. 179 </para> 180 181 <para> 182 <command>cat >> /etc/sysconfig/createfiles...</command>: This 183 command creates the <filename class="directory">/tmp/.ICE-unix</filename> 184 and <filename class="directory">/tmp/.X11-unix</filename> directories at 185 startup, and ensures that the permissions and ownership are correct as 186 required by the server. 156 <parameter>--enable-dmx</parameter>: This switch enables building of the DMX 157 (Distributed Multihead X) server. 158 </para> 159 160 <para> 161 <parameter>--enable-glamor</parameter>: This switch enables building 162 of the Glamor DIX module which is required by some drivers and 163 <command>Xwayland</command>. Remove it if you don't want to install 164 <application>libepoxy</application> and are not going to need 165 <command>Xwayland</command> or you don't have any hardware that 166 requires Glamor (Radeon "Southern Islands" and later GPUs). 167 </para> 168 169 <para> 170 <parameter>--enable-suid-wrapper</parameter>: This switch enables building of 171 the suid-root wrapper for legacy driver support on rootless xserver systems. 187 172 </para> 188 173 … … 201 186 cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize, 202 187 dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X, 203 Xdmx, xdmxconfig, Xnest, Xorg, and Xvfb188 Xdmx, xdmxconfig, Xnest, Xorg, Xvfb, and Xwayland 204 189 </seg> 205 190 <seg> 206 several under $XORG_PREFIX/lib/xorg/modules/{,extensions,multimedia}191 None 207 192 </seg> 208 193 <seg> -
x/installing/xorg7.xml
r44ae5736 r5b5c0e9 133 133 <note><para>If you've decided to use the standard <filename 134 134 class="directory">/usr</filename> prefix, you can omit the remainder of 135 this page and continue at <xref linkend= 'util-macros'/>.</para></note>135 this page and continue at <xref linkend="util-macros"/>.</para></note> 136 136 137 137 <para>If you've decided to <emphasis>not</emphasis> use the standard … … 183 183 user:</para> 184 184 185 <screen><userinput role="root">ln -s $XORG_PREFIX/share/X11 /usr/share/X11</userinput></screen>185 <screen><userinput role="root">ln -sfv $XORG_PREFIX/share/X11 /usr/share/X11</userinput></screen> 186 186 187 187 <para>Finally, if building on x86_64, you will need to create the
Note:
See TracChangeset
for help on using the changeset viewer.