-
Notifications
You must be signed in to change notification settings - Fork 33
Compiling Boxee Part II (placeholder)
Now that I have more free time on my hands, I am attempting at this moment to build on a fresh copy of Ubuntu 11.10 (i386) - Ubuntu 12.xx will NOT work as it's too new for this old code
STEP 1 Downloaded and unpackaged both source archives from bbx.boxee.tv (login required):
**boxee-sources-1.5.1-b6a5be1.tar.xz (Boxee sources)** **Intel-13.11.232647-dist.tar.bz2 (IntelCE SDK sources)**
STEP 2 Installed some required packages into Ubuntu:
sudo apt-get install make g++ gcc gawk pmount nasm automake cmake bison libsdl1.2-dev libsdl-image1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew1.5-dev libcurl4-openssl-dev libmad0-dev libogg-dev libvorbis-dev libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libjasper-dev libfontconfig1-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libpng12-dev libjpeg62-dev libcdio-dev libsamplerate0-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev doxygen php5 swig libssl-dev libgdbm-dev libvdpau-dev libxmu-dev libxtst-dev libxinerama-dev libhal-dev libhal-storage-dev gperf libtool
As well as:
sudo apt-get install wget patch flex bison gettext libtool autoconf cmake nasm gperf g++ gawk doxygen swig libsdl-image1.2-dev liblzo2-dev php5-cli
Also I installed:
sudo apt-get install texinfo
We also need to install:
sudo apt-get install sec rc libgdl gdbserver libpt-dev
STEP 3 Run install scripts from both BASE and GPL from inside the unpackaged Intel-13.11.232647-dist.tar.bz2 (IntelCE SDK sources) directory, which created folder IntelCE-13.232647 located at ~/IntelCE-13.232647
STEP 4 Now the IntelCE SDK is ready to be compiled, but first we must make some edits to the files edl.mk, smd_sample_apps.mk, audio.mk, sec.mk, display.mk which are located in the ~/IntelCE-13.232647/package directory. Apparently the packages hdmi_hdcp, audio_fw, flash_appdata were not included, go figure...
remove this entry: hdmi_hdcp from display.mk
remove this entry: audio_fw from audio.mk
remove this entry: flash_appdata from sec.mk
remove this entry: audio_fw from smd_sample_apps.mk
remove this entry: flash_appdata from edl.mk
Those entries are located at the top of each file's DEPS+=
We also need to change the package fakeroot.mk file since the site link has changed:
FAKEROOT_VERSION:=1.14.4.orig FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.bz2 FAKEROOT_SITE:=http://snapshot.debian.org/archive/debian/20091115T102939Z/pool/main/f/fakeroot/ FAKEROOT_CAT:=$(BZCAT)
We added ".orig" to the version, and we changed the site link to: "http://snapshot.debian.org/archive/debian/20091115T102939Z/pool/main/f/fakeroot/"
STEP 6 Once all those deps are removed from the package files you can now safely (almost) run:
Halt, all stop - Boxee does not provide all sources, compilation cannot complete - IntelCE4100 SDK incomplete - will attempt another time with other Intel SDKs... only binaries that completed are:
bzImage redboot_flash_nand.bin redboot_flash_nor.bin redboot_HD_withnand.bin redboot_HD_withnor.bin
STEP 7 We must edit the config.h file:
cd /opt/canmore/IntelCE/include sudo mv config.h config.h.orig
STEP 8 Attempt build of Boxee even though IntelCE SDK is incomplete... Add "DisableHWTextureUpload=1" in /opt/canmore/IntelCE/etc/powervr.ini
sudo nano /opt/canmore/IntelCE/etc/powervr.ini
Add "media_base_address = 0x28000000" in /opt/canmore/IntelCE/etc/platform_config/ce4100/platform_config.hcfg
sudo nano /opt/canmore/IntelCE/etc/platform_config/ce4100/platform_config.hcfg
STEP 9 Currently stopping at config.status: error: cannot find input file: `BoxeeHal/server/Makefile.in' Fixed by:
fixed by creating the directory **boxee-sources-1.5.1-b6a5be1/BoxeeHal/server** and placing the **Makefile.in** which is found in the **boxee-sources-1.5.1-b6a5be1/Makefile.in** sources main directory into the newly created directory **boxee-sources-1.5.1-b6a5be1/Boxee-1.5.1.xxBoxeeHal/server/
STEP 10 Preparing to run: