maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Compiling python-elementary for N900 (https://talk.maemo.org/showthread.php?t=71595)

laszlo 2011-03-28 23:03

Compiling python-elementary for N900
 
Hi,

I created this thread to gather some interest to bring Python elementary bindings (a really nice enlightenment library) to the n900 phone.

Here is a small status what I did until now.
I started with the maemo-efl project, which supposed to deliver ready made debian/ scripts for creating .deb packages.
https://garage.maemo.org/projects/maemo-efl/

Looks like it was developed mainly for diablo (n800).
(n900 has bash 2.05, so most of the scripts needed to be fixed. Especially gen-deb-src.sh)

I think I should start from scratch. (many other errors did appear, so compile first, create .deb package next)

Here is what is needed to have python-elementary:
1. eina
2. ecore
3. evas
4. edje
5. eet
6. embryo
7. elementary

8. python-ecore
9. python-edje
10. python-elementary

All of it from the current svn, because elementary and python-elementary does not like the 1.0.0. release. And we cant mix different versions. (ie. if the elementary is from the current svn, then eet, embry, edje, etc needs to be from the current svn too).

Also the python bindings does *need* cython 0.13 (released in 2010 october).

So the first step would be to compile cython 0.13 for the phone.
Then compile e libraries (eina, ecore, edje, ...).
Then compile the python bindings.

I have found on this url that somebody tried to compile eina 1.0.0. for the nokia n900:
https://garage.maemo.org/builder/fre...~beta-1maemo1/

How can I obtain the source of it, and how can I contact with the person who did it? I would really like collaborate with him.

The rev. 58156 version from enlightenment svn works. I tried it on an ubuntu laptop.

Here is how you can obtain the source for compile python-elementary:
Code:

svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/ecore
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/eina
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/evas
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/eet
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/embryo
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/edje
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/elementary
svn co -r 58156 http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python

You should compile it in that order.
You can use autoconf 2.61 too, 2.65 is not really required. (modify the configure.ac)

I try to keep you guys updated about my progress. I hope others will follow me, and try to help me out here and there.

Bests,
Laszlo

vanous 2011-04-02 06:55

Re: Compiling python-elementary for N900
 
Laszlo, this is great, i think there are many interesting projects written by using python-elementary. I also have my own project which i would love to use on my n900.

Petr


All times are GMT. The time now is 09:25.

vBulletin® Version 3.8.8