PDA

View Full Version : PKGBUILD for Archlinux



bizthepirate
October 22nd, 2008, 06:30 AM
Ok, after a couple of hit-and-miss PKGBUILD compiles, I am proud to say that Boxee compiles, and compiles well. It also runs, and runs well ;).

Anyways, here's how you Archlinux users can finally enjoy the fruits of this team's hard labor:

1) Download boxee.tar.gz. http://biscuit-labs.org/arch-linux/boxee/boxee.tar.gz.

2) Extract somewhere that you usually do PKGBUILD related things at.

3) Next, copy your copy of the boxee source (still in an archive) into the folder that contains the PKGBUILD.

4) Then, open up a terminal, and cd into the directory. Now proceed with your normal PKGBUILD procedure.
NOTE: I find the best way to do it is
makepkg -cs, because there are a good many dependecies for Boxee, and this just simplifies it.

5) Once it is done, (for me a good while later), simply install with pacman -U x.pkg.tar.gz, assuming x is the name of the package.

6) Open Boxee from the menu, and enjoy :)!

I will build packages later tonight, but the one I have compiled now is optimized for my Prescott, so for some that might not work over well....
If there are any issues with the PKGBUILD, suggestions, etc, please email them all to bizthepirate@gmail.com, or post them here!
I do plan to release an "any-distro-can-compile" script, but that could be a couple of days :)

Thanks so much everyone, and the Boxee team!
-biscuit

marcel
October 22nd, 2008, 06:33 AM
great bizthepirate nice report and description ..:)

agentlame
October 22nd, 2008, 08:31 AM
sweet! thanks for the how-to.

daichiasuka
October 24th, 2008, 11:17 AM
What architechure are you building this on/for? i686?

I tried last night to build this on x86-64 and got the same error that others have posted in the forums:


FileCurl.cpp: In member function ‘void XFILE::CFileCurl::SetCommonOptions(XFILE::CFileCur l::CReadState*)’:
FileCurl.cpp:385: error: call of overloaded ‘easy_setopt(XCURL::CURL_HANDLE*&, XCURL::CURLoption, NULL)’ is ambiguous

bizthepirate
October 24th, 2008, 03:45 PM
It's supposed to be for i686... I don't think 64 bit will compile yet, considering not all of Boxee is open-source (some bits are precompiled). Also, I'm running a 100% up to date system, and I'm not getting that issue...

xvalentinex
November 3rd, 2008, 09:23 PM
Awesome work bizthepirate!

One error in the PKGBUILD is that it installs everything to /opt and not /opt/boxee

It compiles and runs on my system.

Video playback is sped up and I don't have sound, but I haven't really done any configuration, debugging, etc. So I'm sure I could work those out.

Just for those too lazy to fix the PKGBUILD:
cd /opt
mkdir boxee
mv Boxee boxee/
mv run-boxee-desktop boxee/
mv give_me_my_mouse_back boxee/
mv visualisations boxee/
mv userdata boxee
mv system boxee/
mv skin boxee
mv scripts boxee/
mv plugins boxee/
mv language boxee/
mv media boxee/
mv UserData boxee/

rootxploit
November 6th, 2008, 09:48 PM
My install required a few prereqs that would have saved me time if I knew that this command this the solution:
# pacman -S binutils autoconf fontconfig pkgconfig

thunderpower
November 7th, 2008, 08:25 AM
I 'm also a user of ArchLinux, I received an invitation for boxee a few days ago.

Thanks bizthepirate for the PKGBUILD. :)

I just compiled it, I also changed the package a little so now it installs in opt/boxee.

The package build I used is attached in this post.

I also had a problem with a latex document during the compilation, to fix it I changed the src/boxee-source-0.9.3921/xbmc/cores/dvdplayer/Codecs/libDVDCSS/doc/latex/dvdcss_8h.tex line 50 St[UknownChar]phane with Stephane. Then compilation completed successfully.

ould
November 7th, 2008, 11:01 AM
Thanks to OP for the PKGBUILD! Woot Woot! It seems to be working pretty good here but I am having a little trouble with the web based apps(i.e. hulu, comedy central etc.) I am getting an error with libcurl. It is as follows:


./bxflplayer-linux: /usr/lib/libcurl.so.4: no version information available (required by ./bxflplayer-linux)

Anyone have any ideas on how to fix this? I tried building libcurl from ABS but have the same results. I am running i686. Everything else I have tried so far seems to work well.

Thanks again!!

Kevin

bizthepirate
November 7th, 2008, 07:26 PM
@Everyone that caught my "little" /opt mistake, thanks! I had totally forgotten that I manually moved it after installing :o.. Anyways, apparently there is something wrong (perhaps our curl is too new?) with the flashplayer that boxee uses to load hulu, etc... I am going to devote a couple of hours this weekend to finding a workaround (though, I did get it to work with libcurl3, but that doesn't seem like a sound solution). Anyways, I cannot edit the source/help out with the flash player, so any dev that reads this, please consider using the latest version of curl, to help those of us that don't use Ubuntu :) :).

EDIT: I don't think we're going to have much luck using hulu and such without way too much work. I've done some research, etc, and basically the fact the flashplayer used was compilied on a different toolchain than arch uses, etc. Thus, the libraries/way it was compiled is not compatible with Arch.... New ideas?