qt/qt.spec

changeset 349
886b6dad933a
parent 343
1bee42cde1f7
child 387
33ae2d61c751
equal deleted inserted replaced
28:4e9d4a577d11 29:3c437082066c
164 # Question: Is this needed? QT_LIBS_QGTKSTYLE=`$PKG_CONFIG --libs gobject-2.0 2>/dev/null` 164 # Question: Is this needed? QT_LIBS_QGTKSTYLE=`$PKG_CONFIG --libs gobject-2.0 2>/dev/null`
165 %{l_shtool} subst \ 165 %{l_shtool} subst \
166 -e 's;\(QT_CFLAGS_GLIB *=.*PKG_CONFIG.*\) --cflags-only-other ;\1 --cflags ;g' \ 166 -e 's;\(QT_CFLAGS_GLIB *=.*PKG_CONFIG.*\) --cflags-only-other ;\1 --cflags ;g' \
167 -e 's;\(QT_CFLAGS_QGTKSTYLE *=.*PKG_CONFIG.*\) --cflags-only-other ;\1 --cflags ;g' \ 167 -e 's;\(QT_CFLAGS_QGTKSTYLE *=.*PKG_CONFIG.*\) --cflags-only-other ;\1 --cflags ;g' \
168 configure 168 configure
169 # MSvB In R/D: %{l_shtool} subst \ 169 %{l_shtool} subst \
170 # MSvB In R/D: -e 's;\(TRY_INCLUDEPATHS = \).*\(\$\$INCLUDEPATH\);\1\2;' \ 170 -e 's;\(TRY_INCLUDEPATHS = \).*\(\$\$INCLUDEPATH\);\1\2;' \
171 # MSvB In R/D: -e 's;/freetype2;/freetype;' \ 171 -e 's;/freetype2;/freetype;' \
172 # MSvB In R/D: config.tests/unix/freetype/freetype.pri 172 config.tests/unix/freetype/freetype.pri
173 # Trolltech Bug: 173 # Trolltech Bug:
174 # /opdv/lib/libmng.a(libmng_cms.o): In function `mnglcms_initlibrary': 174 # /opdv/lib/libmng.a(libmng_cms.o): In function `mnglcms_initlibrary':
175 # libmng_cms.c:(.text+0xa): undefined reference to `cmsErrorAction' 175 # libmng_cms.c:(.text+0xa): undefined reference to `cmsErrorAction'
176 %{l_shtool} subst \ 176 %{l_shtool} subst \
177 -e "s;\(LIBS.*=.*-lmng\);\1 $lcmslibs;" \ 177 -e "s;\(LIBS.*=.*-lmng\);\1 $lcmslibs;" \
274 # Trolltech Bug: 274 # Trolltech Bug:
275 # yes was specified for OpenVG but cannot be enabled due to functionality tests! 275 # yes was specified for OpenVG but cannot be enabled due to functionality tests!
276 %{l_shtool} subst \ 276 %{l_shtool} subst \
277 -e 's;\(\$\$*\)\(QMAKE_LIBS_OPENVG\);\1\2 \1QMAKE_LIBS_THREAD;' \ 277 -e 's;\(\$\$*\)\(QMAKE_LIBS_OPENVG\);\1\2 \1QMAKE_LIBS_THREAD;' \
278 config.tests/unix/openvg/openvg.pro 278 config.tests/unix/openvg/openvg.pro
279 echo 'QMAKE_LIBS_OPENVG = -lOpenVG' \
280 >>mkspecs/common/unix.conf
279 %{l_shtool} subst \ 281 %{l_shtool} subst \
280 -e "s;^\(QMAKE_INCDIR_X11[^=]*=\).*;\1 $x11_incdir;" \ 282 -e "s;^\(QMAKE_INCDIR_X11[^=]*=\).*;\1 $x11_incdir;" \
281 -e "s;^\(QMAKE_LIBDIR_X11[^=]*=\).*;\1 $x11_libdir;" \ 283 -e "s;^\(QMAKE_LIBDIR_X11[^=]*=\).*;\1 $x11_libdir;" \
282 mkspecs/qws/*/qmake.conf \ 284 mkspecs/qws/*/qmake.conf \
283 mkspecs/*/qmake.conf 285 mkspecs/*/qmake.conf
284 # MSvB In R/D: %{l_shtool} subst \ 286 %{l_shtool} subst \
285 # MSvB In R/D: -e 's;^\(QMAKE_LIBS +=.*\);\1 -liconv;' \ 287 -e 's;^\(QMAKE_LIBS +=.*\);\1 -liconv;' \
286 # MSvB In R/D: src/corelib/corelib.pro 288 src/corelib/corelib.pro
287 # Trolltech Bug: 289 # Trolltech Bug:
288 # In file included from ../JavaScriptCore/runtime/RegExp.h:29:0, 290 # In file included from ../JavaScriptCore/runtime/RegExp.h:29:0,
289 # ../JavaScriptCore/yarr/RegexJIT.h: In destructor 'JSC::Yarr::RegexCodeBlock::~RegexCodeBlock()': 291 # ../JavaScriptCore/yarr/RegexJIT.h: In destructor 'JSC::Yarr::RegexCodeBlock::~RegexCodeBlock()':
290 # ../JavaScriptCore/yarr/RegexJIT.h:63:36: error: 'jsRegExpFree' was not declared in this scope 292 # ../JavaScriptCore/yarr/RegexJIT.h:63:36: error: 'jsRegExpFree' was not declared in this scope
291 %{l_shtool} subst \ 293 %{l_shtool} subst \
458 # default options are implicitly used, for example... 460 # default options are implicitly used, for example...
459 #-no-fast -exceptions -accessibility -stl -qt3support -nis 461 #-no-fast -exceptions -accessibility -stl -qt3support -nis
460 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb 462 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb
461 463
462 # carry out shared build procedure 464 # carry out shared build procedure
465 # Trolltech Bug:
466 # Problem with dependency order, causes compiling of source files
467 # with unconfigured dependencies to other files to fail when
468 # building the sources in parallel. The implemented work around
469 # is disabling parallel make, causing a nearly 100% build deceleration.
470 # itemviews/qlistview.cpp: In member function 'void QListModeViewBase::dragMoveEvent(QDragMoveEvent*)':
471 # itemviews/qlistview.cpp:3134:1: internal compiler error: Segmentation fault
463 ( cd src 472 ( cd src
464 %{l_make} %{l_mflags -O} \ 473 %{l_make} %{l_mflags} \
465 sub-moc sub-rcc sub-uic sub-uic3 474 sub-moc sub-rcc sub-uic sub-uic3
466 ) || exit $? 475 ) || exit $?
467 %{l_make} %{l_mflags -O} \ 476 # Trolltech Bug:
477 # Problem with dependency order, causes compiling of source files
478 # with unconfigured dependencies to other files to fail when
479 # building the sources in parallel. The implemented work around
480 # is disabling parallel make, causing a nearly 100% build deceleration.
481 %{l_make} %{l_mflags} \
468 sub-corelib-make_default-ordered \ 482 sub-corelib-make_default-ordered \
469 sub-xml-make_default-ordered \ 483 sub-xml-make_default-ordered \
470 sub-network-make_default-ordered \ 484 sub-network-make_default-ordered \
471 sub-sql-make_default-ordered \ 485 sub-sql-make_default-ordered \
472 sub-testlib-make_default-ordered \ 486 sub-testlib-make_default-ordered \
599 %if "%{with_tools}" == "yes" 613 %if "%{with_tools}" == "yes"
600 %{l_make} %{l_mflags -O} \ 614 %{l_make} %{l_mflags -O} \
601 sub-tools-make_default-ordered sub-translations-make_default-ordered 615 sub-tools-make_default-ordered sub-translations-make_default-ordered
602 %endif 616 %endif
603 %if "%{with_examples}" == "yes" 617 %if "%{with_examples}" == "yes"
604 %{l_make} %{l_mflags -O} \ 618 # Trolltech Bug:
619 # Another problem with dependency order with the same work around,
620 # disabling parallel make and causing a nearly 100% build deceleration.
621 # In file included from main.cpp:136:0:
622 # .moc/release-static/main.moc:84:1: internal compiler error: Segmentation fault
623 # Please submit a full bug report,
624 # with preprocessed source if appropriate.
625 # See <http://openpkg.org/> for instructions.
626 # make[3]: *** [.obj/release-static/main.o] Error 1
627 # make[2]: *** [sub-validators-make_default] Error 2
628 %{l_make} %{l_mflags} \
605 sub-demos-make_default-ordered \ 629 sub-demos-make_default-ordered \
606 sub-examples-make_default-ordered 630 sub-examples-make_default-ordered
607 %endif 631 %endif
608 %if "%{with_tools}" == "yes" 632 %if "%{with_tools}" == "yes"
609 %{l_make} %{l_mflags -O} docs 633 %{l_make} %{l_mflags -O} docs

mercurial