amarok-2, amd64 and mysql

As some of you may have noticed, the amarok-2 ebuilds have not been keyworded ~amd64 because of the mysql issue. Tonight, we’ve got a step closer to fix that.
Ive been working on a patch for mysql to get libmysqld to be built as a shared lib for over 2 months now. I’ve added an initial patch on January 3rd. Tonight, I was able to finally get a working patch for mysql-5.0.76:

atlantis@lap64 ~/kde $ ls -la /usr/lib64/mysql/libmysqld.*
-rw-r–r– 1 root root 9447588 Mar 29 01:39 /usr/lib64/mysql/libmysqld.a
-rwxr-xr-x 1 root root 1088 Mar 29 01:38 /usr/lib64/mysql/
lrwxrwxrwx 1 root root 18 Mar 29 01:39 /usr/lib64/mysql/ ->
lrwxrwxrwx 1 root root 18 Mar 29 01:39 /usr/lib64/mysql/ ->
-rwxr-xr-x 1 root root 5054576 Mar 29 01:39 /usr/lib64/mysql/

This patch needs to be properly tested and will likely get some clean-ups, but it’s working locally. This has taken a considerable amount of work and time from me, but has only been possible thanks to Diego E. “Flameeyes” Pettenò – kudos to him.
AFAIK, this means that Gentoo is the first distro to include a shared lib libmysqld and after Robin “robbat2” Johnson, cleans the patch and he’s happy with it, we’ll try to get it upstream.
I’ve delayed this post a few hours trying to get amarok-2.0.2 building, but it’s still failing because of qtscriptgenerator. However, it is already linking to libmysqld though:

lap64 amarok_build # pwd
lap64 amarok_build # scanelf -n lib/
ET_DYN,,,,,,,,,,,, lib/

If you like to see it with a “prettier output”:

lap64 amarok_build # ls lib/ | xargs scanelf -L -n -q -F ‘%n #F’ | tr , ‘ ‘ | xargs qfile -C | sort -u
dev-db/mysql (/usr/lib64/
kde-base/kdelibs (/usr/kde/4.2/lib64/
kde-base/kdelibs (/usr/kde/4.2/lib64/
kde-base/kdelibs (/usr/kde/4.2/lib64/
kde-base/kdelibs (/usr/kde/4.2/lib64/
sys-devel/gcc (/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/
sys-libs/glibc (/lib64/
sys-libs/glibc (/lib64/
x11-libs/qt-core (/usr/lib64/qt4/
x11-libs/qt-dbus (/usr/lib64/qt4/
x11-libs/qt-gui (/usr/lib64/qt4/

I’m trying some of the patches in the amarok + qt4.5 bug and will hopefully get it to build soon. So it seems we might be able to have a amarok2+amd64 party in Gentoo soon B)


atlantis@lap64 /home/gentoo-cvs/jmbsvicetto/media-sound/amarok $ qlist -IUv amarok
media-sound/amarok-1.4.10-r2 (amazon ipod kde mp4 musicbrainz mysql njb opengl python visualization)
media-sound/amarok-2.0.2 (cdaudio ipod kdeprefix mp3tunes mp4 njb opengl)

I think a party is due in #gentoo-kde!! 😀 I’m going to update the amarok ebuild in the overlay in a minute. So, let’s PARTY!!!

Cairo-Dock in the destkop-effects overlay

After another “short” break in my blog posts and just a few days late, I’m here to let anyone willing to try out cairo-dock that version has been sitting in the desktop-effects overlay for sometime now.

commit edd596311612d17a6ec482a9cc8b47086a74be20
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <>
Date:   Sat Dec 20 13:45:34 2008 -0100

    Added cairo-dock- - thanks to Bill Smith <sememmon at gmail dot com> for the ebuild.

I’ll be testing version 2.0.0-beta2.1 in the next days, so expect to see updated ebuilds soon. It would be helpful to get some feedback about cairo-dock to evaluate if it would be a good addition to the tree or not.
Thanks Bill for nagging me about this and sorry for the delay.