Message: previous - next
Month: January 2012

Re: [trinity-users] PyKDE3 build fails - Missing kdeversion.h

From: Darrell Anderson <humanreadable@...>
Date: Fri, 6 Jan 2012 09:20:53 -0800 (PST)
> As per the wiki (,
> it seems that python-kde3 source has been removed from
> Trinity. I've therefore built SIP and PyQt from upstream but
> PyKDE (3.16.7) fails, complaining it can't find
> kdeversion.h, which doesn't exist on my system (building
> from git).
> Am I doing something stupid? Apologies if this is a stupid
> question.

The short answer is that kdeversion.h has been renamed to tdeversion.h. :) The longer answer is to browse the mailing list discussions of the past couple of days. I have been asking for clarification on the build process in order to update the wiki.

Hopefully Tim confirms this specific reply, but in a previous statement he said Trinity packages now replace PyQt3 and PyKDE3. Here are my most recent proposed changes for the wiki, which I have not yet posted:

Recommended build order for Trinity dependencies:

tqt3 (replaces Qt3; Qt3 without the tqtinterface layer is available)

dbus-tqt (Required for some applications, such ksmserver in kdebase)
dbus-1-tqt (Required for some applications, such ksmserver in kdebase)
tqca-tls (Required for some applications, such as the Kopete OTR add-on)
libart-lgpl (Required by many applications, such as kdelibs, ksvg, kdeartwork-kscreensaver)
avahi-tqt (Recommended but required when supporting DNS discovery services)
python-tqt (Required for python bindings support)
sip4-tqt (Required for building python related bindings for tdebindings)


None are required but all provide additional functionality for a variety of packages.
These libraries must be built and installed before any packages using these libraries can take advantage of the additional functionality.

libkipi: required by kipi-plugins
kipi-plugins: several high-end image viewers such as gwenview and digikam
libkdcraw: several image viewers and graphics apps, such as chalk and digikam
libkexiv2: several image viewers
libksquirrel: required by ksquirrel
libtqt-perl: adept add-on
mlt: not required or supported at this time
mlt++: not required or supported at this time
pytdeextensions: replacement for PyQt3 and PyKDE3, and used by apps such as tdebindings and tde-guidance
python-trinity: replacement for PyQt3 and PyKDE3, and used by apps such as tdebindings and tde-guidance


Python-tqt, pytdeextensions, and python-trinity are direct replacements for PyQt3 and PyKDE3. There no longer is any need to build PyQt3 or PyKDE3.

Sip is available on many/most distros. However, Sip requires Qt3 but won't build on TQt3, which adds the tqinterface layer to Qt3. More than likely down the road, Sip will be dumped or moved to Qt4 by distro maintainers. All of the python-*-tqt-* packages need sip to build. Build this TQt3 compatible version of Sip and replace the stock Sip installed with the distro.

libart-lgpl no longer is maintained upstream ( and needs several patches ( to avoid crashing some apps. The version of libarts provided by the Trinity Project includes those patches and is intended to be a replacement for any version of libarts currently installed by any distro. Build this patched version of libart and replace the stock libart installed with the distro.

Regarding Third-party/LibreOffice: This folder contains patches that add TDE support to the upstream LibreOffice sources. The patches allow LibreOffice to use Trinity dialog boxes. The patches have not been merged into the upstream LibreOffice GIT tree, but they work just fine as-is when applied to the stock LO sources. Obtaining the advantages of these patches requires rebuilding LibreOffice from sources.