Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411629 - app-office/calligra-2.4.0 does not build words, stage and the textshape with Qt 4.8.0 and 4.8.1
Summary: app-office/calligra-2.4.0 does not build words, stage and the textshape with ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 19:28 UTC by Franz Trischberger
Modified: 2012-04-11 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2012-04-11 19:28:21 UTC
I realised this after installing calligra with Qt-4.8.1. words was not present, though CALLIGRA_FEATURE was set.

The relevant part of the CMakeLists.txt:

set(SHOULD_BUILD_TEXTSHAPE TRUE)
if ((${QTVERSION} VERSION_EQUAL 4.8.0) OR (${QTVERSION} VERSION_EQUAL 4.8.1))
    if (NOT IHAVEPATCHEDQT)
        set(SHOULD_BUILD_WORDS FALSE)
        set(SHOULD_BUILD_STAGE FALSE)
        set(SHOULD_BUILD_TEXTSHAPE FALSE)
        MESSAGE(STATUS "WARNING: You are using a version of Qt that causes crashes. As a result Words and Stage will not be built. Please upgrade to 4.8.2. You can also patch Qt and when building Calligra set IHAVEPATCHEDQT. Patch against Qt can be found in qt48setx.patch")
    endif (NOT IHAVEPATCHEDQT)
endif ((${QTVERSION} VERSION_EQUAL 4.8.0) OR (${QTVERSION} VERSION_EQUAL 4.8.1))

The mentioned patch can be found here (found via google):
http://web.archiveorange.com/archive/v/bZBuS0L0Fwwe2Jzo0uXM
But I can't say, if it makes the old qt-gui-4.8.1-fix-calligra-crash.patch obsolete.
Nevertheless, calligra needs to set IHAVEPATCHEDQT, in order to get words, stage and textshape back for Qt-4.8-users.
Comment 1 Franz Trischberger 2012-04-11 19:52:47 UTC
Yes, the patch is the current one (it's shipped with the calligra-2.4.0-tarball...)
I added "-DIHAVEPATCHEDQT=ON" to mycmakeargs, and calligra built all the textshape-related stuff.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-04-11 20:51:49 UTC
Yeah, thanks. Overlooked that... The patch is already in our qt-gui-4.8.1 for a couple of days, I took care of that. So no need to do any patching anymore.

Fixed in calligra-2.4.0-r1