Difference between revisions of "Compiling from 710 sources"

From LinuxMCE
Jump to: navigation, search
(New page: this is just an how-to about compiling for the 710 version. ==when to?== when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.<br /<...)
 
Line 11: Line 11:
 
===packages===
 
===packages===
 
install them with apt-get:
 
install them with apt-get:
  sudo apt-get install build-essential libbluetooth2-dev subversion
+
  sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1
  
 
===sources===
 
===sources===
 
when you are in the folder you want the sources to be into, type
 
when you are in the folder you want the sources to be into, type
  svn co .svn.linuxmce.org/pluto/branches/LinuxMCE-0710/
+
  svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/
 
this is gonna take a while..
 
this is gonna take a while..
  

Revision as of 15:14, 25 July 2008

this is just an how-to about compiling for the 710 version.

when to?

when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.<br /< this is mor or less a memanto for myself, since i am compiling from 710

requirements

i am filling it when i see new requirements you must be connected on your development station. you need an acces to a 710 working station.

packages

install them with apt-get:

sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1

sources

when you are in the folder you want the sources to be into, type

svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/

this is gonna take a while..

preparation

copy every file from /usr/pluto/lib from you working station to your dev station in <srcpath>/src/lib. basically, if you're compiling on your core, and you placed yourself in your sources dir, just type

cp /usr/pluto/lib/* src/lib/

then launch the command for removing the makefile args:

find . -iname Makefile -exec sed -e 's/<-mkr_t_compile_defines->/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/' -i '{}' \;
find . -iname Makefile -exec sed -e 's/<-mkr_t_compile_libs->/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/' -i '{}' \;

finally launch make from the src/ directory