Ok simple problem, the PBI on pbidir now don't work with PC-BSD 1.3. It can't play any music ! Kinda worthless for a jukbox eh? OK heres how to get some thing useful. This assumes a PC-BSD 1.3 system who knows what the future lies.
You have a choice, hazard packages or compile it (recomended) go do section 2 before running 'pkg_add -r amarok' if you dare that road. From here on in I assume you want to compile amarok from ports.
First things first if you have not installed the ports collection do so now. K-Menu->Settings->System Administration->PC-BSD System->Tasks Tab->Fetch Ports. Alternitivly run portsnap fetch extract from the terminal instead once we open it.
Go to the K-Menu->Run Dialog. Click 'Options' and select run as different user.
Click OK and it will open a konqueror session as root. If you don't like run dialogs then go to K-Menu->System->More Applications->File Manager - Super User Mode. Now I just have to shout it: BE VERY CAREFUL with this window as it is running konqueror as root, for example you could delete your entire hard drive if you wanted. So don't ! Clear the address bar and type in
and press enter. It should be full of folders and files like this (as of 2007-01-03)
Double click on the 'audio' directory, now find the directory called 'amarok' and double click on it.
Do you or Did you have Amarok installed from PBI? If so uninstall it.
K-Menu->Settings->System Administration->PC-BSD Software Manager
Or you can use the PBIdelete command when we open a root konsole.
Will list all installed PBI
PBIdelete -remove Exact_PBI_Name_As_Show_By_-list
Now since this PBI errently leaves a few files behind that will break the port intsall we have to remove them. Since doing it by hand is better done from the CLI and we are probably a lazy sort. Lets use a shell script. Switch back to konqueror and right click on empty space in the file manager view ->Create New->Text File. Name it 'die.sh' or any thing you want. Double click on the file in konqueror and it will open it in KWrite. Paste the following in it then save and close it.
# die.sh remove broken symlinks form amarok.pbi
# found in /usr/local/lib and /usr/local/lib/kde3
for B in `file /usr/local/lib/kde3/libamarok* | grep "broken symbolic link" | sed 's/:.*//g'`
for b in `file /usr/local/lib/libamarok* | grep "broken symbolic link" | sed 's/:.*//g'`
Now right click on the file->Properties->Permissions->Is executable. Click Tools->Open Terminal on konquerors top menu (or press F4). This will launch a root konsole. Type the following and press enter (use the name of the file)
This should take care of business. Now we are ready to build amarok.
Make sure your connected to the internet, now type the following
Alternitivly you could type
or you could use a program such as kports, dbsd-pkgmgr, bpm portmaster, portmanager or what ever there may be to interest you.
It should fetch some files and give you a little dialog asking for what make options you want. The defaults should be fine but you might want to enable a few, do so by using the up and down arrows to select and the spacebar to toggle. When done press the 'o' key.
Sit back and relax. Most of what amarok needs to build should be pre-installed by PC-BSD v1.3 and I don't know of any conflicts but it will take awhile to build. Maybe 30~120minutes depending on your system specs.
It should install gnome-mime-data, gnome-vfs, kde-xdg-env, and amarok, maybe gnome_subr I'm not sure OTTOMH if thats in PC-BSDv1.3 or not.
Ok, now what if you want to play some stuff that relies on codecs? Well you have two choices, install the multimedia/win32-codecs port which tends to get broken or forbidden every now and then for security or licensing reasons and then eventually fixed 8=)
OR you can install the AllCodecs PBI from http://www.pbidir.com
its probably less secure if your into a lot of quick time movies or some thing but it makes life easier. Once you have it installed open a konsole, K-Menu->System->More Applications->Terminal Program - Super User Mode. Or use the Run Dialog like we did for konqueror. Type the following (note that you may have to change the version/date numbers)
ln -s /Programs/AllCodecs20061022/ /usr/local/lib/win32
Now so this is cleaned up when AllCodecs.pbi is removed we should modify its remove script, i'd suggest using the 'ee' program for simplicity. Type in konsole
You will see a line that says "rm /usr/lib/win32/$c" insert below that a line that says "rm /usr/local/lib/win32/$c" Heres a copy of mine
for c in $CODECS
for d in $LIBDVDCSS
Congratulations you just worked around a problem with the Amarok PBI and the PC-BSDv1.3 release and should now be able to rock and roll with Amarok blasting your MP3s, OGGs and such. At the moement I'm listing to bbc radio 1