Changeset a6c6923


Ignore:
Timestamp:
08/23/2013 08:05:56 PM (11 years ago)
Author:
Krejzi <krejzi@…>
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:
7bb72e0
Parents:
6c7866b4
Message:

qt4 fixes

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

Location:
x/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4.xml

    r6c7866b4 ra6c6923  
    66
    77  <!ENTITY qt4-download-http
    8   "http://download.qt-project.org/official_releases/qt/4.8/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
     8           "http://download.qt-project.org/official_releases/qt/4.8/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
    99  <!ENTITY qt4-download-ftp  " ">
    1010  <!ENTITY qt4-md5sum        "1864987bdbb2f58f8ae8b350dfdbe133">
     
    8080    <bridgehead renderas="sect4">Required</bridgehead>
    8181    <para role="required">
     82      <xref linkend="alsa-lib"/>,
    8283      <xref linkend="mesalib"/> and
    8384      <xref linkend="qtchooser"/>
     
    148149    </para>
    149150
    150 <screen><userinput>./configure -confirm-license \
     151<screen><userinput>sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" \
     152     config.tests/unix/libmng/libmng.cpp &amp;&amp;
     153
     154./configure -confirm-license \
    151155            -opensource \
    152156            -release \
     
    165169            -openssl-linked \
    166170            -system-sqlite \
    167             -plugin-sql-sqlite \
    168171            -no-phonon \
    169172            -no-phonon-backend \
     
    198201    <para>
    199202      Remove references to the build directory from installed files by
    200       running the following commands as the
    201       <systemitem class="username">root</systemitem> user:
    202     </para>
    203 
    204 <screen role="root"><userinput>find /usr/lib/libQt*.prl -exec sed -i -e \
    205      '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
    206 find /usr/lib/pkgconfig/Qt*.pc -exec perl -pi -e \
    207      "s, -L$(basename $PWD)/?\S+,,g" {} \;</userinput></screen>
    208 
    209     <para>
    210       Fix pkg-config files to point to the correct bindir by
    211203      running the following command as the
    212204      <systemitem class="username">root</systemitem> user:
    213205    </para>
    214206
    215 <screen role="root"><userinput>find /usr/lib/pkgconfig/Qt*.pc -exec sed -i -e \
    216      "s@/usr/bin/@/usr/lib/qt4/bin/@g" {} \;</userinput></screen>
     207<screen role="root"><userinput>for file in 3Support CLucene Core DBus Declarative DesignerComponents \
     208            Designer Gui Help Multimedia Network OpenGL Script \
     209            ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml
     210do
     211  sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' \
     212       /usr/lib/libQt${file}.prl
     213  perl -pi -e "s, -L$PWD/?\S+,,g" /usr/lib/pkgconfig/Qt${file}.pc
     214done
     215unset file</userinput></screen>
    217216
    218217    <para>
     
    232231  <sect2 role="commands">
    233232    <title>Command Explanations</title>
     233
     234    <para>
     235      <command>sed -i "..." ...</command>: This command fixes
     236      detection of <application>libmng</application> 2.0.
     237    </para>
    234238
    235239    <para>
     
    290294      <parameter>-optimized-qmake</parameter>: This switch enables
    291295      building of the optimized <command>qmake</command> program.
    292     </para>
    293 
    294     <para>
    295       <parameter>-plugin-sql-<replaceable>&lt;driver&gt;</replaceable></parameter>:
    296       These switches enable SQL support in the
    297       <application>Qt</application> libraries. Available drivers are:
    298       ibase, mysql, psql, sqlite and odbc.
    299296    </para>
    300297
  • x/lib/qt5.xml

    r6c7866b4 ra6c6923  
    167167
    168168    <para>
    169       Remove references to the build directory from pkg-confg
    170       files by running the following command:
     169      Remove references to the build directory from the installed
     170      <filename class="extension">.pc</filename> files by running
     171      the following command:
    171172    </para>
    172173
Note: See TracChangeset for help on using the changeset viewer.