The RHEL / Fedora Trinity Repository

Notice on 2011/11/01: TDE 3.5.13 for RHEL and Fedora is now officially released on the Trinity Project official site.


Purpose

This page aims to share my RPM packages for the Trinity Project.

The Trinity Project is a revival of the old KDE 3 Desktop Environment.

My packages SPEC files are mostly based on the old Fedora 7 / Fedora 8 KDE 3 SRPMS. So a lot of credits should go to the original Fedora packagers. The files were updated to reflect changes in TDE compared to the legacy KDE 3.

Availability

On November 1st 2011, TDE 3.5.13 is out. I suggest you forget the old TDE 3.5.12 and install version 3.5.13 directly.

Currently, I've built RPM packages for the distributions listed in the following table:
Linux Distribution TDE 3.5.12 TDE 3.5.13
RHEL 5 (i386) - Repo
RHEL 5 (x86_64) Repo Repo
RHEL 6 (i386) - Repo
RHEL 6 (x86_64) Repo Repo
Fedora 15 (i386) - Repo
Fedora 15 (x86_64) Repo Repo
Fedora 16 (i386) - Repo
Fedora 16 (x86_64) - Repo
Fedora 17 (i386) - -
Fedora 17 (x86_64) - Repo
- RHEL 5 means that the packages should work for Red Hat Enterprise Linux 5, Centos 5, Scientific Linux 5, or any other EL5-based distro.
- RHEL 6 means that the packages should work for Red Hat Enterprise Linux 6, Centos 6, Scientific Linux 6, or any other EL6-based distro.

Since SRPMS are also provided, it should be possible (but not tested) to rebuild them for older distros like RHEL 4, Fedora 14, Fedora 13, Fedora 12, or maybe even older ...

It should also be possible to build on newer distributions.

I did not build ALL packages from the Trinity Project. There are some applications missings, but all the core packages are here.

Testing TDE 3.5.13 without installing

There is a LiveCD available. It is built with Fedora 16 (i386) and TDE 3.5.13.

Download the LiveCD.

How to install binary packages

The Trinity Environment will be installed under /opt/trinity. Ensure you have sufficient disk space here before starting installation !

Download the .repo file corresponding to your distribution and put it in folder /etc/yum.repos.d . Then install package "trinity-desktop". That's all :-)

If you really do not know how to do this, follow strictly the instructions below. These are commands that must be run in a terminal, as root user.

Installing TDE 3.5.13 for RHEL 5

cd /etc/yum.repos.d/
wget http://trinity.mangafrance.com/el5/trinity-3.5.13-el5.repo
yum install trinity-desktop

Installing TDE 3.5.13 for RHEL 6

cd /etc/yum.repos.d/
wget http://trinity.mangafrance.com/el6/trinity-3.5.13-el6.repo
yum install trinity-desktop

Installing TDE 3.5.13 for Fedora 15

cd /etc/yum.repos.d/
wget http://trinity.mangafrance.com/f15/trinity-3.5.13-f15.repo
yum install trinity-desktop

Installing TDE 3.5.13 for Fedora 16

cd /etc/yum.repos.d/
wget http://trinity.mangafrance.com/f16/trinity-3.5.13-f16.repo
yum install trinity-desktop

Installing TDE 3.5.13 for Fedora 17

cd /etc/yum.repos.d/
wget http://trinity.mangafrance.com/f16/trinity-3.5.13-f17.repo
yum install trinity-desktop

Installing supplementary packages

To get a list of available Trinity packages, just type:

yum search trinity
If you're using GDM/KDM/anyDM, you should see a new session type called "KDE3" or "Trinity".
You can also run Trinity by running startkde directly from the command line:

/opt/trinity/bin/startkde

How to (re)build from sources

This is for advanced users only.

Configuring RPM building tools

Ensure that you have the required building packages installed on your system.

yum install rpm-build redhat-rpm-config 

Then, create (or modify) the file ~/.rpmmacros. Put in it the lines corresponding to your distribution:

RHEL 5 RHEL 6 Fedora 15 Fedora 16 Fedora 17
%rhel 5
%dist .el5
%rhel 6
%dist .el6
%fedora 15
%dist .fc15
%fedora 16
%dist .fc16
%fedora 17
%dist .fc17

Removing conflicting packages

You should be aware that RHEL / Fedora distros come with minimalistic KDE3 (3.5.10) libraries. You *must* uninstall them before compiling Trinity to avoid errors at library linking !

# yum remove kdelibs3 kdelibs3-devel arts arts-devel k3b k3b-devel

Install the required building tools

TDE 3.5.12 (and older)

To get TDE 3.5.12 to build correctly, you MUST install a precise version of libtool, autotool and automake.
Versions provided by RHEL 5 are too old; versions provided by RHEL 6 are fine (you can skip this step); versions for Fedora 15 are too recent.
It is NOT necessary anymore starting with TDE 3.5.13 !
If you already have the Fedora 15 autoconf/libtool packages installed, then you need to downgrade them.
It is normally not a good idea to downgrade and you should do it only if you really want to compile Trinity.
I provide working versions of theses packages in the TDE "extras" repositories. Juste install the ".repo" files above and grab the tools.

TDE 3.5.13 (and newer)

TDE compilation now uses CMAKE 2.8 (or newer) for some packages, but not all of them.
  • RHEL 5: All distribution-provided tools are obsoletes. You must use a newer version of autools, automake, libtool, and cmake. These are provided in TDE repositories.
  • RHEL 6: cmake is outdated (2.6). You must use a newer version of cmake. It is provided in TDE repositories.
  • Fedora 15 and later: all the required tools are provided by the distribution. There is nothing more to install.
  • Using rpmbuild to build packages

    The SRPMS should be easy to rebuild on any machine. Ensure that you have the rpmbuild tools installed.
    For example, if you want to rebuild the Tqtinterface RPM, download the SRPM then just type:

    $ rpmbuild --rebuild tqtinterface-3.5.12-4.el6.opt.src.rpm

    By default, Trinity RPMS are built for a normal distribution installation under /usr. If you build Trinity that way, several resulting packages will conflict with their KDE4 equivalents, and it won't be possible to install both KDE4 and Trinity.

    Hopefully, you can build the Trinity packages for installation under an alternative directory. If you want to install under /opt/trinity (as I do), to avoid conflict with KDE4, just type the command with an extra parameter:

    $ rpmbuild --rebuild tqtinterface-3.5.12-4.el6.opt.src.rpm --define "_prefix /opt/trinity"

    I'm currently using both configurations (/usr and /opt/trinity) on different machines, both run fine. But I only provide the "/opt/trinity" variant on this site for the moment.

    Finally, if you are curious, you can install the SRPMS and check/modify the SPEC files: (do NOT do this as root !)

    $ rpm -i tqtinterface-3.5.12-4.el6.opt.src.rpm
    $ vi ~/rpmbuild/SPECS/tqtinterface.spec
    [edit as desired, then...]
    $ rpmbuild -ba ~/rpmbuild/SPECS/tqtinterface.spec
    or
    $ rpmbuild -ba ~/rpmbuild/SPECS/tqtinterface.spec --define "_prefix /opt/trinity"

    Disclaimer & Contact

    The RPM packages are provided "as-is", no technical support is provided.

    I'm not responsible for any damage they could cause blahblahblah ...

    FYI, I'm using Trinity under RHEL 6 for months for professional uses, with no major problem.

    Contact: francois.andriot@freespam.fr (remove the "spam" word. My ISP is "free.fr")