Description: NOTES: * Amarok-svn is on hiatus until I can use Amarok 2.0. (I.E. when there are good KDE 4 packages for Kubuntu...) I just don't have the time to do (unnecessary) work right now. The 2.0 edition should be rewritten i ruby, anyway. * If you have unsermake installed system wide and you're running 3.2, you don't need to upgrade to 3.2.1. Otherwise, read the changelog below! * If you upgrade to 3.2 from any older version, you will need to remove the build directory (amarok-svn) before running the script!
This script installs the current development version of Amarok (from SVN) on your computer. If you've run it once, and then run it again, it will update your version of Amarok and only compile the new files.
(Amarok-svn was earlier known as amaroK-svn and (even earlier) get-amarok-svn.sh.)
The latest version needs some KDE applications (installing KDE is recommended) and "svn" (subversion, 1.1 or higher!) to work.
Made by Jocke "Firetech" Andersson. Idea and inspiration from a small script by Greg "oggb4mp3" Meyer.
NOTE: I'm not responsible for any data loss etc. that can be blamed on this script. Use it at your own risk! (3.X has some code that might, but shouldn't, do bad things. See the ChangeLog for details.)
More information (installation/usage instructions) are available at http://amarok.kde.org/amarokwiki/index.php/Amarok-svn (you can also click on the homepage link above, or the second download link below)Last changelog:
Version 3.2.1 (2007-10-03) * FIX: unsermake was moved in KDE's SVN. If you let Amarok-svn download unsermake before, you'll have to remove your amarok-svn/unsermake directory before running the script. If you have unsermake installed system wide, you don't need this patch.
Version 3.2 (2007-02-03) * FIX: Some minor string changes * CHG: checkout data from branches/stable instead of trunk, since trunk now is Amarok 2.0 (b0rked atm). This means you have to remove your build directory (amarok-svn) before running the script if you've upgraded from an older version.
Version 3.1.1 (2006-06-14) * FIX: Amarok-svn would continue to installation even if compilation failed, due to an "echo" call in the wrong place. (The "clean compilation on error" feature was tested before the "echo" was added...) * FIX: Avoid forgotten files to be compiled when running unsermake install by running unsermake twice (doesn't hurt).
Version 3.1 (2006-06-0 * NEW: Two "stopwatches" that shows the time taken to compile Amarok, and the total time of the entire process (in minutes and seconds). * NEW: If compilation fails, give the user an option to retry with a clean source tree. * FIX: If configuration fails due to unmet dependencies, the script should also fail. * FIX: A lot of under-the-hood improvements. * CHG: KDialog windows now use the Amarok icon. * CHG: Renamed to Amarok-svn, because of the recent name change of Amarok itself. File name is unchanged (since it's only lower case letters).
(Full ChangeLog on the script's homepage in Amarok's wiki. See the link below)
Hi,
#1: I'm new to Kubuntu, been using Amarok-svn for a while on my desktop install (opensuse) with no problems, wanted to check out Kubuntu so I threw it on my notebook and here we are: Aamarok-svn tells me "*** AUTOCONF NOT FOUND!" even tho i installed it with "sudo apt-get install autoconf". Is there anything else I need to do?
Thank you!
Must have been some strange thing at my web space provider, because the amarok-svn.sh file on the ftp was 3.0, but on the http, it was 2.9. It's fixed now, though.
I don't run gentoo myself, but all the ebuilds I've heard of rebuilds all of amaroK on each update. I don't know how that ebuild works, but amaroK-svn doesn't do that.
The bksys inclusion in amaroK SVN is currently broken, version 2.7 of this script fixes this problem by simply ignoring any inclusions (right now, this only affects bksys). If you upgrade because of that problem (well, you should do it anyway), you will have to manually remove the bksys directory inside the amarok direcory (.../amarok-svn/amarok/bksys).
Hi,
when i uses ubuntus (hoary) unsermake i get some crappy dbug output form python. (i think its too old)
so i'm happy that the new version offers download of the svn version of unsermake. But this also breaks the same way like the ubuntu version:
Traceback (most recent call last):
File "", line 1, in ?
File "unsermake/__init__.py", line 1309, in ?
main()
File "unsermake/__init__.py", line 1168, in main
(top_makefile, all_defines) = setup_top_makefile_wrapper( top_makefile, top_srcdir, subdir)
File "unsermake/__init__.py", line 810, in setup_top_makefile_wrapper
os.path.abspath(".") + "/")
File "unsermake/__init__.py", line 248, in read_subdirs
all_defines = read_subdirs(submakefile, all_defines, nsrc_prefix, nprefix)
File "unsermake/__init__.py", line 248, in read_subdirs
all_defines = read_subdirs(submakefile, all_defines, nsrc_prefix, nprefix)
File "unsermake/__init__.py", line 212, in read_subdirs
makefile.read_deps()
File "unsermake/amfile.py", line 1400, in read_deps
depdir_value = utilities.subst_vars["DEPDIR"]
KeyError: 'DEPDIR'
is the only thing i get from unsermake
does anybody knows a solution?
thanks a lot.
Try running "sudo update-alternatives --config automake" and select automake-1.6 as the default instead of 1.4 (seems to be problems with 1.9 too).
That solved those issues for me (I'm on kubuntu), as unsermake uses some part of automake to work.
Hi,
I tried to install amarok with this script, but it aborts at step 4.
protocol:
--------------------------------
./27313-get-amarok-svn.sh
Installation/Upgrade of SVN amaroK
==================================
get-amarok-svn.sh (Version 2.3) by Jocke "Firetech" Andersson.
Based on a very simple script by Greg "oggb4mp3" Meyer.
# 1/10 - Settings loaded: (Start the script with -r or --reset to change.)
Will get localization and documentation for language "".
Will call ./configure with the extra flags "".
Will use sudo to install.
# 2/10 - Checking out multimedia base files.
Checked out revision 444013.
# 3/10 - Checking out common admin files.
Checked out revision 444013.
# 4/10 - Updating amaroK files.
svn: 'amarok' is not under version control
ERROR: The SVN transfer didn't finish successfully. Probably a network issue.
-------------------------------------
environment:
SuSE9.0, KDE3.4.0
what's wrong...??
I've heard (so far) three people (one via mail) having this problem, and I have no clue what so ever what's causing it... I don't have any knowledge about how SVN works internally...
The only thing I can say is that it works for me with SVN 1.1.1 (r11581).
I used it for a while with automake, and had no problems. (I know there can be problems...)
The script warns for this when not finding unsermake, though.
Ratings & Comments
31 Comments
Hi, #1: I'm new to Kubuntu, been using Amarok-svn for a while on my desktop install (opensuse) with no problems, wanted to check out Kubuntu so I threw it on my notebook and here we are: Aamarok-svn tells me "*** AUTOCONF NOT FOUND!" even tho i installed it with "sudo apt-get install autoconf". Is there anything else I need to do? Thank you!
The link in the amarok wiki still points to version 2.9
You're right, I'll fix that right away. :)
Must have been some strange thing at my web space provider, because the amarok-svn.sh file on the ftp was 3.0, but on the http, it was 2.9. It's fixed now, though.
Gentoo users can use the following ebuild as well: http://files.jordswart.org/amarok-svn-1.4-r2.ebuild This will directly build amarok.
I don't run gentoo myself, but all the ebuilds I've heard of rebuilds all of amaroK on each update. I don't know how that ebuild works, but amaroK-svn doesn't do that.
Thank you very much for this script. New amaroK is great and I'll upgrade him everyday. :)
Yo, I have idea: try use "kdesu", instead of sudo. :)
should be doable. Might be there in the next version.
The bksys inclusion in amaroK SVN is currently broken, version 2.7 of this script fixes this problem by simply ignoring any inclusions (right now, this only affects bksys). If you upgrade because of that problem (well, you should do it anyway), you will have to manually remove the bksys directory inside the amarok direcory (.../amarok-svn/amarok/bksys).
Hi, when i uses ubuntus (hoary) unsermake i get some crappy dbug output form python. (i think its too old) so i'm happy that the new version offers download of the svn version of unsermake. But this also breaks the same way like the ubuntu version: Traceback (most recent call last): File "", line 1, in ? File "unsermake/__init__.py", line 1309, in ? main() File "unsermake/__init__.py", line 1168, in main (top_makefile, all_defines) = setup_top_makefile_wrapper( top_makefile, top_srcdir, subdir) File "unsermake/__init__.py", line 810, in setup_top_makefile_wrapper os.path.abspath(".") + "/") File "unsermake/__init__.py", line 248, in read_subdirs all_defines = read_subdirs(submakefile, all_defines, nsrc_prefix, nprefix) File "unsermake/__init__.py", line 248, in read_subdirs all_defines = read_subdirs(submakefile, all_defines, nsrc_prefix, nprefix) File "unsermake/__init__.py", line 212, in read_subdirs makefile.read_deps() File "unsermake/amfile.py", line 1400, in read_deps depdir_value = utilities.subst_vars["DEPDIR"] KeyError: 'DEPDIR' is the only thing i get from unsermake does anybody knows a solution? thanks a lot.
Try running "sudo update-alternatives --config automake" and select automake-1.6 as the default instead of 1.4 (seems to be problems with 1.9 too). That solved those issues for me (I'm on kubuntu), as unsermake uses some part of automake to work.
Thanks it works. Is there an explanation why the musicbrainz stuff doesn't work anymore?
I never use that function, but it might be a temporary issue.
A fix for this is available at http://www.ubuntuforums.org/showpost.php?p=154983 libtunepimp just doesn't have mp3 support...
An addendum to the automake stuff: Unsermake works with 1.9, it just prints some strange errors, nothing else.
Hi, I tried to install amarok with this script, but it aborts at step 4. protocol: -------------------------------- ./27313-get-amarok-svn.sh Installation/Upgrade of SVN amaroK ================================== get-amarok-svn.sh (Version 2.3) by Jocke "Firetech" Andersson. Based on a very simple script by Greg "oggb4mp3" Meyer. # 1/10 - Settings loaded: (Start the script with -r or --reset to change.) Will get localization and documentation for language "". Will call ./configure with the extra flags "". Will use sudo to install. # 2/10 - Checking out multimedia base files. Checked out revision 444013. # 3/10 - Checking out common admin files. Checked out revision 444013. # 4/10 - Updating amaroK files. svn: 'amarok' is not under version control ERROR: The SVN transfer didn't finish successfully. Probably a network issue. ------------------------------------- environment: SuSE9.0, KDE3.4.0 what's wrong...??
Could be that your SVN is too old. You need at least version 1.1.
thanks for this hint. Now it worked.
i have the same problem with my suse 9.3. svn version is 1.1.3. strange message, amarok is not under version control...
reinstalled subversion, now it works
So, apparently it's an SVN issue... *taking notes*
I've heard (so far) three people (one via mail) having this problem, and I have no clue what so ever what's causing it... I don't have any knowledge about how SVN works internally... The only thing I can say is that it works for me with SVN 1.1.1 (r11581).
I used it for a while with automake, and had no problems. (I know there can be problems...) The script warns for this when not finding unsermake, though.
Clicked the wrong link, and the comment ended up wrong in the tree :S