You are not logged in.
some time ago, amarok included support for mysql. this let's you roll your collection-db in a mysql database instead of a sqlite file.
there was some requests per email and i recompiled amarok to support mysql. this meant having mysql as a dependency.
now there is a request to remove mysql support from amarok:
http://bugs.archlinux.org/index.php?do=details&id=2437
now i want to see, what the community thinks about it.
The impossible missions are the only ones which succeed.
Offline
I went with the last option - but IMHO if it supports sqlite for it's internal db, mysql shouldn't really be needed, unless you're running a "check out my mp3zzzz" website which uses php+mysql....
Offline
And why not just saying something like "amarok has been compiled with mysql support, pacman -S mysql if you want to use it" when you install amarok, like when you install kdebase (or kdelibs maybe i don't remember exactly which one).
Another option could be to split amarok with two packages, like "amarok" and "amarok-mysql" but that will be more work your you and more packages to mantain...
also I dont think that a lot of people with use mysql with amarok...
Offline
I think it was me that pushed dp into adding mysql-support to amarok (I'm (m(-))onotux on irc) - the reason I did it was because of the performance when dealing with lot's of songs (like in my case, I have _a lot_ of songs in my DB) is greatly increased when using mysql.
Why not simply compile amarok with mysql, and tell the users that if they want to use mysql as a db in amarok to install mysql? (like with kdebindings)
To err is human... to really foul up requires the root password.
Offline
Why not simply compile amarok with mysql, and tell the users that if they want to use mysql as a db in amarok to install mysql? (like with kdebindings)
I figured it was one of those "if compiled with mysql, i blow up if you don't have it"
Offline
And why not just saying something like "amarok has been compiled with mysql support, pacman -S mysql if you want to use it" when you install amarok, like when you install kdebase (or kdelibs maybe i don't remember exactly which one).
Another option could be strip amarok with two packages, like "amarok" and "amarok-mysql" but that will be more work your you and more packages to mantain...
also I dont think that a lot of people with use mysql with amarok...
[damir@Asteraceae ~]$ ldd /opt/kde/bin/amarokapp | grep sql
libmysqlclient.so.14 => /usr/lib/mysql/libmysqlclient.so.14 (0xb6424000)
and this causes
[damir@Asteraceae ~]$ amarok
amaroK: [Loader] Starting amarokapp..
amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
amarokapp: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
if no mysql is present
The impossible missions are the only ones which succeed.
Offline
I think it was me that pushed dp into adding mysql-support to amarok (I'm (m(-))onotux on irc) - the reason I did it was because of the performance when dealing with lot's of songs (like in my case, I have _a lot_ of songs in my DB) is greatly increased when using mysql.
Why not simply compile amarok with mysql, and tell the users that if they want to use mysql as a db in amarok to install mysql? (like with kdebindings)
you are one of the people who wrote about mysql being good for amarok, yes ;-)
bindings run when used, amarokapp runs whenever you want amarok to run
The impossible missions are the only ones which succeed.
Offline
Hello guys, i am the reporter from bug 2437.
I believe including mysql support in amarok is against arch linux's policy. This is supposed to be a small, efficient, non-bloat distro.
Amarok already includes sqllite, which besides the name can handle very big databases (i am talking terabytes here).
Even so, i went over to the amarok guys and asked why i would want to use mysql in amarok.
Their response "only if you want to store your music database remotely"
So i guess that most users don't need this extra dependency, which i think it's bigger than amarok itself. It also wastes arch's servers' bandwidth and our users.
But i agree, let the public decide. I already voted with a firm NO to this.
Cheers!
thank you for reason and patience
The impossible missions are the only ones which succeed.
Offline
Even so, i went over to the amarok guys and asked why i would want to use mysql in amarok.
Their response "only if you want to store your music database remotely"
If you want to store databases remotely, that should mean that MySQL does NOT need to be installed on the local machine for amorak to use it. Better check the dependency error again, maybe there's a way to enable MySQL suport but disable loading it for local lookup?
Dusty
Offline
fjleon wrote:Even so, i went over to the amarok guys and asked why i would want to use mysql in amarok.
Their response "only if you want to store your music database remotely"
If you want to store databases remotely, that should mean that MySQL does NOT need to be installed on the local machine for amorak to use it. Better check the dependency error again, maybe there's a way to enable MySQL suport but disable loading it for local lookup?
Dusty
hmm ... maybe amarok can statically link to libmysqlclient.so ? (thinking aloud)
The impossible missions are the only ones which succeed.
Offline
two packages isn't an option, is it?
you could also split the mysql package in a server/client pair, but I guess that would be against arch's philosophy.
Offline
in theory, installing the daemon without having it running should cause little issue. Just take up a tiny bit of space...
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
two packages isn't an option, is it?
you could also split the mysql package in a server/client pair, but I guess that would be against arch's philosophy.
that kinda wouldnt work, mysql is the server, there is no client. the client is amarok.
Offline
mysql split into libmysql and mysql would be possible - but it makes it not simplier
after some days this poll will cristalize to one opinion and i will addapt amarok to support it
The impossible missions are the only ones which succeed.
Offline
what about making two versions? one with and one without mysql support/dependency?
Offline
I still think the proper solution is for the amarok developers to change some code that will allow amarok to run if it was compiled with mysql support but it wasn't available on the running system.
Lots of software is coded that way, and then arch only would have to say "this was compiled with mysql support, if you want to use it, pacman -S mysql"
I am going to submit a feature request to see what answers i get
i really like to solve it this way - if they can do it is another question (you need to separate the binary into 2 pieces - make it "modular")
The impossible missions are the only ones which succeed.
Offline
MySQL support is great. I'm already running a webserver on my laptop (webdev purposes, of course), so I figured I could use mysql with Amarok as well. I have roughly 40GB music and I do see a noticable performance gain. SQLite wasn't bad, it just wasn't as fast.
Offline
Thank you all for this thread, it is because of this thread that I tried amarok with mysql. And all I can say now is SQLLITE SUCKS!!! As I see amarok, it's greatest power and usability is in handling huge music collections, because you can easily browse the tree view of all your music. For small collections you don't need that, just use any player... Juk for instance. For large collections amarok with sqlite is so damn slow I never really used it as my default player and still sticked with xmms despite its terrible interface. On every song start, stop or skip amarok (without mysql) would eat 100% cpu and freeze for 3-10 seconds. With mysql, it takes only 0-1 second.
The speed of MySQL is awesome and my vote goes for including mysql support in amarok package.
Offline
it's almost like i had it in mind: one third cannot live without amarok having mysql compiled in - 2 thirds cannot live with amarok having mysql compiled in.
the best solution would be:
http://bugs.kde.org/show_bug.cgi?id=102318
... and if i compare the alternatives, i come to the same result:
1) amarok with mysql:
[+] advantage in performance
[-] mysql is not small
2) amarok without mysql
[-]best i quote one of you: "SQLITE SUCKS"
[+]no mysql needed
in politics i would need to remove mysql from amarok now, because it is 23:11 against it - fortunately this is not politics and i hope that we will find a middle way that makes both sides happy
The impossible missions are the only ones which succeed.
Offline
in politics i would need to remove mysql from amarok now, because it is 23:11 against it - fortunately this is not politics and i hope that we will find a middle way that makes both sides happy
I am not an amarok user. However, since the amarok devs seems interested in the "bug", having both an amarok and amarok-mysql package could be a temporary solution which would please everyone.
Offline
I would like to know what percentage of those mysql users on amarok use ABS. My guess is that they are advanced enough to use it. If compiling 2 packages is too tiresome (bandwidth costs, compiling time, etc) then he could make just one package (non mysql) and release a PKGBUILD with mysql support.
I dont think the kde wishlist i reported will be fixed soon. Making a whole application modular isn't easy.
amarok-mysqlfree is now available for these 2/3rd of you out there
The impossible missions are the only ones which succeed.
Offline
fjleon wrote:I would like to know what percentage of those mysql users on amarok use ABS. My guess is that they are advanced enough to use it. If compiling 2 packages is too tiresome (bandwidth costs, compiling time, etc) then he could make just one package (non mysql) and release a PKGBUILD with mysql support.
I dont think the kde wishlist i reported will be fixed soon. Making a whole application modular isn't easy.
amarok-mysqlfree is now available for these 2/3rd of you out there
Pacman asks everytime I do a -Syu if I want replace amarok with amarok-mysqlfree. This is getting very annoying already. How can I tell pacman I do not want the mysqlfree version? I already tried to add amarok-mysqlfree to HoldPkg, but that does not work.
Offline
dp wrote:fjleon wrote:I would like to know what percentage of those mysql users on amarok use ABS. My guess is that they are advanced enough to use it. If compiling 2 packages is too tiresome (bandwidth costs, compiling time, etc) then he could make just one package (non mysql) and release a PKGBUILD with mysql support.
I dont think the kde wishlist i reported will be fixed soon. Making a whole application modular isn't easy.
amarok-mysqlfree is now available for these 2/3rd of you out there
Pacman asks everytime I do a -Syu if I want replace amarok with amarok-mysqlfree. This is getting very annoying already. How can I tell pacman I do not want the mysqlfree version? I already tried to add amarok-mysqlfree to HoldPkg, but that does not work.
it's because i use replaces=(amarok) in amarok-mysqlfree ... i will change this to conflicts=(amarok) in the next release
The impossible missions are the only ones which succeed.
Offline
Okay, thanks!
Offline
Make sure you include a "provides=(amarok)" line for it (if it hasn't got one already). There might be packages (packages with scripts maybe) which (can) depend on amarok.
Out of curiosity, shouldn't a "provides" line cover "conflicts" too? if I write "provides=(something)" for a package then, when I want to install the package on a system which already has "something" installed, it should be automatically treated as a "conflicts" line too. Of course, "conflicts" should not include "provides". This should be uni-directional.
:: / my web presence
Offline