Amarok 1.4 for Fedora 11

I recently upgraded from F10 to F11. Except a couple of small issues (bz#496586, bz#504980), the upgrade was completely painfree, using preupgrade. Well done, release team!

As expected, the version of amarok that comes with F11, 2.0.2, is still unable to pick up FUSE mounted devices, because it falls back on HAL, and HAL works on hardware, not FUSE based software mounts. In short, I can’t sync my iphone from amarok. Again.

I forwardported amarok-1.4.10 from Fedora 9. The port was quite simple. Just add a few #include here and fix a few method calls there.

The patch, source rpms, and x86_64 and i586 rpms are available at http://users.linpro.no/ingvar/amarok/.

Update: I had to scratch the ipod db on the phone and rebuild it, but except that, things seems to work as expected.
Update: Packages for f12 available.

37 Responses to “Amarok 1.4 for Fedora 11”

  1. matias says:

    Simply Thanks!-)

  2. Ingvar says:

    I just found a typo in the patch, creating an ugly bug. I’m rebuilding the packages now, and I toss in an x86_64 version for good measure.

    I also noticed that a more or less identical patch has made its way into the el5-version of amarok-1.4.10 that is in EPEL, so I base the rebuild on that. The changes for F11 are then just compilation fixes for new glibc.

  3. Prad Vath says:

    Thank you very much. Amarok 2 is a huge disappointment- like amarok for idiots. I have Amarok 1.4 up and running on Fedora 11 and can listen to music once again.

  4. Ted says:

    Hi, Ingvar,

    First off, good work. Amarok 2 has a lot more shortcomings than the one you mentioned, and even more when you consider what a great piece of software 1.4 was. Thanks for publishing this – I wanted it badly and didn’t have the skill to produce it myself.

    Everything works perfectly for me with your build of 1.4, except for one thing – Amarok can’t read or write tags for AAC files. Is yours able to? I’ve tried using the binary rpm you provide and recompiling from your source rpm, both manually running ./configure –with-mp4v2 and using rpmbuild on it unmodified (configure reports that this is enabled in this case, too). In all three cases, I get nothing on my m4as.

    I believe the dependency that provides this functionality is libmp4v2 – I have that under normal package management, so I’m using version 1.5.0.1-8.fc11. Running amarokapp from a terminal doesn’t yield anything useful. Trying to write tags to a file produces only this, which I don’t think tells us anything:

    QString::arg(): Argument missing: Sorry, the tag for the following files could not be changed:
    , file:///home/ted/202799532-140000644257556.m4a

    Thanks very much for any info you can provide. This is the last thing I need before 1.4 is a permanent solution for me (at least until F12 breaks it again ;) ). I’ll keep poking and it and will post here if I find anything.
    -Ted

  5. Mathias says:

    Thank you so much! :D

  6. [...] "amarok 1.5 fedora 11" and clicking the first result got me to another blog post – "Amarok 1.4 for Fedora 11" on "On the third side" – apparently this person had some issues of his own with Amarok 2, and decided to forwardport [...]

  7. Orso says:

    You are great! Thanks.

  8. Gaaruto says:

    Thank you!

  9. Devin says:

    Thanks, I was just about to go and try to build from source RPMs myself, but you saved me some time. Excellent work!

  10. Faisal says:

    “Update: I had to scratch the ipod db on the phone and rebuild it, but except that, things seems to work as expected”

    Amarok is trasnfering the track but when it reaches that part to update the ipod db it fails. I’m guessing that I need to do what you did to the ipod db… but how? can you plz tell me the steps to scratch and rebuild the ipod db?

  11. ingvar says:

    Feisal: What OS version are you running on your iPhone? How do you connect to it? Have you updated the iPod version from Amarok?

  12. henrique says:

    Did the wikipedia lookup from amarok stop working for you?

    Some of the recent yum updates seem to have broken it in all the systems I have this.

    It works when I click on the “external browser” button and send the URL to firefox, so it may be a problem with konqueror and/or the interface between amarok and konqueror (or the fact that I don’t use kde in general).

    Haven’t had the time to debug it yet…

  13. henrique says:

    Recompiled from source and still happening.
    Probably a change in wikipedia, though at first sight it looks fine.
    I’ll rebuild with debug on (or download the debuginfo rpm) and may try checking this out when I have time, unless someone else beats me to it.

  14. Adny says:

    Thanks for this – Amarok2 is a huge disappointment; I was considering building 1.4 for F11 but you just saved me the effort :D

  15. Petros says:

    Thank you, thank you, thank you! I can’t count how many hours I’ve wasted trying to satisfy amarok 2.1.1′s unsatisfiable ID3 tag needs, being annoyed at it not reading tag album covers, missing random album order, etc.

    I’ll gladly try the next major revision of amarok when it comes out, but for now your backport is the version to use.

    Thanks!

    P.

  16. Dan says:

    I do not like Amarok 2.x at all. There are too many features that
    were dropped and simplicity is too plain. I do not like the “applet”
    in the center and there is no way to remove it. I do not like the fact
    when one appends to the playlist – it automatically scans for
    a playable song when I have more items to append. And when
    there are problems with the music file, there is no feedback as to
    why a song is not playable – remember those popups explaining
    why? The loading of large music files to fill the Collection took MUCH
    longer to load. Finally, the cover manager actually caused my window
    to crash and revert to the login screen. Oh man – Amarok 2.x is not
    ready – there are just too many problems with it. I will wait for a LONG
    time before trying out the new releases.

    *flame on*
    It would be better for Amarok-2 to have plugins features to provide
    the 1.4 layouts to appease those who liked the old way better. Missing
    are the moodbar support, missing the playlist headers (title, author, etc.)
    and much more. The Amarok team just ignored fixing & improving 1.4 -
    instead, they picked up the chair and tossed it over their heads and
    forged ahead with a completely new, untested and community approved
    design. IMO, they dropped the ball on this one.
    *flame off*

    BTW, I tried to rpm install your RPM and got::

    # rpm -ivh amarok-1.4.10-4.4.fc11.i586.rpm
    error: Failed dependencies:
    libifp.so.4 is needed by amarok-1.4.10-4.4.fc11.i586
    libnjb.so.5 is needed by amarok-1.4.10-4.4.fc11.i586

    Perhaps I will need to locate the above missing libraries
    and to install these before installing Amarok 1.4? Are these
    old libraries even available somewhere, if so, where to I get it?

    Thanks for the support!!!
    Dan

  17. ingvar says:

    * Dan
    > I do not like Amarok 2.x at all.
    > (…)

    People may like or dislike Amarok 2.x. My work on forward-porting amarok-1.4 was purely technical: I wanted to be able to sync my iPhone from Linux, and I had all my music collection sorted under Amarok. Amarok 2.x is still unable to sync my iPhone.

    > *flame on*
    > It would be better for Amarok-2 to have (…)
    > *flame off*

    The source for 1.4 is still available. There is nothing that hinders you or anyone from maintaining it for the future. The Amarok developers probably do what they mean is best, and it’s their project. Advice and constructive critique is probably well received on their mailing lists.

    > BTW, I tried to rpm install your RPM and got::
    >
    > # rpm -ivh amarok-1.4.10-4.4.fc11.i586.rpm
    > error: Failed dependencies:
    > libifp.so.4 is needed by amarok-1.4.10-4.4.fc11.i586
    > libnjb.so.5 is needed by amarok-1.4.10-4.4.fc11.i586
    >
    > Perhaps I will need to locate the above missing libraries
    > and to install these before installing Amarok 1.4? Are these
    > old libraries even available somewhere, if so, where to I get it?

    The package is built on and for Fedora 11, and all dependencies should be available. You can use yum to resolve all dependencies and install them with the package.

    # yum install amarok-1.4.10-4.4.fc11.i586.rpm

    Ingvar

  18. Robboflea says:

    Hi ingvar,

    I have the same problem you had (I have to synchro my Ipod with amarok) but I’m quite a newbie in using linux… could you please tell me how to use exactly the packages and the patch?

    thanks for your help in advance

    Robboflea

  19. ingvar says:

    Robboflea:

    These packages only work with Fedora 11. The packages are ready patched
    and packaged, and should work without any more problems.

    First remove any installed version of amarok on your system. I presume
    you run the GNOME desktop interface. From the Fedora start menus, select
    “System”, “Administration”, and “Add/Remove software”. Search for
    amarok. If amarok is installed, deselect the “Media player amarok”
    package, and click the “Apply” button. Amarok will be removed from your
    system. Close the window.

    Then check what architecture you need packages for. From the Fedora
    start menus, select “System” and then “About this computer”. On the
    “System” panel, the “kernel” line will tell you if if you run an i586 or
    an x86_64 kernel. Close the window. Then download the matching (i586 or
    x86_64) package from http://users.linpro.no/ingvar/amarok/ with the
    Firefox web browser.

    If you only want simple playback and ipod sync, you don’t need the
    debuginfo nor the visualisation package. Just download the amarok
    package. If you use Firefox, it will ask you if you want to open the
    package with the installer, and then install the package. Just do that,
    and let the package manager install any other package that is required
    automatically. The package is not signed, and the installer will
    complain. That’s OK, just click “Force install”. Authorize as the root
    administrator when necessary. That’s all. amarok-1.4 should now be
    available under “Sound & Video” in the Fedora menus.

    If you want to install the package from a shell terminal window, become
    root, “su -”, cd to the directory where you downloaded the package, and
    just enter “yum install amarok*rpm”. It should work the same way as
    described above.

    To make sure that the package is not upgraded to amarok to 2.x after you
    have installed 1.4, you have to edit a system file. Start a shell
    terminal window (“System tools”, “Terminal”), become root (enter “su -”
    and supply the root administrator password), and edit yum.conf (enter
    “gedit /etc/yum.conf”). At the end of the [Main] section, add a line
    like this

    exclude=amarok

    Then save the file and quit the editor. That’s all.

    Good luck!

  20. Dan says:

    Did you say, that Cover Manager does not work?

    Have you looked at: patch: amarok-1.4.10.coverfetcher.diff.gz :
    http://forum.kde.org/viewtopic.php?f=117&t=76607

  21. ingvar says:

    I don’t use Cover Manager myself, so I haven’t tried this patch. Post back if you try.

    Ingvar

  22. henrique says:

    I’ve modified the wikipedia patch in …-4.4 as it stopped working sometime in Aug, included the cover fetcher patch above, and rebuild something I calledd …-4.5. I was able to retrieve one cover from last.fm, and listen to one song, so it seems to work. RPMS available at http://www.silvado.com/amarok, for a while…

  23. ingvar says:

    henrique,
    I have posted a request for inclusion of my f11 patch and the cover-from-last.fm backport in the fedora EPEL package of amarok-1.4. The EPEL project will try to keep the package updated for known security bugs, and if included, this will keep the patches collected in a single repo, and it will be easy to recompile on fedora later.

    And, of course, a working cover manager is added value for RHEL users.

    https://bugzilla.redhat.com/show_bug.cgi?id=523071

    Ingvar

  24. Rex Dieter says:

    ok, patches merged into epel-5 cvs branch, update requested. thanks!

  25. yace says:

    Awesome! Thank you so much. I have got these rpms running under Fedora 12 – all I had to do was install the packages using rpm -ivf –nodeps, then create symlinks in /usr/lib for libcrypto.so.8 and libssl.so.8 pointing to libcrypto.so.10 and libssl.so.10, respectively. I know it’s a stopgap, but I am so grateful to have my amarok 1.4 ! Keep up the great work, forever if possible…

  26. prad vath says:

    I’m glad to see yace got amarok 1.4 running under fedora 12. I had trouble getting it to install on fedora 12 with virtual box– now I know how to get it to work again.

  27. [...] recently upgraded to Fedora 12, so I had to brush up my amarok-1.4 packages, and rebuild them for Fedora 12. Packages for f11 and f12 available here: [...]

  28. Boyan Kasarov says:

    Thanks a lot !!!

  29. F John Horn says:

    Hello, have tried to use the amarok -1.4.10.4.4 file on fc11 but keep getting amarok 2 !! Using a shell terminal I can see the message ‘Package amarok is obsoleted by amarok, trying to install amarok-2.2.1.2.fc11.i586 instead’.
    Any suggestions? I am familiar with 1.4 and would like to use it.
    I thank you in anticipation – john horn

  30. ingvar says:

    F John: Try this (as root)

    rpm -e amarok amarok-libs amarok-utils
    rpm -Uvh amarok-1.4.10-4.4.fc11.*.rpm

    Then “freeze” the version by adding a line like this in the [main] section of /etc/yum.conf:

    exclude=amarok

  31. Boyan Kasarov says:

    I use yum versionlock plugin, to use it, just install the proper version of amarok and run this 2 commands as root:

    yum install yum-plugin-versionlock
    yum versionlock amarok

  32. Luke Hollins says:

    Got tired of hoping for Amarok 2.x to ever be as good as 1.4 so I forked it https://launchpad.net/pana . If anyone has compile errors or bugs on their system send me a note and I’ll fix it on the fork :)

  33. Pedro says:

    I have the same problem as F John (“Package amarok is obsoleted by amarok, trying to install amarok-2.2.2-3.fc11.x86_64 instead”) but in a 64-bit machine.

    I tried to yum install the missing libraries requested by rpm but I was not able to find many of them (listed below).

    I then tried to exclude the amarok package but yum answered : ‘Nothing to do’.

    Finally I edited /etc/yum.conf and set the obsolete flag to 0 and the gpgcheck to 0 aswell.

    I then ran the command yum install yum install amarok-1.4.10-4.4.fc11.*.rpm and it worked perfectly.

    I then reset gpgcheck=1 obsolete=1 and then added exclude=amarok in order to ‘freeze’ it.

    Thanks a lot !

  34. Pedro says:

    Hi I just read what I wrote and there are many (minor) mistakes. Here I go again :P

    I had the same problem as F John (”Package amarok is obsoleted by amarok, trying to install amarok-2.2.2-3.fc11.x86_64 instead”) but in a 64-bit machine.

    I tried to install the missing libraries manually that requested by running the rpm command but I was not able to find many of them.

    I then tried to exclude the amarok package in /etc/yum.conf but yum answered : ‘Nothing to do’.

    Finally I edited /etc/yum.conf and set the obsoletes from 1 to 0 and the gpgcheck to 0, aswell.

    I then ran the command:
    yum install amarok-1.4.10-4.4.fc11.*.rpm

    and now it worked perfectly.

    I then reset gpgcheck=1 and obsoletes=1 in /etc/yum.conf and then added exclude=amarok in order to ‘freeze’ it.

    I hope it is more clear now.

    I am now enjoying 1.4 with no problems.

    Thanks a lot !

  35. [...] 2.0 (code name: kutie) … get this newest version of Amarok in KDE repositories, actually in …Amarok 1.4 for Fedora 11 On the third sideBTW, I tried to rpm install your RPM and got:: # rpm -ivh amarok-1.4.10-4.4.fc11.i586.rpm … BTW, I [...]

  36. Fry-kun says:

    Please update for f13 if you could!

  37. ingvar says:

    Fry-kun: Nope, I won’t.

    After the upgrade to iPhone OS 3.x, syncing from iPhone/iPod Touch works without any special patches on Fedora 13, using Rhythmbox or GtkPod.

    While Amarok-1.4 was great, I used it primary to sync my iPhone. There is some obscure bug making Amarok-1.4 crash while using the newer libgpod-through-usbmuxd sync, so I have abandoned it.

    Let’s hope that Amarok-2.x sometime in the future will get to a state where it can pick up fuse mount points, and thus sync newer Apple products too.

    Ingvar

Leave a Reply