Ticket #4659: qt5.patch

File qt5.patch, 4.6 KB (added by Armin K, 10 years ago)
  • general.ent

     
    571571<!ENTITY pangox-version               "0.0.2">
    572572<!ENTITY pangomm-version              "2.34.0">
    573573<!ENTITY qt4-version                  "4.8.5">
    574 <!ENTITY qt5-version                  "5.2.0">
     574<!ENTITY qt5-version                  "5.2.1">
    575575<!ENTITY shared-mime-info-version     "1.2">
    576576<!ENTITY startup-notification-version "0.12">
    577577<!ENTITY webkitgtk-version            "1.10.2">   <!-- Even minors only -->
  • x/lib/qt5.xml

     
    99
    1010  <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz">
    1111  <!ENTITY qt5-download-ftp  " ">
    12   <!ENTITY qt5-md5sum        "8f60b47ca9461831d940f579ee90517e">
     12  <!ENTITY qt5-md5sum        "0c8d2aa45f38be9c3f7c9325eb059d9d">
    1313  <!ENTITY qt5-size          "166 MB">
    1414  <!ENTITY qt5-buildsize     "2.6 GB (160 MB installed)">
    1515  <!ENTITY qt5-time          "60 SBU">
     
    9696      <xref linkend="cups"/>,
    9797      <xref linkend="dbus"/>,
    9898      <xref linkend="glib2"/>,
    99       <xref linkend="gst-plugins-base"/>,
    100       <xref linkend="harfbuzz"/>,
     99      <xref linkend="gst-plugins-base"/>,<!--
     100      <xref linkend="harfbuzz"/>, Doesn't have all the features that the shipped one has. -->
    101101      <xref linkend="icu"/>,
    102102      <xref linkend="libjpeg"/>,
    103103      <xref linkend="libmng"/>,
    104104      <xref linkend="libpng"/>,
    105105      <xref linkend="libtiff"/>,
     106      <xref linkend="mtdev"/>,
    106107      <xref linkend="openssl"/>,
    107108      <xref linkend="pcre"/>, and
    108109      <xref linkend="sqlite"/>
     
    110111
    111112    <bridgehead renderas="sect4">Optional</bridgehead>
    112113    <para role="optional">
     114      <xref linkend="geoclue"/>,
    113115      <xref linkend="gst10-plugins-base"/> (QtWebKit HTML5 Video Support),
    114116      <xref linkend="gtk2"/> (GTK+ Theme Support),
     117      <ulink url="https://code.google.com/p/ibus/">IBus</ulink>,
    115118      <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>,
    116119      <xref linkend="mariadb"/> or <xref linkend="mysql"/>,
    117120      <xref linkend="postgresql"/>,
     
    213216      following commands:
    214217    </para>
    215218
     219    <!-- This is rather a bad idea. Most apps that I've seen using Qt5 look for -qt5
     220         suffixed programs.
     221
    216222    <note>
    217223      <para>
    218224        If <emphasis>not</emphasis> also installing <application>Qt4</application>
    219225        into the /usr directory, change the entry for -bindir below to /usr/bin.
    220226      </para>
    221     </note>
     227    </note> -->
    222228
    223 <screen><userinput>sed -e "s:#if MNG:#if defined(MNG_VERSION_MAJOR)\n&amp;:" \
    224     -e "s:#endif:&amp;\n#endif:" \
    225     -i qtimageformats/config.tests/libmng/libmng.cpp
    226 
    227 ./configure -prefix         /usr               \
     229<screen><userinput>./configure -prefix         /usr               \
    228230            -sysconfdir     /etc/xdg           \
    229231            -bindir         /usr/lib/qt5/bin   \
    230232            -headerdir      /usr/include/qt5   \
     
    236238            -confirm-license   \
    237239            -opensource        \
    238240            -dbus-linked       \
    239             -openssl-linked    \
    240             -system-harfbuzz   \
     241            -openssl-linked    \<!--
     242            -system-harfbuzz   \-->
    241243            -system-sqlite     \
    242244            -no-nis            \
    243245            -nomake examples   \
     
    283285     '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;</userinput></screen>
    284286
    285287    <para>
    286       If you didn't modify the -bindir switch above, symlink the
     288      <!-- If you didn't modify the -bindir switch above, -->Symlink the
    287289      <application>Qt5</application> executables into
    288290      <filename class="directory">/usr/bin</filename> by running the
    289291      following commands as the
     
    309311      and <application>Qt5</application> executables when needed.
    310312    </para>
    311313
    312 <screen><userinput>sed -e "s:#if MNG:#if defined(MNG_VERSION_MAJOR)\n&amp;:" \
    313     -e "s:#endif:&amp;\n#endif:" \
    314     -i qtimageformats/config.tests/libmng/libmng.cpp
     314<screen><userinput>QT5DIR=/opt/qt-&qt5-version;
    315315
    316 QT5DIR=/opt/qt-&qt5-version;
    317 
    318316./configure -prefix     $QT5DIR  \
    319317            -sysconfdir /etc/xdg \
    320318            -confirm-license     \
    321319            -opensource          \
    322320            -dbus-linked         \
    323             -openssl-linked      \
    324             -system-harfbuzz     \
     321            -openssl-linked      \<!--
     322            -system-harfbuzz     \-->
    325323            -system-sqlite       \
    326324            -no-nis              \
    327325            -nomake examples     \