Changeset a8ece039 for x


Ignore:
Timestamp:
08/24/2013 02:08:53 AM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f374379
Parents:
54e9eea
Message:

Reset

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11685 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
x
Files:
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • x/installing/libva.xml

    r54e9eea ra8ece039  
    2222]>
    2323
    24 <sect1 id="libva" xreflabel="libva-&libva-version;">
    25   <?dbhtml filename="libva.html"?>
    26 
    27   <sect1info>
     24<sect2 id="libva" xreflabel="libva-&libva-version;">
     25
     26  <sect2info>
    2827    <othername>$LastChangedBy$</othername>
    2928    <date>$Date$</date>
    30   </sect1info>
     29  </sect2info>
    3130
    3231  <title>libva-&libva-version;</title>
     
    3635  </indexterm>
    3736
    38   <sect2 role="package">
     37  <sect3 role="package">
    3938    <title>Introduction to libva</title>
    4039
    41     <para>
    42       The <application>libva</application> package contains a library which
    43       provides access to hardware accelerated video processing, using hardware
    44       to accelerate video processing in order to offload the central processing
    45       unit (CPU) to decode and encode compressed digital video.
    46     </para>
    47 
    48     &lfs73_checked;
    49 
    50     <bridgehead renderas="sect3">Package Information</bridgehead>
     40    <para>
     41       The <application>libva</application> package contains a library which
     42       provides access to hardware accelerated video processing, using hardware
     43       to accelerate video processing in order to offload the central
     44       processing unit (CPU) to decode and encode compressed digital video.  VA
     45       API video decode/encode interface is platform and window system
     46       independent targeted at Direct Rendering Infrastructure (DRI) in the X
     47       Window System however it can potentially also be used with direct
     48       framebuffer and graphics sub-systems for video output. Accelerated
     49       processing includes support for video decoding, video encoding,
     50       subpicture blending, and rendering.
     51    </para>
     52
     53    &lfs74_checked;
     54
     55    <bridgehead renderas="sect4">Package Information</bridgehead>
    5156    <itemizedlist spacing="compact">
    5257      <listitem>
     
    8287    </itemizedlist>
    8388
    84     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     89    <bridgehead renderas="sect4">Additional Downloads</bridgehead>
    8590    <itemizedlist spacing="compact">
    8691      <listitem>
     
    116121    </itemizedlist>
    117122
    118     <bridgehead renderas="sect3">libva Dependencies</bridgehead>
    119 
    120     <bridgehead renderas="sect4">Required</bridgehead>
     123    <bridgehead renderas="sect4">libva Dependencies</bridgehead>
     124
     125    <bridgehead renderas="sect5">Required</bridgehead>
    121126    <para role="required">
    122127      <xref linkend="mesalib"/>
    123128    </para>
    124129
    125     <bridgehead renderas="sect4">Optional</bridgehead>
     130    <bridgehead renderas="sect5">Optional</bridgehead>
    126131    <para role="optional">
    127132      <xref linkend="doxygen"/> and
     
    132137      User Notes: <ulink url="&blfs-wiki;/libva"/>
    133138    </para>
    134   </sect2>
    135 
    136   <sect2 role="installation">
     139  </sect3>
     140
     141  <sect3 role="installation">
    137142    <title>Installation of libva</title>
    138143
     
    142147    </para>
    143148
    144 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     149<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
    145150make</userinput></screen>
    146151
     
    155160<screen role="root"><userinput>make install</userinput></screen>
    156161
    157   </sect2>
    158 
    159   <sect2 role="installation">
     162  </sect3>
     163
     164  <sect3 role="installation">
    160165    <title>Installation of libva-intel-driver</title>
    161166
    162167    <para>
    163       Install <application>libva-intel-driver</application> by running the
    164       following commands:
    165     </para>
    166 
    167 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     168      The <application>libva-intel-driver</application> is designed
     169      specifically for video cards based on an Intel GPU. 
     170      Install the driver by running the following commands:
     171    </para>
     172
     173<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
    168174make</userinput></screen>
    169175
     
    178184<screen role="root"><userinput>make install</userinput></screen>
    179185
    180   </sect2>
    181 
    182   <sect2 role="content">
     186  </sect3>
     187
     188  <sect3 role="content">
    183189    <title>Contents</title>
    184190
     
    227233    </variablelist>
    228234
    229   </sect2>
    230 
    231 </sect1>
     235  </sect3>
     236
     237</sect2>
  • x/installing/libvdpau.xml

    r54e9eea ra8ece039  
    1313]>
    1414
    15 <sect1 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
    16   <?dbhtml filename="libvdpau.html"?>
     15<sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
    1716
    18   <sect1info>
     17  <sect2info>
    1918    <othername>$LastChangedBy$</othername>
    2019    <date>$Date$</date>
    21   </sect1info>
     20  </sect2info>
    2221
    2322  <title>libvdpau-&libvdpau-version;</title>
     
    2726  </indexterm>
    2827
    29   <sect2 role="package">
     28  <sect3 role="package">
    3029    <title>Introduction to libvdpau</title>
    3130
    3231    <para>
    3332      The <application>libvdpau</application> package contains a library which
    34       allows video programs to offload portions of the video decoding process
    35       and video post-processing to the GPU video-hardware.
     33      implements the VDPAU library.
     34    </para>
     35     
     36    <para>
     37      VDPAU (Video Decode and Presentation API for Unix) is an open source
     38      library (libvdpau) and API originally designed by Nvidia for its GeForce
     39      8 series and later GPU hardware,[1][2] targeted at the X Window System
     40      This VDPAU API allows video programs to offload portions of the video
     41      decoding process and video post-processing to the GPU video-hardware.
     42   </para>
     43
     44   <para>
     45      Currently, the portions capable of being offloaded by VDPAU onto the GPU
     46      are motion compensation (mo comp), inverse discrete cosine transform
     47      (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2,
     48      MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded
     49      videos.  Which specific codecs of these that can be offloaded to the
     50      GPU depends on the version of the GPU hardware; specifically,
     51      to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and
     52      DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of
     53      Nvidia's GeForce graphics processing units) or newer GPU hardware is
     54      required.
    3655    </para>
    3756
    38     &lfs73_checked;
     57    &lfs74_checked;
    3958
    40     <bridgehead renderas="sect3">Package Information</bridgehead>
     59    <bridgehead renderas="sect4">Package Information</bridgehead>
    4160    <itemizedlist spacing="compact">
    4261      <listitem>
     
    7291    </itemizedlist>
    7392
    74     <bridgehead renderas="sect3">libvdpau Dependencies</bridgehead>
     93    <bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
    7594
    76     <bridgehead renderas="sect4">Required</bridgehead>
     95    <bridgehead renderas="sect5">Required</bridgehead>
    7796    <para role="required">
    7897      <xref linkend="xorg7-lib"/>
    7998    </para>
    8099
    81     <bridgehead renderas="sect4">Optional</bridgehead>
     100    <bridgehead renderas="sect5">Optional</bridgehead>
    82101    <para role="optional">
    83102      <xref linkend="doxygen"/>,
     
    86105    </para>
    87106
    88     <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
     107    <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
    89108    <para role="optional">
    90109      <xref linkend="mesalib"/>
     
    94113      User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
    95114    </para>
    96   </sect2>
     115  </sect3>
    97116
    98   <sect2 role="installation">
     117  <sect3 role="installation">
    99118    <title>Installation of libvdpau</title>
    100119
     
    104123    </para>
    105124
    106 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
     125<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
    107126make</userinput></screen>
    108127
     
    117136<screen role="root"><userinput>make install</userinput></screen>
    118137
    119   </sect2>
     138  </sect3>
    120139
    121   <sect2 role="content">
     140  <sect3 role="content">
    122141    <title>Contents</title>
    123142
     
    161180    </variablelist>
    162181
    163   </sect2>
     182  </sect3>
    164183
    165 </sect1>
     184</sect2>
  • x/installing/x7driver.xml

    r54e9eea ra8ece039  
    161161    </sect3>
    162162
     163    <sect3 id="hw-video-acceleration">
     164      <title>Hardware Video Acceleration</title>
     165
     166      <itemizedlist spacing="compact">
     167        <listitem>
     168          <para>
     169            <xref linkend="libva"/>
     170          </para>
     171        </listitem>
     172        <listitem>
     173          <para>
     174            <xref linkend="libvdpau"/>
     175          </para>
     176        </listitem>
     177      </itemizedlist>
     178
     179    </sect3>
     180
    163181  </sect2>
    164182
     
    220238    href="x7driver-vmware.xml"/>
    221239
     240  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     241    href="libva.xml"/>
     242
     243  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     244    href="libvdpau.xml"/>
     245
    222246</sect1>
  • x/lib/qt4.xml

    r54e9eea ra8ece039  
    8080    <bridgehead renderas="sect4">Required</bridgehead>
    8181    <para role="required">
    82       <xref linkend="alsa-lib"/>,
    83       <xref linkend="mesalib"/> and
    84       <xref linkend="qtchooser"/>
     82      <xref linkend="alsa-lib"/> and
     83      <xref linkend="mesalib"/>
    8584    </para>
    8685
     
    9594      <xref linkend="libpng"/>,
    9695      <xref linkend="libtiff"/>,
    97       <xref linkend="openssl"/> and
     96      <xref linkend="openssl"/>, and
    9897      <xref linkend="sqlite"/>
    9998    </para>
     
    106105      <xref linkend="mysql"/>,
    107106      <xref linkend="postgresql"/>,
    108       <xref linkend="pulseaudio"/> and
     107      <xref linkend="pulseaudio"/>,
     108      <xref linkend="qtchooser"/> (if also installing Qt5), and
    109109      <xref linkend="unixodbc"/>
    110110    </para>
     
    119119
    120120    <para>
     121
    121122       There are several ways to install a complicated package such as
    122123       <application>Qt</application>. The files are not completely position
     
    129130       correctly by the build process.
    130131    </para>
    131 
     132   
    132133    <para>
    133134       The default installation places the files in <filename
    134        class="directory">/usr/local/qt</filename>. Many commercial
     135       class='directory'>/usr/local/qt/</filename>. Many commercial
    135136       distributions place the files in the system's <filename
    136        class="directory">/usr</filename> hierarchy. The package can also be
     137       class='directory'>/usr</filename> hierarchy. The package can also be
    137138       installed in an arbitrary directory.
    138139    </para>
     
    140141    <para>
    141142       The advantage of installing in <filename
    142        class="directory">/usr</filename> is that no updates to the
     143       class='directory'>/usr</filename> is that no updates to the
    143144       <filename>/etc/ld.so.conf</filename> or
    144145       <filename>/etc/man_db.conf</filename> files are required. The package
    145146       files are distributed within several subdirectories of the <filename
    146        class="directory">/usr</filename> hierarchy. This is the method that
    147        most commercial distributions use. It is also supported by the
    148        <application>qtchooser</application> application.
    149     </para>
    150 
    151     <para>
    152        The advantage of installing <application>Qt</application> in a custom
     147       class='directory'>/usr</filename> hierarchy. This is the method that
     148       most commercial distributions use.  It is also supported by the
     149       optional <application>qtchooser</application> application.
     150    </para>
     151
     152    <para>
     153       The advantage of installing <application>Qt4</application> in a custom
    153154       directory such as <filename
    154        class="directory">/opt/qt-&qt4-version;</filename> is that it keeps all
     155       class='directory'>/opt/qt-&qt4-version;</filename> is that it keeps all
    155156       the package files consolidated in a dedicated directory hierarchy. By
    156157       using this method, an update can be made without overwriting a previous
    157158       installation and users can easily revert to a previous version by
    158        changing one symbolic link or merely changing the PATH variable. It
    159        also allows a developer to maintain multiple versions of
    160        <application>Qt</application> for testing.
     159       changing one symbolic link or merely changing the PATH variable.  It
     160       also allows a developer to maintain multiple versions of 
     161       <application>Qt4</application> for testing.
    161162    </para>
    162163
     
    198199     config.tests/unix/libmng/libmng.cpp &amp;&amp;
    199200
    200 ./configure -confirm-license \
    201             -opensource \
    202             -release \
    203             -prefix /usr \
    204             -bindir /usr/lib/qt4/bin \
    205             -headerdir /usr/include/qt4 \
    206             -datadir /usr/share/qt4 \
    207             -plugindir /usr/lib/qt4/plugins \
    208             -importdir /usr/lib/qt4/imports \
     201./configure -prefix         /usr                 \
     202            -bindir         /usr/lib/qt4/bin     \
     203            -plugindir      /usr/lib/qt4/plugins \
     204            -importdir      /usr/lib/qt4/imports \
     205            -headerdir      /usr/include/qt4     \
     206            -datadir        /usr/share/qt4       \
     207            -sysconfdir     /etc/xdg             \
     208            -docdir         /usr/share/doc/qt4   \
     209            -demosdir       /usr/share/doc/qt4/demos    \
     210            -examplesdir    /usr/share/doc/qt4/examples \
    209211            -translationdir /usr/share/qt4/translations \
    210             -sysconfdir /etc/xdg \
    211             -docdir /usr/share/doc/qt4 \
    212             -demosdir /usr/share/doc/qt4/demos \
    213             -examplesdir /usr/share/doc/qt4/examples \
    214             -dbus-linked \
    215             -openssl-linked \
    216             -system-sqlite \
    217             -no-phonon \
     212            -confirm-license   \
     213            -opensource        \
     214            -release           \
     215            -dbus-linked       \
     216            -openssl-linked    \
     217            -system-sqlite     \
     218            -no-phonon         \
    218219            -no-phonon-backend \
    219             -no-nis \
    220             -no-openvg \
    221             -nomake demos \
    222             -nomake examples \
    223             -optimized-qmake &amp;&amp;
     220            -no-nis            \
     221            -no-openvg         \
     222            -nomake demos      \
     223            -nomake examples   \
     224            -optimized-qmake   &amp;&amp;
     225
    224226make</userinput></screen>
    225227
     
    235237rm -rf /usr/tests &amp;&amp;
    236238install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
    237                   /usr/share/pixmaps/qt4logo.png &amp;&amp;
     239                  /usr/share/pixmaps/qt4logo.png       &amp;&amp;
    238240install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
    239241                  /usr/share/pixmaps/assistant-qt4.png &amp;&amp;
    240242install -v -Dm644 tools/designer/src/designer/images/designer.png \
    241                   /usr/share/pixmaps/designer-qt4.png &amp;&amp;
     243                  /usr/share/pixmaps/designer-qt4.png  &amp;&amp;
    242244install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
    243                   /usr/share/pixmaps/linguist-qt4.png &amp;&amp;
     245                  /usr/share/pixmaps/linguist-qt4.png  &amp;&amp;
    244246install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
    245247                  /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen>
     
    276278
    277279    <para>
    278       Install <application>Qt</application> in  /opt/qt-&qt4-version;
     280      Install <application>Qt</application> in  /opt/qt-&qt4-version; 
    279281      by running the following commands:
    280282    </para>
     
    416418
    417419      <para>
    418         If you installed <application>Qt</application> in
    419         <filename class="directory">/usr</filename>, create
    420         an environment variable needed by certain packages.
     420        If you installed <application>Qt</application> in /usr,
     421        create an environment variable needed by certain packages.
    421422        As the <systemitem class="username">root</systemitem> user:
    422423      </para>
     
    434435   <para>
    435436      If you installed <application>Qt</application> in a location other
    436       than <filename class="directory">/usr</filename>, you need to update
    437       the following configuration files so that <application>Qt</application>
    438       is correctly found by other packages and system processes.
    439     </para>
    440 
    441     <para>
    442       As the <systemitem class="username">root</systemitem> user, update
     437      than /usr, you need to update the following configuration files so
     438      that <application>Qt</application> is correctly found by other packages
     439      and system processes.</para>
     440   
     441      <para>As the <systemitem class="username">root</systemitem> user, update
    443442      the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
    444443      run-time cache file:
    445444   </para>
    446 
     445   
    447446<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
    448 <literal># Begin Qt addition
     447   <literal># Begin Qt addition
    449448   
    450449/opt/qt/lib
     
    454453
    455454ldconfig</userinput></screen>
    456 
     455   
     456   <indexterm zone="qt4 qtconfig-qt4">
     457      <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
     458   </indexterm>
     459   
    457460   <para>
    458461      As the <systemitem class="username">root</systemitem> user, create
    459462      the <filename>/etc/profile.d/qt.sh</filename> file:
    460463   </para>
    461 
     464   
    462465<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
    463 <literal># Begin /etc/profile.d/qt.sh
    464 
     466   <literal># Begin /etc/profile.d/qt.sh
     467   
    465468QTDIR=/opt/qt
    466 
     469   
    467470pathappend /opt/qt/bin           PATH
    468471pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
    469 
     472   
    470473export QTDIR
    471 
     474   
    472475# End /etc/profile.d/qt.sh</literal>
    473476EOF</userinput></screen>
    474 
    475    <indexterm zone="qt4 qtconfig-qt4">
    476       <primary sortas="e-etc-profile.d-qt.sh">/etc/profile.d/qt.sh</primary>
    477    </indexterm>
    478477
    479478      <para>
     
    581580          /usr/lib/qt4,
    582581          /usr/share/doc/qt4, and
    583           /usr/share/qt4
     582          /usr/share/qt4 (OR $QTDIR)
    584583          (OR $QTDIR)
    585584        </seg>
Note: See TracChangeset for help on using the changeset viewer.