Active Topics

 


Reply
Thread Tools
Posts: 80 | Thanked: 9 times | Joined on Oct 2007
#1
Okay.. hi all. I want to start some development for the N900. I already have scratchbox installed nicely. I've started going through some of the development tutorials as well. I have a few questions however.

1. What catalogues can I add to the repos now to start seeing what libraries are available in the repos? Is there a list of repositories now that I can go peeking @? How would I enable sound for the environment? The app I wanna build is gonna need to read soundfonts and play them.
2. If I want to use a library in my development that's currently available for x86. How do I use that in scratchbox. What do I need to do to use it in scratch box? (I'm thinking once I have the headers or the source that'll be all I'll need?)
3. Am I limited to only using those libraries available in the repos?
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
I'm not an expert in SDK stuff, but as the N900 runs on ARMEL it will be a problem if your library is *only* available for x86. I think you can also use libraries not currently available in the repositories but of course you need to provide them.
__________________
maemo.org Bugmaster
 
Posts: 80 | Thanked: 9 times | Joined on Oct 2007
#3
I was really hoping I'd get more answers for these questions? any others? please. anxious to get started here.
 
bbns's Avatar
Posts: 101 | Thanked: 129 times | Joined on Oct 2009 @ Los Angeles, CA
#4
If your library comes with source code, than you should be fine, as long as you could get things compiled under scratchbox ARMEL target.

However, the complexity is growing with your library dependency. The more extra libraries it links to, the more work you have to do.

I used default repos in scratchbox (with Nokia closed binary). There are some extra repos such as Qt4 Maemo. I am not sure there is a list of them yet.

Basically if there is anything I want to use, I would use apt-cache first, then google it. The last thing I would do is compile the source code. Usually it solves most of the cases.

Hope it helps.

Edit:

There are some cases that even you passed compile, your binary may still cause segmentation fault. To be 100% sure, you could use Nokia RDA at this moment.

Last edited by bbns; 2009-10-04 at 07:35.
 

The Following User Says Thank You to bbns For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#5
hi,

besides the standard repositories in the scratchbox you could add the extras-repos of maemo:

Code:
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
and if you want to try out stuff, which is in a development stage:

Code:
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
After running

Code:
apt-get update
you can search for a specific repository with:

Code:
apt-cache search package-name
If you don't find the libs there then you have to do it the hard way as bbns described.

Cheers Daniel
 

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:16.