Difference between revisions of "Compiling from 710 sources"

From LinuxMCE
Jump to: navigation, search
Line 24: Line 24:
 
  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_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 '{}' \;
 
  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<br />
+
finally launch ''make'' from the src/ directory
 +
 
 +
===troubles===
 
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:
 
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:
 
  false, /* resume */, 0 /* repeat */,
 
  false, /* resume */, 0 /* repeat */,

Revision as of 15:26, 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

troubles

if you have an issue with the file File_Grids_Plugin.cpp open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:

false, /* resume */, 0 /* repeat */,
false, /* bypass events */
false /* dont setup av */);

by

false, 0);