Changeset 751e96f for x


Ignore:
Timestamp:
12/26/2005 03:42:13 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
a8afad7
Parents:
768cbf0f
Message:

Minor changes to the Qt instructions: fixed HTTP download URL, added test suite notes, modified the configure command to include switches for the recommended dependencies and added appropriate notes about the recommended dependencies

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt.xml

    r768cbf0f r751e96f  
    55  %general-entities;
    66
    7   <!ENTITY qt-download-http "http://ftp.uoi.gr/mirror/X11/Qt/qt/source/qt-x11-free-&qt-version;.tar.bz2">
     7  <!ENTITY qt-download-http "http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/qt-x11-free-&qt-version;.tar.bz2">
    88  <!ENTITY qt-download-ftp  "ftp://ftp.trolltech.com/qt/source/qt-x11-free-&qt-version;.tar.bz2">
    99  <!ENTITY qt-md5sum        "05d04688c0c0230ed54e89102d689ca4">
    10   <!ENTITY qt-size          "16.7 MB">
    11   <!ENTITY qt-buildsize     "167 MB">
    12   <!ENTITY qt-time          "9.7 SBU (full), 6.8 SBU (sub-tools)">
     10  <!ENTITY qt-size          "14.4 MB">
     11  <!ENTITY qt-buildsize     "263 MB">
     12  <!ENTITY qt-time          "10.6 SBU (full), 7.5 SBU (sub-tools)">
    1313]>
    1414
     
    6464
    6565    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    66 <!--
    67     <itemizedlist spacing="compact">
    68       <listitem>
    69         <para>Required patch: <ulink
    70         url="&patch-root;/qt-x11-free-&qt-version;-gcc4-1.patch"/></para>
    71       </listitem>
    72     </itemizedlist>
    73 -->
     66
    7467    <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
    7568
     
    8275    <xref linkend="libmng"/></para>
    8376
     77    <para>Note: if for whatever reason you do not have the recommended
     78    libraries installed on your system, you must remove the corresponding
     79    <parameter>-system-<replaceable>[library]</replaceable></parameter> and
     80    <parameter>-plugin-imgfmt-<replaceable>[library]</replaceable></parameter>
     81    parameters from the <command>configure</command> commands shown in the
     82    instructions below.</para>
     83   
    8484    <bridgehead renderas="sect4">Optional</bridgehead>
    8585    <para role="optional"><xref linkend="nas"/>,
     
    122122      <para>The build time for <application>Qt</application> is quite long. If
    123123      you want to save some time and don't want the tutorials and examples,
    124       change the first make line to:</para>
     124      change the first <command>make</command> command to:</para>
    125125
    126126<screen><userinput>make sub-tools</userinput></screen>
     
    149149      </note>
    150150-->
     151
    151152      <note>
    152153        <para>If <application>Qt</application> is being reinstalled, run the
     
    159160       -e 's:$(QTDIR)/lib:&amp;/qt:' \
    160161    mkspecs/linux*/qmake.conf &amp;&amp;
     162
    161163bash
    162164export PATH=$PWD/bin:$PATH &amp;&amp;
    163165export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    164 ./configure -prefix /usr -docdir /usr/share/doc/qt \
    165     -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
    166     -datadir /usr/share/qt -translationdir /usr/share/qt/translations \
    167     -sysconfdir /etc/qt -qt-gif -system-zlib -system-libmng \
    168     -no-exceptions -thread -plugin-imgfmt-png \
    169     -system-libjpeg -system-libpng &amp;&amp;
     166
     167./configure -prefix /usr \
     168            -docdir /usr/share/doc/qt \
     169            -headerdir /usr/include/qt \
     170            -plugindir /usr/lib/qt/plugins \
     171            -datadir /usr/share/qt \
     172            -translationdir /usr/share/qt/translations \
     173            -sysconfdir /etc/qt \
     174            -qt-gif \
     175            -system-zlib \
     176            -system-libpng \
     177            -system-libjpeg \
     178            -system-libmng \
     179            -plugin-imgfmt-png \
     180            -plugin-imgfmt-jpeg \
     181            -plugin-imgfmt-mng \
     182            -no-exceptions \
     183            -thread \
     184            -tablet &amp;&amp;
     185
    170186find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &amp;&amp;
    171187make &amp;&amp;
    172188exit</userinput></screen>
     189
     190      <para>This package does not come with a test suite.</para>
    173191
    174192      <para>Now, as the <systemitem class="username">root</systemitem>
     
    202220export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    203221export PATH=$PWD/bin:$PATH &amp;&amp;
    204 ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
    205     -system-libmng -system-zlib -system-libjpeg -no-exceptions \
    206     -thread -plugin-imgfmt-png &amp;&amp;
     222
     223./configure -prefix /opt/qt-&qt-version; \
     224            -sysconfdir /etc/qt \
     225            -qt-gif \
     226            -system-zlib \
     227            -system-libpng \
     228            -system-libjpeg \
     229            -system-libmng \
     230            -plugin-imgfmt-png \
     231            -plugin-imgfmt-jpeg \
     232            -plugin-imgfmt-mng \
     233            -no-exceptions \
     234            -thread \
     235            -tablet &amp;&amp;
     236
    207237make &amp;&amp;
    208238exit</userinput></screen>
     239
     240      <para>This package does not come with a test suite.</para>
    209241
    210242      <para>Now, as the <systemitem class="username">root</systemitem>
     
    253285    <filename>gif</filename> files to the libraries.</para>
    254286
    255     <para><parameter>-system-zlib -system-libpng</parameter>: This switch
    256     forces the build instructions to use the shared libraries that are on
    257     your system instead of creating a custom set of support libraries for
    258     these functions.</para>
    259 
    260     <para><parameter>-plugin-imgfmt-png</parameter>: This switch enables
    261     <application>libpng</application> to be linked to at runtime.</para>
     287    <para><parameter>-system-zlib -system-libpng -system-libjpeg
     288    -system-mng</parameter>: These switches force the build instructions to use
     289    the shared libraries that are on your system instead of creating a custom
     290    set of support libraries for these functions.</para>
     291
     292    <para><parameter>-plugin-imgfmt-png -plugin-imgfmt-jpeg
     293    -plugin-imgfmt-mng</parameter>: These switches enable run-time linking of
     294    the referenced libraries.</para>
    262295
    263296    <para><parameter>-no-exceptions</parameter>: This switch disables
Note: See TracChangeset for help on using the changeset viewer.