Message: previous - next
Month: January 2012

Re: [trinity-devel] Building packages from git: several questions

From: Darrell Anderson <humanreadable@...>
Date: Wed, 4 Jan 2012 17:28:22 -0800 (PST)
> > Dependencies:
> > 
> > Build order presumed to be as listed (please
> correct!):
> > 
> > tqt3 or qt3 (is there a reason to build the latter
> rather than the former?)
> > tqtinterface (required)
> > arts (required)
> Recommended, rather--there is a flag for building without
> it, and everything
> does work as far as I can tell.
> > dbus-1-tqt (required?)
> > dbus-tqt (required?)
> One or both (I can't tell, because the packages aren't
> handled quite the same
> way for me) is required by ksmserver, as above.
> > libart-lgpl (required?/recommended?)
> Dependency for kdelibs, ksvg, kdeartwork-kscreensaver,
> possibly some others
> I don't have installed.  Unless there's some way of
> building kdelibs without it,
> I think we can call it "required".
> > libkdcraw (recommended? which packages?)
> I'm not sure how many of these are KDE4 results, since I
> don't have
> the relevant packages installed and so am not sure of the
> versioning, 
> but a query turned up calligra, krita, digikam, and
> kphotoalbum as 
> depending on libkdcraw.


Recommended build order for Trinity dependencies:

tqt3 (replaces Qt3; Qt3 without the tqtinterface layer is available but there is no compelling reason to build the latter)

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)
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. 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.