Changeset a7eaa89
- Timestamp:
- 08/24/2013 01:12:18 AM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2a33982
- Parents:
- 779ed51
- Files:
-
- 1 added
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
multimedia/hwaccel/libva.xml
r779ed51 ra7eaa89 22 22 ]> 23 23 24 <sect2 id="libva" xreflabel="libva-&libva-version;"> 25 26 <sect2info> 24 <sect1 id="libva" xreflabel="libva-&libva-version;"> 25 <?dbhtml filename="libva.html"?> 26 27 <sect1info> 27 28 <othername>$LastChangedBy$</othername> 28 29 <date>$Date$</date> 29 </sect 2info>30 </sect1info> 30 31 31 32 <title>libva-&libva-version;</title> … … 35 36 </indexterm> 36 37 37 <sect 3role="package">38 <sect2 role="package"> 38 39 <title>Introduction to libva</title> 39 40 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> 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> 56 51 <itemizedlist spacing="compact"> 57 52 <listitem> … … 87 82 </itemizedlist> 88 83 89 <bridgehead renderas="sect 4">Additional Downloads</bridgehead>84 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 90 85 <itemizedlist spacing="compact"> 91 86 <listitem> … … 121 116 </itemizedlist> 122 117 123 <bridgehead renderas="sect 4">libva Dependencies</bridgehead>124 125 <bridgehead renderas="sect 5">Required</bridgehead>118 <bridgehead renderas="sect3">libva Dependencies</bridgehead> 119 120 <bridgehead renderas="sect4">Required</bridgehead> 126 121 <para role="required"> 127 122 <xref linkend="mesalib"/> 128 123 </para> 129 124 130 <bridgehead renderas="sect 5">Optional</bridgehead>125 <bridgehead renderas="sect4">Optional</bridgehead> 131 126 <para role="optional"> 132 127 <xref linkend="doxygen"/> and … … 137 132 User Notes: <ulink url="&blfs-wiki;/libva"/> 138 133 </para> 139 </sect 3>140 141 <sect 3role="installation">134 </sect2> 135 136 <sect2 role="installation"> 142 137 <title>Installation of libva</title> 143 138 … … 147 142 </para> 148 143 149 <screen><userinput>./configure $XORG_CONFIG&&144 <screen><userinput>./configure --prefix=/usr && 150 145 make</userinput></screen> 151 146 … … 160 155 <screen role="root"><userinput>make install</userinput></screen> 161 156 162 </sect 3>163 164 <sect 3role="installation">157 </sect2> 158 159 <sect2 role="installation"> 165 160 <title>Installation of libva-intel-driver</title> 166 161 167 162 <para> 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 && 163 Install <application>libva-intel-driver</application> by running the 164 following commands: 165 </para> 166 167 <screen><userinput>./configure --prefix=/usr && 174 168 make</userinput></screen> 175 169 … … 184 178 <screen role="root"><userinput>make install</userinput></screen> 185 179 186 </sect 3>187 188 <sect 3role="content">180 </sect2> 181 182 <sect2 role="content"> 189 183 <title>Contents</title> 190 184 … … 233 227 </variablelist> 234 228 235 </sect 3>236 237 </sect 2>229 </sect2> 230 231 </sect1> -
multimedia/hwaccel/libvdpau.xml
r779ed51 ra7eaa89 13 13 ]> 14 14 15 <sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;"> 15 <sect1 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;"> 16 <?dbhtml filename="libvdpau.html"?> 16 17 17 <sect 2info>18 <sect1info> 18 19 <othername>$LastChangedBy$</othername> 19 20 <date>$Date$</date> 20 </sect 2info>21 </sect1info> 21 22 22 23 <title>libvdpau-&libvdpau-version;</title> … … 26 27 </indexterm> 27 28 28 <sect 3role="package">29 <sect2 role="package"> 29 30 <title>Introduction to libvdpau</title> 30 31 31 32 <para> 32 33 The <application>libvdpau</application> package contains a library which 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. 34 allows video programs to offload portions of the video decoding process 35 and video post-processing to the GPU video-hardware. 55 36 </para> 56 37 57 &lfs7 4_checked;38 &lfs73_checked; 58 39 59 <bridgehead renderas="sect 4">Package Information</bridgehead>40 <bridgehead renderas="sect3">Package Information</bridgehead> 60 41 <itemizedlist spacing="compact"> 61 42 <listitem> … … 91 72 </itemizedlist> 92 73 93 <bridgehead renderas="sect 4">libvdpau Dependencies</bridgehead>74 <bridgehead renderas="sect3">libvdpau Dependencies</bridgehead> 94 75 95 <bridgehead renderas="sect 5">Required</bridgehead>76 <bridgehead renderas="sect4">Required</bridgehead> 96 77 <para role="required"> 97 78 <xref linkend="xorg7-lib"/> 98 79 </para> 99 80 100 <bridgehead renderas="sect 5">Optional</bridgehead>81 <bridgehead renderas="sect4">Optional</bridgehead> 101 82 <para role="optional"> 102 83 <xref linkend="doxygen"/>, … … 105 86 </para> 106 87 107 <bridgehead renderas="sect 5">Runtime Dependency</bridgehead>88 <bridgehead renderas="sect4">Runtime Dependency</bridgehead> 108 89 <para role="optional"> 109 90 <xref linkend="mesalib"/> … … 113 94 User Notes: <ulink url="&blfs-wiki;/libvdpau"/> 114 95 </para> 115 </sect 3>96 </sect2> 116 97 117 <sect 3role="installation">98 <sect2 role="installation"> 118 99 <title>Installation of libvdpau</title> 119 100 … … 123 104 </para> 124 105 125 <screen><userinput>./configure $XORG_CONFIG&&106 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc && 126 107 make</userinput></screen> 127 108 … … 136 117 <screen role="root"><userinput>make install</userinput></screen> 137 118 138 </sect 3>119 </sect2> 139 120 140 <sect 3role="content">121 <sect2 role="content"> 141 122 <title>Contents</title> 142 123 … … 180 161 </variablelist> 181 162 182 </sect 3>163 </sect2> 183 164 184 </sect 2>165 </sect1> -
multimedia/multimedia.xml
r779ed51 ra7eaa89 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdriv/libdriv.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hwaccel/hwaccel.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="audioutils/audioutils.xml"/> 20 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="videoutils/videoutils.xml"/> -
x/installing/x7driver.xml
r779ed51 ra7eaa89 161 161 </sect3> 162 162 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 181 163 </sect2> 182 164 … … 238 220 href="x7driver-vmware.xml"/> 239 221 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 246 222 </sect1> -
x/lib/qt4.xml
r779ed51 ra7eaa89 40 40 </para> 41 41 42 &lfs7 4_checked;42 &lfs73_checked; 43 43 44 44 <bridgehead renderas="sect3">Package Information</bridgehead> … … 80 80 <bridgehead renderas="sect4">Required</bridgehead> 81 81 <para role="required"> 82 <xref linkend="alsa-lib"/> and 83 <xref linkend="mesalib"/> 82 <xref linkend="alsa-lib"/>, 83 <xref linkend="mesalib"/> and 84 <xref linkend="qtchooser"/> 84 85 </para> 85 86 … … 94 95 <xref linkend="libpng"/>, 95 96 <xref linkend="libtiff"/>, 96 <xref linkend="openssl"/> ,and97 <xref linkend="openssl"/> and 97 98 <xref linkend="sqlite"/> 98 99 </para> … … 105 106 <xref linkend="mysql"/>, 106 107 <xref linkend="postgresql"/>, 107 <xref linkend="pulseaudio"/>, 108 <xref linkend="qtchooser"/> (if also installing Qt5), and 108 <xref linkend="pulseaudio"/> and 109 109 <xref linkend="unixodbc"/> 110 110 </para> … … 118 118 <title>Installation of Qt</title> 119 119 120 <para> 121 122 There are several ways to install a complicated package such as 123 <application>Qt</application>. The files are not completely position 124 independent. Installation procedures execute the program 125 <command>pkg-config</command> to determine the location of package 126 executables, libraries, headers, and other files. For 127 <application>Qt</application>, <command>pkg-config</command> will look 128 for the appropriate <filename>lib/pkgconfig/Qt*.pc</filename> files 129 which must be modified if relocating the package. These files are set up 130 correctly by the build process. 131 </para> 132 133 <para> 134 The default installation places the files in <filename 135 class='directory'>/usr/local/qt/</filename>. Many commercial 136 distributions place the files in the system's <filename 137 class='directory'>/usr</filename> hierarchy. The package can also be 138 installed in an arbitrary directory. 139 </para> 140 141 <para> 142 The advantage of installing in <filename 143 class='directory'>/usr</filename> is that no updates to the 144 <filename>/etc/ld.so.conf</filename> or 145 <filename>/etc/man_db.conf</filename> files are required. The package 146 files are distributed within several subdirectories of the <filename 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 154 directory such as <filename 155 class='directory'>/opt/qt-&qt4-version;</filename> is that it keeps all 156 the package files consolidated in a dedicated directory hierarchy. By 157 using this method, an update can be made without overwriting a previous 158 installation and users can easily revert to a previous version by 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. 162 </para> 163 164 <warning> 120 <warning> 165 121 <para> 166 122 If you did not install some of the recommended dependencies, examine … … 172 128 <caution> 173 129 <para> 174 If <application>Qt</application> is being reinstalled into the 175 same directory as an existing instance, run the 130 If <application>Qt</application> is being reinstalled, run the 176 131 following commands from a console or non-Qt based window manager. 177 132 It overwrites <application>Qt</application> libraries that should … … 189 144 </note> 190 145 191 <bridgehead renderas="sect3">Method 1: Installing in /usr</bridgehead>192 193 146 <para> 194 147 Install <application>Qt</application> by running the … … 199 152 config.tests/unix/libmng/libmng.cpp && 200 153 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 \ 154 ./configure -confirm-license \ 155 -opensource \ 156 -release \ 157 -prefix /usr \ 158 -bindir /usr/lib/qt4/bin \ 159 -headerdir /usr/include/qt4 \ 160 -datadir /usr/share/qt4 \ 161 -plugindir /usr/lib/qt4/plugins \ 162 -importdir /usr/lib/qt4/imports \ 211 163 -translationdir /usr/share/qt4/translations \ 212 -confirm-license \ 213 -opensource \ 214 -release \ 215 -dbus-linked \ 216 -openssl-linked \ 217 -system-sqlite \ 218 -no-phonon \ 164 -sysconfdir /etc/xdg \ 165 -docdir /usr/share/doc/qt4 \ 166 -demosdir /usr/share/doc/qt4/demos \ 167 -examplesdir /usr/share/doc/qt4/examples \ 168 -dbus-linked \ 169 -openssl-linked \ 170 -system-sqlite \ 171 -no-phonon \ 219 172 -no-phonon-backend \ 220 -no-nis \ 221 -no-openvg \ 222 -nomake demos \ 223 -nomake examples \ 224 -optimized-qmake && 225 173 -no-nis \ 174 -no-openvg \ 175 -nomake demos \ 176 -nomake examples \ 177 -optimized-qmake && 226 178 make</userinput></screen> 227 179 … … 237 189 rm -rf /usr/tests && 238 190 install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \ 239 /usr/share/pixmaps/qt4logo.png 191 /usr/share/pixmaps/qt4logo.png && 240 192 install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \ 241 193 /usr/share/pixmaps/assistant-qt4.png && 242 194 install -v -Dm644 tools/designer/src/designer/images/designer.png \ 243 /usr/share/pixmaps/designer-qt4.png 195 /usr/share/pixmaps/designer-qt4.png && 244 196 install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \ 245 /usr/share/pixmaps/linguist-qt4.png 197 /usr/share/pixmaps/linguist-qt4.png && 246 198 install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \ 247 199 /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen> … … 275 227 done</userinput></screen> 276 228 277 <bridgehead renderas="sect3">Method 2: Installing in /opt/qt-&qt4-version;</bridgehead>278 279 <para>280 Install <application>Qt</application> in /opt/qt-&qt4-version;281 by running the following commands:282 </para>283 284 <screen><userinput>sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" \285 config.tests/unix/libmng/libmng.cpp &&286 287 export QTDIR=/opt/qt-&qt4-version;288 289 ./configure -prefix $QTDIR \290 -sysconfdir /etc/xdg \291 -confirm-license \292 -opensource \293 -release \294 -dbus-linked \295 -openssl-linked \296 -system-sqlite \297 -plugin-sql-sqlite \298 -no-phonon \299 -no-phonon-backend \300 -no-nis \301 -no-openvg \302 -nomake demos \303 -nomake examples \304 -optimized-qmake &&305 306 make</userinput></screen>307 308 <para>309 Now, as the <systemitem class="username">root</systemitem> user:310 </para>311 312 <screen role="root"><userinput>make install &&313 ln -svfn qt-$VERSION /opt/qt &&314 315 install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \316 /usr/share/pixmaps/qt4logo.png &&317 install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \318 /usr/share/pixmaps/assistant-qt4.png &&319 install -v -Dm644 tools/designer/src/designer/images/designer.png \320 /usr/share/pixmaps/designer-qt4.png &&321 install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \322 /usr/share/pixmaps/linguist-qt4.png &&323 install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \324 /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen>325 326 <para>327 Remove references to the build directory from installed files by328 running the following command as the329 <systemitem class="username">root</systemitem> user:330 </para>331 332 <screen role="root"><userinput>for file in 3Support CLucene Core DBus Declarative DesignerComponents \333 Designer Gui Help Multimedia Network OpenGL Script \334 ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml; do335 sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' \336 $QTDIR/lib/libQt${file}.prl337 perl -pi -e "s, -L$PWD/?\S+,,g" $QTDIR/lib/pkgconfig/Qt${file}.pc338 done339 340 unset file</userinput></screen>341 342 229 </sect2> 343 230 … … 418 305 419 306 <para> 420 If you installed <application>Qt</application> in /usr, 421 create an environment variable needed by certain packages. 307 Create an environment variable needed by certain packages. 422 308 As the <systemitem class="username">root</systemitem> user: 423 309 </para> … … 433 319 EOF</userinput></screen> 434 320 435 <para>436 If you installed <application>Qt</application> in a location other437 than /usr, you need to update the following configuration files so438 that <application>Qt</application> is correctly found by other packages439 and system processes.</para>440 441 <para>As the <systemitem class="username">root</systemitem> user, update442 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's443 run-time cache file:444 </para>445 446 <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF447 <literal># Begin Qt addition448 449 /opt/qt/lib450 451 # End Qt addition</literal>452 EOF453 454 ldconfig</userinput></screen>455 456 <indexterm zone="qt4 qtconfig-qt4">457 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>458 </indexterm>459 460 <para>461 As the <systemitem class="username">root</systemitem> user, create462 the <filename>/etc/profile.d/qt.sh</filename> file:463 </para>464 465 <screen role="root"><userinput>cat > /etc/profile.d/qt.sh << EOF466 <literal># Begin /etc/profile.d/qt.sh467 468 QTDIR=/opt/qt469 470 pathappend /opt/qt/bin PATH471 pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH472 473 export QTDIR474 475 # End /etc/profile.d/qt.sh</literal>476 EOF</userinput></screen>477 478 321 <para> 479 For all methods,Create the menu entries for installed applications.322 Create the menu entries for installed applications. 480 323 As the <systemitem class="username">root</systemitem> user: 481 324 </para> 482 325 483 326 <screen role="root"><userinput>install -dm755 /usr/share/applications 484 485 327 cat > /usr/share/applications/qtconfig-qt4.desktop << "EOF" 486 328 <literal>[Desktop Entry] … … 494 336 Categories=Qt;Settings;</literal> 495 337 EOF 496 497 338 cat > /usr/share/applications/assistant-qt4.desktop << "EOF" 498 339 <literal>[Desktop Entry] … … 506 347 Categories=Qt;Development;Documentation;</literal> 507 348 EOF 508 509 349 cat > /usr/share/applications/designer-qt4.desktop << "EOF" 510 350 <literal>[Desktop Entry] … … 519 359 Categories=Qt;Development;</literal> 520 360 EOF 521 522 361 cat > /usr/share/applications/linguist-qt4.desktop << "EOF" 523 362 <literal>[Desktop Entry] … … 532 371 Categories=Qt;Development;</literal> 533 372 EOF 534 535 373 cat > /usr/share/applications/qdbusviewer-qt4.desktop << "EOF" 536 374 <literal>[Desktop Entry] … … 579 417 /usr/include/qt4, 580 418 /usr/lib/qt4, 581 /usr/share/doc/qt4 ,and582 /usr/share/qt4 (OR $QTDIR)419 /usr/share/doc/qt4 and 420 /usr/share/qt4 583 421 </seg> 584 422 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.