[maemo-developers] compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?
Clemens Eisserer wrote: I don't feel that comfortable with compiling my own kernel with all the nokia patches for this exotic device ;) It is not so hard. N770 specific kernel sources are here http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6.12.3/ original kernel config is here http://maemo.org/maemowiki/KernelConfig You just need to unpack/install it, copy kernel config to .config and do usual 'make oldconfig; make menuconfig; make' Beware that you need 3.4 gcc compiler. I used gcc3.4.cs-glibc-0.9.8.5 from scratchbox http://scratchbox.org/download/files/sbox-releases/0.9.8/tarball/ because I have scratchbox installed anyway and this compiler was probably used to compile the original kernel (see /proc/version on the device) But I did not compile it inside scratchbox arm or i386 target, just directly in i386 debian (in colinux on XP machine :) with /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin prepended to PATH Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?
Hello again and thanks a lot for your patience, So no way arround compiling my own kernel if I want to use masquerading with iptables? Well sad but then ... it seems I don't have any other chance than to try it out. Wow cool ;) But shouldn't it be possible to compile the whole kernel with the netfilter-stuff built as modules and then just copy the modules and load them? Thanks, lg Clemens 2006/1/4, Frantisek Dufka [EMAIL PROTECTED]: Clemens Eisserer wrote: I don't feel that comfortable with compiling my own kernel with all the nokia patches for this exotic device ;) It is not so hard. N770 specific kernel sources are here http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6.12.3/ original kernel config is here http://maemo.org/maemowiki/KernelConfig You just need to unpack/install it, copy kernel config to .config and do usual 'make oldconfig; make menuconfig; make' Beware that you need 3.4 gcc compiler. I used gcc3.4.cs-glibc-0.9.8.5 from scratchbox http://scratchbox.org/download/files/sbox-releases/0.9.8/tarball/ because I have scratchbox installed anyway and this compiler was probably used to compile the original kernel (see /proc/version on the device) But I did not compile it inside scratchbox arm or i386 target, just directly in i386 debian (in colinux on XP machine :) with /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin prepended to PATH Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: compiling kernel Re: Fwd: [maemo-users] howto use the 770 as wlan-card replacement?
Clemens Eisserer wrote: So no way arround compiling my own kernel if I want to use masquerading with iptables? Not sure about this. But shouldn't it be possible to compile the whole kernel with the netfilter-stuff built as modules and then just copy the modules and load them? Probably yes. In fact this is the same thing I did with uinput support needed for my bluetooth keyboard. I didn't bother to check whether compiled kernel image is same as currently on device and actually works but modules work which is enough for me. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Application receives SIGKILL if executed through the menu
Hi, Are you sure the osso_initialize() is compiled in when you start the program from the menu? Because if osso_initialize() is not called, DBus kills the program because it was started by the DBus daemon but never registered to the bus (done in osso_initialize). BR, Kimmo On Wed, 2006-01-04 at 16:36, ext Celso Pinto wrote: Hi everyone, I installed a small application I'm developing on the 770 and noticed that it crashed a lot so the next thing I did was to install it as well in the (x86) SDK and run it there. I noticed that the application also crashed but only when I run it by using the menu entry. If I run the application from the command line using run-standalone.sh it doesn't crash. So I installed xterm in the 770 and also ran the application from the command line and the results are the same: the application doesn't crash if started on the command line. Debugging the application in the SDK, the gdb results are: Program terminated with signal SIGKILL, Killed. The program no longer exists. Any ideas about why does this happen? I think that this may be related to OSSO initialization, so here's how I initialize the application: int main(int argc, char **argv) { AppData appData; gtk_init(argc,argv); #ifdef MAEMO ossoCtx = osso_initialize(PACKAGE, PACKAGE_VERSION, FALSE, NULL); if (ossoCtx == NULL) return OSSO_ERROR; #endif load_resources(); create_gui(appData); gtk_main(); return 0; } Any comments are welcome. Cheers, Celso ___ 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
[maemo-developers] Quick query
Hiya - Just a quick query: having raised bug #332 (https://maemo.org/bugzilla/show_bug.cgi?id=332) a while ago, was there anything I should have done to it to progress it? I'm not complaining - just worried I haven't pushed the right button somewhere ... Cheers! jaycee -- | [EMAIL PROTECTED] | Shouldn't 'numeric' have a 'b' in it? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] using the Select button to turn text input on and off
Two applications, the VNC viewer and the X Terminal emulator, have bound the hardware Select/Confirm button to switching the text input on and off. Could someone familiar with this mechanism please explain how they're doing it? I've been all through the wiki and the osso-xterm source, but I have not been able to divine how it was done. It would be great to get this info out there so developers can use the same method when porting other apps. Sincerely,Jonathan Pearce-- Jonathan David Pearce [EMAIL PROTECTED]3EAAFB2A http://www.jonathan.pearce.name/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] non-maemo apps in toolbar
Because the 770 uses X11 I was interested in porting some X11 and fltk apps for fun. I compiled Ace of Penguins ( http://www.delorie.com/store/ace/ ) for the 770. Ace of Penguins is a X11 based card game suite that includes solitaire, freecell, taipei, and others. Basically it is the same thing I did with the Agenda VR3 with I got that years ago. So anyway, solitaire runs very fast (it is up and running as soon as the stylus leaves the screen) and is only 80K. But, it doesn't show up in the left toolbar when running. Which makes minimizing it kind of worthless. I have the X-HildonDesk-ShowInToolbar=true set in the .desktop file. Is there anything else I need to do? - mark -- A career is great, but you can't run your fingers through its hair. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
On Wed, 2006-01-04 at 17:43, Mark Arrasmith wrote: Because the 770 uses X11 I was interested in porting some X11 and fltk apps for fun. I compiled Ace of Penguins ( http://www.delorie.com/store/ace/ ) for the 770. Ace of Penguins is a X11 based card game suite that includes solitaire, freecell, taipei, and others. Basically it is the same thing I did with the Agenda VR3 with I got that years ago. So anyway, solitaire runs very fast (it is up and running as soon as the stylus leaves the screen) and is only 80K. But, it doesn't show up in the left toolbar when running. Which makes minimizing it kind of worthless. I have the X-HildonDesk-ShowInToolbar=true set in the .desktop file. Is there anything else I need to do? - mark Could be the icon size. Double-check that it is exactly 26x26. You can also try to monitor dbug messages with % dbus-monitr --system -Vlad -- _ Vladislav Grinchenko http://home.comcast.net/~3rdshift/ e-mail: [EMAIL PROTECTED] Focus on quality, and productivity will follow. _ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
It's important to note that even if you solve the problem of getting the icon to display in the task bar, a bigger problem exists when an attempt is made to run the software on the device itself. Since it isn't a GTK application, there will be no support for GTK input methods. Effectively, this means that users won't be able to input anything into the application besides mouse strokes and clicks. If the application is entirely mouse-driven, that might be okay, but in addition, it won't be a maemo application, and there will be other issues besides the lack of input methods. As a general rule, building and running strictly X applications isn't going to cut it on the 770, and a true port of a GUI application to the maemo platform requires some programming, quite possibly extensive programming if the original application is only written using X. One may note that the Porting Existing Application example on maemo.org demonstrates how to port an already existing _GTK_ application. Aaron On Wed, 4 Jan 2006, Vladislav Grinchenko wrote: On Wed, 2006-01-04 at 17:43, Mark Arrasmith wrote: Because the 770 uses X11 I was interested in porting some X11 and fltk apps for fun. I compiled Ace of Penguins ( http://www.delorie.com/store/ace/ ) for the 770. Ace of Penguins is a X11 based card game suite that includes solitaire, freecell, taipei, and others. Basically it is the same thing I did with the Agenda VR3 with I got that years ago. So anyway, solitaire runs very fast (it is up and running as soon as the stylus leaves the screen) and is only 80K. But, it doesn't show up in the left toolbar when running. Which makes minimizing it kind of worthless. I have the X-HildonDesk-ShowInToolbar=true set in the .desktop file. Is there anything else I need to do? - mark Could be the icon size. Double-check that it is exactly 26x26. You can also try to monitor dbug messages with % dbus-monitr --system -Vlad -- _ Vladislav Grinchenko http://home.comcast.net/~3rdshift/ e-mail: [EMAIL PROTECTED] Focus on quality, and productivity will follow. _ ___ 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
Re: [maemo-developers] non-maemo apps in toolbar
On 1/5/06, Aaron Levinson [EMAIL PROTECTED] wrote: It's important to note that even if you solve the problem of getting the icon to display in the task bar, a bigger problem exists when an attempt is made to run the software on the device itself. Since it isn't a GTK application, there will be no support for GTK input methods. Effectively, this means that users won't be able to input anything into the application besides mouse strokes and clicks. If the application is entirely mouse-driven, that might be okay, but in addition, it won't be a maemo application, and there will be other issues besides the lack of input methods. Er... what are exactly the other issues ?.. isn't it running linux + x11 after all ? Apart from the input methods that obviously won't work, possibly some other integration problem with matchbox (like this icon thing), and obviously anything dependant to the hardware or memory/cpu hungry.. Things /should/ work, no ? What am I missing ? -- Nicolas Roard Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
On Wednesday 04 January 2006 21:37, Vladislav Grinchenko wrote: On Wed, 2006-01-04 at 17:43, Mark Arrasmith wrote: I have the X-HildonDesk-ShowInToolbar=true set in the .desktop file. Is there anything else I need to do? Could be the icon size. Double-check that it is exactly 26x26. You can also try to monitor dbug messages with % dbus-monitr --system Is this the icon specified in the .desktop file (I just copied the lmarbles desktop file's icons)? Or the one within the application? - mark ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
On Wednesday 04 January 2006 21:53, Aaron Levinson wrote: Effectively, this means that users won't be able to input anything into the application besides mouse strokes and clicks. If the application is entirely mouse-driven, that might be okay, but in addition, it won't be a maemo application, and there will be other issues besides the lack of input methods. I've used things like xstroke and the keymacs keyboard app on tablet PC's as well as the Agenda VR3 ... so it did seem kind of strange how maemo was handling the keyboard. Thanks for the extra info. I suppose I can work around it for now by just porting keymacs to the 770. But, for card games I didn't need a keyboard anyway. As a general rule, building and running strictly X applications isn't going to cut it on the 770, and a true port of a GUI application to the maemo platform requires some programming, quite possibly extensive programming if the original application is only written using X. Just out of curiosity. Anyone know why this direction way chosen? It is easy enough to have an open system like the typical KDE, GNOME, XFCE, FLTK or whatever toolbar and keyboards like keymacs. Where all the running X11 apps show up and the software keyboard+HWR can write to them. I do this all the time on a tablet PC with an FLTK based keyboard+HWR (keymacs). And I can use KDE or gtk applications without any problem. Basically, why tie input so tightly to maemo? And on an X11 environment where you could run any application? - mark ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
What exactly are the other issues that I mentioned? Here's a list that is likely incomplete (and doesn't mention those issues already discussed): 1. Full screen support 2. Proper menus, toolbars, titles. For instance, the window for a maemo application, if properly coded, will always fit within the confines of 770's screen and take up as much space as possible. The menu will always be accessible from the menu drop-down (unless in full-screen mode) and the toolbar will always be found at the bottom of the screen (unless it is turned off). And the title of the window will always appear at the same spot. 3. Integration with libosso (refer to libosso APIs for more information). Although, I think it is possible to use libosso without the application being a GTK application. But of course, that requires additional coding. 4. And finally, behaving in a way that 770 users expect, based on the already existing software on the device and developed for the device. These other issues could be considered to be minor nitpicks depending on one's perspective (unlike the input method problem, which is a serious issue). Aaron On Thu, 5 Jan 2006, Nicolas Roard wrote: On 1/5/06, Aaron Levinson [EMAIL PROTECTED] wrote: It's important to note that even if you solve the problem of getting the icon to display in the task bar, a bigger problem exists when an attempt is made to run the software on the device itself. Since it isn't a GTK application, there will be no support for GTK input methods. Effectively, this means that users won't be able to input anything into the application besides mouse strokes and clicks. If the application is entirely mouse-driven, that might be okay, but in addition, it won't be a maemo application, and there will be other issues besides the lack of input methods. Er... what are exactly the other issues ?.. isn't it running linux + x11 after all ? Apart from the input methods that obviously won't work, possibly some other integration problem with matchbox (like this icon thing), and obviously anything dependant to the hardware or memory/cpu hungry.. Things /should/ work, no ? What am I missing ? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] non-maemo apps in toolbar
I think some answers can be found in the Maemo Development Platform White Paper, available at http://www.maemo.org/platform/docs/maemo_exec_whitepaper.html , and in the Hildon UI style guide, available at http://www.maemo.org/community/hildon_ui.html . Aaron On Wed, 4 Jan 2006, Mark Arrasmith wrote: On Wednesday 04 January 2006 21:53, Aaron Levinson wrote: As a general rule, building and running strictly X applications isn't going to cut it on the 770, and a true port of a GUI application to the maemo platform requires some programming, quite possibly extensive programming if the original application is only written using X. Just out of curiosity. Anyone know why this direction way chosen? It is easy enough to have an open system like the typical KDE, GNOME, XFCE, FLTK or whatever toolbar and keyboards like keymacs. Where all the running X11 apps show up and the software keyboard+HWR can write to them. I do this all the time on a tablet PC with an FLTK based keyboard+HWR (keymacs). And I can use KDE or gtk applications without any problem. Basically, why tie input so tightly to maemo? And on an X11 environment where you could run any application? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Application receives SIGKILL if executed through the menu
On 1/4/06, Kalle Vahlman [EMAIL PROTECTED] wrote: On 1/4/06, Celso Pinto [EMAIL PROTECTED] wrote: Hi Kalle, thanks for your insight. One more question though, in the service file, the service name should then be com.nokia.PACKAGENAME, right? It should be enough to just have PACKAGENAME there, the com.nokia part is appended if the name does not contain a dot. Worth noting: the osso_initialize() does not allow dots in the name. Bleh, it's of course required for the _SERVICE_ file. I thought you meant desktop :) -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers