Ticket #4659: qt5.patch
File qt5.patch, 4.6 KB (added by , 9 years ago) |
---|
-
general.ent
571 571 <!ENTITY pangox-version "0.0.2"> 572 572 <!ENTITY pangomm-version "2.34.0"> 573 573 <!ENTITY qt4-version "4.8.5"> 574 <!ENTITY qt5-version "5.2. 0">574 <!ENTITY qt5-version "5.2.1"> 575 575 <!ENTITY shared-mime-info-version "1.2"> 576 576 <!ENTITY startup-notification-version "0.12"> 577 577 <!ENTITY webkitgtk-version "1.10.2"> <!-- Even minors only --> -
x/lib/qt5.xml
9 9 10 10 <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz"> 11 11 <!ENTITY qt5-download-ftp " "> 12 <!ENTITY qt5-md5sum " 8f60b47ca9461831d940f579ee90517e">12 <!ENTITY qt5-md5sum "0c8d2aa45f38be9c3f7c9325eb059d9d"> 13 13 <!ENTITY qt5-size "166 MB"> 14 14 <!ENTITY qt5-buildsize "2.6 GB (160 MB installed)"> 15 15 <!ENTITY qt5-time "60 SBU"> … … 96 96 <xref linkend="cups"/>, 97 97 <xref linkend="dbus"/>, 98 98 <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. --> 101 101 <xref linkend="icu"/>, 102 102 <xref linkend="libjpeg"/>, 103 103 <xref linkend="libmng"/>, 104 104 <xref linkend="libpng"/>, 105 105 <xref linkend="libtiff"/>, 106 <xref linkend="mtdev"/>, 106 107 <xref linkend="openssl"/>, 107 108 <xref linkend="pcre"/>, and 108 109 <xref linkend="sqlite"/> … … 110 111 111 112 <bridgehead renderas="sect4">Optional</bridgehead> 112 113 <para role="optional"> 114 <xref linkend="geoclue"/>, 113 115 <xref linkend="gst10-plugins-base"/> (QtWebKit HTML5 Video Support), 114 116 <xref linkend="gtk2"/> (GTK+ Theme Support), 117 <ulink url="https://code.google.com/p/ibus/">IBus</ulink>, 115 118 <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>, 116 119 <xref linkend="mariadb"/> or <xref linkend="mysql"/>, 117 120 <xref linkend="postgresql"/>, … … 213 216 following commands: 214 217 </para> 215 218 219 <!-- This is rather a bad idea. Most apps that I've seen using Qt5 look for -qt5 220 suffixed programs. 221 216 222 <note> 217 223 <para> 218 224 If <emphasis>not</emphasis> also installing <application>Qt4</application> 219 225 into the /usr directory, change the entry for -bindir below to /usr/bin. 220 226 </para> 221 </note> 227 </note> --> 222 228 223 <screen><userinput>sed -e "s:#if MNG:#if defined(MNG_VERSION_MAJOR)\n&:" \ 224 -e "s:#endif:&\n#endif:" \ 225 -i qtimageformats/config.tests/libmng/libmng.cpp 226 227 ./configure -prefix /usr \ 229 <screen><userinput>./configure -prefix /usr \ 228 230 -sysconfdir /etc/xdg \ 229 231 -bindir /usr/lib/qt5/bin \ 230 232 -headerdir /usr/include/qt5 \ … … 236 238 -confirm-license \ 237 239 -opensource \ 238 240 -dbus-linked \ 239 -openssl-linked \ 240 -system-harfbuzz \ 241 -openssl-linked \<!-- 242 -system-harfbuzz \--> 241 243 -system-sqlite \ 242 244 -no-nis \ 243 245 -nomake examples \ … … 283 285 '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;</userinput></screen> 284 286 285 287 <para> 286 If you didn't modify the -bindir switch above, symlink the288 <!-- If you didn't modify the -bindir switch above, -->Symlink the 287 289 <application>Qt5</application> executables into 288 290 <filename class="directory">/usr/bin</filename> by running the 289 291 following commands as the … … 309 311 and <application>Qt5</application> executables when needed. 310 312 </para> 311 313 312 <screen><userinput>sed -e "s:#if MNG:#if defined(MNG_VERSION_MAJOR)\n&:" \ 313 -e "s:#endif:&\n#endif:" \ 314 -i qtimageformats/config.tests/libmng/libmng.cpp 314 <screen><userinput>QT5DIR=/opt/qt-&qt5-version; 315 315 316 QT5DIR=/opt/qt-&qt5-version;317 318 316 ./configure -prefix $QT5DIR \ 319 317 -sysconfdir /etc/xdg \ 320 318 -confirm-license \ 321 319 -opensource \ 322 320 -dbus-linked \ 323 -openssl-linked \ 324 -system-harfbuzz \ 321 -openssl-linked \<!-- 322 -system-harfbuzz \--> 325 323 -system-sqlite \ 326 324 -no-nis \ 327 325 -nomake examples \