Changeset 14c0f145


Ignore:
Timestamp:
04/04/2012 08:58:11 PM (12 years ago)
Author:
Ragnar Thomsen <rthomsen@…>
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:
002bf11
Parents:
15dce9d
Message:

Qt 4.8.1 and added gcc4.7/glib2.32 patches.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r15dce9d r14c0f145  
    602602<!-- Chapter 24 -->
    603603<!ENTITY qt-version                   "3.3.8d">
    604 <!ENTITY qt4-version                  "4.8.0">
     604<!ENTITY qt4-version                  "4.8.1">
    605605<!ENTITY cairo-version                "1.12.0">
    606606<!ENTITY cairomm-version              "1.9.2">
  • introduction/welcome/changelog.xml

    r15dce9d r14c0f145  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[rthomsen] - Upgrade to Qt 4.8.1 and add two patches. Fixes #3320.</para>
     49        </listitem>     
     50        <listitem>
    4851          <para>[dj] - Xorg Applicatons require MesaLib. Fixes #3218.</para>
    4952        </listitem>
     
    8487      <itemizedlist>
    8588        <listitem>
    86           <para>[dj] - Fix libproxy build failure with recent xulrunnr.</para>
     89          <para>[dj] - Fix libproxy build failure with recent xulrunner.</para>
    8790        </listitem>
    8891      </itemizedlist>
  • x/lib/qt4.xml

    r15dce9d r14c0f145  
    77  <!ENTITY qt4-download-http "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
    88  <!ENTITY qt4-download-ftp  "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
    9   <!ENTITY qt4-md5sum        "e8a5fdbeba2927c948d9f477a6abe904">
     9  <!ENTITY qt4-md5sum        "7960ba8e18ca31f0c6e4895a312f92ff">
    1010  <!ENTITY qt4-size          "228 MB">
    1111  <!ENTITY qt4-buildsize     "1.8 GB (full), 619 (essential)">
     
    3030    <title>Introduction to Qt4</title>
    3131
    32     <para>The <application>Qt4</application> package contains several
    33     <application>C++</application> libraries with both GUI and non-GUI
    34     components.  One of the major users of <application>Qt4</application> is
    35     <application>KDE4</application>.</para>
    36 
     32    <para><application>Qt</application> is a cross-platform application
     33    framework that is widely used for developing application software
     34    with a graphical user interface (GUI) (in which cases Qt is classified
     35    as a widget toolkit), and also used for developing non-GUI programs such
     36    as command-line tools and consoles for servers. One of the major users
     37    of <application>Qt4</application> is <application>KDE</application>.</para>
     38
     39    &lfs71_checked;   
     40   
    3741    <bridgehead renderas="sect3">Package Information</bridgehead>
    3842    <itemizedlist spacing="compact">
     
    5761    </itemizedlist>
    5862
     63
     64    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     65    <itemizedlist spacing="compact">
     66      <listitem>
     67        <para>GCC 4.7 patch: <ulink
     68        url="&patch-root;/qt-everywhere-opensource-src-&qt4-version;-gcc_fix-1.patch"/>
     69        </para>
     70      </listitem>
     71      <listitem>
     72        <para>GLib 2.32 patch: <ulink
     73        url="&patch-root;/qt-everywhere-opensource-src-&qt4-version;-glib_fix-1.patch"/>
     74        </para>
     75       </listitem>
     76    </itemizedlist>
     77
     78   
    5979    <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
    6080
     
    81101      <xref linkend="mysql"/>,
    82102      <xref linkend="postgresql"/>,
    83       <xref linkend="unixodbc"/>, and
     103      <xref linkend="unixodbc"/> and
    84104      <xref linkend="sqlite"/>
    85105    </para>
     
    115135    <filename class='directory'>/usr</filename> hierarchy.
    116136    This is the method that most commercial distributions use.</para>
    117 
     137<!--
    118138    <note>
    119139      <para>There is no conflict between the <application>Qt3</application>
     
    139159      other Qt bin directory.  </para>
    140160    </note>
    141 
     161-->
    142162    <caution>
    143163      <para>If <application>Qt4</application> is being reinstalled and the
     
    168188    class='directory'>/opt/qt-&qt4-version;/</filename>
    169189    and then creates a symbolic link to <filename>/opt/qt/</filename>.</para>
    170 
    171     <para>Install <application>Qt4</application> by running the
     190   
     191    <para>Configure <application>Qt4</application> by running the
    172192    following commands:</para>
    173193
    174 <screen><userinput>./configure -prefix /opt/qt-&qt4-version;  \
    175             -release                 \
    176             -nomake examples         \
    177             -nomake demos            \
    178             -system-sqlite           \
    179             -no-nis                  \
    180             &amp;&amp;
    181 make</userinput></screen>
    182 
     194<screen><userinput>patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-gcc_fix-1.patch &amp;&amp;
     195patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-glib_fix-1.patch &amp;&amp;
     196./configure -prefix /opt/qt-&qt4-version;  \
     197            -release               \
     198            -nomake examples       \
     199            -nomake demos          \
     200            -system-sqlite         \
     201            -no-nis                \
     202            -opensource            \
     203            -confirm-license</userinput></screen>
     204   
    183205    <note><title>Phonon</title>
    184206    <para>If <application>KDE4</application> is intended to be installed, add
     
    187209    <application>Phonon</application> libraries will be installed which better
    188210    matches the needs of the <application>KDE4</application> desktop.</para></note>
     211       
     212    <para>If you are compiling with <application>GCC</application> 4.7 you need
     213    to suppress some warnings that would otherwise cause the build to fail. This
     214    can be achieved by modifying some Makefiles:</para>
     215   
     216    <screen><userinput>find src/3rdparty/webkit/Source/{WebCore,WebKit} -name 'Makefile*' -exec sed -i 's@-Werror @@' {} \;</userinput></screen>
     217
     218    <para>Now, build the package:</para>
     219   
     220    <screen><userinput>make</userinput></screen>
    189221   
    190222    <para>This package does not come with a test suite.</para>
     
    205237    <title>Command Explanations</title>
    206238
     239    <para><command>patch -Np1 -i qt-everywhere-...</command>:
     240    The two patches fix compiling with <application>GCC</application>
     241    4.7 and <application>GLib</application> 2.32.</para>
     242   
    207243    <para><parameter>-nomake examples, -nomake demos</parameter>:
    208244    These switches disable building programs that are only of interest
     
    245281
    246282<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF" &amp;&amp;
    247 <literal># Begin qt addition to /etc/ld.so.conf
     283<literal># Begin qt addition
    248284
    249285/opt/qt/lib
Note: See TracChangeset for help on using the changeset viewer.