Monthly Archive for Februar, 2009

KDE4.2 and Nepomuk on Debian

Since the features of KDE4 were announced I was eager to try out the promised semantik desktop. Since I’ve been working on onologies once, I know that it is a great idea, but sometimes difficult to implement. So I wanted to see how the KDE guys did implement this. Sadly it didn’t work on Debian very well since the Debian packagers, did not – for some very good reasons – package the sesame2 backend for nepomuk which is required to get the most out of strigi/nepomuk. Today I was thinking about nepomuk again and was lucky to find a very good explaination how to get sesame2 for nepomuk running on Debian sid with KDE4.2 form experimental. The post I found is in german, so I’ll give a quick summary of what I’ve done here:

  • First you should get your system up-to-date: apt-get update && apt-get upgrade
  • Then install the required packages: apt-get install libqt4-dev build-essential cmake subversion qmake strigi-utils sun-java6-jdk sun-java6-jre
  • I prefer sun-java6, but you could also use openjdk-6-jre and openjdk-6-jdk instead.
  • Now checkout the kdesupport sources: svn co svn://anonsvn.kde.org/home/kde/tags/kdesupport-for-4.2/kdesupport
  • Change to the source directory: cd kdesupport/soprano
  • Create the build directory for cmake: mkdir build
  • Go into the build dir: cd build
  • Now you have to properly set JAVA_HOME: export JAVA_HOME=/usr/lib/jvm/java-6-sun, use /usr/lib/jvm/java-6-openjdk for openjdk
  • Create the makefiles: cmake ..
  • This should emit something like this:
    ---------------------------------------------------------------------------------------
    -- Soprano Components that will be built:
       * Sesame2 storage backend (java-based)                                                                        
    
    -- Soprano Components that will NOT be built:
       * Redland storage backend
       * Raptor RDF parser
       * Raptor RDF serializer
       * The CLucene-based full-text search index library
    ---------------------------------------------------------------------------------------
    -- Configuring done
    -- Generating done
  • Now compile using make: make
  • And install: sudo make install. Please note that this will install the backend into /usr/local.
  • Then you should (re-)move your old redland repository: rm -rf ~/.kde4/share/apps/nepomuk. You’ll loose all your existing metadata (tags, ratings, etc.) this way. So maybe you want to backup this information instead.
  • You should stop strigi and nepomuk now in the system settings dialog of KDE.
  • Then edit the configuration file in ~/.kde4/share/config/nepomukserverrc with your favourite editor and change it like this:
    [Basic Settings]
    Configured repositories=main
    Start Nepomuk=true
    
    [Service-nepomukmigration1]
    autostart=false
    
    [Service-nepomukstrigiservice]
    autostart=true
    
    [main Settings]
    Storage Dir[$e]=$HOME/.kde4/share/apps/nepomuk/repository/main/
    Used Soprano Backend=sesame2
    rebuilt index for type indexing=true
  • Now you can enabled nepomuk and strigi again. Strigi should display an icon in the system area and you should see /usr/bin/nepomukservicestub nepomukstorage eating up a lot ressources.

Of course you can use aptitude instead of apt-get if you like.

iotop on custom kernels

You need to enable these options to be able to run iotop on custom built linux kernels:
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
See the Arch Linux Forum for more details.

Broadband funding only for IPv6-enabled Connections? Yes, please!

Finally some good ideas. Some guys from the Hasso-Plattner-Institut in Potsdam, suggests that ISPs should only receive funding from the federal government if they offer IPv6-enabled connection to their customers. Now that is really a great idea. Since Windows Vista every major operation system supports IPv6 as well as the majority of the internet does except for the end-customer connections which are not capable of IPv6. If the government provides a financial appeal, there will be IPv6 connection very, very soon.

So, valued politicians, please do the right thing: support this propsal. It sounds great to me.

Google sponsors OpenStreetMaps

I was quite astonished to hear that Google, yeah those “Gooogle Maps” guys, did support OpenStreetMaps with £5000. I thought they are competitors? Perhaps Google does understand what Microsoft doesn’t: You can’t compete with OpenSource – you can only adapt to it.

GTA4 – Story completed

Did I mention that I’m playing GTA 4 from time to time? Yesterday I managed to complete that last mission which I had to try again and again because Nico didn’t manage to pull himself into the helicopter. After the third or forth attempt I did some googl’ing and found the hint to “mash” the space bar. I’ve never heard that word before, but in the end I really did what it means: Hit your space button as fast as possible, repeadedly for some seconds until he managed to get into this forsaken helicopter. The rest of the mission was pretty staight forward. Follow the boat, get taken down by the AA missile, land hard on liberty island and catch the villain – Mission completed. All in all a really great game.

On the effect of cabling

I did, for a very long time, underestimate the effect of cabling on sound. I’ve never been an audiophile person, but today I’ve spent a (very small) fortune on cabling and I’m very impressed how good these old speakers sound. Who does need subwoofers when he’s got real stereo speakers? Long live Hi-Fi!

Upgrading etch to lenny

Upgrading etch to lenny is as easy a typing:

apt-get update && apt-get upgrade

Modifying your sources.list and the typing:

apt-get update && apt-get install apt && apt-get upgrade; apt-get dist-upgrade

Thats it! :)

Update: Don’t forget to install a new kernel image.

Debian 5.0 ‘lenny’ release planned for Mid-February

It seems as if the release-cylce of the next stable release of Debian, called lenny, will soon come to an end. The planned release date is the weekend around the 14th februar.

Let’s hope everything works out as planned …