Amarok 1.4.5 Solaris 10 x86

Edd Barrett vext01 at gmail.com
Fri Mar 2 23:16:52 UTC 2007


Hello Amarok developers,

I have used your player on openbsd for a year or so now, and I have
been using a solaris 10 desktop for a while and wished to use amarok
on it.  Theres a few hitches in the install procedure on your site.
Heres the details:

1) taglib is now included in blastwave, so there is no need to build
it manually. You can simply pkg-get it.

2) dirfd() is not available in solaris. You need to provide a
replacement function using autoconf. Here is a kludge that I used,
just to get a build. I'm not suggesting this be imported because its
not in any way shape or form portable. But it did get me an amarok
binary for solaris :P

--- amarok/src/collectionscanner/collectionscanner.cpp  Thu Feb  1 18:14:17 2007
+++ /opt/ourbuilds/src/amarok-1.4.5/amarok/src/collectionscanner/collectionscanner.cpp
 Fri Mar  2 22:08:02 2007
@@ -182,7 +182,7 @@
         warning() << "Skipping, " << strerror(errno) << ": " << dir << endl;
         return;
     }
-    int dfd = dirfd(d);
+    int dfd = d->d_fd;
     if (dfd == -1) {
        warning() << "Skipping, unable to obtain file descriptor: " <<
dir << endl;
        closedir(d);
bash-3.00$

So now I have a amarok binary in /opt/csw/kde-gcc/bin/amarok.

However,

the performance is painful. This same machine ran amarok on openbsd,
so I know it is capable. Most operations have a second or so lag. But
the pause function disables the gui for a whole 20 seconds. It's most
un-usable. I tried messing about with ~/.xine/config to no success.
Also truss doesnt tell me anything useful. Can you suggest why the
performance is so sluggish?

This machine is solaris 10 x86 06/06. 1.6Ghz Athlon XP with 1.2GB of RAM.

Thanks for time and keep up the good work.


-- 
Best Regards

Edd



More information about the Amarok mailing list