Archive for the ‘FSFE’ Category

Show your Love on Valentine’s Day :)

Friday, February 12th, 2010

I usually boycott this marketing day of the flower business, since it is exactly that, a very well orchestrated campaign of the flower producers to guarantee their income in the bad season between Christmas and Mother’s Day, but this year the FSFE has launched a lovely campaign which I fully subscribe to.

I love Free Software!

Show your love of Free Software by different means:

  • donate to your favorite Free Software project
  • hug/kiss your favorite Free Software developer (don’t forget to ask permission first :-) )
  • buy your favorite Free Software developer a drink/food/flowers (and make the inventors of the Valentine’s Day happy)
  • express your happiness about Free Software by sending congratulations to your favorite Free Software project team

Compiling Amarok from git locally - full summary

Saturday, September 26th, 2009

As we have more and more questions for support on how to install Amarok 2.2 from GIT, I thought I might make another synopsis on how to install a local build. Apparently linking to previous posts is not very useful because people tend not to read the links…

Warning: please do not try this if you are not comfortable with compiling from sources, and be aware that compiling from a development branch can break a few things!

Note: as I use Kubuntu, this is heavily biased, but there are a few indications for other distributions, as far as those have been provided by the previous bloggers.

Thanks go to Mark Kretschmann who started that adventure and wrote the first instructions, to Stephan Jau who wrote an excellent How-to for the SVN version for Kubuntu users and to David Faure who corrected some of our settings. And, of course, all the Amarok Team who do a tremendous job every single day :)


This document explains how to install Amarok 2 from GIT in your home directory - in an easy way :-)

Update:October 12th 2009 I updated a few things since the first edition, in particular the README content in section 5 and adapted it to the upcoming Karmic Koala aka Kubuntu 9.10 (remember, I am biased)

If you already have an Amarok 2.x version installed from your distro, un-install it to prevent setting conflicts and similar. You will need the kdelibs and kdebase-runtime from KDE 4.2 or higher. Please see also the minimal requirements and mandatory dependencies in section 5.


1.Install git, the compiler and KDE 4 development packages:

  • In Kubuntu, Debian, and all their derivatives:
    • sudo aptitude install git-core build-essential kde-devel
  • In Archlinux:
    • sudo pacman -Sy git base-devel kdelibs kdebase-runtime
  • In Gentoo:
    • sudo emerge -av dev-util/git kdelibs plasma-workspace


2. Install ccache to speed up compilation

ccache is a very nice tool that can speed up your compilation. It speeds up re-compilation of C/C++ code by caching previous compiles and detecting when the same compile is being done again. Install the package from your distribution and set the size of the cache to 2 GB with the command

ccache -M 2G

This will take 2Gb of space in your local directory, but the gain of time is really impressive. Enable the use of ccache by adding it to your local .bashrc, described in step 3 below:


3. Define the PATH and local environment

  • Append the following to $HOME/.bashrc:
    • export PATH=$HOME/kde/bin:$PATH
    • export PATH=/usr/lib/ccache:$PATH
  • Reload your edited .bashrc:
    • source $HOME/.bashrc

    NOTE: if you are not using the bash shell, edit your proper shell config file (~/.zshrc or ~/.tcshrc or whatever it may be).


    4. Make KDE aware of Amarok’s plugin location:

  • echo 'export KDEDIR=$HOME/kde' >> $HOME/.kde/env/myenv.sh
  • echo 'export KDEDIRS=$KDEDIR' >> $HOME/.kde/env/myenv.sh

  • 5. Make sure you have all the necessary dependencies

    The README file in the source states the required and optional dependencies, but I might as well write it down here, so there is no other document to be read for the lazy ones. Of course, before diving into compiling from source, check if those dependencies are available in the package repository of your distro :)

    Note: you must also install the devel versions of these packages!

    Important: if you previously had Amarok 2.2.x installed from your distribution, you already have all the dependencies, you only need the corresponding devel versions. Those are all provided by your distribution as well.

  • Required
    • MySQL 5.0 (or newer) Embedded: libmysqld compiled with fPIC (In-process database support)

      Note: If you have installed MySQL Embedded in non-default location (i.e. $HOME/usr), Amarok may fail to start with error regarding libmysqlclient library. In this case, add the following string to your ~/.bashrc:

      • export LD_LIBRARY_PATH=$HOME/usr/lib/mysql:$LD_LIBRARY_PATH

        where $HOME/usr is the path you will use in the --prefix option when compiling (see step 7. below)

  • Optional
    • MySQL 5.0 (or newer) Server (external database support)


    5.1.Various dependencies that might cause compile errors and have to be installed:

    (these are rather specific to Kubuntu, might have other names in other distributions and/or are already installed)

    • libstrigiqtdbusclient-dev
    • libsearchclient-dev
    • libmysqlclient15off
    • libmysqlclient-dev
    • libmysqld-dev
    • libmysqld-pic


    6. Create folders:

    • mkdir $HOME/kde
    • mkdir $HOME/kde/src
    • mkdir $HOME/kde/build
    • mkdir $HOME/kde/build/amarok


    7. Checking out and Building:

    Now you need a source checkout from Gitorious. In the folder ~/kde/src/, type the following command:

    git clone git://gitorious.org/amarok/amarok.git

    this will drag approx. 55-60Mb of data, depending on the moment you actually make this checkout.

    Everything is now ready to build:

    • cd $HOME/kde/build/amarok
    • cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=debugfull $HOME/kde/src/amarok
    • make install


    8. Updating KDE Config:

    • kbuildsycoca4 --noincremental
    • Note: this might not be necessary for most of the cases

    Now you are ready to run Amarok 2, by typing “amarok” in the shell. We strongly recommend you run amarok with the -d and –nofork option, so you will have debugging enabled and can get a valid backtrace if Amarok crashes.


    9. Updating your Amarok build:

    Since the development is quite fast with git, you should update your Amarok build regularly, and a daily checkout is not too much. This is made easy with the following command:

    • cd $HOME/kde/src/amarok
    • git pull

    This will update your local git branch. If you have done modifications to your local branch you would like to keep, make sure you update with the --rebase option. See also the git tutorial for KDE in section 10.

    You can now simply build again with

    • cd $HOME/kde/build/amarok
    • make install

    Since you have installed ccache, a full build will speed up over time. To have an idea about the build time, just type time make install when building. If you have several CPU cores, you can speed up even more with the -j[n] option, where [n] is the number of CPU cores +1. Of course, the more CPU you use for building, the less you will have available for other tasks :)


    10. More information and useful links

    Don’t forget: running a development version also means that it is not stable and can break anytime ! This is especially true after a feature freeze, when the developers merge their personal git branches to the master branch.

    Note: To be notified about major changes you definitely should subscribe to our mailing list amarok@kde.org at https://mail.kde.org/mailman/listinfo/amarok. Of course you will also find help in our #amarok channel on irc.freenode.net, but reading the mailing list is mandatory and spares us a lot of time.

    Since you don’t want to repeat all this completely when you upgrade to a newer version of your preferred distribution, you should consider installing your /home directory on a separate partition from the start, it will spare you quite some time and hassle in the future.

    Edit: Casper van Donderen just pointed me to the possibility to have the latest Amarok from git on Windows, too: if you build KDE using the emerge system, just type emerge amarok at the kdeenv command prompt. Thanks for the hint, Casper!

    Preparing for another conference: OpenExpo in Winterthur next week!

    Sunday, September 20th, 2009

    oe-logo_solo_05
    It’s this time of the year again where I prepare for attending OpenExpo in Winterthur. This important Free Software even is held on September 23 & 24 in Winterthur, Switzerland.
    This year I helped organizing more than one booth: Amarok, KDE and the Ubuntu/Kubuntu booth of the Swiss Team. While Mark and Sven will handle the Amarok booth, showing the upcoming version 2.2 of your preferred music player, I will share my time at both the KDE and the Ubuntu/Kubuntu one, presenting the latest KDE 4.3.1, using Kubuntu 9.04 (unless I find some time to install a preview of the upcoming Karmic Koala before). Not alone, of course, as I will have a lot of helping hands from Andi, Adriaan, Eckhart and Pascal for KDE, and Daniel, Dirk, Erwin and Roman at the Swiss Team booth :-)

    The smallest unit of freedom: a fellow

    Wednesday, April 15th, 2009

    Image by Benjamin Kirschner, Creative Commons Attribution 2.5 License

    When the FSFE launched their fellowship back in 2005, I joined to be a fellow almost immediately. I have always been a strong supporter of Free Software and the FSFE is doing a great job in Europe with far less money than the FSF, who is working mainly in the US. This is not an easy task, with so many different countries and legal systems and languages, but they have managed to build up a great network.

    I sometimes meet people who ask about what the FSFE is doing precisely and I wonder if they have been living under a rock: preventing software patents, advising the EU in various society issues, building up the Freedom Task Force, offering the Fiduciary License Agreement to developers and much, much more are the daily work of these brave people from the FSFE, which I count among my good friends. So when the fellowship was created, I was glad to join and give some of my money to support their work, knowing I would get a lot back.

    Still, I was surprised and honored to be contacted for an interview as a fellow, which you can now read here: The smallest unit of freedom: a fellow.

    Fête du Libre - Geneva

    Sunday, May 14th, 2006

    Sitting in an internet café in Geneva where the GULL - Groupe Utilisateurs Linux Léman - organises the Freedom Day: la Fête du Libre!
    I’m going to speak about the FSFE, the Fellowship programm and how to help and support our work. Nice happening, althought weather is beautiful outside, but lets hope I can attract the attention despite the weather :-)

    Update: nice public! Some of them are seniors who attend the Internet Café for courses and they all had interesting questions and remarks, like: “How come a pharmacist is so passionate about Free Software?” and “Great to see that we also have young people who are interested in social issues”. I like the later, as I’m used to face people who usually are surprised that “people of my age” are still interested in “young” issues!

    I clearly fill the gap :-)

    FOSDEM 2006 - first day

    Saturday, February 25th, 2006

    FOSDEM’s first day is slowly ending and here is a first attempt of a report. Let’s hope my wifi-connection stands to the end.

    The booth is very large this year, we sell T-shirts on both sides and installed the info booth in the middle. As usual, web connection is very unpredictable, but luckily this morning we were able to access and read our mail during more than an hour. I try to sell on the "women"’s side, e.g. T-shirts in female sizes and often explain the Fellowship of FSFE. As usual at FOSDEM, I’m speeking mostly french, but alread came accross people from Italy, Spain and also Switzerland. Dutch would be very usefull but unfortuantely I dont speak it (yet). There are the usual runs at the booth showing the end of tracks, where our selling and explainig capacities are well used.

    Today I gave an interview to a belgian TV team: they promised to get in touch before the broadcast. So get your satelite dishes ready, I’ll post the date here.
     

     

    Wilhelm Tux in Karlsruhe

    Monday, June 27th, 2005

    As in previous years I joined the FSF Europe fellows and volunteers in Karlsruhe, this time in company of Florian and Didier from Linuxbourg and Mario from Wilhelm Tux/Edux.

    A carload of geeks, loads of chocolate and, as a special feature this year, a Raclette cheese and its tools.

    We arrived Wednesday afternoon and immediately found the Community booth of the FSFE in the Stadthalle where fellows from the newly founded FSF Latin America already hacked their keyboards. It was great to meet Fernanda and Beatriz whom I only knew from their mails and of course a big pleasure to see Federico again. Niibe and his friends from Japan were there too and gave us a warm welcome.

    As expected, we had a lot of people asking questions about software patents issues, I don’t know how many times I answered the same questions again and again… but it was a really great job, especially with friends doing the same during this four days (and beyond).

    As usual in Karlsruhe, afterwork was great fun:

    The first evening we shared some Italian food where Matze, like all of us, expressed his joy to see us all together again.

    On Thursday we organised the Raclette at our booth in the exposition area where also other booths held afterwork parties. Mario was very impressive as chef and made people really happy with his skills. More and more people were attracted (maybe by the smell…) and we soon run out of pickles, potatoes and white wine, but a raclette is good on its own! This was a tremendous beginning of the evening and Georg was obviously very happy,

    We then moved over to the KALUG party where we shared some drinks and of course ended up singing :-)

    The great evening was of course the social event on Friday which this year was hosted at the Nancyhall restaurant. There was plenty of food (there was not really enough last year), plenty to drink (much better than last year!) but also plenty of people with not enough chairs, unless one went out to the Festplatz.,, where the FSFE band gathered together and had a really great evening.

    (photos provided by Mario)

    Freedom Party in Berne

    Sunday, May 22nd, 2005

    Last Saturday we had the first Freedom Party in Switzerland.

    An average 25 people attended the event, some of them coming from as far as Winterthur or Lausanne. Alex Schroeder and I had short speeches. Unfortunately my cardreader (SCR335, yes I know…) crashed down after 5 minutes and I had to give theoretical explanations without practical demonstration. But we showed the FSFE website, explained the use of the CMS and of course had a good time.

    See the photos shot by Didier at FSFE-Freedom-Party-Berne

    Wilhelm Tux in February

    Monday, March 14th, 2005

    The last weeks were terrific: 18.-19.2. Wilhelm Tux @ LOTS! in Berne (CH) 20.-22.2. with comunica-ch at WSIS PrepCom2 in Geneva (CH) 25.-28.2. Wilhelm Tux travelled by car to attend FOSDEM in Brussels (B) these were heavy weeks besides my work I do for living, but a lot of fun.