This procedure compiles the kdepim package. There is more in the kdepim package than just kmail and all the programs in kdepim will be replaced with the 4.4.11.1 release. If you converted to kmail2 you will have to save your emails since you converted to kmail2 and move them to kmail1. You should do a complete backup of your system before installing the 4.4.11.1 release. Things can and do go wrong, so a backup is absolutely necessary. I would recommend that you create a virtual machine such as free vmplayer found a
www.vmware.com and test that you will not lose any data from installing an older kdepim package. You would need to move over the folders .kde and .local to the virtual machine.
I have tested on Fedora 16 and Fedora 17 and the instructions are geared toward this releases. If you plan to use some other release the instructions may need to be changed somewhat.
Install these modules
Code:
yum -y install @development-tools
yum -y install ruby rubygems sqlite-devel
yum -y install libxml2-devel
yum -y install akonadi-devel
yum -y install libgpg-error-devel
yum -y install gpgme-devel
yum -y install libassuan-devel
yum -y install kdepimlibs-devel kdepim-devel
Setup
Open a terminal and change directory to your home directory and then cut and paste and execute the following commands.
Code:
mkdir KDE
cd KDE
wget http://kde.mirror.aussiehq.net.au/stable/kdepim-4.4.11.1/src/kdepim-4.4.11.1.tar.bz2
wget http://kde.mirror.aussiehq.net.au/stable/kdepim-4.4.11.1/src/kdepim-runtime-4.4.11.1.tar.bz2
tar -xf kdepim-4.4.11.1.tar.bz2
tar -xf kdepim-runtime-4.4.11.1.tar.bz2
mkdir kdepim-4.4.11.1/build
mkdir kdepim-runtime-4.4.11.1/build
echo 'cmake ../ \' > build
echo ' -DCMAKE_BUILD_TYPE=Release \' >>build
echo ' -DCMAKE_SKIP_RPATH=ON \' >>build
echo ' -DCMAKE_INSTALL_PREFIX=/usr' >>build
chmod +x build
cp build kdepim-4.4.11.1/build/.
cp build kdepim-runtime-4.4.11.1/build/.
sed '146 s/connect/QObject::connect/' \
kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h >temp
mv temp kdepim-4.4.11.1/libkleo/backends/qgpgme/threadedjobmixin.h
Compile
Cut and paste and execute the following commands.
Code:
cd kdepim-4.4.11.1/build
./build
You should see the following.
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* indicate-qt (0.2.1 or higher) <http://launchpad.net/libindicate-qt>
Qt bindings for libindicate
Needed for KMail integration with libindicate Indicators.
Fedora comes with many packages preinstalled if other things are missing, you will need to find and install additional packages.
Cut and paste the following command.
You should complete at [%100].
Code:
cd ../..
cd kdepim-runtime-4.4.11.1/build
./build
You should see the following message
---------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
---------------------------------------------------------------------------
Cut and paste the following command.
You should complete at [%100]
Cut and paste the following command.
Install
Before you continue, backup your files.
Fedora has an Add/Remove Software item under System Tools.
Remove Just kdepim not all of kde.
Cut and paste the following commands.
Code:
su
cd kdepim-runtime-4.4.11.1/build
make install
cd ../..
cd kdepim-4.4.11.1/build
make install
cd ../..
exit
Reboot your machine
To run kmail1 open a terminal window and type
Uninstall
You want to go back to kmail2?
Cut and paste the following commands.
Code:
su
cd kdepim-4.4.11.1/build
make uninstall
cd ../..
cd kdepim-runtime-4.4.11.1/build
make uninstall
cd ../..
exit
Fedora has Add/Remove item under System Tools.
Add the kdepim package.
Reboot your machine
ddan