Re: Qustion about WLAN API

2007-02-27 Thread Kalle Valo
"Michael Matalon" <[EMAIL PROTECTED]> writes:

> I was wondering if anyone knows where I can get the API for the WLAN so that
> I can develop to it?

You might first want to read this:

http://www.maemo.org/platform/docs/howtos/howto_connectivity_guide_bora.html

-- 
Kalle Valo

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Quim Gil
On Tue, 2007-02-27 at 17:02 +0100, ext Murray Cumming wrote:
> Don't forget that you'll need Mentors who have the time to help the
> students to complete the task. So be careful not to suggest projects
> that have no existing mentor.

Absolutely. This is why I'm not moving a finger until we see a clear and
diversified support to this initiative, no matter how many clever ideas
for SoC projects appear in this list.

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Nokia hiring developer for Maemo and Internet Tablets

2007-02-27 Thread Russ Nelson
Acadia Secure Networks writes:
 > N.A. If Nokia wants to do software development 7x24x365 (and maybe they 
 > don't)  they should encourage  employees to stay put and spread the 
 > workload around the planet.

There's also the matter of communicating the corporate culture to
these new workers.

-- 
--my blog is athttp://blog.russnelson.com   | You can do any damn thing
Crynwr sells support for free software  | PGPok | you want, as long as you
521 Pleasant Valley Rd. | +1 315-323-1241   | don't expect somebody else
Potsdam, NY 13676-3213  | Sheepdog  | to pick up the pieces.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Qustion about WLAN API

2007-02-27 Thread Andrew Barr
On Tue, 2007-02-27 at 21:01 -0500, Michael Matalon wrote:
> Hi,
> I was wondering if anyone knows where I can get the API for the WLAN
> so that I can develop to it?

Um, what is it you want to do, exactly? There's the kernel Wireless
Extensions (WE) API but I think Nokia prefers that application
developers use the D-BUS APIs or whatever libfoo wrappers are available
for that. It depends on what you want to do which will do what you want.

> Thanks 
> Michael
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-- 
Andrew Barr | http://www.pridelands.dyndns.org/
panthera leo anthro

"My life is an open book, but I'm not going to read it to you."
-- David Hyde Pierce
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Qustion about WLAN API

2007-02-27 Thread Michael Matalon

Hi,
I was wondering if anyone knows where I can get the API for the WLAN so that
I can develop to it?

Thanks
Michael
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Asking for information about programming in JAVA at Nokia device

2007-02-27 Thread Sebastian Mancke
Hello Magda,

we have recently started a project with the aim to maintain a full
featured free java stack for mobile linux devices, called JaLiMo. The
goal is to package and tailor existing jvm-related projects, as well as
develop APIs for easy integration with the target platforms.

Since we have recently started, our mailing list and Web-Site will be
available in a few weeks. Currently we have managed to get the recent
cacaojvm (see www.cacaojvm.org), gnu classpath 0.93 (see
www.classpath.org) and java-gnome 4.0.2 running on the n770.

http://www.mancke-software.de/jalimo/screenshot_java-gnome.png

Since our state is experimental at the moment, we have no official
packages now, but you can grab some simple tar.gz archives from
http://www.mancke-software.de/jalimo/. (unpack to /usr/local/ and get in
touch, if you have problems with them.) They are only tested with n770,
I don't know, if they are running with your n800.

There is also a classpath 0.91, together with a jamvm available out
there. (http://www.internettablettalk.com/forums/showthread.php?t=2896)
This 0.91 has a working Swing/AWT which will be hard to get running for
later classpath versions, because it needs a newer gtk.

Both, the jamvm and the cacao seem to work fine. The cacaojvm (JIT) is
approx. 2-3 times faster than the jamvm, but has a huge start up time
(~3 sec, instead of 0.7 sec).

What is the project, you are focussing on?

Regards,
  Sebastian


magda chelly schrieb:
> Hello,
> 
> I'm a student beginnig to program with a Nokia N800,
> and I'm in search for some information. I would be
> gratefull if you could help me a little.
> In fact, I have a problem, it's that the Nokia
> N800 does not support JAVA and I must program with
> that
> language. You know something about that? What must
> I install to make my program runs on that? Which
> virtual
> machine work on that, or maybe there is somewhere
> a virtual machine that work on NOKIA 770. I
> I'm very sorry to disturb you with my questions.
> 
> Yours faithfully,
> Magda,
> 
> 
>   
> 
>   
>   
> ___ 
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
> Profitez des connaissances, des opinions et des expériences des internautes 
> sur Yahoo! Questions/Réponses 
> http://fr.answers.yahoo.com
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
> 


-- 
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH

Heilsbachstr. 24, 53123 Bonn| Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0 | fon: +49(30) / 27594853
fax: +49(228) / 52675-25| fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249

Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Edgard Lima


see previous mail...the kernel source code for gadgets are available

to tell you the truth I'm already writing such gadget (and I hope finish 
it soon). If you want we could exchange some ideas.


to write in user-space...hum...I don't know if it could be possible with 
"gadgetfs" (I have to study more and ask the gadget guys)But I'm 
sure the best way is to write a UVC gadget.


To do all this you don't have to look into v4l2 driver, you have just to 
learn how to write a simple v4l2 app. I mean open /dev/video0 and talk 
v4l2 API and translate it to UVC.


BR
Edgard

ext Zeeshan Ali escreveu:

Hello!

On 2/27/07, Edgard Lima <[EMAIL PROTECTED]> wrote:


>
regarding the idea of make the N800 work as WebCam like any other
plug-and-play webcam in the market for any OS:

There is nothing to be done in user space on N800 side. What has to be
done is a usb gadget driver on N800 side and it would make the usb port
work as UVC (usb video class) device, so Windows, Mac and Linux (with
linux-uvc module loaded) would work with it. I'm not sure N800 gadget
drivers sources are available on maemo repository, and if it isn't only
Nokia internal guys could do that (may be someone is writing such 
gadget)


  Sounds like even a better and more simpler idea! thanks. But are
you sure that a user-space apps can't implement a UVC device on the
usb-port in Linux? IIRC, it's very much possible to write user-space
device drivers that uses/needs USB port for I/O but don't take my word
for it as it's been quite some time since i last i wrote any device
drivers. Anyway, if it's possible then you wont need to write any
kernel-space code, let alone need to look into the n800 v4l2 driver's
source.



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Zeeshan Ali

Hello!

On 2/27/07, Edgard Lima <[EMAIL PROTECTED]> wrote:


>
regarding the idea of make the N800 work as WebCam like any other
plug-and-play webcam in the market for any OS:

There is nothing to be done in user space on N800 side. What has to be
done is a usb gadget driver on N800 side and it would make the usb port
work as UVC (usb video class) device, so Windows, Mac and Linux (with
linux-uvc module loaded) would work with it. I'm not sure N800 gadget
drivers sources are available on maemo repository, and if it isn't only
Nokia internal guys could do that (may be someone is writing such gadget)


  Sounds like even a better and more simpler idea! thanks. But are
you sure that a user-space apps can't implement a UVC device on the
usb-port in Linux? IIRC, it's very much possible to write user-space
device drivers that uses/needs USB port for I/O but don't take my word
for it as it's been quite some time since i last i wrote any device
drivers. Anyway, if it's possible then you wont need to write any
kernel-space code, let alone need to look into the n800 v4l2 driver's
source.

--
Regards,

Zeeshan Ali
Design Engineer, SW
Open Source Software Operations
Nokia Multimedia
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Coming back to Glade

2007-02-27 Thread Claudio Scordino

Hi all,

  from a mail posted in August on this mailing list, I've seen that "the 
glade-support has been stripped and gazpacho support is still under

way.." on Maemo.

Since libglade does not completely support Gazpacho, we would prefer using 
Glade. Is it still possible ? (some dependencies about Gazpacho seem hard-coded 
inside the Laika plugin for Eclipse...)


Why Maemo does not provide both choices ?

Thanks for any help and suggestion,

Claudio



--
=
Claudio Scordino
Software Engineer

Evidence Srl
Embedded Real-Time solutions
http://www.evidence.eu.com
=

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Opera, MiniMo, Epiphany?

2007-02-27 Thread Xabier Rodriguez Calvar
O Dom, 25-02-2007 ás 17:35 +0100, Iñigo Illán Aranburu escribiu:
> Please, Nokia people. I will admit the Internet Tablet is not a PDA and
> thus there isn't any PIM software instaled by default, but if many
> peoble are just frustrated about the browsing experience, it seems to me
> there is something really wrong with it. I admit Minimo is not the
> solution because it consumes a lot of resources but please, please,
> please push that webkit port to gtk definetely and nobody will cry
> anymore about this.

Two of my workmates are working on the gtk webkit port and another
workmate and I are working on a webkit backend for Epiphany.

Greetings.

-- 
Xabier Rodríguez Calvar
Computer Engineer
Telf:  +34 981 91 39 91
Fax:   +34 981 91 39 49
mailto: [EMAIL PROTECTED]
IGALIA, S.L. http://www.igalia.com

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Asking for information about programming in JAVA at Nokia device

2007-02-27 Thread Johannes Eickhold
On Tue, 2007-02-27 at 14:36 +, magda chelly wrote:
> In fact, I have a problem, it's that the Nokia N800 does not support
> JAVA and I must program with that language. You know something about
> that? What must I install to make my program runs on that?

Feel free to try SUN's GPL'ed Java PhoneME advanced which comes with a
virtual machine and API. It is available for download under [1]. Copy it
one the device and unpack it via the command line. Don't expect a full
featured Java platform. For current shortcomings have a look into this
message [2].

> Which virtual machine work on that, or maybe there is somewhere a
> virtual machine that work on NOKIA 770.

The above mentioned virtual machine is known to run on the 770. Feedback
on N800 usability is appreciated!

I am very interested in your success stories as well as in any problems
you may run into!

Greets,
 Jonek.

[1] http://i30www.ira.uka.de/p2p/ambicomp/phoneME_Nokia770/
[2] http://www.gossamer-threads.com/lists/maemo/developers/17898#17898

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Murray Cumming
On Tue, 2007-02-27 at 08:41 +0200, Quim Gil wrote:
> On Mon, 2007-02-26 at 14:35 +0100, ext Clemens Eisserer wrote:
> > Do you have an idea who could try to apply in the name of Maemo?
> 
> I could.
> 
> > Anybody from the maemo team who is interested in this happening?
> 
> We are interested in this happening if the maemo community is interested
> as well. I don't see the point for us core team going ahead alone. 
> 
> In fact this is a good opportunity to organize something together, at a
> same level or even letting the community lead. The first idea came from
> the community anyway, so why not leading as well with candidate
> projects, mentors and students.

Don't forget that you'll need Mentors who have the time to help the
students to complete the task. So be careful not to suggest projects
that have no existing mentor.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Help debugging segfaults

2007-02-27 Thread Marius Gedminas
On Tue, Feb 27, 2007 at 09:45:44AM +0200, Eero Tamminen wrote:
> To get working backtrace on ARM you need to have either:
> - debug symbols, or

Would it be possible to produce packages that contain only symbols (in
/usr/lib/debug) for the packages/libraries used in Maemo?
Ubuntu/SuSE/Fedora supply these.

Marius Gedminas
-- 
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station...


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Application Manager scripting, second try

2007-02-27 Thread Marius Vollmer
"ext Marius Gedminas" <[EMAIL PROTECTED]> writes:

> It would be good to clarify whether mistral, scrirocco, and gregale are
> considered to be different distributions, or if they all use the name
> 'mistral'.

Yes, that would be good to clarify.  I left this out of the document
for now since I don't have a clue myself... :-/

>> [...]  The "catalogues" key is a list of strings that refer to the
>> catalogue groups that describe the catalogues to be added.
>
> How are the strings in the list separated?  I would expect spaces or
> commas, but in your examples you use semicolons.  Is that something
> standard for GKeyFiles?

Yes, that's the default list item separator for GKeyFiles.  We can use
a different one, but I think the default one is OK.

>> The "package" key gives the name of the package to install.
>
> So it is impossible to write a single .install file that installs
> multiple packages?

Only when it used the card_install interaction flow.

> I'm trying to imagine a use case for that... Still trying...

Yeah, we couldn't come up with a good use case either, and we don't
want to bother thinking about the UI for this case.

> The only idea that comes into mind is some uber-user crafting a
> .install file containing all her favourite applications for
> single-click reinstalling after a reflash.

That should be taken care of with the new "backup/restore list of
applications" feature.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Manual Installation help

2007-02-27 Thread Marius Gedminas
On Tue, Feb 27, 2007 at 12:01:41AM +0100, Carlos GP wrote:
> hey! I've just found that I missed one step...
> 
> 3.2.4 Install Scratchbox provided virtual packages
> 
> But I don't undestand what I must do...

Something very very tricky.  You can try to figure it out by reading the
maemo 3.0 installer sources.

I'd rather just use the installer.

> Is there any connection between this step and the issue I wrote in
> Manual Installation Odyssey?

Dunno, I missed that email.  Or do you mean the one without a subject
line, where you asked about missing gtk.h?  No, this has no relation
with include files.  The virtual packages are needed to satisfy
dependencies and build-dependencies.

Marius Gedminas
-- 
This message has been ROT-13 encrypted twice for higher security.


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Changes to Sardine meta packages

2007-02-27 Thread Marius Vollmer
Hi,

I made some changes to the meta package setup used with Sardine.

There is now a new meta package hildon-application-framework-dev that
is intended for use in Scratchbox when you develop for Hildon.

It's primary purpose is to conflict with packages that are deprecated.
You should _not_ use it in your Build-Dependencies as a shortcut.
Please continue to use fine-grained dependendencies on the packages
that you are actually depending on.

The general idea is that the hildon-application-framework package
gives you the complete functionality, and you would install it on your
device; the hildon-application-framework-dev package makes sure that
you have a suitable devlopment environment and you should install it
in Scratchbox.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Frantisek Dufka

Edgard Lima wrote:
What has to be 
done is a usb gadget driver on N800 side and it would make the usb port 
work as UVC (usb video class) device, so Windows, Mac and Linux (with 
linux-uvc module loaded) would work with it. I'm not sure N800 gadget 
drivers sources are available on maemo repository, and if it isn't only 
Nokia internal guys could do that (may be someone is writing such gadget)


Yes, kernel sources are available [1] including camera and usb gadget 
drivers. You only need to uderstand that USB stuff and/or be lucky 
enough so that someone did similar driver before.


1. 
http://repository.maemo.org/pool/bora/free/binary/kernel-source-rx-34_2.6.18-osso29_all.deb

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Edgard Lima




1. N800 as a webcam device: I already recommended this idea on this
list earlier for anyone looking for some n800 related project to work
on. This would ideally involve a user-space streaming application on
the device and a  v4l2 device driver on the PC. Now that everyone
knows there is FM radio capability on the device, the v4l2 driver
could also provide that capability on the PC.

regarding the idea of make the N800 work as WebCam like any other 
plug-and-play webcam in the market for any OS:


There is nothing to be done in user space on N800 side. What has to be 
done is a usb gadget driver on N800 side and it would make the usb port 
work as UVC (usb video class) device, so Windows, Mac and Linux (with 
linux-uvc module loaded) would work with it. I'm not sure N800 gadget 
drivers sources are available on maemo repository, and if it isn't only 
Nokia internal guys could do that (may be someone is writing such gadget)


BUT

yes it could be done in user space if you want:

1- define a network/stream protocol suitable for video like devices and 
write a default user space app getting data from v4l2 and sending over 
networking that implemets that protocol

2- write a v4l2 driver for it on desktop side

this way it would work for every linux (having v4l2 device) and desktop 
devices


regarding radio may be it could be done with Usb Audio Class (I have to 
look at this class) in the same way. BUT could also be done in user 
space mode.


BR,
Edgard Lima
[EMAIL PROTECTED]



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Asking for information about programming in JAVA at Nokia device

2007-02-27 Thread magda chelly
Hello,

I'm a student beginnig to program with a Nokia N800,
and I'm in search for some information. I would be
gratefull if you could help me a little.
In fact, I have a problem, it's that the Nokia
N800 does not support JAVA and I must program with
that
language. You know something about that? What must
I install to make my program runs on that? Which
virtual
machine work on that, or maybe there is somewhere
a virtual machine that work on NOKIA 770. I
I'm very sorry to disturb you with my questions.

Yours faithfully,
Magda,






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Application Manager scripting, second try

2007-02-27 Thread Marius Vollmer
"ext Kees Jongenburger" <[EMAIL PROTECTED]> writes:

>> ### Adding catalogues.
>>
>> Each catalogue is considered in turn and the user is asked whether to
>> add it or not.  When it should be added and a catalogue is already
>> configured in the Application Manager that is equal to the one
>> considered, the configured catalogue is removed first.  When the user
>> declines the adding, the next catalogue is considered.
>
> What happens if the .install file wants to replace the uri or name
> of a catalogue?  Is this considered a security risk?

Can you elaborate, with an example maybe?

Catalogues are replaced as one unit and the user can review the
details of the new dialog when it is added (except in the card_install
interaction flow).

>> [sdk]
>> name = maemo SDK catalogue
>> uri = http://repository.maemo.org/
>> components = free non-freees
>
> I still think this all looks way to much like debian , nobody in
> theire right mind would create an installer with different
> components, repositories.

Well, we use the Debian package management tools, so we have to do
things the way they do it.  And I don't actually see what's bad
about it.

Right now, we have to struggle with a lot of repositories, but in an
ideal world, you shouldn't need to worry about repositories much if at
all.  Ubuntu and Debian have much more softweare available than we do,
and they do it all without repository fragmentation.  The most
difficult tjing with their repositories is deciding which mirror to
use...

> [...] If possible I would present the user
> with a list of changes that are going to happen
> -add repo bla
> -update repo x
> -install libsqlite3 from maemo-repo
> -install maemo-mapper from contributors-repo
> (ok/cancel)

Except for the source of a package, you can get this information
already.  Also, I wouldn't expect users to care about this level of
detail.

> Is a package allowed to have both a file_uri and a "web"uri?

Packages don't have URIs, catalogues (repositories) have.  A catalogue
can must have exactly one of "uri" and "file_uri", depending on the
context it is used in.

> would there be some "autorun.bat" file on the media card?
> is there a format that just gets executed from the file manager?

The .deb packages can run scripts at various stages during
installation, updating and removing.  See the Debian Policy Manual for
details.

>> ### Compatibility with IT OS 2007.
>>
>> In addition to the format described above, the Hildon Application
>> Manager also understands the old .install files from IT OS 2007.
>
> why is it Hildon Application Manager and not Maemo Application Manager?

No really strong reason, but it is part of the Hildon Desktop
environment, which in turn is part of maemo.  Other components of the
Hildon Desktop are the Hildon Home, Hildon Statusbar, Hildon Widgets,
etc.

>> where URI, DIST, and COMPONENTS are parsed out of DEB, as
>> appropriate.
>
> Are we thinking planing on automatic server side enhancements to the
> .install file, if not when does the deb get parsed?

I think you misunderstand.  "Parsing stuff out of DEB" was referring
to how the old style

maemo_deb = deb http://foobar.com bora main

is translated to

uri = http://foobar.com
dist = bora
components = main

DEB is just a variable used in the text, it is not referring to a .deb
package.

> The main thing really is that I would not allow all these catalogue
> information  and translations to end up in the .install files. I will
> be a mess in no time.

Let's see.  One point of the design is to avoid the need for
centralized maintenance.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


N800 WebCam example - poor performance - how to solve

2007-02-27 Thread Edgard Lima


For people try the example bellow

http://maemo.org/platform/docs/howtos/howto_camera_api_bora.html

We have a the following problem:

1- ffmpecolorspace element is consuming almost all cpu to convert from 
yuv (captured from camera) to rgb (to be converted to jpeg) in the 
example above


2- try to remove the code that save it to jpeg and ffmpegfcolorspace 
together with it


The problem is:

v4l2 drive and v4l2src works with both yuv and rgb on N800

...But

xvimagesink works only with yuv on N800 and the algoritm to convert to jpeg

try to compile ximagesink (not xVimagesink) and put the camera to work 
in rgb mode (v4l2src ! caps file rgb ! ximagesink ...)- unfortunatelly 
ximagesink is too slow (may be it is better than use ffmpegcolor 
space...try it)


try also sdlvideosink (I think it use X, I really don't know if it will 
also have the rgb limitation...try it)


try to modify create_jpeg algorithm to work with yuv. it fdoesn't work 
will end-up the same cpu penality as use ffmpegcolorspace


How to solve the example that saves it to jpeg :

assossiate gst_pad_add_buffer_probe(cb_have_date) before 
ffmpegcolorspace and change the size of the buffer (GstBuffer) to zero 
...I hope it works (if nottell me I will think about a way to make 
ffmpegcolorspace work only when it is time to save the image )


BR,
Edgard Lima
[EMAIL PROTECTED]


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Static build sofsip_cli

2007-02-27 Thread Armin03
Hello, 
I can build sofia-sip-1.12.4 and sofsip-cli-0.1.12  without error, but now I 
try to build sofsip-cli-0.1.12 static so that it run on everyone  linux 
computers 
without building gstreamer . 
I have changed on Makefile 
CFLAGS = -g -O2 --static 
I get this erro:
gcc -g -O2 --static -o sofsip_cli sofsip_cli.o ssc_input.o  
./.libs/libsofsip-cli-objects.a /usr/lib/libsofia-sip-ua-glib.so 
/usr/lib/libsofia-sip-ua.so -lssl -lcrypto -lrt /usr/lib/libgstreamer-0.10.so 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libxml2.so 
-lz -lm /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lreadline -lncurses 
-lpthread
/scratchbox/compilers/cs2005q3.2-glibc-arm/lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld:
 attempted static link of dynamic object `/usr/lib/libsofia-sip-ua-glib.so'
collect2: ld returned 1 exit status
make: *** [sofsip_cli] Error 1

Know someone where I set "static" ?

Thanks.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] 'Locking down' software installation

2007-02-27 Thread Riku Voipio

Marius Vollmer wrote:


The locked-down upgrade path could support more than one set of
trusted sources down to the granularity of repositories.  This would
allow other parties than Nokia to make use of this feature.  That's
just a smop and might be done.
  

I think this the best approach. It would also be useful outside
maemo, aka at debian and at ubuntu. So it would be nice
if it can be implement at the lower levels, ie apt/dpkg.

One way of implementing this is:

1) When installing package store the origin (available from the Relese 
file of

repository) of the package into package /var/lib/dpkg/status.

2) When upgrading, refuse upgrading that package from other origins. Provide
a --force-override origin for power users.

First is easy to implement, second is hard :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Package architecture armel vs gnueabi-linux-arm

2007-02-27 Thread Neal H. Walfield
At Sat, 24 Feb 2007 12:59:34 +0100,
"Neal H. Walfield" <[EMAIL PROTECTED]> wrote:
> 
> At Mon, 11 Sep 2006 13:00:32 +0300,
> Marius Vollmer <[EMAIL PROTECTED]> wrote:
> > 
> > "ext Niels Breet" <[EMAIL PROTECTED]> writes:
> > 
> > > After doing some upgrades to Sardine, dpkg fails on a lot of packages
> > > because of:
> > > package architecture (armel) does not match system (gnueabi-linux-arm)
> > >
> > > Does this mean that you have introduced a new architecture and as a 
> > > result of
> > > that all current packages are incompatible? (Again)
> > 
> > Nonono, sorry.  Dpkg in Sardine was somehow miscompiled for Sardine,
> > but I haven't had time to fix it.  Will do it immediately...
> 
> I have installed the following rootstrap:
> 
>   
> http://repository.maemo.org/stable/gregale/armel/Maemo_Dev_Platform_v2.2_armel-rootstrap.tgz
> 
> and am experiencing this same problem.  Did this somehow creep back
> in?  Is there an easy fix?

The problem is that the debian-sarge devkit provides dpkg et al.,
which take precedence over the ones provided by the rootstrap.  The
solution was to install just the debian devkit not both the debain and
debian-sarge devkits.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Help debugging segfaults

2007-02-27 Thread Eero Tamminen

Hi,

ext Simon Pickering wrote:
The reason is that without either debug symbols or 
framepointer Gdb doesn't know how many args to skip when 
unwinding the stack. Even the first function it shows is 
often wrong, because without debug symbols Gdb can try to 
match it only to the nearest _exported_ function and the 
function might have been a static (non-exported) one.


Thanks for the explanation. I did compile the icas binary with -g and
-fno-omit-frame-pointer (and it's unstripped), so presumably this means that gdb
should know which function in the icas binary has called the failed chain of
functions?

Strange that icas is never mentioned, or perhaps it's just because the function
chain is too long? I'll try compiling libgiac with -g and
-fno-omit-frame-pointer


Actually you need just either of these. -fno-omit-frame-pointer can have
small adverse effect on performance if the code is calling a lot of
small functions.

If you use "-g", in the debian/rules file you can ask dh_strip to
separate the debug symbols to a separate debian package from the actual
binaries, so that the binary sizes are not affected (full debug
information can take more disk than the stripped binary size).



(I don't think I really want to try re-compiling gcc
atm) and see whether I can narrow the error down.



- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: Help debugging segfaults

2007-02-27 Thread Simon Pickering
 
> > I don't have much experience debugging segfaults and would appreciate 
> > any pointers.
> 
> pun intended?  ;-)  C pointers and string operations are the 
> first place to start looking for segmentation faults.

:)



> Hint "std::string::compare ()"
> Hint "std::operator< "
> 
> I'd start here.  It has been a long time since I looked at 
> gdb output of someone else's code.  The thing that I see as a 
> hint is string::compare from the std library.  I am thinking 
> <> operations, etc but this looks to be c++ code.  
> So go back and check how you handle your string compare 
> operations.  What are the inputs to the string comparisons, 
> etc.  Are your string lengths long enough?  Do you have null 
> terminated strings.  Have you properly initialized the 
> variables that are being used.  These are things that I would 
> look for in a segmentation fault.  These ideas may help with 
> a porting issue too.

I'd also noticed that and hoped that gdb would narrow down where I need to look
as this is also not my code. Thanks for the pointer though.

> However, I have been successfully sleeping through the night 
> for many years now.  Moreover, If gdb is taxing your mind, 
> there's nothing that says you can put some printf statements 
> to locate where the program segfaults.

I think that may be the way I go if re-compiling libgiac doesn't provide any
more clues.

> I hope this helps.

Many thanks,


Simon


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: Help debugging segfaults

2007-02-27 Thread Simon Pickering
 


> To get working backtrace on ARM you need to have either:
> - debug symbols, or
> - code compiled with -fno-omit-frame-pointer for *every* 
> binary/library you see in the backtrace, otherwise Gdb 
> reports bogus information for the backtrace.  In this case 
> the libs would be:
> - /usr/lib/libstdc++.so.6
> - /usr/lib/libgiac.so.0
> - /lib/ld-linux.so.3 (I think this is wrong, but in general you
>almost always need at least minimal debug syms on C-library)
> 
> The reason is that without either debug symbols or 
> framepointer Gdb doesn't know how many args to skip when 
> unwinding the stack. Even the first function it shows is 
> often wrong, because without debug symbols Gdb can try to 
> match it only to the nearest _exported_ function and the 
> function might have been a static (non-exported) one.

Thanks for the explanation. I did compile the icas binary with -g and
-fno-omit-frame-pointer (and it's unstripped), so presumably this means that gdb
should know which function in the icas binary has called the failed chain of
functions?

Strange that icas is never mentioned, or perhaps it's just because the function
chain is too long? I'll try compiling libgiac with -g and
-fno-omit-frame-pointer (I don't think I really want to try re-compiling gcc
atm) and see whether I can narrow the error down.

Thanks,


Simon

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-02-27 Thread Zeeshan Ali

Hey!


Do you have an idea who could try to apply in the name of Maemo?
Anybody from the maemo team who is interested in this happening?


 Well! i would be more than happy to mentor any of the following
projects if someone student wan to work on them as his Google SoC
project:

1. N800 as a webcam device: I already recommended this idea on this
list earlier for anyone looking for some n800 related project to work
on. This would ideally involve a user-space streaming application on
the device and a  v4l2 device driver on the PC. Now that everyone
knows there is FM radio capability on the device, the v4l2 driver
could also provide that capability on the PC.

2. GOD (Gstreamer On-Demand): Remote Gstreamer pipeline/element
creation and manipulation. This project would also provider wrapper
lib to create distributed gstreamer pipelines. For details on this
idea, please refer to my blog starting from 15 Oct 2006
(http://www.advogato.org/person/zeenix/diary.html?start=96). Although
this project is not directly related to maemo/n800 but i am quite
sure, n800 can be the biggest beneficiary of this project.

So if anyone interested, please apply to SoC and let me know. :)

--
Regards,

Zeeshan Ali
Design Engineer, SW
Open Source Software Operations
Nokia Multimedia
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Application Manager scripting, second try

2007-02-27 Thread Jari Tenhunen
Hi Mariuses and all,

I must say that I like this second try better :D

One thing that I wondered is that could the "Adding catalogues
interaction flow" be handled with the same [install] group syntax as the
second "Installing a package from the network catalogues" flow. With the
difference that the [install] group would only have a `catalogues' key
and no `package' key. But at a second thought it might be a bit
confusing if the catalogues are treated differently in these two
cases...


On Mon, Feb 26, 2007 at 08:42:23PM +0100, Kees Jongenburger wrote:
> >For example, the following file will offer to install the `maemofoo`
> >package from the Foobar catalogue:
> >
> >[install]
> >catalogues = foobar
> >package = maemofoo
> >
> >[foobar]
> >name = Foobar Catalogue
> >name[en_GB] = Foobar Catalogue
> >name[de_DE] = Foobar Katalog
> >uri = http://foobar.com/repository
> >components = main
> 
> I would try to make the file more self describing so that that you
> really can create a syntax for it. therefore I would replace the
> [foobar] with [catalogue]. does the glib ini file parser allow mutiple
> init entries with the same name?

Nope, it does not allow multiple groups with same name.

> [catalogue]
> id = foobar
> name = Foobar Catalogue
> name[nl_NL] = .

Yet another possibility would be to name the catalogue groups like this:

[catalogue foobar]
name = ...

Perhaps it would be more descriptive but I don't have a really strong
preference here.



Cheers,
Jari

-- 
Jari Tenhunen, stardate [-29]7206.34
:wq
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Asking for information VERY IMPORTANT

2007-02-27 Thread Fred Lefévère-Laoide

Install osso-xterm

magda chelly a écrit :

Hello,

I'm a student preparing a project at Nokia N800, and
actually, I didn't begun it because I'm still trying
to acceed to the shell of the equipement. In afct, to
do anything you must enter, for example, a line
command. So, I ask you please to help me how to do
that.

Yours faithfully,
Chelly Magda Lilia,






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Asking for information VERY IMPORTANT

2007-02-27 Thread magda chelly
Hello,

I'm a student preparing a project at Nokia N800, and
actually, I didn't begun it because I'm still trying
to acceed to the shell of the equipement. In afct, to
do anything you must enter, for example, a line
command. So, I ask you please to help me how to do
that.

Yours faithfully,
Chelly Magda Lilia,






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


maemo-fm, feedback

2007-02-27 Thread Kees Jongenburger

Hello,

I have tried to get feedback on this issue using the [EMAIL PROTECTED] list and
the mozilla bugtracker but still have no luck. lets try it this way.
It is very frustrating to get no feedback.

We kender is I have started porting an application (shell-fm) that
allows to listen to last-fm
streams from the command shell. we have been searching for similar projects and
I found the maemo-fm project, which seemed to be trying to reach the same goal.

kender tried to contact the developer though personal mail and the "Join us
button" on the project page, but he did not get an answer.We have
asked on the #maemo channel, so, if someone knows the developer, but
nobody seems to know him.The maemo-fm[1] project was registered
2006-09-30 but did not ever release any files or posted code.

We like the name of the package and would like to take over the
project. What do I need to to to accomplish this?

on irc Jaffa suggested a cleaning project. Authors of non-active
project would receive a mail requesting them to publish code or give
the project away

This would happen by sending a notice to all the "head
developers of any project", if they don't answer the mail and the
project is deleted or transfered. This is called a garage sale :)

The mud project is having the same kind of problems with the exist
ports that are listed in on the wiki, we are ready to port more
applications.
see 
http://www.maemopeople.org/index.php/jaffa/2007/01/31/mud_ports_of_existing_packages

Your advice on this matter would also be appreciated.

greetings


[1] https://garage.maemo.org/projects/maemo-fm/

p.s. this was the bugzilla report
https://maemo.org/bugzilla/show_bug.cgi?id=1071
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Help debugging segfaults

2007-02-27 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Simon Pickering wrote:
> Hello everyone,
> 
> I don't have much experience debugging segfaults and would appreciate
> any pointers.

pun intended?  ;-)  C pointers and string operations are the first place
to start looking for segmentation faults.

 I've compiled giac/xcas for the N800, but get a segfault
> when I try to run it (icas is the command line version).
> 
> The gdb output is as follows:
> 
> ---
> 
> Nokia-N800-51:/home/user# gdb ./icas
> GNU gdb 6.4
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "arm-linux-gnueabi"...Using host libthread_db
> library "/lib/libthread_db.so.1".
> 
> (gdb) r
> Starting program: /home/user/icas
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x41851380 in std::string::compare () from /usr/lib/libstdc++.so.6
> (gdb) bt
> #0  0x41851380 in std::string::compare () from /usr/lib/libstdc++.so.6
> #1  0x0005fa28 in std::operator< ,

Hint "std::string::compare ()"
Hint "std::operator< "

I'd start here.  It has been a long time since I looked at gdb output of
someone else's code.  The thing that I see as a hint is string::compare
from the std library.  I am thinking <> operations, etc but
this looks to be c++ code.  So go back and check how you handle your
string compare operations.  What are the inputs to the string
comparisons, etc.  Are your string lengths long enough?  Do you have
null terminated strings.  Have you properly initialized the variables
that are being used.  These are things that I would look for in a
segmentation fault.  These ideas may help with a porting issue too.

I inherited a bunch of Oracle Pro*C code once upon a time.   I had to
clean and clean and clean that program.  Much of it had to do with
making sure that the string lengths were of the right length.  The other
issue was improperly initialized variables.  That crap still runs in the
middle of the night.  However, I have been successfully sleeping through
the night for many years now.  Moreover, If gdb is taxing your mind,
there's nothing that says you can put some printf statements to locate
where the program segfaults.

I hope this helps.

Regards,
Greg

> std::allocator > ([EMAIL PROTECTED], [EMAIL PROTECTED]) at
> basic_string.h:2149
> #2  0x401e1260 in std::less::operator() () from
> /usr/lib/libgiac.so.0
> #3  0x401e17fc in std::_Rb_tree const, giac::gen>, std::_Select1st giac::gen> >, std::less,
> std::allocator >
>>::insert_unique () from /usr/lib/libgiac.so.0
> #4  0x401e1378 in std::map std::less, std::allocator giac::gen> > >::insert ()
>from /usr/lib/libgiac.so.0
> #5  0x401e0cc4 in std::map std::less, std::allocator giac::gen> > >::operator[] ()
>from /usr/lib/libgiac.so.0
> #6  0x4053a6f4 in giac::lexer_functions_register () from
> /usr/lib/libgiac.so.0
> #7  0x404b1354 in giac::unary_function_ptr::unary_function_ptr () from
> /usr/lib/libgiac.so.0
> #8  0x40135a7c in giac::_resultant () from /usr/lib/libgiac.so.0
> #9  0x40136e88 in giac::_resultant () from /usr/lib/libgiac.so.0
> #10 0x4100b28c in _dl_rtld_di_serinfo () from /lib/ld-linux.so.3
> #11 0x00026980 in ?? ()
> #12 0x00026980 in ?? ()
> Previous frame identical to this frame (corrupt stack?)
> (gdb) q
> The program is running.  Exit anyway? (y or n) y
> ---
> 
> 
> The tail end of the strace output is as follows:
> 
> ---
> 
> open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\344\216"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
> mmap2(0x413e8000, 47256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0x413e8000
> mprotect(0x413eb000, 34968, PROT_NONE)  = 0
> mmap2(0x413f2000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x413f2000
> close(3)= 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x4071b000
> mprotect(0x4112b000, 8192, PROT_READ)   = 0
> mprotect(0x4132c000, 4096, PROT_READ)   = 0
> mprotect(0x411f9000, 4096, PROT_READ)   = 0
> mprotect(0x41215000, 4096, PROT_READ)   = 0
> mprotect(0x40008000, 6991872, PROT_READ|PROT_WRITE) = 0
> mprotect(0x40008000, 6991872, PROT_READ|PROT_EXEC) = 0
> mprotect(0x4101e000, 4096, PROT_READ)   = 0
> munmap(0x4000, 24576)   = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
> setrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLI