Re: Muting the ring tone on incoming call on N900

2011-08-25 Thread Martin Grimme
Hi,

the phone mutes the ringing if you turn it face down while it rings.
Maybe you can capture this action with the D-Bus monitor.


Martin


2011/8/25, Miko Kiiski miko.kii...@vincit.fi:
 Hi!

 I'm trying to build an application that mutes the ring tone that is played
 when I receive a phone call. I have been browsing through the documentation
 and trying to find the dbus call for this purpose using dbus-monitor, but up
 til now, have had slim success.

 Thus far I have tried the following:

 I've tried to call the org.maemo.Playback.Manager
 /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute dbus
 method with the argument set to true. I have read the documentation from
 http://wiki.maemo.org/Dialer, and AFAIK it this should do just what I want.
 However if I call that method, nothing happens. Here is the command I've
 used:

 dbus-send --session --type=method_call --print-reply
 --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager
 org.maemo.Playback.Manager.RequestMute boolean:true

 Reply:
 method return sender=:1.2 - dest=:1.105 reply_serial=2

 After trying the approach above I tried to find something by monitoring
 dbus. I noticed that there is one interesting call made:

 method call sender=:1.74 - dest=com.nokia.HildonSVNotificationDaemon
 serial=73 path=/com/nokia/HildonSVNotificationDaemon;
 interface=com.nokia.HildonSVNotificationDaemon; member=StopEvent
int32 1

 I tried to call this method with dbus-send, but it had no effect either.
 Here's the dbus-send command I used:

 dbus-send --session --type=method_call --print-reply
 --dest=com.nokia.HildonSVNotificationDaemon
 /com/nokia/HildonSVNotificationDaemon
 com.nokia.HildonSVNotificationDaemon.StopEvent int32:1

 Reply:
 method return sender=:1.21 - dest=:1.104 reply_serial=2

 I have not found any other methods calls from the dbus-monitor logs and have
 not got any further ideas on what to try. Has anyone been successful at
 achieving this kind of behavior?

 Cheers,
 Miko Kiiski

 --
 View this message in context:
 http://maemo-community-mailing-lists.2589537.n2.nabble.com/Muting-the-ring-tone-on-incoming-call-on-N900-tp6724361p6724361.html
 Sent from the maemo-developers mailing list archive at Nabble.com.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Too much tinkering with the device?

2010-10-01 Thread Martin Grimme
2010/9/30, Sivan Greenberg si...@omniqueue.com:
 I wonder if we can try and debug it ? I have never experienced this in
 S60 for reference and I don't think this should go un noticed if it is
 a bug.

 Martin, what have you done on the device development wise ?

FM radio stuff, USSD code stuff and media playing stuff (GStreamer, MAFW).
Nothing of this is really related to the ear-piece.


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


Re: MADDE 'developer' account - good or bad?

2010-09-26 Thread Martin Grimme
Hi,

in my experience the separate developer account doesn't work for all
stuff out of the box. The developer account lacks membership in some
Unix groups the regular user is member of.


Regards,
Martin


2010/9/26, Thomas Waelti twae...@gmail.com:
 In my very limited personal experience from my first few hours with Qt
 Creator yesterday, I can already tell you that it doesn't help in security
 at all:
 I was browsing the example projects and decided to take a look at the
 calendar example. Debugging it on the device caused it to replace the
 in-built calendar...

 -Tom

 As many of you go, Nokia Qt SDK uses, through MADDE, a special
 'developer' account (with it's own home directory) to do stuff on the
 device

 That means that it doesn't use the information (databases etc.) stored
 in the users home directory. I'm gradually starting to feel this is a
 bad idea, that leads to subtle problems when developers are trying to
 pretend that they are running their application as default user (and
 hence have direct access to all the data user has).

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

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


Re: Audio Routing API

2010-04-30 Thread Martin Grimme
Hi,

alsamixer -c0
reveals a switch to route audio to the earpiece (I don't remember it's
exact name). I don't think you can route sound to the earpiece any
other way. Somebody please correct me if I'm wrong.


Martin


2010/4/28, saurabh aggarwal aggarwal.saur...@gmail.com:
 We are developing a VoIP application, and have it running for Maemo5 (using
 gstreamer/pulseaudio).

 The problem now is that the output being used is the speaker, and not the
 headphone/earpiece.

 I have tried a couple of things (which haven't worked) like -
 gst-launch pulsesrc device=source.voice ! pulsesink device=sink.voice
 (outputs voice from speaker)

 gst-launch pulsesrc  ! pulsesink device=sink.hw0 x-maemo.mode=hp (I get an
 error no element hp). Have tried the same with ihf.

 If someone can point me to the right direction, that would be really
 appreciated.

 -Saurabh

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


Re: Maemo Info Center library service released with first set of official maemo Fremantle 5 documentation

2010-04-16 Thread Martin Grimme
Hi,

Awesome! This is a great compilation of documentation.
I'm certain it will help make Maemo much more attractive to new developers.

*site bookmarked*

Keep up the good work!


Martin


2010/4/16, jarmo.ti...@nokia.com jarmo.ti...@nokia.com:
 Hi,

 The Maemo documentation infrastructure project has released new Maemo Info
 Center documentation service for Maemo platform. Together with Maemo Info
 Center service we released also the first set of official Maemo Fremantle 5
 documentation. More Fremantle 5 documentation will be updated to the Maemo
 Info Center service end of April.

 Maemo Info Center service is a developer documentation library that features
 a collection of current information relevant to Maemo developers, ranging
 from designers to programmers. Maemo Info Center service is available from
 this URL http://library.maemodocs.nokia.com/.

 The Maemo Info Center service is your source for technical information about
 Maemo platform releases and related development tools. Additional
 documentation can be found from maemo.org wiki (http://wiki.maemo.org) and
 individual open source technology projects.

 Maemo.org wiki will have all same tutorials available as Maemo Info Center
 so that Maemo community members are able to contribute and develop Maemo
 documentation further. See http://wiki.maemo.org/Documentation for wiki
 versions.

 All documents published in Maemo Info Center will be available as separate
 downloadable archives as HTML documents (and in most cases also as PDF
 documents) for those who want to access and read Maemo documentation
 locally.

 Use this URL for Maemo 5 Fremantle documentation
 (http://library.maemodocs.nokia.com/fremantle/).
 Use this URL for separate documentation downloads
 (http://library.maemodocs.nokia.com/documents/).

 *
 Maemo Info Center service has now following set of Maemo Fremantle 5
 documentation.

 Maemo 5 Qt Documentation
 - Qt 4.5.2 Reference Documentation (community edition for pre PR1.2
 releases)
 - Qt 4.6.2 Reference Documentation

 Maemo 5 SDK Documentation
 - Maemo 5 API documentation
   - C APIs
   - C++ APIs

 Maemo 5 Tutorials
 - Maemo C++ Tutorial

 *
 We will continue updating following documents to the Maemo Info Center
 service during next couple of weeks. All tutorials are already available as
 separate downloadable archives in PDF and HTML format.

 Maemo 5 Tutorials
 - Maemo Eclipse Tutorial
 - Maemo PC Connectivity Tutorial
 - Maemo Flasher-3.5 Tutorial
 - Maemo SDK Virtual Image Tutorial
 - Maemo For Symbian Developers Guide
 - Maemo Documentation Guidelines

 Maemo 5 SDK Documentation
 - Maemo Hildon 2.2 UI Style
 - Maemo Hildon 2.2 UI Usage
 - Maemo Hildon 2.2 Widget UI Style
 - Maemo Hildon 2.2 Widget UI Usage

 If you find any problems related to Maemo Info Center service or documents
 it contains please report those as bugs to the Maemo Bugzilla. Or just fix
 documentation problems directly to the Maemo.org wiki as most tutorials are
 already available there (http://wiki.maemo.org/Documentation :).

 Happy reading...

 Cheers,
 //Jarmo Tikka


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


Re: Re: Promotion

2010-04-08 Thread Martin Grimme
Thanks a lot, Niels!

I can confirm that it's working fine, now. Allowing long lines was a
good choice IMHO, as it seems that quite a few packages have their
icons displayed now, which didn't show one before.


Martin


2010/4/7, George Kibardin george-kibar...@yandex.ru:

 It works now! Thank you!

 07.04.10, 15:07, Niels Breet ni...@maemo.org:

 On Sun, April 4, 2010 20:42, George Kibardin wrote:
   Hi everybody,
  
  
   It seems that I missed something. Suddenly I cannot promote the latest
   version of my app from diablo extras-devel to diablo extras. I've read
   this http://wiki.maemo.org/Uploading_to_Extras, tried this
   https://garage.maemo.org/promoter/diablo and still no luck. I see my
 app
   in extras-devel, but there is nothing like promote button.


  The promote link is found on the armel version page of your application:

 http://maemo.org/packages/package_instance/view/diablo_extras-devel_free_armel/feedcircuit/0.7.6-2/

  The link doesn't show because you are not using one of the sections
 listed
  in http://wiki.maemo.org/Package_Categories
  
   P.S. I see that for Fremantle promotion process is more complex, but I
   still cannot get the idea - what to do to initiate promotion process?

  Same thing. Go to the armel version of the package in fremantle
  extras-devel and click on promote.

  
   Best,
   George

  --
  Niels Breet
  maemo.org webmaster




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

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


Re: Promotion

2010-04-07 Thread Martin Grimme
Hi,

same here, so it might be a general problem with the Diablo promoter.
Besides taking 9 days for the package interface to recognize that a
package has been updated, and then complaining that the package didn't
have a proper description (which it certainly has). The package icon
is not imported, either.
Please somebody look at the Diablo package interface to see what's going wrong.
For information, my stuck Diablo package is 'fmradio-player 2010.03.20-2'.


Regards,
Martin


2010/4/4, George Kibardin george-kibar...@yandex.ru:
 Hi everybody,

 It seems that I missed something. Suddenly I cannot promote the latest
 version of my app from diablo extras-devel to diablo extras. I've read this
 http://wiki.maemo.org/Uploading_to_Extras, tried this
 https://garage.maemo.org/promoter/diablo and still no luck. I see my app in
 extras-devel, but there is nothing like promote button.

 P.S. I see that for Fremantle promotion process is more complex, but I still
 cannot get the idea - what to do to initiate promotion process?

 Best,
 George
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: phone case?

2010-03-19 Thread Martin Grimme
Hi,

The original HTC Dream/G1 case fits the N900 perfectly. Maybe it's on
sale separately, too. I don't know.


Martin


2010/3/18, Christopher Intemann intem...@gmail.com:
 On Thu, Mar 18, 2010 at 6:26 PM, Eero Tamminen
 eero.tammi...@nokia.comwrote:

 Hi,


 ext Christopher Intemann wrote:

 I'm looking  for a nice case for the N900.
 It should not noticeable thicken the device, since the N900 is quite big
 already. Leather is ok, but anything else would be fine as well.
 And, I will absolutely not wear the phone on my belt, so, no need for
 clips or anything like that.
 Thanks for recommendations.


 Make sure that it doesn't have magnets, see:
https://bugs.maemo.org/show_bug.cgi?id=8235

 (That should be mentioned in documentation
 somewhere, but who reads them?)


 Wow. Amazing. Thanks!
 Chris

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


Re: How do I get my own phone number?

2010-03-17 Thread Martin Grimme
You can retrieve the phone number via a CUSD request *135#.
/usr/bin/pnatd provides a tool for sending CUSD requests and AT
commands in general. This may not be supported by all operators,
though.


Regards,
Martin


2010/3/17, Cláudio Sampaio pat...@gmail.com:
 2010/3/17 Frédéric Ledain frederic.led...@onmobile.com


  Is this a software or hardware limitation? My previous mobile phones
 showed me the number correctly when I inserted a new chip.

 AFAIK, no API gives the SIM phone number, as this is an information
 which belongs to the mobile operator.
 Actually, the correspondance IMSI - SIM phone number is made at mobile
 operator side.

 I think that anti-theft mecanism can securely be based on IMSI swap
 detection.
 Phone number doesn't add any valuable information in this context.


 Agreed, but try not to think as much as a software engineer and think as a
 simple user. Some people just forget their number - and it's useful if they
 can see it on the mobile, for telling other people. Some people carry a few
 SIMs around, and this information - the phone number - is useful to them.

 It might be that regular mobile phones use some kind of workaround to get
 this information - like, say, getting the destination number when they get a
 call - but nevertheless it is useful information that can be show to the
 user.

 So, really, no way to get it from the OS data?

 Best regards,
 --
 Cláudio Patola Sampaio
 IRC: ptl  - Yahoo: patolaaa
 Campinas, SP - Brazil.

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


Re: music player with .lrc support !

2010-03-16 Thread Martin Grimme
Hi,

I have already written a LRC parser with support for enhanced LRC
format in Python for MediaBox some time ago. Maybe you will find this
helpful for a starting point.

Personally, I think it's too small for a 3 month project, though.
However getting LRC parsing into gstreamer or MAFW for use by the
Nokia media player would be a fine challenge for three months, IMHO.
But since the Nokia media player is closed source, it would be kinda
hard to make it display lyrics. An alternative would be a widget
similar to the TuneWiki widget, or a separate application for
displaying the lyrics (which, IMHO, would be too small for a 3-month
project, though).

Just my 2 ¢


Martin


2010/3/16, anky ankurdn...@gmail.com:
 i was browsing through the wish list and saw this requirement out there. I
 was thinking on working over this so i thought of discussing it with the
 community. Also can this be added in the gsoc ideas list, or is it too small
 for  a 3 month project ?


 --
 ANKY

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


Re: N810 upgrades

2010-02-24 Thread Martin Grimme
Hi,

the N810 supports over-the-air updates since Diablo OS. So there's no
need for flashing for an update.

Maemo5 does not run on the N810. The closest you can get is the
alternative Mer OS which tries to backport Maemo5 stuff onto a Ubuntu
based OS running on the N810. It's still in an early stage, though.


Martin


2010/2/25, Demetris demet...@ece.neu.edu:

 Never mind on the first question _ I think this is the link:
 https://www.nokiausa.com/get-support-and-software/product-support/nokia-n810-wimax/software

 However, any hints on the second question below? Also is the only way to
 upgrade the
 tables via USB connectivity? Can it be done over WiFi?

 Thanks again

 Hi all,

A while back I upgraded my N800 to a newer versions of Maemo (Diablo)
 and I just got an N810 that I want to upgrade as well. First off I
 don't remember
 the procedure I followed to upgrade my N800 so if anyone has a link
 to some
 docs on this I will appreciate it. Second, is Maemo 5 runnable on the
 N810 or
 should I try for previous versions?

 Thanks very much in advance


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

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


Re: show existing StackableWindow second time

2010-02-16 Thread Martin Grimme
You need to connect to the delete-event of the subwindow and invoke
hide() in there to hide the window. Your delete callback must return
True to signalize that the windows is not to be destroyed.


Martin


2010/2/16, Max Usachev maxusac...@gmail.com:
 Hello!
 Please, help me with hiding stackable window.
 My app has Main mode and submodes.
 Each submode = class instance + its UI. Each mode has Activate method:
 if class instance is exists, then activate method must only show mode
 UI, else, if there is no instance, method must create class instance and
 its UI and show this UI. This is my code, and I can't show UI of
 existing mode second time:

 import gtk
 import hildon

 class SubMode:
  def __init__(self):
  self.window = None

  def activate(self):
  if not self.window:
  self.window = hildon.StackableWindow()
  self.window.set_title(SubMode)
  self.window.show_all()

 class TestApp():
  def __init__(self):
  self.window = None
  self.submode_object = None
  self.create_ui()

  def create_ui(self):
  Create Main mode UI.
  self.window = hildon.StackableWindow()
  self.window.set_title('Main mode')
  self.window.connect('destroy', gtk.main_quit)
  vbox = gtk.VBox()
  button = hildon.Button(gtk.HILDON_SIZE_AUTO, \
  hildon.BUTTON_ARRANGEMENT_VERTICAL)
  button.set_title(Activate SubMode)
  button.connect('clicked', self.activate_submode)
  vbox.pack_start(button)
  self.window.add(vbox)
  self.window.show_all()

  def activate_submode(self, widget):
  Show submode.
  if not self.submode_object:
  self.submode_object = SubMode()
  self.submode_object.activate()


 if __name__ == __main__:
  TestApp()
  gtk.main()



 Br,
 Max Usachev.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: MeeGo

2010-02-15 Thread Martin Grimme
Hi,

 But packaging is a whole part of a good user experience. Bad packaging
 means *bad* user experience, trust me.

I think this is the real problem about rpm here. Technically, I think
rpm is superior to deb but Debian's apt is still unmatched as a
package manager and the packagers do a better job (maybe because deb
is easier to create?). I haven't used yum for years, so it might be
better today, but back then (2004/2005), badly packaged stuff with bad
dependencies and the utter slowness of yum drove me away from Redhat.

I was involved in a project creating a Linux LiveCD builder based on
Fedora for customer-customisable CDs. The user selects the
applications she wants on the CD and the CD builder automatically
resolves the package dependencies to build the CD. While in theory
this idea was great and should easily be doable, we faced a lot of
dependency-resolving problems with the original Fedora packages.
Eeventually, we gave up on using yum for dependency-resolving and
tried to implement our own algorithms (or should I say heuristics?)
for resolving dependencies.
rpm is very complex and allows for a lot of things that deb simply
doesn't have. This makes it very hard to handle correctly.

I have also ported Redhat's Anaconda installer to work with gentoo's
emerge system for VidaLinux OS a few years ago. It's really hard stuff
as rpm is so complex and badly documented. There are magic numbers and
flags everywhere and this stuff is used. Redhat has a tradition of
making simple things very complex (I would call it obfuscated open
source, open source yes, but you rather don't dare touch it). Working
with Redhat's code is a tedious task.

OTOH, any maybe MeeGo will positively surprise me, rpm can be as
simple and reliable as deb.

Just my 2¢


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


Re: tiny /tmp

2010-01-29 Thread Martin Grimme
Hi,

/tmp is a RAM disk, so you better not put big files there.
I'd suggest to use the 32 GB flash for storing these.
/home/user/MyDocs/.your-app-name

I see there is already a tmp directory in MyDocs. Where did this come
from? Does it belong to the eMMC fs image or did some app create it?


Martin


2010/1/29, Thomas Tanner tan...@gmx.de:
 Hello,

 /tmp on the device is only about 1MB small.
 I have an application which sometimes needs to create tmp files
 which are 1MB.

 Whst would be best and standard directory to store such files?
 I guess it should be somewhere on the eMMC,
 e.g. /opt/tmp, /home/tmp, /home/var/tmp, /home/user/.tmp

 What do you think?

 --
 Thomas Tanner --
 email: tan...@gmx.de
 GnuPG: 1024/5924D4DD
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: O2 Germany - Homezone?

2010-01-18 Thread Martin Grimme
Hi,

I don't think so, but this could be handled by a desktop widget if
anybody with O2 Germany contract volunteers to write it.


Martin


2010/1/18, Christopher Intemann intem...@gmail.com:
 Hi,

 does the Nokia N900 display the homezone-symbol with O2 Germany simcards?
 Thanks,

 Chris

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


Re: Proper location of Kernel modules

2010-01-18 Thread Martin Grimme
Hi,

it sounds like that the NTFS and UTF-8 are optional dependencies for
wizardmounter.
I would put them into a non-user category and provide a meta-package
depending on these visible in the user/* category. The meta-package
could be named something like NTFS support for Wizardmounter and
TrueCrypt. IMHO there's no point in advising it as global NTFS
support for the N900 as other applications cannot make use of it by
default.

Just my 2¢.


Martin

2010/1/19, Nathan Anderson nat...@andersonsplace.net:

   Over the last week or so, I've uploaded three different Kernel
 Modules; Cifs, NTFS, and NLS_UTF8.   I had stuck them in the proper user/*
 categories but was questioning if I should (Cifs, should be a prereq of
 Wizard Mounter, so it won't have to be found by a end user to install it).


   But the other two are modules that are only rarely asked for (NTFS -
 Ability to access Windows NT File Systems, and NLS_UTF8 is used by file
 drivers for UTF8 support).

  Should they be put in a real user/* category to be easily found and
 installed or should they be basically hidden so only experts who run
 apt-get can get it?   What do you all think?

   I also could put NLS_UTF8 as a pre-req of Cifs, but it is only
 required if you want to use UTF8 volume mounting, otherwise it isn't needed
 or loaded.
   I also could put NTFS as a pre-req of TrueCrypt, since off the top
 of my head it is the only item currently that can need access to NTFS
 volumes.

 Nathan

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

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


Re: Proper location of Kernel modules

2010-01-18 Thread Martin Grimme
Another benefit of one meta-package would be that testers will only
have to rate one package for you to promote the kernel modules to
extras/maemo.org.


Martin

2010/1/19, Martin Grimme martin.gri...@gmail.com:
 Hi,

 it sounds like that the NTFS and UTF-8 are optional dependencies for
 wizardmounter.
 I would put them into a non-user category and provide a meta-package
 depending on these visible in the user/* category. The meta-package
 could be named something like NTFS support for Wizardmounter and
 TrueCrypt. IMHO there's no point in advising it as global NTFS
 support for the N900 as other applications cannot make use of it by
 default.

 Just my 2¢.


 Martin

 2010/1/19, Nathan Anderson nat...@andersonsplace.net:

  Over the last week or so, I've uploaded three different Kernel
 Modules; Cifs, NTFS, and NLS_UTF8.   I had stuck them in the proper
 user/*
 categories but was questioning if I should (Cifs, should be a prereq of
 Wizard Mounter, so it won't have to be found by a end user to install
 it).


  But the other two are modules that are only rarely asked for (NTFS -
 Ability to access Windows NT File Systems, and NLS_UTF8 is used by file
 drivers for UTF8 support).

  Should they be put in a real user/* category to be easily found and
 installed or should they be basically hidden so only experts who run
 apt-get can get it?   What do you all think?

  I also could put NLS_UTF8 as a pre-req of Cifs, but it is only
 required if you want to use UTF8 volume mounting, otherwise it isn't
 needed
 or loaded.
  I also could put NTFS as a pre-req of TrueCrypt, since off the top
 of my head it is the only item currently that can need access to NTFS
 volumes.

 Nathan

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


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


Re: Optification creates link-loop

2010-01-12 Thread Martin Grimme
Hi,

Is there not a way for your app to directly install it into /opt
without all that optification black magic?
./configure --prefix=/opt/conboy
perhaps?


Martin


2010/1/12, Jeff Moe m...@blagblagblag.org:
 On Tuesday 12 January 2010 10:56:16 you wrote:
 Jeff Moe wrote:
  https://bugs.maemo.org/show_bug.cgi?id=7707

 That´s exactly it Jeff. Thanks for the hint!
 The questions are now: Is there a known work-around?

 Either optify by hand or turn off optification until the bug gets fixed:
 echo none  debian/optify

 Will it get fixed
 in maemo-optify soon?

 Nokia doesn't comment about future plans or somesuch.  ;)   That said, I'm
 surprised it's not fixed already as they seem to be close to automatically
 optifying by default everything submitted to the builder.

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

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


Re: FM RDS data

2010-01-07 Thread Martin Grimme
Hi,

I would imagine that the signal strength can be read using V4L2
interface on /dev/radio0.
I was able to set frequency with this interface and IIRC I also read
signal strength from it already at a time when I was thinking that
/dev/radio0 was the FM _receiver_.


Martin


2010/1/7, Simon Pickering s.g.picker...@bath.ac.uk:

  I'm thinking of a small usage, a app that found the freest frequency
  (by listening fm with the transmitter) and change the frequency of
  transmitted music to the found one and send an rds signal by the
  transmitter, so you don't have to change frequency on your
 car receiver (or everything else).

 Great to hear this, I was thinking of trying something similar when I had
 some time. The FM transmitter also has a basic receiver built in (afair from
 the spec sheet), i.e. not the one that is built into the Bluetooth chip that
 is used to listen to the radio, which I imagine is designed for just such a
 usage (I think it just returns a signal level for each frequency, but I'd
 have to take another look at the sheet to be sure) does anyone know if we
 can access this at the moment?

 Cheers,


 Simon

 -Original Message-
 From: maemo-developers-boun...@maemo.org
 [mailto:maemo-developers-boun...@maemo.org] On Behalf Of Martin Grimme
 Sent: 07 January 2010 07:23
 To: Benoît HERVIER
 Cc: maemo-developers@maemo.org; Aldon Hynes
 Subject: Re: FM RDS data

 Hi,

 yes, RDS PS and RDS RT can be modified. See

 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Us
 ing_Multimedia_Components/FM_Transmitter_API_Usage


 Martin


 2010/1/7, Benoît HERVIER kher...@khertan.net:
  About FM and RDS modifying RDS signal transmited from the tablet is
  possible ?
 
  I'm thinking of a small usage, a app that found the freest
 frequency
  (by listening fm with the transmitter) and change the frequency of
  transmitted music to the found one and send an rds signal by the
  transmitter, so you don't have to change frequency on your
 car receiver (or everything else).
 
  I know that fm transmitter emit an rds signal ... but can
 that be changed ?
 
  Does there is documentation about the fm transmitter and receiver
  somewhere on Maemo ?
 
  Thanks a lot
 
  2010/1/6 Martin Grimme martin.gri...@gmail.com
 
  Hi,
 
  the FM receiver's interface for RDS is exposed via sysfs. So any
  application can read RDS data from it.
  The frequency bands the receiver is capable of are US/EUR (87.5 -
  108.00 MHz) and Japan (don't remeber, but I think starts
 somewhere at
  70 MHz). A region switch in the driver (sysfs-Interface
 again but as
  root) switches between the frequency bands.
 
 
  Martin
 
 
  2010/1/6, Aldon Hynes aldon.hy...@orient-lodge.com:
   I have been approached by a person interested in sending
 data from
   a
  sensor
   via FM to a cellphone which would in term transmit this
 data to the
   Internet.  I am interested in figuring out if this is something
   that
  could
   be done with an N900.  With that, I have a few specific
 questions:
  
   First, can anyone point me to information about how to
   programatically receive RDS data?  I've read that the FM receive
   app is supposed to do
  that,
   but I haven't managed to receive RDS data that way yet,
 and I don't
   have
  the
   source code.
  
   Second, does anyone have any idea what frequencies the
 FM receiver
   can
  tune
   into?  The programs I've seen have focused on the traditional
   commercial
  FM
   band, 88 Mhz to 106 Mhz.  Can the FM receiver tune in higher or
   lower frequencies?  If so, what is the real frequency
 range of the
   FM Receiver.
  
   Third, are there other data formats that can easily be
 sent and/or
  received
   from the Nokia phone?  If so, can people point me to any
 of these
   other
  data
   formats?
  
   Any help you can provide would be greatly appreciated.
  
   Aldon
  
   ___
   maemo-developers mailing list
   maemo-developers@maemo.org
   https://lists.maemo.org/mailman/listinfo/maemo-developers
  
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers
 
 
 
 
  --
  Benoît HERVIER - http://khertan.net/
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers



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


Re: oFono

2010-01-06 Thread Martin Grimme
Hi,

I wonder if you really need a laptop for making calls. The program
pnatd gives you tty to a modem where you can send AT commands. I'm
using it to send USSD codes.


Martin


2010/1/6, Jeff Moe m...@blagblagblag.org:
 I've written up some quick and dirty docs on using ofono with your N900:

 http://wiki.maemo.org/User:Jebba/Ofono

 It works, but you'll need to carry around a laptop with you if you want to
 make calls.

 -Jeff

 P.S. Reposted from talk.m.o since many of you probably don't check forums.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: FM RDS data

2010-01-06 Thread Martin Grimme
Hi,

the FM receiver's interface for RDS is exposed via sysfs. So any
application can read RDS data from it.
The frequency bands the receiver is capable of are US/EUR (87.5 -
108.00 MHz) and Japan (don't remeber, but I think starts somewhere at
70 MHz). A region switch in the driver (sysfs-Interface again but as
root) switches between the frequency bands.


Martin


2010/1/6, Aldon Hynes aldon.hy...@orient-lodge.com:
 I have been approached by a person interested in sending data from a sensor
 via FM to a cellphone which would in term transmit this data to the
 Internet.  I am interested in figuring out if this is something that could
 be done with an N900.  With that, I have a few specific questions:

 First, can anyone point me to information about how to programatically
 receive RDS data?  I've read that the FM receive app is supposed to do that,
 but I haven't managed to receive RDS data that way yet, and I don't have the
 source code.

 Second, does anyone have any idea what frequencies the FM receiver can tune
 into?  The programs I've seen have focused on the traditional commercial FM
 band, 88 Mhz to 106 Mhz.  Can the FM receiver tune in higher or lower
 frequencies?  If so, what is the real frequency range of the FM Receiver.

 Third, are there other data formats that can easily be sent and/or received
 from the Nokia phone?  If so, can people point me to any of these other data
 formats?

 Any help you can provide would be greatly appreciated.

 Aldon

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

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


Re: FM RDS data

2010-01-06 Thread Martin Grimme
Hi,

yes, RDS PS and RDS RT can be modified. See

http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/FM_Transmitter_API_Usage


Martin


2010/1/7, Benoît HERVIER kher...@khertan.net:
 About FM and RDS modifying RDS signal transmited from the tablet is possible
 ?

 I'm thinking of a small usage, a app that found the freest frequency (by
 listening fm with the transmitter) and change the frequency of transmitted
 music to the found one and send an rds signal by the transmitter, so you
 don't have to change frequency on your car receiver (or everything else).

 I know that fm transmitter emit an rds signal ... but can that be changed ?

 Does there is documentation about the fm transmitter and receiver somewhere
 on Maemo ?

 Thanks a lot

 2010/1/6 Martin Grimme martin.gri...@gmail.com

 Hi,

 the FM receiver's interface for RDS is exposed via sysfs. So any
 application can read RDS data from it.
 The frequency bands the receiver is capable of are US/EUR (87.5 -
 108.00 MHz) and Japan (don't remeber, but I think starts somewhere at
 70 MHz). A region switch in the driver (sysfs-Interface again but as
 root) switches between the frequency bands.


 Martin


 2010/1/6, Aldon Hynes aldon.hy...@orient-lodge.com:
  I have been approached by a person interested in sending data from a
 sensor
  via FM to a cellphone which would in term transmit this data to the
  Internet.  I am interested in figuring out if this is something that
 could
  be done with an N900.  With that, I have a few specific questions:
 
  First, can anyone point me to information about how to programatically
  receive RDS data?  I've read that the FM receive app is supposed to do
 that,
  but I haven't managed to receive RDS data that way yet, and I don't have
 the
  source code.
 
  Second, does anyone have any idea what frequencies the FM receiver can
 tune
  into?  The programs I've seen have focused on the traditional commercial
 FM
  band, 88 Mhz to 106 Mhz.  Can the FM receiver tune in higher or lower
  frequencies?  If so, what is the real frequency range of the FM
  Receiver.
 
  Third, are there other data formats that can easily be sent and/or
 received
  from the Nokia phone?  If so, can people point me to any of these other
 data
  formats?
 
  Any help you can provide would be greatly appreciated.
 
  Aldon
 
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




 --
 Benoît HERVIER - http://khertan.net/

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


Re: Unmap default action of hardwarbuttons [was Fremantle fullscreen mode]

2010-01-01 Thread Martin Grimme
Hi,

you have to set an XAtom on your window. This is how I do it in Python:

self.__window.window.property_change(_HILDON_ZOOM_KEY_ATOM,
 XA_INTEGER, 32,
 gtk.gdk.PROP_MODE_REPLACE,
 [1])


Martin


2010/1/1, ds d...@physik.de:

 Cornelius Hald gave the following tip:
 They key constants for the +/- keys are the same as on Diablo. But
 before you can use them you first have to unmap the default action,
 which is sound volume up/down.

 How do I unmap the default action?? I could not find it in the
 documentation:-(

 Thanks a lot

 Detlef

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

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


Re: Installing upstart files in packages

2009-12-25 Thread Martin Grimme
Hi,

my package n900-fmrx-enabler installs an upstart file.
I'm simply installing the upstart script into /etc/event.d and handle
the first startup in the postinst script.

You may want to check
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/?root=fmrx-enabler

Please note that the syntax of upstart scripts is a lot different than
init.d scripts. But it's perfectly possible to keep the init.d script
and add an upstart script that just invokes the init.d script
properly.


Martin


2009/12/25, Tony Green ma...@beermad.org.uk:
 Apologies if this has been asked / answered before (I can't find an answer
 in the archives, but that may just mean I'm not searching right).

 What's the best way to get my upstart job definition files installed in the
 right place when a package is installed? The debian directory has an init.d
 file that gets put in the right place, but no obvious file for upstart
 files.

 Is there a mechanism that will put it where it needs to go, or do I need to
 write it from postinstall?

 I'd like to get this right, preferably first time...

 Thanks
 --
 Tony Green
 Ipswich, Suffolk, England
 www.beermad.org.uk/
 www.suffolkcamra.co.uk/pubs/
 My PGP public key: www.beermad.org.uk/cgi-bin/pgp.cgi

 * No Micro$oft products were used in the generation of this communication
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: GStreamer playbin2 and Silent mode on the N900

2009-12-19 Thread Martin Grimme
Hi,

same with FM radio, Zoutube, MediaBox and any other app playing sound
through GStreamer.

Am I supposed to close bug https://bugs.maemo.org/show_bug.cgi?id=7121
as WONTFIX because Nokia doesn't want to tell us how it is done?

I've compared the mixer settings between normal and silent mode and
there is no difference visible.


From a QA sheet:

 25. Application feature interaction with profiles (general and silent)
 Failed
 #006 Audio from FM radio disappears after changing from General to Silent 
 profile.

Nokia is expecting our apps to comply with a policy that is completely
undocumented?


Martin


2009/11/24, Thomas Perl th.p...@gmail.com:
 Hello!

 When the N900 is in silent mode, music played through playbin2
 using GStreamer is also muted, so one has to switch to the
 General profile in order to listen to music. The built-in media
 player is not affected by this, so is there a way to set my playbin2
 to not be muted when the phone has the silent profile activated?

 In my case, it's a third-party media player, so the user pretty likely
 wants to listen to music when using it, independent of the selected
 profile (Silent, General).

 Thanks,
 Thomas
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: which toolkit/framework is best for Game UI

2009-12-13 Thread Martin Grimme
If you're just displaying points, positions, and simple animations,
then Gtk or Qt should be OK. Qt is the future of Maemo, anyway.

You might also consider taking a look at the Python UI framework that
is currently used by MediaBox and FM Radio. It's based on low-level
Gdk but has all the work done needed for widgets and simple 2D
animations. On the other hand, it's work in progress without a stable
API.
As a bonus, your animations will work on N8x0 and maybe even the 770, too.


Martin


2009/12/12, Keywan Najafi Tonekaboni li...@prometoys.net:
 Hi,

 we try to create a UI for a game. The game itself isn't on the display,
 but we want to visualize earned points, positions (like in a race) etc
 including simple animations on the display.

 Can we still use Gtk or Qt? What's about cairo or pygame?

 - Gtk seems somehow unflexible (more for good classical UI)
 - Qt: PyQt not available, PySide status unclear
 - PyGame: seems flexible, but maybe not comfortable, or?
 - Cairo: looks interesting, but can we build a complete UI with it?

 (Ah, yes, we would prefer Python, but this is not mandatory)

 At the moment we face the problem, that we want put a picture in the
 background and use buttons in the foreground (like in the Mauku-UI). But
 also we want do some animations..

 Grateful for any hints...

 Thanks,

 Keywan




 --
 Keywan Najafi Tonekaboni m...@prometoys.net
 http://blogs.nokia.com/pushn900/category/solderin-skaters/


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

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


Re: which toolkit/framework is best for Game UI

2009-12-13 Thread Martin Grimme
Hi Keywan,

The SVN repo on garage is not down.

svn checkout https://garage.maemo.org/svn/fmradio

or

svn checkout https://garage.maemo.org/svn/mediabox

FM radio might be easier to get the idea of how to use the framework
because it's a lot less code than MediaBox. If you need help, just ask
me. :)


Martin



2009/12/13, Keywan Najafi Tonekaboni li...@prometoys.net:
 Hi Martin,

 Am Sonntag, den 13.12.2009, 11:02 +0100 schrieb Martin Grimme:
 You might also consider taking a look at the Python UI framework that
 is currently used by MediaBox and FM Radio. It's based on low-level
 Gdk but has all the work done needed for widgets and simple 2D
 animations. On the other hand, it's work in progress without a stable
 API.
 As a bonus, your animations will work on N8x0 and maybe even the 770, too.

 where can I get more information about mediabox. garage is still down
 (projectpage) and I couldn't find a reference.

 Thanks,

 Keywan




 --
 Keywan Najafi Tonekaboni m...@prometoys.net
 http://blogs.nokia.com/pushn900/category/solderin-skaters/



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


Re: Any new information on Developer Device Program?

2009-12-09 Thread Martin Grimme
I did absolutely nothing but wait and just received the shipping
confirmation. It's all fine.


Martin


2009/12/9, Eugene Antimirov tur...@gmail.com:
 On Wed, Dec 9, 2009 at 12:53 PM, Quim Gil quim@nokia.com wrote:
 ext Eugene Antimirov wrote:
 Quim, can you confirm that old orders are still valid and it's just a
 notification email we got?

 If you have questions please contact the email address of the device
 program, as explained in the invitations sent. Thanks!

 Thank you for the suggestion, Quim. I wrote an email to them and they
 replied almost immediately:

 Hi
 No, you don't need to re-order, the one you made is just fine.
 Thank you
 

 --
 Sincerely,
 Eugene
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Any new information on Developer Device Program?

2009-12-09 Thread Martin Grimme
Well, of course I ordered back in November, but since then did nothing. ;)


Martin


2009/12/9, Aniello Del Sorbo ani...@gmail.com:
 You mean you did not even order (and paid) ? :)
 Just waited and they shipped it to you? :P

 I wish! :)

 Aniello

 2009/12/9 Martin Grimme martin.gri...@gmail.com:
 I did absolutely nothing but wait and just received the shipping
 confirmation. It's all fine.


 Martin


 2009/12/9, Eugene Antimirov tur...@gmail.com:
 On Wed, Dec 9, 2009 at 12:53 PM, Quim Gil quim@nokia.com wrote:
 ext Eugene Antimirov wrote:
 Quim, can you confirm that old orders are still valid and it's just a
 notification email we got?

 If you have questions please contact the email address of the device
 program, as explained in the invitations sent. Thanks!

 Thank you for the suggestion, Quim. I wrote an email to them and they
 replied almost immediately:

 Hi
 No, you don't need to re-order, the one you made is just fine.
 Thank you
 

 --
 Sincerely,
 Eugene
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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




 --
 anidel
 Sent from London, Eng, United Kingdom

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


Re: Upgrade Description and Package Interface fun

2009-11-18 Thread Martin Grimme
No, this is not an option IMHO, because the Upgrade Description would
tell about things not present in the current version in extras. This
only generates confusion.

As long as this critical bug exists, Upgrade Description must not be
considered mandatory for package updates in the extras-testing QA.
Hopefully this bug gets fixed, soon.


Martin


2009/11/18, Graham Cobb g+...@cobb.uk.net:
 On Tue, Nov 17, 2009 at 08:11:35AM +0100, Martin Grimme wrote:
 https://bugs.maemo.org/show_bug.cgi?id=6187

 ?

 As long as this bug exists, I won't use the upgrade description field
 anymore.

 It is a serious bug (nothing that happens in extras-testing should ever
 affect the Downloads view which needs to be built from Extras only).  But it
 seems like a mistake not to use the upgrade description.

 Packages which have a released version in Extras need to have an Upgrade
 Description.  I would tend to assume the bug will be fixed and create the
 Upgrade Description to avod a tester making me down for not having an
 Upgrade Description.  While the bug exists you could always make sure the
 Upgrade Description also contains enough information to tell someone who
 does not have it installed what it does.

 Graham

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


Re: Bug#6203, rotation and OHMD

2009-11-18 Thread Martin Grimme
How about another XAtom (since we already have so many on Maemo ;) )
on the application window, saying I rotate well and quickly. ?

The ohmd could take care of this atom and refrain from freezing the
app during rotation, iff it is the currently visible one.

Of course applications could lie about their rotation capabilities,
but that's what we have the extras-testing QA for.


Martin


2009/11/18, Eero Tamminen eero.tammi...@nokia.com:
 Hi,

 ext Eugene Antimirov wrote:
 It handles also audio policies and tries to make sure that you get
 your phone calls when the device is heavily loaded and some other
 minor things.

 Just to know.
  
 I see now this `ohmd` process in my 41-10. I did not get it, was this
 daemon improved or made worse in new firmware released lately?

 Better for known (pre-installed) applications, worse for unknown
 applications.  The reason for this is that unknown applications have
 unknown resource usage so system policy treats them with more care.


 It's a bit of a chicken and egg problem.  Changing the policy is slow
 iterative work requiring lots of testing that the policy change doesn't
 significantly worsen other use-cases in some situations (e.g. for things
 for which there are certain certification  legal requirements).

 Developers can now experiment and report/discuss things which they would
 like policy to handle better (for certain classes of 3rd applications
 and their use-cases). I.e. in regards to 3rd party applications, the
 policies could be considered work-in-progress.


 Things that could potentially be done for 3rd party applications
 policy handling:

 - Default policy is improved in regards to unknown processes.
It's yet unknown whether this can be done well enough without
sacrificing the known functionality, that's why feedback is needed
on the behavior of 3rd party application use-cases.

 - Applications themselves specify the required policy on install.
This is extra work for apps, and requires extensive testing to
guarantee that the policy they choose is good match for
the application in all cases. (application doesn't leak or
otherwise hog resources)

 - Some way for user to specify per-application policy.
I'm sure power-users would like that... :-)


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

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


Re: Upgrade Description and Package Interface fun

2009-11-16 Thread Martin Grimme
Hi,

could this be

https://bugs.maemo.org/show_bug.cgi?id=6187

?

As long as this bug exists, I won't use the upgrade description field anymore.


Martin


2009/11/17, Edward Page eop...@byu.net:
 After getting some comments about this for Gonvert, I thought I'd
 finally look into this issue, see:
 http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/gonvert/0.9.0-4

 So I have 4 packages in the Fremantle Package interface
 http://maemo.org/packages/view/dialcentral/
 http://maemo.org/packages/view/ejpi/
 http://maemo.org/packages/view/gonvert/
 http://maemo.org/packages/view/quicknote/

 Dialcentral's page has a description, the others' pages have the most
 recent package's Maemo-Upgrade-Description.  Similar build script
 wrapping the same version of py2deb (a custom one I run).  I've
 checked the source package's control files and the binary package's
 control files.  To me, it all looks good.  I've included the source
 control files for reference.

 Anyone know what is going on?  Is something wrong in the formatting of
 my control files?  Is this some kind of Package Interface bug?

 Thanks
 Ed Page
 (epage)

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


Re: Mails about ratings from Downloads

2009-11-11 Thread Martin Grimme
Hi,

I like the idea of the rating mails. In fact the rating mail notified
me that my software got an auto-created page on downloads.maemo.org.
But it's true that these mails are pretty useless spam without the
actual rating.


Martin


2009/11/11, Cornelius Hald h...@icandy.de:
 On Wed, 2009-11-11 at 10:15 +, Andrew Flegg wrote:
 On Wed, Nov 11, 2009 at 10:10, Tim Teulings r...@edge.ping.de wrote:
 
  I'm intersted in getting to know that somebody rated my application
  since
  I'm intersted in improving the rating of my applications. Getting a mail
  makes it possible to react on ratings (without regulary polling the web
  pages which would be a pain for 10 packages) and for example contact
  the
  author to get more information about the reason of his rating and to
  find
  ways to change the application so that he would increase his rating.

 Except the thread is about *anonymous* ratings without comments. You
 will know that your overall rating may have changed, but you may not
 know which direction (especially if you have lots of votes already)
 and you do not have a mechanism for contacting the author or gaining
 any additional information.

 The emails in question are, literally, a notification that your
 overall popularity has either gone up a bit, down a bit or unchanged
 (but not which one!)

 Exactly, thanks Andrew :) If there is any useful information inside the
 mail, I'm super happy to receive it. But right now there is just no
 information. So maybe at least add to the mail the rating that this
 person (even if it's anonymous) gave.

 And thanks Ferenc for the information in you first mail!

 Also instead of making it user configurable it could be enough to give
 those mails a distinctive title. Then people can easily filter them if
 they are not interested. Right now its not easy to find out if this
 email provides a comment or not.

 Thanks!
 Conny


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

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


Re: Why should it be so hard and should I even bother with Extras for fremantle?

2009-11-01 Thread Martin Grimme
Hi,

it really looks wrong IMHO if stuff like socat, rootsh, or openssh
turn up in the extras repository ready for end-users to be installed.
extras should only contain applications that are safe for everyone to
play around with.
Stuff like this is meant for advanced users and developers. I think it
would be best to have another official repository extras-advanced
for these things, that comes preconfigured but deactivated on the
device, with a big warning that apps in there are meant for advanced
users who know what these tools are.

Maybe we should open a brainstorm for separating the sharp knives from
the toys. :)

extras-advanced could have its own QA queue even. Or the QA decides
whether something that passes QA is good for extras (safe for
everyone) or extras-advanced (tools for advanced users). Maybe
something like voting with thumbs up (end-user), thumbs up
(advanced), and thumbs down?

Any suggestions?


Martin


2009/11/1, tz tho...@mich.com:
 I'm a power user and not the only one.  And what I used my current
 tablets for were testing networks and doing other low level stuff,
 mainly from xterm, but sometimes from python front-ends to linux.  So
 I ported a number of utilities under Linux to maemo/diablo and started
 to do it for fremantle.

 Way back when, I complained that half of what I wanted to install was
 invisible except under red pill mode, and after getting all the
 noise about not using it and explanations, for those utilities I
 thought were significant, I created versions in user/* because it is
 the only way they would be visible.

 One of them was socat.  So I ported it and now that I submitted it for
 fremantle  they say it shouldn't be put in user/ so I'm both confused
 and annoyed.  This is the iTunes Application Store by mob justice.  I
 don't like your app so you can't have it in extras!.  No one reported
 any actual bug, or problem, they just don't want to make it available
 to users or anyone else using the normal means.

 There is only one option and I'm trying to play by the rules - and
 going thorough all the steps.

 I have it in user/utilities which is probably where it belongs, but
 someone suggested user/development.  Normally I wouldn't mind, but
 first, no guarantee anyone will actually change their vote, second, it
 is really annoying since I have to bump the version too or it won't
 build, reconstruct the source uploads, upload them, build them, hope
 nothing goes wrong, and promote them JUST TO CHANGE ONE STUPID STRING
 that someone doesn't like AND MAY NOT RESULT IN APPROVAL.  A lot of
 effort for probably nothing.

 So we're back to having to do dpkg, hack around the application
 manager, turn on or add red pill mode and all that junk again.  Or
 just tell everyone to enable extras-testing so they can have access to
 disliked programs and have to put up with unstable betas?

 Is there some category under user/* I can put it in without worrying
 about being rejected except for actual bugs, or did all the discussion
 about how to avoid the ugly hacks yet be able for users to actually
 get to my programs result in nothing?
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: QA process = bug fixing disincentive?

2009-11-01 Thread Martin Grimme
Hi,

resetting Karma on a new version leads to one very bad issue, IMHO:

Developers of packages with some Karma will hold back bugfix-updates
until the unfixed version has reached extras.

This should be avoided.


Martin


2009/11/1, Henrik Hedberg henrik.hedb...@innologies.fi:
 igor.sto...@nokia.com wrote:

 I think the problem here is that some braindead system has been
 introduced,
 which doesn't account for the actual work being done.

 And what is the biggest mistake here is that the new system has been
 put into production before testing it at all.

 Someone just came up with an idea of crowd sourcing the QA and used
 random generator to set the parameters. Soon it was in real use before
 any experiences of its functionaly had got.

 I would have understood if the parameters had been really low (say,
 1 day and 1 thumbs up) at the beginning, or there would have been a
 separate repository (say, extras-selection) to test this new
 functionality. The parameters could have been changed according to
 success of the system and in parallel with the amount of testers (and
 devices available).

 The sad contradiction here is that developers are expected to
 produce high quality outcomes and their results are put under QA, put
 the maemo.org processes and tools are not! Those should have been
 tested, for example, with a smaller group of developers before putting
 into production system.

 The maemo-extras testing marathon did amazing job. Thanks to
 everybody who participated! However, it cannot be a permanent way to
 overcome one of the biggest problems with the new system.

 I am not totally against the new system, and I do recognize the
 importance of quality assurance. I just hope that we can learn from the
 past and react rapidly. Please, do not refer to the better future and
 the possibility to have more users and testers later. Things should work
 now!

 Here are my suggestions now:

 1) Fine tune the parameters: say, 5 days and 5 votes. These can be
 changed later when the system is working (has enough testers).

 2) Change the system so that user packages that are depended by another
 user package are promoted automatically when the actual user package is
 promoted (like non-user packages are promoted currently). For example,
 when an user is testing Mauku, she is implicitely testing also the
 microfeed package [1]).

 3) Find a way to overcome the limitations when an upgraded package is an
 important security fix.

 And here are my older suggestions [2], which, I think, are still valid:

 * Negative karma can be given _only_ if it based on the agreed QA
 requirements. (Testers are still giving karma based on their subjective
 thinking instead of QA requirements.)

 * The package page should have a link to a bug tracker and the link must
 be used! (Comments are stored into a wrong place currently. It is double
 effort for a developer to track the packages interface in addition to
 bugs.maemo.org.)

 * Negative karma can be given _only_ with a link to a bug tracker having
 a bug report about the show stopper. It may be either a new bug report
 written by the tester or an old open bug report just referred in the
 comment.

 * Negative karma is automatically removed when the related bug report is
 closed (fixed or other way resolved). (Currently, there is no way to
 remove the negative karma (thumbs down) if the bug is fixed. Please,
 note that the bug may be in the library code, and the bug in the package
 is thus actually fixed when the library is fixed. So, there would not be
 any need to update the application package every time.)

 BR,

 Henrik

 P.S. I do not necessarily see that more testers will make things
 easier and more workable. The more testers there are, the more
 subjective evaluations we will get. If one tester just do not like the
 graphics of an application he may give thumbs down, and even four other
 testers giving thumbs up are needed to fix that misjudgement. I really
 would like to see a discussion about the responsibilities of testers.
 Should there be a mechanism to give negative karma to testers who are
 not following the QA rules, or even way to ban them?

 [1] http://talk.maemo.org/showthread.php?p=362575#post362575

 [2]
 http://lists.maemo.org/pipermail/maemo-developers/2009-September/020921.html

 --
 Henrik Hedberg  -  http://www.henrikhedberg.net/
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Extras-testing Marathon – Next Saturday (Oct 3 1)

2009-10-29 Thread Martin Grimme
Hi,

is there anything else to do besides registering a Bugzilla entry for
my product (which I did).
Is it necessary to have the Bugzilla product link displayed on the
rating page (in which case I have to upload a new .deb I assume).


Martin


2009/10/29, Ryan Abel rabe...@gmail.com:
 On Oct 28, 2009, at 10:03 PM, Valerio Valerio wrote:

 If you’re a developer, make sure your applications are in good shape
 before the testing marathon.

 Any developers who would like Bugzilla products before the marathon
 starts, please email me the information listed on this page[1]:
 http://wiki.maemo.org/Bugs:Adding_Extra_products

 This is a nice way to reward your reporters with karma and can help
 you in tracking and treating bugs in your application.


 [1]https://bugs.maemo.org/enter_bug.cgi?classification=Extras
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: The issue of version strings

2009-10-29 Thread Martin Grimme
Hi,

hmm, what's so bad about a simple date for a version number?
Ubuntu does it, (Open)Solaris does it, and I started doing it, too,
because I found it less confusing than having version numbers such
as e.g. 0.96.5.


Martin


2009/10/29, Ryan Abel rabe...@gmail.com:
 One thing I think it might be worth working on is the user-
 friendliness of the version strings of packages in Extras. We want the
 Application manager to be as friendly and approachable for the average
 user as possible and long incomprehensible lines of alphanumerics are
 a surefire way to scare people off. ;)

 So, this is just my humble request that people be considerate of users
 when crafting their version strings and try to it reasonable. Avoiding
 date/svn-based versions would probably be a good idea.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Considering /opt and MyDocs in your packages

2009-10-22 Thread Martin Grimme
Hi,

 It would be helpful if you could provide instructions on how to install
 apps directly into /opt without changing too much of the packaging
 stuff (remember, some package maintainers have to keep the Diablo
 version and maybe even a Linux Desktop version up to date as well,
 so anything that avoids big differences in packaging/code helps here).

This depends on how you have setup your build-system. With GNU
autotools, running configure.sh with --prefix=/opt/packagename would
be a way, but you
have to take care that the application icon, .desktop file and D-Bus
service activation description still get into the rootfs.
If you're using a simple Makefile instead if autotools then you have
full control already.
Relocating Python apps to /opt should be pretty simple. I do so by
installing into /opt/packagename and putting a symlink to the
executable module into /usr/bin/ (although this is not really required
if the path in the D-Bus service activation description already points
to /opt). If I need to find out about the installation path of my
application, I read the __file__ variable which in every Python module
points to the file path of that module file, so I know where to find
my graphics and other data files, no matter where my application got
installed.
For C applications you may experience other problems such as not
finding .so files.
A way around this could be replacing the executable in /usr/bin with a
shell script setting up the LD_LIBRARY_PATH variable for your app
correctly. XDG_DATA_DIR can be specified by environment vatiables,
too, IIRC.

 I think a subsection on this wiki page would be ideal:

 http://wiki.maemo.org/Opt_Problem

I fully agree. Developers should be made aware that maemo-optify is
not always the best way to move stuff to /opt.
If I find some time this evening I'm going to make a start on the wiki page.
There are some more caveats I stumpled upon, e.g. putting application
graphics other than the app icon into /usr/share/icons results in a
huge icon cache file.
These issues should all be covered on the wiki page IMHO.


 Adding maemo-optify as build-depends and to debian/rules is just
 simpler and more straightforward than doing more intrusive changes.

Yes, nothing against it. But developers should be made aware of the
problems that may arise and that alternatives do exist. For porting
stuff with hardcoded paths optify might still be the only feasible
way, especially for developers without deep Linux experience.


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


Re: GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Martin Grimme
Hi,

playbin2 works. playbin used to work too before having installed
ogg-support, at least on a older firmware release (OS 38-x) it worked
well until I installed ogg-support.
The SDK documentation mentions to use playbin2, however, so breaking
playbin shouldn't be too critical. But some gstreamer expert should be
able explain why this breaks playbin.


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


Re: Considering /opt and MyDocs in your packages

2009-10-21 Thread Martin Grimme
Hi,

in my opinion, maemo-optify shouldn't be hailed as the
good-for-everyone savior to the rootfs space issue. I see it as a
workaround for software that cannot be easily relocated to /opt.

Optification symlinks take space on the rootfs too, so if you have a
lot of them, you still waste several megabytes.

Optification breaks package upgrading.

File opening operations take longer as the system has to resolve a
symlink first.

Please don't get me wrong. optify is still useful and good to have,
but everybody should bear in mind that it's only a workaround, and
that relocating the software to /opt would be a much safer and more
elegant solution.
IMHO optify is OK for porting software from upstream, but if you write
specifically for the N900, you should rather consider making your
software easily relocatable eventually.


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to switch an app to portrait mode (Qt)? Xrandr?

2009-10-16 Thread Martin Grimme
Hi,

the correct way (if the toolkit doesn't support hildon rotation) is to
use the X-Atoms

_HILDON_PORTRAIT_MODE_SUPPORT

and

_HILDON_PORTRAIT_MODE_REQUEST

(CARDINAL, 32bit, value either 1 or 0)

The SUPPORT atom is always needed on a window that allows portrait
mode. The device immediately switches back to landscape mode once it
opens a window without the SUPPORT atom.
The REQUEST atom requests portrait mode. The device remains in
portrait mode as long as the requesting window is visible and no
dialog windows above it lack the SUPPORT atom.


Martin

2009/10/16, Ville M. Vainio vivai...@gmail.com:
 I have a QTextBrowser that I want to show in portrait mode. How can I
 do that? Is there a solution that works with both Diablo and
 Fremantle? Should I use xrandr, or is there a better supported
 (higher level) way?

 --
 Ville M. Vainio
 http://tinyurl.com/vainio
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: How to switch an app to portrait mode (Qt)? Xrandr?

2009-10-16 Thread Martin Grimme
For Diablo you should use xrandr, though.
The hildon X atoms are not supported there, as there is no official
rotation support.


Martin

2009/10/16, Martin Grimme martin.gri...@gmail.com:
 Hi,

 the correct way (if the toolkit doesn't support hildon rotation) is to
 use the X-Atoms

 _HILDON_PORTRAIT_MODE_SUPPORT

 and

 _HILDON_PORTRAIT_MODE_REQUEST

 (CARDINAL, 32bit, value either 1 or 0)

 The SUPPORT atom is always needed on a window that allows portrait
 mode. The device immediately switches back to landscape mode once it
 opens a window without the SUPPORT atom.
 The REQUEST atom requests portrait mode. The device remains in
 portrait mode as long as the requesting window is visible and no
 dialog windows above it lack the SUPPORT atom.


 Martin

 2009/10/16, Ville M. Vainio vivai...@gmail.com:
 I have a QTextBrowser that I want to show in portrait mode. How can I
 do that? Is there a solution that works with both Diablo and
 Fremantle? Should I use xrandr, or is there a better supported
 (higher level) way?

 --
 Ville M. Vainio
 http://tinyurl.com/vainio
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


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


Re: Issues with Python and maemo-optify (was: Re: Maemo Summit /opt BOF notes...)

2009-10-14 Thread Martin Grimme
Hi,

I'd suggest to not optify Python, but instead install the modules from
/usr/lib/python to /opt, or ZIP it up. I think I've seen it already
zipped up on some distribution, so this would be a way. Or compile the
whole stuff with --prefix=/opt/python, and just put the links python
and python2.5 into /usr/bin/. The site.py module could still be
modified to support legacy modules that use /usr/ prefix.
Optification looks like an ugly hack to me anyway, and the --prefix
option should be used where possible.


Just my 2 ¢

Martin

2009/10/13, Anderson Lizardo anderson.liza...@openbossa.org:
 Hi,

 On Sun, Oct 11, 2009 at 7:44 AM, Tim Samoff sam...@gmail.com wrote:
 Hi,

 Using /opt: Why, How  For How Long?

 What are the issues?

 • Standards.
 ◦ What about introducing a new 'mobile' Linux standard.
 • Repackaging.
 • Differences in flash performance.

 I'd like to raise one very important issue detected during our
 experiments with maemo-optifier and Python applications (including
 python's core packages, such as python2.5 and python2.5-minimal).

 Python in various places relies on paths returned by calls to
 readlink(). As some of you might know, the readlink() syscall
 dereferences symbolic links.

 One serious side-effect of optifying python2.5-minimal package is that:

 * /opt directories are added to sys.path
 * Any modules under /usr/lib/python2.5/site-packages are NOT found.
 * Byte-compiled files are put on /opt/maemo/ instead of the usual
 /usr/lib/... paths

 This happens because Python uses the full dereferenced path to
 /usr/bin/python2.5 (as returned by readlink()) to detect the module
 path. Therefore it only sees the modules under /opt/maemo, not the
 ones under /usr/lib/... (unless you explicitely set PYTHONPATH)

 Another issue is that even if python2.5 is not optified, any Python
 application which has its main script optified will not be able to
 import its own modules. See this experiment (running on a desktop):

 $ echo 'import testopt'  main.py
 $ echo 'print hello'  testopt.py
 $ python main.py
 hello

 The test case works just fine. Now let's optify it:

 $ rm testopt.pyc
 $ mkdir opt
 $ mv main.py opt/
 $ ln -s opt/main.py .
 $ python main.py
 Traceback (most recent call last):
   File main.py, line 1, in module
 import testopt
 ImportError: No module named testopt
 $ ls -lR
 .:
 total 8
 lrwxrwxrwx 1 andgomes andgomes   11 2009-10-13 16:05 main.py - opt/main.py
 drwxr-xr-x 2 andgomes andgomes 4096 2009-10-13 16:06 opt
 -rw-r--r-- 1 andgomes andgomes   14 2009-10-13 16:03 testopt.py

 ./opt:
 total 4
 -rw-r--r-- 1 andgomes andgomes 15 2009-10-13 16:06 main.py

 As you can see, the testopt module was not found even though it is
 on the same directory as the main.py symlink. This happens because
 Python's notion of current directory is based on the value returned
 by the readlink(main.py, ...) syscall, which in this case is
 /tmp/opt/main.py. Therefore, python2.5 looks into /tmp/opt/ for the
 testopt.py, but does not find it.

 Of course, we can modify python2.5 so that it does not call readlink()
 on the main script, but for sure it was put there for some reason, and
 can create even more bugs. Besides, it can cause some subtle bugs,
 such as modules with the same name but in different directories being
 imported by mistake, and causing random exceptions.

 Therefore, we would like to ask the community how to better approach
 this problem. For sure the PyMaemo packages as is occupy too much
 space to be entirely on the root partition of the current size, so we
 need a solution to reduce the baseline Python size. Here are the
 options I see (in no specific order):

 1) hack Python to not rely on paths returned by readlink()
 2) Install Python properly under /opt by modifying debian rules (e.g.
 using --prefix etc.) and do not run maemo-optify for any python
 applications.
 3) Work hard to reduce Python footprint

 Some remarks of my own:

 1) looks dangerous, can create even more bugs than fixing them
 2) Should work just fine, as long as ALL Python applications/modules
 also install under /opt. Note that creating symlinks back to /usr/...
 will NOT work, for the same reasons as maemo-optify currently does not
 work for Python. Has implications for all those Python packages, and
 will need special handling to make packages work for earlier Maemo
 releases.
 3) Looks the best solution IMHO, but takes time and is not guaranteed
 to have big gains.

 Finally, I really like (3) best, but I'm afraid it is not a short term
 solution. We will do it anyway in the following releases, and we be
 believe we can achieve great gains (although it is hard to tell
 whether this good is good enough).

 Comments, suggestions are welcome!

 PS: we are about to make a release candidate for PyMaemo and we would
 love to see it already installed under /opt to reduce root partition
 footprint in short term, but given the various problems we had running
 it locally, we will probably have to postpone it 

Re: Screenshot as loading screen on Maemo 5

2009-10-13 Thread Martin Grimme
Good find. This would be an Apple-style illusion of quick application
startup. :)

This is interesting because it doesn't seem to be simply a screenshot.
I can see in the app manager that it actually resembles the current
theme.


Cheers,
Martin


2009/10/13, Thomas Perl th.p...@gmail.com:
 Hello!

 With the latest firmware, the Settings window and the Application
 Manager both show a fake screenshot when clicking the icon in the menu
 and then fade to the real window contents after the application has
 really started up (look closely at the Language  region icon in the
 settings dialog when starting it to see what I mean, as the screenshot
 contains a different icon than the real application).

 For applications that start up longer (e.g. Python applications) this
 can be really helpful, and I'd like to do the same for gPodder if
 possible.

 Is there an official way to do this for third party applications (or
 how is it done at all)?

 Thanks,
 Thomas
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Community widgets for Fremantle

2009-09-25 Thread Martin Grimme
Hi,

yes, the colorwheel would have to be finger-friendly. This is quite
difficult with a wheel.
I have thought a bit about it and found another hopefully
user-friendly alternative.

I think that HSV sliders are more comprehensible than RGB for normal people.
The H slider could show the color range in the backgroud, so that the
user sees where the colors are. The V slider could then show the
gradient for that color, and the S slider the saturation.

Don't get me wrong, RGB is fine and this is what I prefer, but it's
not obvious to use for a regular user, so we need some alternative way
of finding colors.


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Community widgets for Fremantle

2009-09-24 Thread Martin Grimme
The color chooser dialog is nice for people who know RGB. But regular
users don't know RGB so it won't be of much use, actually. A color
wheel would be more understandable.


Martin


2009/9/24, Cornelius Hald h...@icandy.de:
 This would be my first contribution to the Hildon community widgets:

 http://zwong.de/wp-content/uploads/2009/09/check_button.png

 At the moment it's called ConboyCheckButton, but I will change the name
 once we come up with something.
 It has the same features like a HildonButton (2 labels with different
 styles), only that it does not support images instead it will always
 show the check box. The check box part (methods/signals) follows the
 HildonCheckbox way.

 This could maybe be a good example of a widget, that probably won't make
 it into Hildon as it is 95% copypast code. Also from comments that I
 got earlier it could be that it is unwanted because it does not confirm
 to some UI guide lines. Well, but it works and I like it :)

 Cheers!
 Conny


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

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


Re: Considering /opt and MyDocs in your packages

2009-09-11 Thread Martin Grimme
Hi,

I don't think /opt/package is a bad idea, and I wouldn't call it a
hack. On other Unices, like Solaris, 3rd party software usually goes
to /opt. In fact, by default, /usr is write-protected in virtual
containers (mounted read-only from the host system).

The good thing IMHO about /opt is that all stuff resides in one place,
not being scattered all across the filesystem. When looking at
Solaris, you can find directories like lib and bin inside
/opt/package/. This way it's also possible for programs to bring in
libraries that would otherwise break or mess up the root system.
LD_LIBRARY_PATH, etc. can be setup by the start scripts of the
programs accordingly. I'm all for keeping the root system clean of 3rd
party stuff.


Regards,
Martin


2009/9/11, Kees Jongenburger kees.jongenbur...@gmail.com:
 On Fri, Sep 11, 2009 at 11:11 AM, Marius Vollmer
 marius.voll...@nokia.com wrote:
 ext Graham Cobb g+...@cobb.uk.net writes:

 On Thursday 10 September 2009 12:16:59 Marius Vollmer wrote:

 Also, you can make it so that maemo-optify only runs in debian/rules
 when it is present:

      which maemo-optify  maemo-optify

 Small correction: that doesn't work (because it returns an error status
 when
 maemo-optify is not present).
 About the maemo-optify usage.

 The opkg package manager support a offline root mode that allows you
 to install packages using a different base. The idea
 is that one might want to install some content on a removable media.
 it doesn't require you to change the
 packages. perhaps this is a less intrusive option?


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

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


Re: How to finding out the true DPI of device?

2009-07-30 Thread Martin Grimme
Hi,

the true DPI value depends on the screen hardware and is most likely
not readable anywhere via software. The 770, N800, and N810 (WE) have
a screen with 225 dpi. The upcoming N900 will feature an even higher
value.


Regards,
Martin


2009/7/30, Anderson Lizardo anderson.liza...@openbossa.org:
 On Thu, Jul 30, 2009 at 11:15 AM, Andre Klapperaklap...@openismus.com
 wrote:
 Heja,

 I'd like to get https://bugs.maemo.org/show_bug.cgi?id=4825 off my
 radar, hence bringing this up here:

 Anybody knows how an application can find out the true DPI of a device?
 According to Lucas in the report, the resolution is set to 96 dpi
 deliberately in /etc/osso-af-init/x-server.defs.

 xrdb -query | grep Xft.dpi works at least on the desktop, but
 probably it can be done using some font-related API?

 Regards,
 --
 Anderson Lizardo
 OpenBossa Labs - INdT
 Manaus - Brazil
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Backlight control

2009-06-27 Thread Martin Grimme
Hi,

Take a look at the display_blanking_pause method of the osso device state
class. You need to call this method regularly in intervals shorter than the
display timeout, e.g. call it every 20 seconds.

Regards,
Martin

27. Jun 2009 11:17 nachm. schrieb am Rainer Dorsch rdor...@web.de:

Hello,

maemo-mapper disables the automatic backlight switch off when GPS is active
and a charger is plugged in. I think navit (and maybe other tools) need the
same feature.

Can somebody point to code which is doing that?

Thanks,
Rainer
--
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Playbin volume bug for OGG and WMA playback

2009-06-10 Thread Martin Grimme
Hi,

this is very interesting. Thanks for your investigation and detailed
description. I have always wondered why I get distorted sound with Ogg
and gstreamer on Maemo. Now it makes sense.


Thanks a lot,
Martin


2009/6/10, Nick Nobody m...@nikosapi.org:
 This has been bugging me for quite some time and I think I've finally
 gotten to the bottom of it. In this message I present my (limited)
 understanding of how gstreamer works, what this annoying bug is,
 potentially why this bug occurs and perhaps how to fix it.

 Lets get on with it.

 There are several ways that audio gets played through gstreamer, the
 audio can either be decoded on the device's processor or it can be
 offloaded to one of a few different hardware decoders (DSPs).
 Gstreamer's playbin provides a very easy way for the developer to not
 have to worry about writing pipelines for every possible type of audio
 that can be played back by their application. For MP3 and AAC audio,
 gstreamer uses hardware decoding provided by dspmp3sink and dspaacsink
 respectively. OGG and WMA audio must first be decoded to PCM (decoderbin
 takes care of this nicely) and then get passed to dsppcmsink.

 On maemo, the audio sinks (dspmp3sink, dspaacsink, and dsppcmsink) all
 have their own volume property (an integer between 0 and 2^16) and
 another property named fvolume which seems to simply be volume/2^16 (a
 float between 0 and 1). Either of these can be set, they accomplish the
 same goal; controlling the volume level.

 Gstreamer also provides a nice volume control element that you can add
 in a pipeline to presumably control the volume before it gets to the
 audio sink in the event that the audio sink doesn't have a volume
 property. The documentation says that the volume control element can
 take a value from 0 to 10 but during my testing it seems that anything
 over 1 distorts. So in reality you'll only be using it from 0 to 1.

 The Problem.

 If you create a pipeline using playbin to playback an ogg or wma file,
 you end up with a volume control element stuck right before dsppcmsink
 (see image #1).  In this case playbin's volume property is connected to
 both the volume control element and the dsppcmsink fvolume property.
 This is were it gets weird, when you set the volume property of the
 playbin, the volume control element gets set to that exact number BUT
 the dsppcmsink's fvolume property gets set to one tenth of that
 number.

 Big deal, right?

 Wrong. This means that you can only set the output volume to about 10%
 before it begins to distort. For example, if I set the playbin's volume
 property to 3 (referring again to image #1), the volume control element
 gets set to 3 (we have distortion at this level) and the dsppcmsink's
 fvolume property is set to 0.3. The maximum value we can set the
 playbin's volume property is 1 (instead of 10, like when playing mp3s),
 anything else sounds bad.

 The Solution.

 There are two ways I can think of to solve this problem. Make the volume
 control element and the dsppcmsink share the same volume property or
 remove the volume control element entirely for playbins. I just don't
 really know how to go about fixing it...

 I suspect this issue has something to do with the way dsp sinks work on
 maemo's gstreamer. When using a dspmp3sink or a dspaacsink via a
 playbin, the volume property is a number between 0 and 10 which gets
 divided by 10 and used as the sink's fvolume value (see image #2).
 Could it be that someone simply forgot to divide by 10 in the volume
 control element code?


 Here are some gstreamer pipelines to help you experiment with this
 problem yourself (use these on your NIT).

 The following two pipelines sound exactly alike (very distorted), the
 first using playbin and the second using decodebin, a volume control
 element and dsppcmsink. The second is essentially the same as what
 playbin creates, which is wrong.

 gst-launch-0.10 playbin uri=http://tinyurl.com/524rwv volume=6

 gst-launch-0.10 gnomevfssrc location=http://tinyurl.com/524rwv \
   ! decodebin ! volume volume=6 ! dsppcmsink fvolume=0.6


 Now if we change the volume element's volume setting from 6 to 0.6,
 there's no distortion:

 gst-launch-0.10 gnomevfssrc location=http://tinyurl.com/524rwv \
   ! decodebin ! volume volume=0.6 ! dsppcmsink fvolume=0.6


 These images were generated on an n810 running Maemo 4.1 with the
 ogg-support 0.9 and gstreamer version 0.10.22 (the version that comes
 with Maemo isn't able to generate images of pipelines).

 Image #1 (OGG file, playbin, volume=3): http://imgur.com/H1Uiy.png
 Image #2 (MP3 file, playbin, volume=3): http://imgur.com/oEB4Y.png


 I'm pretty sure this is a bug, but if not please let me know what I'm
 doing wrong here. Or perhaps someone could explain how Nokia's media
 player handles volume or pipeline creation since it doesn't seem to
 experience this bug.

 It would be a shame to have to force the application developer to work
 around this problem by either 

Re: Python and ZSI on maemo

2009-05-05 Thread Martin Grimme
Hi,

you should take a look at python-inotify for monitoring the directory,
instead of polling. inotify lets you get notification from the kernel
when a file is written or changed.
Constant polling is bad for battery life anyway.

As for ZSI, installing with distutils should be no problem in
Scratchbox. distutils is part of the Python distribution. You run
python setup.py install in the directory where the setup.py for
distutils is located.


Regards,
Martin


2009/5/6, Tim Allen t...@transtech.net.au:
 Hi there,

 I am trying to write a python script for the N810 which polls a
 directory for files being written by another process and makes web
 service calls, one per file, before deleting the file.

 I am having troubles with getting ZSI into the scratchbox.  There seems
 to be a dependency on distutils.

 I have managed to install and test ZSI on just straight Ubuntu fine.

 Any tips?  Anyone have experience with this?

 I'm new to maemo and python so any help appreciated!

 Thanks,
 Tim.

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

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


Re: Is osso-media-server open source?

2009-04-17 Thread Martin Grimme
Hi,

osso-media-server is a D-Bus service that comes preinstalled on the
tablets for playing media. Applications can control it via D-Bus, but
the source code is not available.

Its interface is not even public and applications using it won't work
on the next major Maemo release (Maemo 5). So Nokia discourages using
the osso-media-server interface by 3rd party applications. Maemo 5
will have another more versatile media server which will be open
source.

But osso-media-server is using GStreamer internally, which is open
source, so you might want to take a look there.


Regards,
Martin


2009/4/17, Zhou, Jianchun (周建春) jianchun.z...@asianux.com:
 HI, there:

 I am new to Maemo, and now I am interested in Canola, especially it's Media Backend.

 I found that there is a media backend named oms(osso media server)

 I want to get it's source code to develop it.

 Is it open source?

 Thank you in advance.

 -
 Best Regards

 Wind Zhou


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


Re: Is osso-media-server open source?

2009-04-17 Thread Martin Grimme
Hi,

I don't think that Canola/atabake has a direct GStreamer backend. Only
indirect through osso-media-server. But it shouldn't be too hard to
add one to atabake.
Maybe the Canola guys can tell you more about this.


Regards,
Martin


2009/4/18, Wang Baisheng baisheng.wang...@gmail.com:

 Dear Martin,

 Now I want to run Canola and use Gstreamer as atabake backend, but currently
 I
 only find the mplayer(mplayer_backend.py) and oms(oms_backend.py) backend
 for
 atabake in Canola source, So where can I found some Gstreamer backend for
 atabake ?

 Thanks,
 Baisheng

 On Friday 17 April 2009 05:25:09 am Martin Grimme wrote:
 Hi,

 osso-media-server is a D-Bus service that comes preinstalled on the
 tablets for playing media. Applications can control it via D-Bus, but
 the source code is not available.

 Its interface is not even public and applications using it won't work
 on the next major Maemo release (Maemo 5). So Nokia discourages using
 the osso-media-server interface by 3rd party applications. Maemo 5
 will have another more versatile media server which will be open
 source.

 But osso-media-server is using GStreamer internally, which is open
 source, so you might want to take a look there.


 Regards,
 Martin

 2009/4/17, Zhou, Jianchun (周建春) jianchun.z...@asianux.com:
  HI, there:
 
  I am new to Maemo, and now I am interested in Canola, especially it's Med
 ia Backend.
 
  I found that there is a media backend named oms(osso media server)
 
  I want to get it's source code to develop it.
 
  Is it open source?
 
  Thank you in advance.
 
  -
 --
 --
 --
 -- Best Regards
 
  Wind Zhou

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



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


Re: Is osso-media-server open source?

2009-04-17 Thread Martin Grimme
Hi again,

to get you started, a GStreamer backend for MediaBox is available here:

https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/mediaplayer/?root=mediabox

Perhaps it'll be helpful for adding GStreamer backend to atabake.


Regards,
Martin


2009/4/17, Martin Grimme martin.gri...@gmail.com:
 Hi,

 I don't think that Canola/atabake has a direct GStreamer backend. Only
 indirect through osso-media-server. But it shouldn't be too hard to
 add one to atabake.
 Maybe the Canola guys can tell you more about this.


 Regards,
 Martin


 2009/4/18, Wang Baisheng baisheng.wang...@gmail.com:

 Dear Martin,

 Now I want to run Canola and use Gstreamer as atabake backend, but
 currently
 I
 only find the mplayer(mplayer_backend.py) and oms(oms_backend.py) backend
 for
 atabake in Canola source, So where can I found some Gstreamer backend for
 atabake ?

 Thanks,
 Baisheng

 On Friday 17 April 2009 05:25:09 am Martin Grimme wrote:
 Hi,

 osso-media-server is a D-Bus service that comes preinstalled on the
 tablets for playing media. Applications can control it via D-Bus, but
 the source code is not available.

 Its interface is not even public and applications using it won't work
 on the next major Maemo release (Maemo 5). So Nokia discourages using
 the osso-media-server interface by 3rd party applications. Maemo 5
 will have another more versatile media server which will be open
 source.

 But osso-media-server is using GStreamer internally, which is open
 source, so you might want to take a look there.


 Regards,
 Martin

 2009/4/17, Zhou, Jianchun (周建春) jianchun.z...@asianux.com:
  HI, there:
 
  I am new to Maemo, and now I am interested in Canola, especially it's Med
 ia Backend.
 
  I found that there is a media backend named oms(osso media server)
 
  I want to get it's source code to develop it.
 
  Is it open source?
 
  Thank you in advance.
 
  -
 --
 --
 --
 -- Best Regards
 
  Wind Zhou

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




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


Re: fremantle, clutter and the YUV overlay

2009-04-02 Thread Martin Grimme
Hi Gary,

if you're using Xv for accessing the YUV overlay, then this should
work well with Fremantle, too. I suppose that Fremantle uses EXA
acceleration in the X server, so that YUV overlay will even be
integrated into the compositing process, so that you can e.g. have an
Xv overlay shining through a translucent window.

Somebody with more insight into Fremantle please correct me if I'm wrong.


Cheers,
Martin


2009/4/2, gary liquid liq...@gmail.com:
 hi,

 Most folks will know I've been mad enough to know I have created the liqbase
 ui in the YUV overlay for the n8x0 devices.
 I have not been able to get the fremantle SDK up and running smoothly and am
 under the impression the emulation does not support YUV mode.

 I would like to know how well liqbase (and other yuv apps) will run when
 used in the composited clutter+opengl system.
 During my examination of this problem I discovered an excellent overview
 which includes video of it working, but whether that directly translates to
 the new Fremantle NXXX system I am not sure.

 http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions

 I will follow up with an x11+xv test app if required.
 I might be worrying for nothing :)

 gary

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


Re: maemo reference manual

2009-04-01 Thread Martin Grimme
Hi,

you could take the PDF to a university copy shop that specializes on
printing theses and dissertations. Then you'll get a nice hardcover,
too.


Cheers,
Martin

2009/4/1, Marco Solari marco.sol...@koinesistemi.it:
 Short of ink or paper? ;-)

 Luo Cheng ha scritto:
 Hi,

 Is there any way to get a printed version of 4.1 manual instead of PDF?

 regards
 Cheng


 

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



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

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


Re: Accessing GPS data remotely

2009-01-27 Thread Martin Grimme
Hi,

you can open a SSH tunnel to the device to access the interface from
remote, securely:

Install openssh-server on the tablet.

On the Linux box, do:
ssh -l user device-ip-address -L 2947:127.0.0.1:2947

Then connect to localhost:2947 on your Linux box and the tunnel leads
to the device.


Regards,
Martin


2009/1/27, Andre Klapper aklap...@openismus.com:
 Am Dienstag, den 27.01.2009, 10:55 +0200 schrieb Tuomas Kulve:
  osso-gpsd (1.0-10) unstable; urgency=low
   * Listen only localhost addresses. Fixes: NB#60842

 Looks like it's intentional, so filing a bug report would be probably
 resolved as invalid.

 I think it would be quite a security risk if anybody could just connect
 to your device and get your location.

 FYI, that was exactly the reason for the decision to disallow this.
 Quoting from NB#60842:
 GPS data can be read from the device using Telnet, but data should not
 be visible to the external world.

 andre
 --
 Andre Klapper (maemo.org bugmaster)

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

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


Re: Diablo auto-builder: broken

2009-01-26 Thread Martin Grimme
Hi,

maybe it would be good to automatically kill any build process that
takes longer than, say, an hour.

Just my 2¢


Martin


2009/1/26, Niels Breet ni...@maemo.org:
 Hi,

 It looks like libxerces was stuck in some kind of endless build loop.

 After I killed that build, everything in the queue started to build again.
 Now I have to go and find out why the other 2 builders weren't used and
 how this package could block everything.

 Weird ...


 --
 Niels Breet
 maemo.org webmaster

 Hi,


 any news on this? I have a bunch of things in that queue. Unfortunately
 with the chinook autobuilder choking on libxerces and with the diablo
 builder not working at all i am kind of stuck in the middle of migrating
 the harbaum.org repository to extras-devel.

 I also wonder if i'll have to upload anything a second time or if the
 queued packages will be processed later.

 Till


 Am Sonntag 25 Januar 2009 schrieb Andrew Flegg:

 Hi,


 The Diablo auto-builder is broken. No updates to the build logs since
 2009-01-23T21:45:


 https://garage.maemo.org/builder/diablo/?C=M;O=D


 Anyone from the maemo.org team looking into it?


 Thanks in advance,


 Andrew




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

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


Re: V4L2 and Gstreamer

2009-01-10 Thread Martin Grimme
Hi,

V4L2 interfaces work. Make sure that your software doesn't try to use
V4L, though.
I have written a library directly controlling the FM radio chip in the
N800 via the V4L2 kernel interface and it worked as expected.


Regards,
Martin


2009/1/10, Shu Shi shus...@illinois.edu:
 Actually, I am using opencv to run some eye tracking app in Nokia
 N800. So I try to use the camera capture interface in opencv rather
 than writing a new one with gstreamer (instructed in the menual) by
 myself.

 The camera capture code in opencv does try to set the camera's
 resolution. By crossing out that code, now it works!

 Thanks for the help!

 Best,
 Shu

 On Fri, Jan 9, 2009 at 5:12 PM, Kees Jongenburger
 kees.jongenbur...@gmail.com wrote:
 Hello Shu,

 On Fri, Jan 9, 2009 at 11:20 PM, Shu Shi shus...@illinois.edu wrote:
 Hi everyone,

 I am working on a N800/OS2008 application which captures and video and
 analyzes the content. I need to write or re-use some codes to capture
 the video through camera. According to the documentation, it says that
 V4L2 is supported in kernel but the whole system is based on Gstreamer
 framework. I also tried some open source software using V4L/V4L2 to
 control camera, such as opencv, spcaview, but all failed.

 It can be hard to request the right resolution etc.


 My questions are:
 1. Can I use V4L2 interface to control camera directly in N800/OS2008?
 Or everything is controled by Gstreamer?
 You can use the interface directly. just like gstreamer does

 2. If V4L2 can be used, is there anything special in this platform I
 need to pay attention to?
 3. If everything is controlled by Gstreamer, is there any sample codes
 to control camera I could reference?

 The Maemo reference manual has a nice section about this called
 Camera Manipulation in C Language 
 see
 http://maemo.org/maemo_release_documentation/maemo4.1.x/node9.html#SECTION0093


 greetings




 --
 Shu Shi
 System Research Group
 Department of Computer Science
 University of Illinois at Urbana-Champaign

 Zsa Zsa Gabor  - I'm a great housekeeper. I get divorced. I keep the
 house.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: No key events for virtual keyboard?

2009-01-09 Thread Martin Grimme
Hi,

the GTK editing widgets in maemo are modified to receive the key codes
(or rather UTF-8 strings) from the VKB. The VKB does not send normal X
key events (except for Enter and Backspace).
The GTK input widgets don't emit a key-event or changed-event per VKB key.
You can connect to the commit signal of the GTKIMMulticontext to
receive key by key.

Here's an example (in Python, calling the C-libraries directly, so it
should be portable almost 1:1):

https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/utils/hildon_input_method.py?revision=556root=mediaboxview=markup

(replace hash(win.window) with the pointer to your GdkWindow in C)

You can open the VKB for your application's toplevel window this way
and receive all key events. However, be warned that if your
application relies on GDK_POINTER_MOTION_HINT_MASK, the VKB will break
pointer motion event detection badly!
If you don't have to rely on the hint mask, it's all OK.


Regards,
Martin


2009/1/9, Eero Tamminen eero.tammi...@nokia.com:
 Hi,

 ext Till Harbaum / Lists wrote:
 i have just ported tetrinet for linux to maemo. You can get this from
 the extras
 repository. While this works well on the n810's physical keyboard it
 doesn't work
 with the virtual keyboard (neither on my n800 running chinock nor an the
 n810
 running diablo).

 The problem is that all keyboard handling is being done by the original
 tetrinet for linux
 code and my maemo gui just forwards all key presses there and updates the
 gui on
 the returning function calls from the original code. Thus i have installed
 a key_press_event
 handler which then feeds all key presses into the tetrinet engine.
 Unfortunately the
 virtual keyboard doesn't generate events. Or to be precise: It does, but
 for some reason
 only for the Enter key.

 How comes? Can i somehow get access to all key presses from the virtual
 keyboard?

 VKBD sends the events as X messages to the Gtk editing widget
 (i.e. something having Gtk IM context) that has the focus.

 Apparently it still synthetizes couple of keys (apparently Enter
 and maybe Backspace) as normal X key events, but that doesn't work
 for all keys (X key events cannot represent all unicode characters).


 If you ever tried mtetrinet on the n800 or on the n810 with the virtual
 keyboard you'll
 find that you can in fact enter things into the entry fields. But these
 don't enter my keyboard
 routine but instead magically appear directly in the entry field. This
 means that the tetrinet
 engine underneath never saw these key presses and thus ignores them even
 though they
 show up in the entry. Thus you e.g. can't type anything in the partyline
 which limits
 the functionality pretty much.


   - Eero

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

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


Re: Maemo platform for other manufactures and vertical market?

2009-01-04 Thread Martin Grimme
It looks a lot like this Chinese device is really maemo-based:
http://www.woojoy.com.cn/
There have been lengthy reviews of this device on pconline.com.cn and
you can look them up on www.internettablettalk.org. The screenshots
there clearly show that the device comes with maemo-applications. The
device is not available yet, but looks very promising.


Regards,
Martin


2009/1/4, Anderson Lizardo anderson.liza...@gmail.com:
 On Sun, Jan 4, 2009 at 12:17 AM, José Luís jlu...@gmail.com wrote:
 I think that is possible to build a maemo based distribution for any
 embedded device without nokia closed components. A good proof of this is
 the
 mamona project (http://dev.openbossa.org/trac/mamona/) sponsored by INdT.

 Just a small note: mamona is NOT maemo based. It is a distribution for
 Nokia tablets based on the OpenEmbedded framework.

 Regards,
 --
 Anderson Lizardo
 Instituto Nokia de Tecnologia (INdT)
 Manaus - Brazil
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: language and library advice, please.

2008-11-12 Thread Martin Grimme
Hi,

2008/11/11, Hendrik Boom [EMAIL PROTECTED]:
 It has been suggested that python would be an appropriate language,
 because it's available both on the n800 and Debian, and is probably
 fairly compatible between them.

I fully agree. It's very compatible between n800 and Debian.

 (a) What library(ies) should I be using for user-interfacing.  Are they
 reasonably compatible between Debian and maemo?

Take GTK. It's the native toolkit library of maemo and the GNOME
desktop (or XFCE) on Debian.

 (b) Are there a ready-made text-editing widget I can start with?  The
 complete structured text will contain a lot of reasonably small sub-texts
 that can be edited conventionally, at least in the prototype.  So I'd
 like to prototyoe it with a ready-made editor handling the smaller pieces
 of text (currently the pargest such piece is about 25K) ans saving the
 structural part for the regular UI library.

GtkTextArea might the widget you're looking for.

 (c) Any problems you can already see coming, based on experience with
 these tools?  (Here I'm not looking for generic software-engineering
 advice, but I'd like to know if there are any specific gotchas involving
 python or the recommended libraries.  I've been programming for decades,
 but not in python).

Toplevel window handling is a bit different between Debian and maemo.
But code can be written to use the appropriate way on each system. So
your code will run on both systems unaltered.


Regards,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: how to set gtk widget translucent

2008-10-27 Thread Martin Grimme
Hi,

there are different sorts of GTK widgets. Some widgets simply draw on
their parent window, and some widgets (those that can receive user
events) draw on their own low-level window.
The widgets with their own windows (e.g. GtkButton, GtkEntry) are
opaque and completely hide what's behind. However, you can punch holes
into their shape (gtk_widget_shape_combine_mask) to reveal what's
behind. Alpha blending is not possible though. So, this wouldn't work
with your findbar idea.
Windowless widgets (e,g, GtkImage, GtkLabel) can be composed on top of
each other and support alpha blending just fine. Your findbar needs
text input, so it's not a windowless window.
On modern Linux desktops (but not on the current maemo) you can also
use an RGBA colorspace to draw onto the window. The composition
manager then blends the window according to the alpha pixel values.
This would be the perfect solution for your findbar, as the bar could
be implemented as another toplevel window layered above your
application window. However, you can't do this on maemo.

I suggest looking into GtkStyle to change the background image of the
GtkEntry widget. You can grab the screen contents, dim it, and paste
into the entry widget. This would create the illusion of translucency.


Regards,
Martin


2008/10/27, Jun Xu [EMAIL PROTECTED]:
 Hi, All,
 I want to add a gtk widget on top of another gtk widget, and then set
 Alpha value to the widget above, make it translucent. for example, I
 want to add a translucent findbar on a window. I have tried kinds of way
 to do that, however, there is no any available means that can perform
 the special effect. So, if you have any good idea, share me PLS. if any
 sample, that will be delicious:-)



 Looking forwards to anyone's help.






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


Re: mediaplayer dbus interface

2008-10-08 Thread Martin Grimme
Hi,

you can run
dbus-monitor --session
in the terminal and watch what is sent over D-Bus when you use the
built-in mediaplayer application.

An example class for controlling the osso-media-server via D-Bus (in
Python) can be found at
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/mediaplayer/OSSOPlayer.py?revision=338root=mediaboxview=markup


Regards,
Martin



2008/10/7, Hermann Lacheiner [EMAIL PROTECTED]:

 Hi maemo community!

 I would like to implement a home applet for setting an alarm. When the
 alarm goes off, e.g. the mediaplayer should be started to play an internet
 radio stream. So your favorite internet radio stream is played in the
 morning and getting up should be a little bit easier ;)

 My problem is now, that I did not find any current information about the
 dbus interface of the mediaplayer. Is it actually possible to remote
 control the mediaplayer over dbus (for example using the MPRIS interface)?
 And where do I get more detailed information about the dbus interface?

 Thanks for any information!

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

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


Re: PIL and camera.py

2008-08-13 Thread Martin Grimme
 please don't fool us
 and don't attach any clause on privacy, confidentiality or the like
 in your mail as archives of the mailing list are public.

This is most likely not Alex' fault.
Some company mail servers add this kind of stuff to every outgoing mail.

Martin


2008/8/13, Darius Jack [EMAIL PROTECTED]:
 Alex,

 please don't fool us
 and don't attach any clause on privacy, confidentiality or the like
 in your mail as archives of the mailing list are public.


 (cut for clarity)

 ~
 This message (including any attachments) is for the named
 addressee(s)'s use only. It may contain sensitive,
 confidential,
 private proprietary or legally privileged information
 intended for a
 specific individual and purpose, and is protected by law.
 If you are
 not the intended recipient, please immediately delete it
 and all copies
 of it from your system, destroy any hard copies of it
 and notify the sender. Any use, disclosure, copying, or
 distribution of
 this message and/or any attachments is strictly prohibited.
 

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

 Send instant messages to your online friends http://uk.messenger.yahoo.com
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: Testing application under targets arm and x86

2008-08-06 Thread Martin Grimme
Hi,

you're doing it right. You compile and test your software on the X86
target and when everything is fine, you enter the ARMEL target to
build the installer package.
The ARMEL target is quite limited for running software. But it's
possible to use the tablet's CPU for running the code in the ARMEL
target. This is the CPU transparency method, but I have never used it,
so I cannot tell you anything about it.


Martin

2008/8/6, Arvind1 K [EMAIL PROTECTED]:
 Hi All,

 I have compiled my application under ARMEL target. When I execute it, i
 get errors like:
 Unsupported setsockopt level=1 optname=2
 Unsupported setsockopt level=0 optname=35
 Unsupported setsockopt level=1 optname=9


 qemu:unsupported syscall:307
 Gdk - shmget failed: error 38
 qemu: uncaught targe5t signal 11

 etc.

 I searched google and found that armel target is not to be used for
 testing but only for compilation purposes.
 When I tried to execute the armel compiled binary on x86, I got a message
 :
 /scratchbox/tools/bin/misc_runner: SBOX_CPUTRANSPARANCY_METHOD  not set

 When I compile as well as run application on X86 target , it works fine.

 I'm new to it, so i'm not sure whether I'm doing things in correct manner.
 Any comments or help is more than welcome.

 Regards
 Arvind
 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain
 confidential or privileged information. If you are
 not the intended recipient, any dissemination, use,
 review, distribution, printing or copying of the
 information contained in this e-mail message
 and/or attachments to it are strictly prohibited. If
 you have received this communication in error,
 please notify us by reply e-mail or telephone and
 immediately and permanently delete the message
 and any attachments. Thank you



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


Re: Sandbox mount problems

2008-08-05 Thread Martin Grimme
Hi,

You can put

/scratchbox/sbin/sbox_ctl start

into your rc.local so that scratchbox gets setup every time you boot.
It might also be possible to just link it into a rc.d directory:

ln -s /scratchbox/sbin/sbox_ctl /etc/rc2.d/S99_sbox_ctl

Then it would be automatically executed every time you boot, but I
haven't tested this variant yet.


Hope this helps,
Martin



2008/8/4, Bruce Forsberg [EMAIL PROTECTED]:
 I have just started to code my new project (http://mileage.garage.maemo.org)
 and have a beginners question to ask. I had alot of problems setting up
 sandbox and installing the targets for diablo. I think I have finally got it
 all setup except for one problem. Every time I reboot by laptop (DELL
 inspiron) with Open SUSE 10.3 and login to scratchbox I get the error:
 ERROR: Scratchbox is not properly setup. I find that the areas
 /opt/scratchbox/users/forsberg/dev and /opt/scratchbox/users
 forsberg/scratchbox are empty. I have to, as root, execute
 /opt/scratchbox/sbin/sbox_mount forsberg in order to setup these up again.


 Have I missed something in the setup? I don't think I have read anywhere
 that I should have to do this.

 Thanks,
 Bruce Forsberg

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


Re: Community Kernels garage project created

2008-07-27 Thread Martin Grimme
Hi,

2008/7/26, nick loeve [EMAIL PROTECTED]:
 I don't mind collecting patches for now, so if you have some code
 floating around or a known location of something interesting to the
 project, reply here with it and i can bundle them up (and make a quilt
 set ?) ready to go in svn

Several months ago I have written a patch for the FM tuner driver.
This patch allows
the FM tuner in the N800 switch between the European/American and
Japanese frequency bands
so that the FM radio can be used in Japan.

See https://bugs.maemo.org/show_bug.cgi?id=2249 for the patch.


Regards,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Something strange when setting the color of the widget

2008-03-20 Thread Martin Grimme
Hi,

you need to allocate the colors via the widget's colormap, IIRC.


Cheers,
Martin

2008/3/19, LIU Chun Hung [EMAIL PROTECTED]:
 Hi,

  I want to create three buttons with different colors. But three buttons
  are with the same colors at the final. What's wrong? Anybody help? My
  program code is as below:

  GtkWidget *bn1, *bn2, *bn3;
  GdkColor red_color, green_color, blue_color;
  GtkStyle *bn1_style, *bn2_style, *bn3_style;

  bn1 = gtk_button_new();
  bn2 = gtk_button_new();
  bn3 = gtk_button_new();

  red_color.red = 65535;
  red_color.green = 0;
  red_color.blue = 0;
  green_color.red = 0;
  green_color.green = 65535;
  green_color.blue = 0;
  blue_color.red = 0;
  blue_color.green = 0;
  blue_color.blue = 65535;

  bn1_style = gtk_widget_get_style(bn1);
  bn1_style-bg[GTK_STATE_NORMAL] = red_color;
  gtk_widget_set_style(bn1, bn1_style);
  bn2_style = gtk_widget_get_style(bn2);
  bn2_style-bg[GTK_STATE_NORMAL] = green_color;
  gtk_widget_set_style(bn2, bn2_style);
  bn3_style = gtk_widget_get_style(bn3);
  bn3_style-bg[GTK_STATE_NORMAL] = blue_color;
  gtk_widget_set_style(bn3, bn3_style);

  Three buttons are in blue at the final.

  Regards,
  Hung

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

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


Re: Fwd: Multithreaded program for N800..

2008-03-18 Thread Martin Grimme
Hi,

Just be careful with threads, because they're evil (TM) !  ;)
They are hard to debug, annoy users when deadlocking, and when done
wrongly, can have impact on performance.

My policy is to only use threads when absolutely necessary. In most
cases, nonblocking IO and timeout callbacks are fully sufficient, and
give more predictable and debuggable behavior. X and most UI-toolkits
aren't thread-safe anyway, so threading should never be used in GUI
parts.

Somebody (Richard Stallmann, IIRC) said, threads are for people who
did not understand state-machines. He could be right on this part.

Just my 2 ¢...

Martin


2008/3/17, Markku Vire [EMAIL PROTECTED]:

  Hi,

  Yes it does. Actually most applications that belong to OS2008 are
  multithreaded. This is because they use gnome-vfs, which uses threads to
  implement async file operations.

  You can use GThread module from glib to write threaded applications.


  -Markku-


  nisha jain wrote:
   Does OS2008 supports multithreading?
   -- Forwarded message --
   From: nisha jain [EMAIL PROTECTED]
   Date: Mar 15, 2008 12:51 PM
   Subject: Multithreaded program for N800..
   To: maemo-developers@maemo.org
  
   Hi All,
  
   I have a requierement I need to do serial communication in background and 
 do
   processing
   simultaneously. I can do it if i have multithreaded enviornment. Please let
   me know if any
   one has used multithreaded application for N800? Does here pthreads of c 
 can
   work?
  
   Let me know if i can plug some c code to acheive it? Also i know N800 has
   the ARM  330Hz
   processor which can support such enviornment.
  
   Regards,
   Nisha
  
  
  

  

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

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

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


Re: Is there any way to build Maemo applications which can run on N800 outside of the scratchbox

2008-02-22 Thread Martin Grimme
With Python it's possible to dynamically detect if you're on maemo or
not and load the real maemo stuff or just some proxies. This is the
way I develop MediaBox on my Linux desktop.
With C it's possible too, but a bit more complicated.


Cheers,
Martin


2008/2/21, Ryan Pavlik [EMAIL PROTECTED]:
 Ken Bloom wrote:
   On Thu, 21 Feb 2008 10:00:20 +0800, Huang Gao wrote:
  
  
   Dear all:
  
  I am going to do some application development test on N800,
  however I
   do not want to use scratchbox. And I am really confused of how to
   extract the cross compiler tool chain from Scratchbox and make it run in
   my Linux environment.
  
  
   Development for an N800 outside scratchbox is not easy to do.
   Theoretically, I could do emdebian development for my Nokia, but the
   dependencies of the compiled applications would be all wrong. I have not
   succeded at doing qemu emulation of a maemo build environment, although
   that would potentially be very nice.
  
   You'll probably need to build/download your own cross-compiler. What's
   your objection with scratchbox? Too big? If so, I've had success using my
   Maemo rootstrap with scratchbox 2, which is a much more generic tool. I
   did find that I've had to put some work into hacking the path mapping
   script that scratchbox 2 uses to get the right paths mapped in and out of
   the build root, but nothing too difficult.
  
   --Ken
  
  

 IIRC there is a Scratchbox 2-based build system now available for Maemo,
  called Maemo SDK+ which might save you some effort there.


  Ryan

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

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


Re: Best Wishes for you in the coming Chinese new year :)

2008-02-07 Thread Martin Grimme
Dajia, xinnian hao!

Sorry, can't input Chinese characters at work.


Cheers,
Martin

2008/2/6, sebastian maemo [EMAIL PROTECTED]:
 Happy New Year of the Rat ;)

 Salut,
 Sebas.


 2008/2/6, 黄杲 [EMAIL PROTECTED]:
  Hi, all:
   Tomorrow is Chinese New Year, and tonight is one of the happiest
 nights for all Chinese. Though I think currently there are not so many Maemo
 hackers or users in China, I believe there will more and more Maemo
 developers in the coming new year.
   Wish all Chinese maemo guys have a wonderful New Year festival
 and a fantastic new year. And please give me the chance to express my best
 wishes for all of you and Mameo!  :)
 
  Best Regards
  Huang Gao


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


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


Re: Wish list

2008-02-07 Thread Martin Grimme
Hi,

2008/2/7, Al Khadra [EMAIL PROTECTED]:
  1- When the battery is fully charged the Tablet will not only display the
 regular message but will also BEEP. This way you do not have to keep
 checking  whether it's full or not yet. You will hear the beep. As you
 know overcharging kills the battery.

Overcharging is not possible, unless your battery is broken and has to
be replaced anyway. There is a circuit built into every Li-Ion battery
to prevent overcharging.
But if the charger is plugged in, it keeps topping the battery at
100%. Li-Ion batteries lose capacity over time, and the rate is
dependent on the temperature and fill level. At 100% fill level, it
will lose capacity faster than at 40% fill level (which is best for
the battery). Li-Ion have no memory effect, but they age.


  2- Is it possible to make an application that will turn the Tablet into
 Bluetooth Speakers using the A2DP profile? For instance, you can stream
 audio from the Motorola DC800 gateway right into the Tablet. This is a
 question for developers who can tell if this is feasible or not.

This should be possible, but since I'm not into bluetooth, I can't say for sure.


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Media player on N770

2008-01-31 Thread Martin Grimme
The other gstreamer-based video player for 770 is Canola1 (since 2 is
still not available for 770). But Canola1 (like the default media
player) doesn't use gstreamer directly. They both use the media player
service of the system.


Cheers,
Martin


2008/1/31, Ross Burton [EMAIL PROTECTED]:
 On Thu, 2008-01-31 at 15:38 +0530, Vinod Nanjaiah wrote:
  Hi!
  Has anyone written a fully functional video player using Gstreamer, for 
  N770?
  I have some issue with media seek functionality on N770.
  Any pointers are welcome.

 There are several, see the application catalogue.

  BTW, does the default video/audio player on N770 use Gstreamer?
  I wonder how seek works flawlessly on that.

 I believe it uses Helix if you are playing Real files, GStreamer
 otherwise.

 Ross
 --
 Ross Burton mail: [EMAIL PROTECTED]
   jabber: [EMAIL PROTECTED]
  www: http://www.burtonini.com./
  PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



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

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


Re: What does Nokia's acquisition of Trolltech mean to Maemo?

2008-01-30 Thread Martin Grimme
Same here, C++ has too many confusing features, is bloated, creates
bloated object code, and meaning isn't always clear. And above all,
it's library-incompatible with itself...

C++ is never a good choice nowadays, IMHO.


Cheers,
Martin


2008/1/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 On Tue, 29 Jan 2008, Klaus Rotter wrote:

  Well, it is (to me) more a question of C vs C++. I started with C about
  twenty years ago and liked it a lot. But some of the features of C++ in
  addition with Qt are IMHO more elegant, if you use a OO toolkit with
  an OO language like C++. E.g. methods overloading (which is really nice).
 
  But I often think C++ has to many features (for sure I didn't know them
  all) and it is bloated whereas I think I know pretty much features of C.


 Same for me: C++ has too many features; too bloated.


 --
 Aj.

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

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


Re: What does Nokia's acquisition of Trolltech mean to Maemo?

2008-01-29 Thread Martin Grimme
Hi,

Is there a transcript of the webcast available somewhere? I'm not too
fond of registering on another website just for viewing a single
webcast.


Cheers,
Martin


2008/1/28, Ross Burton [EMAIL PROTECTED]:
 On Mon, 2008-01-28 at 15:42 -0500, [EMAIL PROTECTED] wrote:
  Just saw this on maemo-users list:
 
  On Mon, Jan 28, 2008 at 03:24:30PM +, Matt Emson wrote:
 
  http://www.nokia.com/A4813580 - go to webcast
 
  According to Kai Oistamo (around minute 9):
 
  I want also to make clear that the key driver for Nokia doing this
  acquisition is not to develop a Linux-based mobile device. This
  acquisition really is enhancing and making even more competitive S40,
  S60 and Maemo platforms [...] Maemo will continue to be based on Gnome
  [...] and S40 and S60 will evolve with Qt

 That is pretty much what I had imagined, but now I'm wondering if their
 plan is to create a new S60 based on Qt, or port Qt to S60 (as they
 have already done with POSIX via Open C).

 Ross
 --
 Ross Burton mail: [EMAIL PROTECTED]
   jabber: [EMAIL PROTECTED]
  www: http://www.burtonini.com./
  PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



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

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


Re: If I buy a N800 but not N810

2008-01-23 Thread Martin Grimme
Hi,

differences between N800 and N810:

- N810 is a bit smaller, but screen is exactly the same size and resolution
- N800 has built-in FM radio, the N810 has not
- the N810 has buit-in keyboard and GPS
- the N810 is at least twice as heavy as the N800
- N800 has 2 SD/MMC slots
- N810, has 2GB built-in memory card, and one miniSD slot
- N800 has mini-USB connector, N810 has micro-USB

The rest of the specs are pretty much the same.


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Contribution code, ...

2008-01-15 Thread Martin Grimme
Hi,

2008/1/15, Murray Cumming [EMAIL PROTECTED]:
 It's working in Germany as of a few days ago.

Did you get a full discount or was it correctly 99 EUR?


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


Re: Contribution code, ...

2008-01-15 Thread Martin Grimme
So, apparently they fixed it. I wonder how they resolve the issue with
the full discounts that went through. Hopefully without having to
create a 3rd discount code...

Martin


2008/1/15, Murray Cumming [EMAIL PROTECTED]:
 On Tue, 2008-01-15 at 13:59 +0100, Martin Grimme wrote:
  Hi,
 
  2008/1/15, Murray Cumming [EMAIL PROTECTED]:
   It's working in Germany as of a few days ago.
 
  Did you get a full discount or was it correctly 99 EUR?

 No, I didn't get a full discount.

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


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


Re: Contribution code, ...

2008-01-08 Thread Martin Grimme
I just did the same (Germany). Last year the German Nokia Shop had a
bug with my discount code for the N800 as well. But they delivered
promptly and got the amount right on the invoice that came with the
device. That's sad because otherwise I would have been able to get 2
discounted units for one code. :/


Cheers,
Martin

2008/1/8, Mathieu Pillard [EMAIL PROTECTED]:
 I eventually ordered mine with the 100% discount after seeing I wasn't
 the only person affected. Not received anything yet, but still no word
 from nokia or UPS either so far...


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

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


Re: python2.5 - unnecessary multiple processes forked

2008-01-01 Thread Martin Grimme
Hi,

don't believe everything that 'top' tells you. :)
'top' on Linux also lists threads as standalone processes, thus giving
the illusion of wasting lots of memory. If the entries show exactly
the same amount of memory, then you can often assume that they share
the same amount of memory.


Cheers,
Martin


2007/12/31, Jayesh Salvi [EMAIL PROTECTED]:
 forgot to cc the list.

 On 12/31/07, Jayesh Salvi [EMAIL PROTECTED] wrote:
 
 
  
   BTW, are you sure the memory situation is really worse because of this?
  
 
  What I see is, in 'top' all these processes show same percentage of memory
 utilization under %MEM column (17% or so for each of them). I am not sure if
 this is virtual memory or physical memory.
 
  My application logic flow goes like this: It gets the filename from the
 user (hence FileChooserDialog) and after some processing it has to open a
 URL in the browser. It sends an RPC request to the browser. What I am
 observing is, the browser takes a long time to open that URL and by the time
 it has opened it, my app gets killed without any error message. Once I had
 seen a low memory message during this process, but now my parent app gets
 killed without any such message.
 
  I am still trying to establish if the above behavior is only because of
 memory over consumption. I will update as I make progress.
 
  --
  ---
  Jayesh



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


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


Re: MPlayer and Free42 for OS 2008

2008-01-01 Thread Martin Grimme
2007/12/31, William Gordon Rutherdale [EMAIL PROTECTED]:
 Where exactly could I get a copy of this?  I haven't found the location
 on the web site.

Address:
http://repository.maemo.org/extras-devel
try omitting the 'i' in 'repository' if you have trouble with this

Distribution:
chinook

Components:
free non-free


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: python2.5 - unnecessary multiple processes forked

2007-12-31 Thread Martin Grimme
Especially make use of gc.collect() after you have worked with
gdk.Pixbuf objects. They won't free their memory otherwise. It's a
good habit to free unused Pixbufs with del and run the garbage
collector afterwards.
And be aware that if a class overrides the __del__ method (some sort
of destructor), it won't be freed by the garbage collector at all.


Cheers,
Martin

2007/12/31, Alex Iliadis [EMAIL PROTECTED]:
 I recommend using the garbage collector module manually to override the
 defaults. Python for some reason doesn't reclaim memory fast. So if you
 put in your code:
 import gc
 gc.collect()  (at the right spots, probably after the file chooser dialog
 and after some memory intensive tasks). You should notice a lot of memory
 being free'd up.

 -Alex

 On Sunday 30 December 2007 05:20:34 pm Jayesh Salvi wrote:
  Hi,
 
  I am porting a pygtk application to maemo. It works alright, but I
  noticed that it was consuming lot of memory, preventing me from opening
  other applications.
 
  When I investigated, I found that my python application was forking 4
  more instances of itself, each one identical in memory footprint. Thus
  they consumed nearly 60-70% of my memory.
 
  So I ran my application using pdb and narrowed down to a code segment
  that was leading to multiple instances of the process. It turned out
  that when I call run() on hildon.fileChooserDialog object, the dialog
  opens and at that moment in the top I see 4 more instances being
  forked.
 
  I fail to understand this behavior. I replaced the hildon widgets by
  pure gtk widgets and I see similar behavior, except that 2 more
  instances get forked. Also when using gtk.FileChooserDialog, these new
  instances get created in the instantiation of the dialog object, rather
  than call to run(). (code included below)
 
  So to further explore the problem, I ran same application on my desktop
  with gtk widgets. But I verified that when fileChooserDialog's run is
  called, there are no additional instances of python.
 
  I am running this code on n770, with 2007 HE and python2.5 runtime. My
  application code is pure python and not using any additional libraries.
  In fact following would be a simpler version of it to reproduce the
  problem:
 
  import gtk
  import hildon
 
  #window = gtk.Window(gtk.WINDOW_TOPLEVEL)
 
  #fileChooser = gtk.FileChooserDialog(
  #   title=Choose a photo to publish,
  #   buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
  #   gtk.STOCK_OK, gtk.RESPONSE_OK))
 
  fileChooser = hildon.FileChooserDialog(
  window,gtk.FILE_CHOOSER_ACTION_OPEN)
 
 
  result = fileChooser.run()
 
  if result == gtk.RESPONSE_OK:
  print fileChooser.get_filename()
 
  Do you have any tips, as to what might be going wrong?
 
  This problem is fatal at least on n770 - it will trigger low memory
  message when other applications are used on the side.
 
  Any help will be useful.
 
  Thanks,


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

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


Re: service is temporarily unavailable

2007-12-30 Thread Martin Grimme
Hi,

This is not an official explanation, but it is what I think is happening...

Apparently, the maemo server was taken down for maintenance and stupid
Akamai cached this state. Now that the maemo server is back online,
Akamai still serves the error pages. This could be because the maemo
error page did not return an HTTP error code, but looks like a valid
HTML page (status code 200). If this is the case, how should Akamai
know that it's caching bogus?

If you access maemo.org with any prefix other than the Akamai-cached
repository, you can circumvent the Akamai cache and get to the real
server. If too many people did this, we might experience server outage
again...


Cheers,
Martin



2007/12/30, Luca Olivetti [EMAIL PROTECTED]:
 En/na Hans Diels ha escrit:

 
  I can look at directory 
  http://repository.maemo.org/pool/maemo4.0/free/libx/libxdmcp/ however, when 
  trying to download libxdmcp-dev_1.0.2-2osso1_i386.deb I get error: The 
  service is temporarily unavailable. We are very sorry for the inconvinience 
  it may cause.
  other files from the directory seem to download OK.
 
  Is this a known issue, should I change repositories?

 This is an issue that's been affecting everyone trying to install
 software on the tablet for the last 10 days. It's unknown if it is a
 nokia or an akamai screw-up, but you can try stage.maemo.org instead of
 repository.maemo.org.

 Bye
 --
 Luca

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

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


How to force fullscreen thumbboard (a la Navicore)?

2007-12-10 Thread Martin Grimme
Hi,

I know it's possible for an application to force the fullscreen
thumbboard (skipping the stylus keyboard) for input, because Navicore
has it this way.

I want to force the thumbboard for input in my (finger-friendly)
application as well. What's the way to do this? Setting a magic XAtom
property on the text input window?

Can anybody help?


Thanks,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Video decode capability of N810

2007-12-08 Thread Martin Grimme
Hi,

the N810 cannot handle videos in VGA resolution very well. At least on the
N800 the video bandwidth is rather limited (in contrast to the Nokia 770)
and I assume that the video hardware on the N810 is the same.

Video decoding, however, works fine with lower resolutions such as QGA.
ffmpeg runs fine on the N810, but is not installed there by default. The API
for DSP accelerated video decoding on the N810 is gstreamer (
http://gstreamer.freedesktop.org), which is opensource software. Some
gstreamer plugins on the N810 are closed source, though.

Without using gstreamer, you can get very good video playback with mplayer (
http://mplayer.garage.maemo.org). By using mplayer's slave mode, you can
embed the player into your own applications, like  kmplayer, Kagu, and
MediaBox do.


Cheers,
Martin



2007/12/8, g c [EMAIL PROTECTED]:

 Can someone tell me what frame rate and screen resolutions the N810 can
 decode? Specifically, can it handle MPEG4 at 30fps at VGA resolution?

 Can you also point me to the API I would use for decoding video? I would
 normally use ffmpeg or XviD but I assume the N810 uses some form of
 accelerator that isn't supported by standard opensource decoder.

 Regards

 Graham

 --
 Yahoo! Answers - Get better answers from someone who knows. Try it 
 nowhttp://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU
 .


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


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


Re: hardware key access using Phyton

2007-12-02 Thread Martin Grimme
Hi,

The hardware keys simply map to standard keys on a PC keyboard.
Do something like this:

def on_key(src, ev):
keyval = ev.keyval
key = gtk.gdk.keyval_name(keyval)

if (key == Escape):
do_ something()
elif (key == F6): # fullscreen button
do_something()
elif (key == F7):
do_something()# + button
elif (key == F8):
do_something()# - button


win = hildon.Window()
win.connect(key-press-event, on_key)


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-28 Thread Martin Grimme
The network behavior on the tablet is really weird. When I connect to a
bluetooth network with PAN, non-Nokia applications have no problem accessing
the net. But the webbrowser still insists that there's no connection
available. If I startup an adhoc wifi connection at the same time, Nokia
applications can use the bluetooth network.


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


Re: web based local application GUIs

2007-11-27 Thread Martin Grimme
Hi,


 This has been an issue for a long time:
 https://bugs.maemo.org/show_bug.cgi?id=339
 http://lists.maemo.org/pipermail/maemo-developers/2007-May/010076.html

 I guess this thread is doomed to recur every 6 months or so...



Oh yeah, every now and then, somebody raises this issue. I originally posted
this bug report back in 2005 because I just wanted to run a moinmoin wiki on
my 770. I still can't do that even today. :(
I totally gave up on this idea...


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Re: Android Vs. Maemo

2007-11-14 Thread Martin Grimme
Hi,

since Android makes heavy use of Java and OpenGL, there is a problem with
the current maemo to support it.
While the N8x0 hardware contains a 3D graphics chip and Java acceleration,
both are not yet accessible on the maemo platform. But maybe Nokia is
silently working on these 2 features... who knows...

With Java and OpenGL available, there should be no reason for Google and
Nokia not to built an Android compatibility layer for maemo devices. Since
Google is already involved in maemo with GoogleTalk and being the default
search engine, it wouldn't sound too far-fetched if both companies worked
together on Android as well.

Nokia already fulfilled our wishes for Flash 9, Mozilla-based webbrowser,
swap-space, SDHC support, hw keyboard, GPS, Xcomposite, Bluetooth audio, so
why not Java and OpenGL as well? I'm confident that at least OpenGL on maemo
is not far away. :)


Cheers,
Martin


2007/11/14, Yang Cheng [EMAIL PROTECTED]:

 Android simulate RIM blackberrey is based on JVM development, I did not
 think Google Android affect Maemo.

 On Nov 14, 2007 3:43 AM, Antonio Di Cello  [EMAIL PROTECTED]
 wrote:

 
   Google will give 10 Million in awards  for application development :-)
 
  
   http://code.google.com/android/adc.html
  
   thanx
   unni
   On Nov 13, 2007 1:36 AM, Antonio Di Cello  [EMAIL PROTECTED]
  wrote:
   
   
 On Nov 9, 2007 3:05 PM, vicente garcia [EMAIL PROTECTED]
  wrote:
  I think Android will be a bad thing to maemo. I'm suppose that
  Android
  is not for an specific phone, it's a platform for a set of
  phones that
  complains a standard.
 

 Android will probably gain a greater momentum than Maemo have had
  so
 far, since Google will push for it in a way that more people (and
 developers) will notice. It seems very easy to develop for and
  include
 nice APIs to interact for example with Google maps and
  positioning.
 Personally I think it seems easier to get started with since it
  has
 Eclipse support and I am more comfortable with Java.

 On the other hand, if Google follows through and makes Android
  fully
 open source, including the specialized JVM it includes, it is not
 impossible to imagine an Android runtime on Maemo devices. That
  would
 mean that Maemo devices would get the opportunity to run both
  Maemo
 and Android types of apps.  I am sure Google would be glad to see
  it
 happen. Whether it actually will happen probably depends on
  whether
 Nokia wants it. At this point in time, seems not so likely.

 Claes


 --
 C l a e sH o l m e r s o n
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

   
As you said you Android is a new framework and therefore is enjoying
  enormous visibility in recent days. One might say that it is sponsored by
  google wants to bring forward that the market for mobile phones and devices.
 
Android I think it is done quite well and using the Java language is
  very easy to develop applications!
A Maemo still missing a JVM or something like that to exploit the
  power of java and possibly some application of Android on internet tablet
  Nokia
   
--
Antonio Di Cello (rafanto)
skype:rafanto (or) tuxnetserver
jabber: [EMAIL PROTECTED]
   
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
   
  
 
 
  Google will give 10 Million in awards  for application development , but
  not for the italian developer because? What is the limitation in italy law
  and regulatory..?
 
 
 
  Antonio Di Cello (rafanto)
  skype:rafanto (or) tuxnetserver
  jabber: [EMAIL PROTECTED]
 
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers
 


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


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


Re: Interest groups

2007-11-14 Thread Martin Grimme
Hi,

isn't this exactly what garage.maemo.org is all about?
There you can have projects, mailing lists, share code, look for other
developers, etc.

Cheers,
Martin


2007/11/14, Sarah Newman [EMAIL PROTECTED]:

 On ITT I have noticed person X,Y,and Z say that they are interested in
 various topics like location services or PIM and would be spending time
 investigating those topics.

 So far I mostly see this forum get used for very specific technical
 questions.  It might be useful to form  public but smaller, more casual
 communities for people to bounce ideas off of each other and exchange
 code (not necessarily on the same project,) maybe even coming up with
 libraries organically.

 Does this already happen?  If not is this something people would want?

 I have too many projects so I don't know how soon I would be using it
 personally. :(  But I thought I would bring it up.

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

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


Re: Re: Android Vs. Maemo

2007-11-14 Thread Martin Grimme
From what I have read somewhere, Google is going to opensource Dalvik.


Cheers,
Martin


2007/11/14, Claes H [EMAIL PROTECTED]:

 On Nov 14, 2007 9:35 AM, Martin Grimme [EMAIL PROTECTED] wrote:
  Hi,

  Nokia already fulfilled our wishes for Flash 9, Mozilla-based
 webbrowser,
  swap-space, SDHC support, hw keyboard, GPS, Xcomposite, Bluetooth audio,
 so
  why not Java and OpenGL as well? I'm confident that at least OpenGL on
 maemo
  is not far away. :)


 It turns out that Android does not execute Java bytecode at all, but
 its own (so far proprorietary) bytecode format that is compiled from
 Java source code. So a JVM on Maemo would not be able to execute
 Android apps - only the Dalvik VM (part of Android) can do that.
 Neither can Dalvik execute regular Java apps.

 Claes

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


Re: python startup time

2007-11-10 Thread Martin Grimme
Hi,

if you are importing lots of modules, you can get the startup time down by
not importing the modules at the top of a file, but at the place where you
need it in a function.
Note that modules are loaded only once, so subsequent import commands will
have no effect.

Example:
instead of this:

  import os

  def foo():
  print os.listdir()


you can write this:

  def foo():
import os
print os.listdir()


Cheers,
Martin


2007/11/9, Jesse Guardiani [EMAIL PROTECTED]:

 Hello,

 Is there anything that can be done about python startup time?
 I recently wrote a very simple little pygtk + glade application that is
 less than 110 lines of code and it takes between 5 and 9 seconds to start
 up.

 http://www.guardiani.us/projects/tip_calc/browser/trunk/src/tip_calc/tip_calc.py
 Any way to get that startup time down?


 --
 Jesse Guardiani
 Software Developer / Sys Admin
 [EMAIL PROTECTED]
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


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


Re: Missing button_release_event messages?

2007-11-08 Thread Martin Grimme
Hi,

I have noticed that when you release the button (finger, stylus, etc.), Gtk
emits a
motion-notify event with the same pointer coordinates again. By comparing
these values with
the ones from the previous motion-notify-event, you can detect button
releasing, too.
Gtk on my desktop computer behaves differently, so maybe this is a Hildon or
touchscreen issue.

Cheers,
Martin


2007/11/8, Chris Lord [EMAIL PROTECTED]:

 It could be that the motion hint is set on the widget - this stops
 motion events being reported until the app has had time to handle them
 so you don't get a back-log of events... I might (in fact, probably) be
 remembering incorrectly, but previous hildon gtk had a patch so it was
 set by default I think?

 Either way, something to check out - Have a look at
 gtk_widget_add_events, GdkEventMask and GDK_POINTER_MOTION_HINT_MASK.
 I've not tried python, but I certainly didn't have this problem in C.

 --Chris

 On Wed, 2007-11-07 at 22:32 -0800, George Nachman wrote:
  I've written an app in PyMaemo that is very sensitive to getting
  OnButtonUp events on time and I noticed that if I touch the screen
  with my finger, move it, and let it up all very quickly that I don't
  get the button_release_event message. I do get a button_press_event
  and maybe a motion_notify_event, but GTK never tells me I released the
  button. If I then tap on the screen I immediately get a
  button_release_event, motion_notify_event, and button_press_event in
  very quick succession.
 
  My program runs in a full-screen window, so I don't believe something
  else could be getting my button_release_event--and besides, I do get
  it when I tap on the screen later on, anyway.
 
  Has anyone ever heard of this? Could I just be doing something silly?
 
  Thanks,
  George
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers

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

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


Re: New PyMaemo modules: Cython and Storm

2007-11-08 Thread Martin Grimme
Hi,

this is very nice to hear. Especially Cython should open up new
possibilities.
dreaming
Now if only the Python-Runtime was included with the Firmware so that all
users had it installed without
going to a developer-website first.
/dreaming

Keep up the good work on PyMaemo!

Cheers,
Martin  (who is a Python addict since 2000)


2007/11/8, Rafael Proença [EMAIL PROTECTED]:

 It is nice to hear!

 I still waiting for python-apt ;-)

 Thanks for working on it,
 Regards.


 On Nov 7, 2007 7:03 PM, Luciano Miguel Wolf  [EMAIL PROTECTED]
 wrote:

  Hi all,
 
  PyMaemo has now two new modules: Cython[1] and Storm[2]. The first one
  is a fork of Pyrex, to generate code mixing Python and C data types. The
  second is an Object Relational Mapper. Both are available for OS2007 and
  OS2008 (Chinook Beta).
 
  To install Cython you have to use apt-get install python2.5-cython,
  because it's targeted to developers. Storm is available through
  Application Manager.
 
  Hope you enjoy it!
 
 
  Luciano Wolf
 
  [1]
  http://www.cython.org/
  [2]
  https://storm.canonical.com/
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers
 



 --
 Rafael Proença
 https://launchpad.net/~cypherbios https://launchpad.net/%7Ecypherbios
 http://www.cypherbios.org/blog
 http://www.ubuntu-br.org
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


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


N800 FM radio in Python

2007-11-03 Thread Martin Grimme
Hi all,

I have invested almost two days of diving into kernel sources and finally
came up with some Python code to control the FM tuner chip on the N800.

The code is available under LGPL as a garage project (
http://pyfmradio.garage.maemo.org) and I have also created a wiki page about
the backgrounds (https://maemo.org/community/wiki/fmradioprogramming/).

Maybe someone will find this useful. I'm gonna use this code to add FM radio
functionality to my new media center (https://mediabox.garage.maemo.org).


Cheers,
Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to setup ad-hoc wireless network N770 PC Windows XP ? (pls don't delete)

2007-11-02 Thread Martin Grimme
Hi,

please note that the ifconfig commands are not to be run on the tablet, but
on the PC. On Windows XP, you would instead setup an Ad-Hoc connection by
using some GUI tool.

The Nokia tablets support Ad-Hoc mode out of the box. You just have to
select Ad-Hoc mode for the connection in the connection settings. Remember
to select Ad-Hoc mode on the PC side as well.
Now if the SSIDs are the same, you should get a connection. I usually use
static IPs for the PC and tablet in this mode.

Cheers,
Martin


2007/11/2, Darius Jack [EMAIL PROTECTED]:

 Thanks Michael,

 if you mean ap as access point
 so I don't have any ap
 as I set up ad-hoc wireless network
 ap-free
 It already works if I assign static IP addresses both on Nokia and PC
 running TVersity server.
 Unfortunately I can't Opera web browser or Media Streamer as each one
 saves established ad-hoc wireless network
 invoking maemo network connection utility
 hanging maemo up , crashing and rebooting it.

 As I see neither Opera web browser not Media Streamer can connect to
 TVersity over the already established ad-hoc network.
 TVersity can be run locally on PC as http://localhost:41952/.
 So the problem is not very complicated but how can I force networked
 applications like Opera web browser or Media Streamer not to invoke maemo
 network connection utility and use the established ad-hoc wireless.
 I set both IP addresses as static and SMP monitor can read maemo IP
 address.

 Pls remember hardware configuration.
 No access point, no router. Peer-to-peer ad-hoc wireless network only.
 No DHCP assigned IP addresses, static IP addresses only.

 Any chance to have it working one day ?

 Thanks.
 Darius





 *Michael Thompson [EMAIL PROTECTED]* wrote:

 On Thu, 1 Nov 2007 20:02:57 + (GMT)
 Darius Jack wrote:

 
  iwconfig wlan0 essid

 at this point iwconfig wlan0 should report that you are
 associated to an ap
  ifconfig wlan0 up
 ifconfig wlan0 ip_address


 Send instant messages to your online friends http://uk.messenger.yahoo.com

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


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


[maemo-developers] Can't create application on test.maemo.org

2007-01-29 Thread Martin Grimme

Hi,

I have some problem with the new test.maemo.org application site.
After registering with my garage account, I created an application,
filled out the form, uploaded a screenshot, and hit the save button.
Then the site crashes with:

  Notice: Array to string conversion in
  /usr/share/php/HTML/QuickForm/Rule/Required.php on line 39

  Fatal error: GObject missing or incorrectly initialized in
  /usr/share/php/midcom/lib/midcom/core/privilege.php on line 906

I tried this twice and always got the same result... :(


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


Re: [maemo-developers] n800 developer discount codes are out!

2007-01-23 Thread Martin Grimme

Jonathan Matthews-Levine schrieb:

On 1/22/07, Collin R. Mulliner [EMAIL PROTECTED] wrote:

For those who care, I just got my code 30 minutes ago!


aolMe2!/aol


@maemo-team: THANKS!


[EMAIL PROTECTED] - thanks a million!
I can't /wait/ to get my hands on it :-)


I got mine, too! Thanks!
It was a nice surprise yesterday evening. :)


Regards,
Martin

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


Re: [maemo-developers] Discussion of a possible project - offline calendar project

2007-01-15 Thread Martin Grimme

Hi,

Mathias Uebelacker schrieb:

Well here some thoughts from my project sheet:

- which language should be used ( C, Python...) 
- how should the data stored (database, file ...)

- should the application interacts with osso applications (Adressbook, email)
- limitation of the screen size (N770)
- look and feel like the original ??
- exchange with the google calendar (import/export)
- language files (for each user his or her language)
- and and and


This sounds really interesting. I know that there are already
applications like dates or GPE-calendar for the N770 but both
don't fit my needs. Since my idea was to write some sort of
PIM suite specially for the 770 in the near future, maybe we
should join efforts.

I have written software for the 770 in C (Ogg Vorbis Player) and Python
(Obscura Photo Manager) and have to say that Python wins for big
applications, IMHO. Development is much faster and the code usually
more clear and stable than with C. So I'd vote for Python.

One of my first opensource projects was the desktop calendar gDeskCal
(http://www.pycage.de/#gdeskcal), so I have some experience with reading
iCalendar files.


If there some developer which will start these project with me let me know. If 
we can build a Team i will ask the garage-team to host that project so that we 
ca
n start the work.


Sure, why not? :)


Regards,
Martin


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


  1   2   >