maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Developing on the N900 itself ? (https://talk.maemo.org/showthread.php?t=32772)

Khertan 2009-11-27 07:20

Re: Developing on the N900 itself ?
 
I use py2deb to build my own packages on my n900:)
and pygtkeditor to edit source ... :)

jwi 2009-11-27 11:52

Re: Developing on the N900 itself ?
 
Hi,

My first post here... So hi all!

One simple question. What are the minimal steps all steps, which I have to complet to do some development python develoment with n900 itself? I just want to write some little scripts and programs, and may be package them for distribution. I have tried to find how-to or tutorial for that, but I havent found.

Second question: is it possible to access phone functions, like SMS-sending from python scripts?

Thx,

-j

fpp 2009-11-27 13:19

Re: Developing on the N900 itself ?
 
You had the answers to both questions on your screen while typing that message :-)

Answers to first question are in Khertan's post just above yours : install his pygtkeditor and py2deb packages, they will pull in python for maemo (pymaemo) as a dependency, and you will have all you need.

For the second question, at the top of the screen you have links to "development", "downloads" and "community". It takes a bit of searching to find the python stuff, which is not yet very up to date for Maemo5, but eventually you will hit the right place to ask :

https://garage.maemo.org/mailman/lis...emo-developers

jwi 2009-11-27 13:33

Re: Developing on the N900 itself ?
 
Ok, thx! I have been a little bit confused, I have problems to find stuff here. :)

So, if I want to ask something spefic about developing with python, that mailinglist is right place to ask? Not this forum?

Khertan 2009-11-27 16:01

Re: Developing on the N900 itself ?
 
Concerning the bindings for python ... Most of them are done by the PyMaemo team :

http://pymaemo.garage.maemo.org/

fpp 2009-11-27 16:15

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by jwi (Post 395925)
Ok, thx! I have been a little bit confused, I have problems to find stuff here. :)

Well understood, no problem ! Did you also spot the "Thanks" button at bottom right of each post ? That's part of the game :-)

Quote:

So, if I want to ask something specific about developing with python, that mailinglist is right place to ask? Not this forum?
There are plans to lay bridges between the two, but as it is not currently the case, it doesn't hurt to ask in both places. There are more "real" developers on the mailing lists, but also savvy people on the forum who are not subscribed to the MLs. Just ask away, at least you're in the right section ! :-)

Ph0b 2009-12-09 16:04

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by realbite (Post 352348)
I have set up a build environment on the N900 based on the scratchbox rootstrap and used this to build debian packages on the N900 itself.

The build environment is installed onto a 8GB SD card that is formatted in ext3 and is executed in a chroot environment.

Hi,

I've done a build environment based on the scratchbox armel rootstrap too but I want to use it with qt4.6.
Everything works fine but libqt4-maemo5-dev.
When I try to run /opt/qt4-maemo5/bin/qmake, I have that answer :
Code:

sh : cannot execute binary file
I tried with easy-debian and with the sdk-image qole gave here too but same answer.
What's wrong ? I'm trying to recompile libqt4-maemo5-dev on the device now. I'll tell you if it works :/

edit : qt4.5.3 qmake works fine
edit2 : 20 minutes waiting only for a ./configure that has failed... qt4.6 is not for me yet

delaroca 2010-03-08 20:34

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by realbite (Post 352348)
I have set up a build environment on the N900 based on the scratchbox rootstrap and used this to build debian packages on the N900 itself.

Could you make available an image of this environment, or perhaps a HOWTO on how to build such an environment?

--denis

qole 2010-03-08 20:56

Re: Developing on the N900 itself ?
 
If you want to make your own image:

1. Grab the most recent rootstrap image from the repository. At the time of this post, it is maemo-sdk-rootstrap_5.0_3.2010.02-8_armel.tgz.

2. Make an empty image file and format it using my instructions from this old post. You can do this on any computer.

3. As root, mount the empty image file, cd to the root of the mounted image, and untar the bootstrap into the image. This can also be done on any computer.

4. Unmount the image.

5. Use Easy Chroot (or do it the hard way if you insist) to chroot into the image! Remember to install the Nokia Binaries.

titan 2010-03-08 23:03

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by delaroca (Post 560433)
Could you make available an image of this environment, or perhaps a HOWTO on how to build such an environment?

you could also create a bootable Maemo5 without the 256mb limit using the Moebian scripts
http://talk.maemo.org/showpost.php?p...2&postcount=95
and install the SDK on it


All times are GMT. The time now is 01:31.

vBulletin® Version 3.8.8