maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Porting Linux application to N900 (https://talk.maemo.org/showthread.php?t=35437)

ludakrshna 2009-11-30 01:32

Porting Linux application to N900
 
How would one go about "porting" linux apps to the N900?

kyle 2009-11-30 01:36

Re: Porting Linux application to N900
 
Here's a quick guide.

1. Install the SDK:

http://www.forum.nokia.com/Tools_Doc...atforms/Maemo/

2. Read up on debian source packages:

http://www.debian.org/doc/manuals/ap...ndling.en.html

3. Add a source repository to your /etc/apt/sources.list (within the SDK) that has the package you want to port.

4. sb-conf select FREMANTLE_ARMEL

5. apt-get source <packagename>

6. cd <packagedir>

7. dpkg-buildpackage -rfakeroot -b

8. Copy the resulting .deb file to your N900 and install with 'dpkg -i'

maxximuscool 2009-11-30 01:45

Re: Porting Linux application to N900
 
Would be nice to porting OpenOffice to N900 and run it at full speed without draining the RAM and the CPU.

Hope someone recompile it on N900 and pass it around :D

linuxeventually 2009-11-30 02:24

Re: Porting Linux application to N900
 
my way:
5. wget http://site.org/sourcecode.tar.gz
6. tar xzvf sourcecode.tar.gz
7. cd sourcecode/
8. ./configure --prefix=/opt --host arm
9. deb-make
10. nano debian/control
change architecture: all to architecture: armel
11. nano debian/rules
change ./configure to ./configure --prefix=/opt --host arm
12. dpkg-buildpackage -rfakeroot
13. (on tablet) X-Terminal>$ /sbin/ifconfig wlan0 | grep inet
14. scp ../source_armel.deb <inet addr>:/root/
15. (on tablet) get root then # dpkg -i source_armel.deb

Texrat 2009-11-30 04:11

Re: Porting Linux application to N900
 
Thread moved to better location. Not actually a Brainstorm subject.

rcs1000 2009-11-30 08:42

Re: Porting Linux application to N900
 
And how would we 'opt-ify' the resulting packages?

I ask because I'm planning on getting frotz and joe (my favourite editor) working...

pelago 2009-11-30 09:57

Re: Porting Linux application to N900
 
Quote:

Originally Posted by rcs1000 (Post 400258)
And how would we 'opt-ify' the resulting packages?

I ask because I'm planning on getting frotz and joe (my favourite editor) working...

See http://wiki.maemo.org/Opt_Problem and http://wiki.maemo.org/Documentation/...opt_and_MyDocs


All times are GMT. The time now is 07:35.

vBulletin® Version 3.8.8