Kontact Touch/Harmattan

Revision as of 09:13, 7 November 2011 by Aheinecke (Talk | contribs) (Add a first rough installation guide for harmattan)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

There are some packages of Kontact Touch for MeeGoi 1.2 Harmattan. This is the operating system of the Nokia N9 (and N950) Smartphones.

Installation

To install the packages you have to switch your phone into developer mode, since the packages are not yet available in the Application Store. (reachable via Settings -> Security -> Developer Mode) This will also install an ssh server on your device which makes the rest of the installation much more comfortable.

Configure SSH

Note: This step is not really necessary since you can also do everything directly on the terminal of your device.

To connect to your ssh server you first have to set a password for the "user" account. To do that open the Terminal application and use devel-su to log in as root (default root password is rootme) and set the password for the user by calling passwd user. Now you are able to connect to your device as user and configure the OpenSSH server as usual.

Repositories

Kontact Touch packages need three repositories so that all dependencies can be installed. To enable them (as root):

echo "deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
deb https://files.kolab.org/local/maemo/dists/harmattan ./" > /etc/apt/sources.list.d/community.list

Installation with apt-get

To install the most recent version of Kontact Touch you can then call:

apt-get update
apt-get install kdepim-mobile

Note: If you get an error like: https://downloads.maemo.nokia.com ./ libgmp3c2 2:4.3.2+dfsg-1+maemo5+0m6 The requested URL returned error: 404 You can get the the package from: http://harmattan-dev.nokia.com/pool/harmattan-beta/free/g/gmp/ and install it manually with dpkg -i The link to this package appears to be broken in the nokia repository.

Note: With the Harmattan Beta 2 image you might also get conflicts with packages having more recent versions in the community repository then on the platform. This can cause conflicts with the mp-harmattan package. To avoid those you can pin down the community repo by creating the file /etc/apt/preferences with the content:

       Explanation: Dont update platform packages
       Package: *
       Pin: origin repo.pub.meego.com
       Pin-Priority: 99

Known problems

The packages are not well adopted (most not at all) to the harmattan security model. The configuration of kdebase-runtime and strigi fails because it tries to create the home directories for strigi and kde to work around this create (as user) a symlink from MyDocs.

mkdir /home/MyDocs/.kde
mkdir /home/MyDocs/.strigi
ln -s /home/MyDocs/.strigi /home/user/.strigi
ln -s /home/MyDocs/.kde /home/user/.kde

Some more configuration steps might fail. Most (chgrp / chown) can be ignored when you just run the configuration again.

There is also a bad patch in the kdelibs package 4.7+20111016.674ebb6964fa48afb45d8e401e4699bbaa87e6be-1maemo6.7 changing the font sizes to monospace.

To wokaround that put this in your kdeglobals:

       [General]
       fixed=Monospace,16,-1,5,50,0,0,0,0,0
       font=Sans Serif,16,-1,5,50,0,0,0,0,0
       menuFont=Sans Serif,16,-1,5,50,0,0,0,0,0
       taskbarFont=Sans Serif,16,-1,5,50,0,0,0,0,0
       toolBarFont=Sans Serif,16,-1,5,50,0,0,0,0,0
       smallestReadableFont=Sans Serif,16,-1,5,50,0,0,0,0,0

The icons might be just some strange red squares until you restart.

Additional Notes

Make sure to check out the general Kontact Touch page, especially note the recommendation to use KWallet in the account setup section.


Content is available under Creative Commons License SA 4.0 unless otherwise noted.