Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Kimmo Hämäläinen
On Thu, 2009-10-15 at 01:09 +0200, ext Simon Pickering wrote:
 Hi all

Hi you

 So all in all it's still work in progress, but it does at least work
 well enough to test. Except that I use dialogs to ask the user if they
 want to open a decoded URL/add a decoded vCard, and if these dialogs are
 displayed the UI locks up straight afterwards. If I comment them out the
 code continues quite happily after opening the browser/adding the URL,
 so the fault must presumably lie with the dialogs.

What kind of windows you are playing with?  We have a special feature in
Fremantle where Gtk+ dialogs do not use pointer grabs anymore (*, so
it's possible that Gtk+ gets confused there when it does not receive the
pointer events.

*) This is done to allow the touch screen lock to do the pointer grab
and discard all pointer events even if a dialog is open.

-Kimmo

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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Simon Pickering

  For 1D codes mbarcode will attempt a very basic webscrape of Amazon and
  will (hopefully) return a title (rather than a segfault). For URLs
  encoded in a QR code/datamatrix it will open the webbrowser and for
  vCards it will add them to your contacts.
 
 Why is it necessary to do a webscrape of Amazon. Amazon has plenty  
 of simple APIs for getting data freely and easily. The REST based ones  
 are extremely simple and you get back an XML document with everything  
 you need.

It quite possibly isn't necessary, this is certainly not my area of
expertise, just something I wanted to get working ASAP. When I looked at
how to do this I found a mixture of web scraping tools and ones that use
Amazon Web Services. AFAIK AWS requires that you register to obtain a
key, and I'm not sure of the exact terms and conditions, but I presume
they will not want me to share my key, but I may be wrong about this.

I guess you're also talking about AWS? What is your take on the key
issues - share mine, or get each user to register themselves and get a
key? Perhaps the registration could be automated. Any thoughts? Patches
welcome of course.

Cheers,


Simon

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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Simon Pickering
Hi Kimmo,

  So all in all it's still work in progress, but it does at least work
  well enough to test. Except that I use dialogs to ask the user if they
  want to open a decoded URL/add a decoded vCard, and if these dialogs are
  displayed the UI locks up straight afterwards. If I comment them out the
  code continues quite happily after opening the browser/adding the URL,
  so the fault must presumably lie with the dialogs.
 
 What kind of windows you are playing with?  We have a special feature in
 Fremantle where Gtk+ dialogs do not use pointer grabs anymore (*, so
 it's possible that Gtk+ gets confused there when it does not receive the
 pointer events.
 
 *) This is done to allow the touch screen lock to do the pointer grab
 and discard all pointer events even if a dialog is open.

It's just a plain dialog afaik (GUIs also not being my area of
expertise). The dialog does close, so I imagine that means it's getting
the click event, but after it closes the rest of the UI locks up.

The exact code is here:
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/branches/simon_wip/maemo-barcode/web.c?revision=103root=maemo-barcodeview=markup

Scroll right to the bottom to see either the openURL() or addVCard()
functions, which are the ones that use dialogs and then lock up.

Thanks,


Simon


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


Garage down for a while

2009-10-15 Thread tero.kojo
Hi all,

Garage is down for a disk upgrade. It ran full and needs some more space.
Estimate is in the ball park of an hour or so.

Hope you understand.

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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Simon Pickering

   For 1D codes mbarcode will attempt a very basic webscrape of Amazon and
   will (hopefully) return a title (rather than a segfault). For URLs
   encoded in a QR code/datamatrix it will open the webbrowser and for
   vCards it will add them to your contacts.
  
  Why is it necessary to do a webscrape of Amazon. Amazon has plenty  
  of simple APIs for getting data freely and easily. The REST based ones  
  are extremely simple and you get back an XML document with everything  
  you need.
 
 It quite possibly isn't necessary, this is certainly not my area of
 expertise, just something I wanted to get working ASAP. When I looked at
 how to do this I found a mixture of web scraping tools and ones that use
 Amazon Web Services. AFAIK AWS requires that you register to obtain a
 key, and I'm not sure of the exact terms and conditions, but I presume
 they will not want me to share my key, but I may be wrong about this.

Replying to myself, another option (which is the same one that Android
Scan/CompareEverywhere uses) would be to move the scraping to a
server. This might let me use a single key for all the queries (though
it may still break the terms and conditions, I'd have to look) and would
also reduce on-device processing and the amount of data that needs to be
transferred.

Or we could try hooking into the Android Scan/CompareEverywhere
webservice ;)

Any thoughts?

Cheers,


Simon


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


Re: Garage down for a while

2009-10-15 Thread Fred Lefévère-Laoide
PWSafe 1.5.5a appeared in the repository : thanks to anyone who did it !

Le 15/10/2009 10:05, tero.k...@nokia.com a écrit :
 Hi all,

 Garage is down for a disk upgrade. It ran full and needs some more space.
 Estimate is in the ball park of an hour or so.

 Hope you understand.

 Thanks,
 Tero
 ___
 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 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Roald de Vries
 fn-backspace for esc, fn-enter for tab, or whatever else you want. The key 
 is, once we figure this out, you can remap to your heart's content. ;)

ASCII has has 33 control characters, among which tab and esc. These can be 
typed in your terminal through control-something. For example, CTRL-I is tab, 
CTRL-[ is escape, CTRL-H is backspace (destructive) and CTRL-M is enter. This 
is not really a solution to all the problems, but at least you can type tabs 
without the on screen keyboard.

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


Changes in Fremantle packages interface dependency checking

2009-10-15 Thread Niels Breet
Hi,

I've changed the repositories used for dependency checking in the
maemo.org/packages interface for all extras armel repositories.

Now checking is done against packages that are actually available on the
device root filesystem and the Nokia Applications repository (which is
enabled by default)

We had issues with some packages being in the SDK, but not on the device.
These packages were in the SDK to satisfy dependencies of SDK tools, but
of course also satisfied dependencies if your app needed them. This made
it hard for developers to detect the real dependencies for their app.

Please check if the dependencies for your app in m.o/packages look ok. If
there is suddenly a missing dependency, then try to make sure if that is
actually the case.

Contact me if you think there is a problem.

--
Niels Breet
maemo.org webmaster


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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Graham Cobb
On Thursday 15 October 2009 09:10:44 Simon Pickering wrote:
 Replying to myself, another option (which is the same one that Android
 Scan/CompareEverywhere uses) would be to move the scraping to a
 server. This might let me use a single key for all the queries (though
 it may still break the terms and conditions, I'd have to look) and would
 also reduce on-device processing and the amount of data that needs to be
 transferred.

While you are tolerating discussion of enhancements!...

If you do use a server, it would be great if you implemented an offline mode 
where I could scan barcodes all day without network connectivity and, later, 
process them when I am online.  Some of the places one might want to scan 
barcodes (barcodes on display adverts, on buildings like in Westergasfabriek, 
or in warehouses) might not have great network connectivity.  Most 
professional barcode readers which I know of seem to do the scanning offline 
and process the barcodes once they are plugged into their docking/charging 
station.

This brings up a slightly larger question of how modular is your current 
implementation?  It feels like it would be good to have a library (accessible 
from C and Python) which would have an API like scan the barcode the user is 
currently pointing the camera at and give me back something that tells me 
what sort of barcode it was and the data it contains (maybe with some sort 
of callbacks to allow some user interaction if needed to give them 
help/feedback with the scanning).  

The subsequent processing (database, lookup, etc, etc.) is the sort of thing 
that various people might create separate applications for, although it might 
be useful to expose some useful APIs there as well: lookup this barcode 
number on Amazon, save this barcode in barcode database called 'My Books', 
etc.

Is that how it works at the moment or something you are looking in to?

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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Simon Pickering
On Thu, 2009-10-15 at 10:43 +0100, Graham Cobb wrote:
 On Thursday 15 October 2009 09:10:44 Simon Pickering wrote:
  Replying to myself, another option (which is the same one that Android
  Scan/CompareEverywhere uses) would be to move the scraping to a
  server. This might let me use a single key for all the queries (though
  it may still break the terms and conditions, I'd have to look) and would
  also reduce on-device processing and the amount of data that needs to be
  transferred.
 
 While you are tolerating discussion of enhancements!...

lol :)

 If you do use a server, it would be great if you implemented an offline 
 mode 
 where I could scan barcodes all day without network connectivity and, later, 
 process them when I am online.  Some of the places one might want to scan 
 barcodes (barcodes on display adverts, on buildings like in Westergasfabriek, 
 or in warehouses) might not have great network connectivity.  Most 
 professional barcode readers which I know of seem to do the scanning offline 
 and process the barcodes once they are plugged into their docking/charging 
 station.

Yes, in any case I was planning on allowing the raw data to be saved if
a lookup is not possible (for e.g. isbns and also for web urls, etc.), I
currently assume an internet connection (which should apparently be fine
for Fremantle ;)), but I need to get the code to ask for one and/or have
an offline scanning setting (oh dear more gui elements - a menu!)

 This brings up a slightly larger question of how modular is your current 
 implementation?  It feels like it would be good to have a library (accessible 
 from C and Python) which would have an API like scan the barcode the user is 
 currently pointing the camera at and give me back something that tells me 
 what sort of barcode it was and the data it contains (maybe with some sort 
 of callbacks to allow some user interaction if needed to give them 
 help/feedback with the scanning).  

 The subsequent processing (database, lookup, etc, etc.) is the sort of
 thing 
 that various people might create separate applications for, although it might 
 be useful to expose some useful APIs there as well: lookup this barcode 
 number on Amazon, save this barcode in barcode database called 'My Books', 
 etc.
 
 Is that how it works at the moment or something you are looking in to?

Yes this is indeed a good idea. At the moment it's not modular as
everything is mixed in, however the code is structured such that it
won't take long to separate out the processing from the video taking
from the gui etc.

The question is then how many separate layers? I guess a wrapper/lib to
process a barcode from an image buffer. An extra optional layer that can
be placed ontop of this to allow the user to see what they are pointing
at and to click Scan! (which we may do away with once the camera app
is opened up, then we can add the bottom-most layer as a plugin to
optionally analyse stuff taken with the main camera app). On top of
these/using these one can do the other stuff such as web-lookups,
databases, etc.

The web-lookups should possibly also be part of the bottom-most layer
though, or perhaps separated off into their own package as they will
generally be needed no matter the app.

Someone mentioned sending the barcodes out over DBUS, is this of
interest? Any use cases?

So I'm more than happy to do this (after I look at libgdigicam to work
out how to focus the N900's camera and turn the LED on), as long as
people want to use it, I don't want to waste time chopping things up if
no-one wants to use it afterwards.

Cheers,


Simon


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


Re: Maemo 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Dave Neary


Ville M. Vainio wrote:
 On Wed, Oct 14, 2009 at 11:02 PM, Ryan Abel rabe...@gmail.com wrote:
 
 So qwerty12 compiled a patched xev, I grabbed keycodes and I spent a
 couple hours trying to convince the device that it'd be a really great
 idea for shift-fn-b to send a pipe, for fn-right arrow to send tab,
 and a dozen other shifted and unshifted combinations.
 
 FWIW, I think selecting those chars from touch screen (fn + sym) isn't
 all that bad - probably easier than shift + fn + something. fn + right
 would make sense though.

I guess you have to know that's what you have to do first... I couldn't
figure out how to put accents on letters for text messages :)

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

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


Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Thomas Perl
Hello!

In the latest version of gPodder (written in Python), I have started
using maemo-optify. It saves around 1 MB according to maemo-optify's
output. The problem is that now when a user upgrades from an older
version to this version, it breaks (the user cannot start the
application from the icon, and starting it from the command line tells
me that Python can't find the gpodder module).

Uninstalling and re-installing the package fixes this problem, but I
assume there will be lots of users upgrading from the current version
in Extras (non-optified) to some optified version in the future, and
they won't just try to uninstall and re-install it and assume that the
application is at fault :/

Is it possible to fix that problem somehow? Or should I just disable
optification?

Another problem is the slower startup speed, which is really
noticeable now. That's another reason why I would like to go without
optification.

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


Re: Maemo 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Matan Ziv-Av
On Thu, 15 Oct 2009, Roald de Vries wrote:

 fn-backspace for esc, fn-enter for tab, or whatever else you want. The key 
 is, once we figure this out, you can remap to your heart's content. ;)

 ASCII has has 33 control characters, among which tab and esc. These 
 can be typed in your terminal through control-something. For example, 
 CTRL-I is tab, CTRL-[ is escape, CTRL-H is backspace (destructive) and 
 CTRL-M is enter. This is not really a solution to all the problems, 
 but at least you can type tabs without the on screen keyboard.

This is not exact. It might work in a terminal emulator, but it is not a 
universal thing. Tab and Esc are useful in a lot of programs (such as 
Esc for stop current page loading in a browser, and inserting a Tab in 
a word processor), and there those CTRL characters do not replace them.


-- 
Matan.

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


Re: Maemo 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Joaquim Rocha
Hi,

Matan Ziv-Av wrote:
 On Thu, 15 Oct 2009, Roald de Vries wrote:
 
 
 This is not exact. It might work in a terminal emulator, but it is not a 
 universal thing. Tab and Esc are useful in a lot of programs (such as 
 Esc for stop current page loading in a browser, and inserting a Tab in 
 a word processor), and there those CTRL characters do not replace them.
 
 

That's alright but you must keep in mind you are not on a desktop
computer and porting an application to Fremantle also passes through
providing alternatives to non-existing keys. I really don't think this
is an issue and I don't mind to press on two buttons to get a keys
dialog instead of using obscure key bindings that aren't even print on
the hardware keyboard.

Cheers,

--
Joaquim Rocha



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


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Attila Csipa
On Thursday 15 October 2009 12:21:54 Thomas Perl wrote:
 Another problem is the slower startup speed, which is really
 noticeable now. That's another reason why I would like to go without
 optification.

From what I heard that was also the reason why python (and Qt) are/were not 
optified, but apparently a choice will have to be made - speed or application 
space, but while speed is a 'should', application space is a 'must'. I wonder 
if some sort of optification could be done on the device itself, as in make 
it optional or a choice - this stuff I use often and I don't want it 
optified, while somehing else used rarely can be on /opt so it would not take 
up space on /. Not sure about the actual mechanism to do this, just thinking 
out loud.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Maemo 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Roald de Vries
  ASCII has has 33 control characters, among which tab and esc. These can be 
  typed in your terminal through control-something. For example, CTRL-I is 
  tab, CTRL-[ is escape, CTRL-H is backspace (destructive) and CTRL-M is 
  enter. This is not really a solution to all the problems, but at least you 
  can type tabs without the on screen keyboard.
 
 This is not exact. It might work in a terminal emulator, but it is not a 
 universal thing. Tab and Esc are useful in a lot of programs (such as Esc for 
 stop current page loading in a browser, and inserting a Tab in a word 
 processor), and there those CTRL characters do not replace them.

I didn't claim it was a universal thing. It works in a terminal.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Quim Gil


ext Thomas Perl wrote:
 Hello!
 
 In the latest version of gPodder (written in Python), I have started
 using maemo-optify. It saves around 1 MB according to maemo-optify's
 output. The problem is that now when a user upgrades from an older
 version to this version, it breaks (the user cannot start the
 application from the icon, and starting it from the command line tells
 me that Python can't find the gpodder module).
 
 Uninstalling and re-installing the package fixes this problem, but I
 assume there will be lots of users upgrading from the current version
 in Extras (non-optified) to some optified version in the future, and
 they won't just try to uninstall and re-install it and assume that the
 application is at fault :/

lots of users before sales start = actually not that many and all of
them quite savvy and even probably reflashing at this point.

Thanks for you report though. It's clearer that unless we find several
solutions the time for optification is NOW, or whenever a developer is
pushing a first release to Extras.

 
 Is it possible to fix that problem somehow? Or should I just disable
 optification?
 
 Another problem is the slower startup speed, which is really
 noticeable now. That's another reason why I would like to go without
 optification.
 
 Thanks,
 Thomas

-- 
Quim Gil
open source advocate
Maemo Devices @ Nokia
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Matan Ziv-Av
On Thu, 15 Oct 2009, Attila Csipa wrote:

 On Thursday 15 October 2009 12:21:54 Thomas Perl wrote:
 Another problem is the slower startup speed, which is really
 noticeable now. That's another reason why I would like to go without
 optification.

 From what I heard that was also the reason why python (and Qt) are/were not
 optified, but apparently a choice will have to be made - speed or application
 space, but while speed is a 'should', application space is a 'must'. I wonder
 if some sort of optification could be done on the device itself, as in make
 it optional or a choice - this stuff I use often and I don't want it
 optified, while somehing else used rarely can be on /opt so it would not take
 up space on /. Not sure about the actual mechanism to do this, just thinking
 out loud.

Why not do something simple like leave all packages installing in the 
regular place, and running on the device something like

cp -a /usr /home/
mv /usr /usr2
ln -s /home/usr /usr
rm -rf /usr2

Every linux user who partitioned his disk wrongly has done something 
like this.

All this requires is that bootup scripts do not use files under /usr 
before /home is mounted, but that's supposed to be true anyway.


-- 
Matan.

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


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Graham Cobb
- Original message -
 Uninstalling and re-installing the package fixes this problem, but I
 assume there will be lots of users upgrading from the current version
 in Extras (non-optified) to some optified version in the future, and
 they won't just try to uninstall and re-install it and assume that the
 application is at fault :/

Not too many at the moment, I hope, but as this may be a source of problems in 
the future it is important that we minimise the need to upgrade from 
non-optified to optified by getting everything optified asap.  Let's 
concentrate our testing on the optified versions.

 Is it possible to fix that problem somehow? Or should I just disable
 optification?

Definitely not.  There is too little space to allow non-optified apps to go 
into extras in the future.

 Another problem is the slower startup speed, which is really
 noticeable now. That's another reason why I would like to go without
 optification.

If you could quantify this and/or do some investigation of what, in particular, 
is causing the slowdown it would be very useful.  We have to find some way to 
move most of the app's storage to /home and the better we understand the 
impacts the better the solution can be.

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


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Marius Gedminas
On Thu, Oct 15, 2009 at 12:21:54PM +0200, Thomas Perl wrote:
 In the latest version of gPodder (written in Python), I have started
 using maemo-optify. It saves around 1 MB according to maemo-optify's
 output. The problem is that now when a user upgrades from an older
 version to this version, it breaks (the user cannot start the
 application from the icon, and starting it from the command line tells
 me that Python can't find the gpodder module).

That's a packaging bug, from the user's perspective.

 Uninstalling and re-installing the package fixes this problem, but I
 assume there will be lots of users upgrading from the current version
 in Extras (non-optified) to some optified version in the future, and
 they won't just try to uninstall and re-install it and assume that the
 application is at fault :/

 Is it possible to fix that problem somehow? Or should I just disable
 optification?

What's the practical difference between upgrading and
removing-then-reinstalling?  (It probably shows that I haven't read the
maemo-optify and python apps thread.)  Maybe you could fix the upgrade
problem by writing a suitable preinst script?

 Another problem is the slower startup speed, which is really
 noticeable now. That's another reason why I would like to go without
 optification.

Ouch.

Have you done any measurements?

Marius Gedminas
-- 
Bumper sticker: No radio - Already stolen.


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


Re: Optification breaks package on upgrade from non-optified older version

2009-10-15 Thread Marius Vollmer
ext Marius Gedminas mar...@pov.lt writes:

 Uninstalling and re-installing the package fixes this problem, but I
 assume there will be lots of users upgrading from the current version
 in Extras (non-optified) to some optified version in the future, and
 they won't just try to uninstall and re-install it and assume that the
 application is at fault :/

 Is it possible to fix that problem somehow? Or should I just disable
 optification?

 What's the practical difference between upgrading and
 removing-then-reinstalling?  (It probably shows that I haven't read the
 maemo-optify and python apps thread.)  Maybe you could fix the upgrade
 problem by writing a suitable preinst script?

I will have a close look at this soonish.  Right now I assume that we
need to 'fix' dpkg somehow to get over this, but hopefully not.

In any case having upgrades break because of maemo-optify is of course
quite severe and I/we need to fix this 'asap'.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Maemo 5 Keymaps - The Saga of Pipe Tab

2009-10-15 Thread Ryan Abel
On Oct 15, 2009, at 7:23 AM, Joaquim Rocha wrote:

 Matan Ziv-Av wrote:

 On Thu, 15 Oct 2009, Roald de Vries wrote:


 This is not exact. It might work in a terminal emulator, but it is  
 not a
 universal thing. Tab and Esc are useful in a lot of programs (such as
 Esc for stop current page loading in a browser, and inserting a Tab  
 in
 a word processor), and there those CTRL characters do not replace  
 them.

 That's alright but you must keep in mind you are not on a desktop
 computer and porting an application to Fremantle also passes through
 providing alternatives to non-existing keys. I really don't think this
 is an issue and I don't mind to press on two buttons to get a keys
 dialog instead of using obscure key bindings that aren't even print on
 the hardware keyboard.

I do, however, and there's little reason to hamstring yourself if  
there's no need to. :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


PyMaemo (Python for Maemo) release candidate for Maemo 5 (Fremantle)

2009-10-15 Thread Anderson Lizardo
Hi,

The PyMaemo team is pleased to announce the release candidate of
PyMaemo for Maemo 5!

This new release is currently available through the extras-devel
repository, for installation instructions see:
http://pymaemo.garage.maemo.org/installation.html. Note that some
PyMaemo packages were automatically promoted to extras-testing/extras
because they are dependencies from other promoted applications, so you
might be already using the latest versions.

We also are proud to present the new look for the PyMaemo website:
http://pymaemo.garage.maemo.org/. Comments are welcome :). As part of
the new website organization, we moved most of the documentation to
the wiki, so the community can easily contribute with fixes/updates to
it:

http://wiki.maemo.org/PyMaemo

What is it?
--
Python for Maemo (PyMaemo for short) main objective is to make
possible to use Python programming language as the scripting and
development language for Maemo Platform, providing a better
alternative for fast prototyping and programming in Maemo environment
besides the C programming language.

Python is for serious programming and to have fun. Python has a nice
syntax, it is easy to learn and powerful enough for a vast range of
applications, this is why we choose Python for Maemo.

What has changed?
---

New packages:

* python-alarm: 0.1-0maemo1
+ complete rewrite of libalarm bindings, now using Cython (note that the API
  has changed a lot since Diablo, for now check the C API documentation[1] for
  reference)

Updated packages:

* python-hildon: 0.9.0-1maemo13
+ Lots of bug fixes (including adding a few missing API)
* cython: 0.11.2-1maemo1
+ Update to latest package in Debian.
* gst0.10-python: 0.10.14-2maemo5
+ Add python2.5-gstreamer to Provides/Replaces/Conflicts keywords
* pyclutter: 0.8.0-1maemo3
+ Add opengles-sgx-img-common-dev as an alternative dependency to libgl-dev
  (libgl-dev was removed from Maemo 5 final ARMEL SDK)
* python-osso: 0.4-0maemo1
+ Complete rewrite using Cython (earlier version had subtle bugs due to missing
  sanity checks), plus a few API updates. This new version is API compatible
  with previous one.
* python2.5: 2.5.4-1maemo2
+ Drop sbox-ld-preload.dpatch.
* pygtk: 2.12.1-6maemo8
+ Add mising Maemo specific API and some python2.6 compatibility fixes (note
  that we do not support python2.6 in Maemo 5, this is a future proof fix).
* python-hildondesktop: 0.0.3-1maemo2
+ Add support for Status Menu widgets.
* ipython: 0.10-1maemo1
+ Update to latest release from Debian

Bugs fixed: MB#4782, MB#4821, MB#4897, MB#4920, MB#4923, MB#4936,
MB#4947, MB#4957, MB#4969, MB#4977, MB#5015, MB#5026, MB#5027,
MB#5096, MB#5102, MB#5143, MB#5164, MB#5199, MB#5226, MB#5244

Known issues
-

python-mafw (Python bindings for MAFW) is still considered alpha
quality, and there are a couple of known issues on it:
MB#4919: python-mafw: list of missing types to complete methods bindings
MB#4824: python-mafw: source_browsing.py example does not work
MB#4932: python-mafw: mafw.Source.browse() method is missing
MB#4839: python-mafw: mafw.Registry lacks list_plugins() method
MB#4849: python-mafw: MafwPluginDescriptorPublic structure is missing

Hildon Widgets written in Python may not appear on the Add widget
list (see MB#5232). We already have a partial fix for the problem, and
will upload a new version for python-hildondesktop soon. As a
workaround, you can start the widgets from the command line, as
standalone programs. See http://wiki.maemo.org/PyMaemo/HildonDesktop
for an example on how to do this.

There are some bugs in the current documentation for python-hildon
(namely the Python Hildon tutorial and reference manual, see MB#5091
and MB#5141). Due to a mistake while upgrading to the new website
layout, this documentation is temporarily unavailable. We are working
to fix this and will make them available soon.

There are no bindings for GUPnP (MB#4829), libhildonmime (MB#5157), as
well for various other Maemo 5 components. We plan to work on
providing bindings for these components during the Maemo 5 life cycle.

The PyMaemo base set of packages take considerable storage space
(MB#5364). We already started experiments with the maemo-optify tool
to install biggest things out of root fs, and we plan to reduce a
plenty of storage usage by cutting unnecessary things (such as some
remaining documentation). Expect next releases to reduce storage usage
gradually.

We will not migrate to python2.6 in Maemo 5 due to a (unresolved)
bug (MB#4734 [18]), where a core SDK package explicitly conflicts with
python = 2.6, preventing any further upgrades from the 2.5.x series.

This release is supposed to be compatible with previous releases. If
you have any issues regarding building or running your Python
application on Maemo 5, feel free to contact us (see below for how to
contact the PyMaemo team and report bugs).

Acknowledgments:
-

Thanks to everybody who helped making this release 

Cmake + Armel + Fremantle = Segfault

2009-10-15 Thread Nathan Anderson
According to a set of posts on this mailing list this is a known issue
(http://www.mail-archive.com/maemo-developers@maemo.org/msg20041.html); but
I didn't see a resolution to this.   As more developers start working on
moving packages to the fremantle OS, this is going to crop up more and more.

Can we come to some sort of conclusion on this so that we can get this fixed
asap?  

The only two solutions I've seen presented are:
1. Putting of a non-arm binary in the extras-devel repository (i.e. a
scratchbox host x86 cmake) so that we can use it as a dependancy.
2. Or the gatekeepers of the builder to add a new cmake to the devkit in the
auto-build environment -- and have this cmake published (in a garage
project?) so that the devs can get it so they can use it locally to test the
compiling of apps on their scratchboxes armel targets.

I think the devkit-cmake (or maybe it should be named scratchbox-cmake) idea
is the simplist to implement -- and doesn't require the build-keepers to do
anything.   Or do we need to create a new repository (i.e.
fremantle/scratchbox) so that any other tools we find broken in the future
can be put in their to keep x86 binaries out of the repository.  

Nathan.


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


Re: Cmake + Armel + Fremantle = Segfault

2009-10-15 Thread Anderson Lizardo
On Thu, Oct 15, 2009 at 12:39 PM, Nathan Anderson
nat...@andersonsplace.net wrote:
 According to a set of posts on this mailing list this is a known issue
 (http://www.mail-archive.com/maemo-developers@maemo.org/msg20041.html); but
 I didn't see a resolution to this.   As more developers start working on
 moving packages to the fremantle OS, this is going to crop up more and more.

 Can we come to some sort of conclusion on this so that we can get this fixed
 asap?

I just remembered why I didn't upload my modified cmake packages to
fremantle extras-devel (besides the fact it being a x86 binary
available through extras-devel for ARMEL looks strange). It was told
that at some point a scratchbox update would contain cmake on it. I'm
not sure if this is the case, or even if the fremantle autobuilder has
this new version (if it exists).

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


Wikifying the /opt problem

2009-10-15 Thread Ville Reijonen

Hi all,

I have been following this discussion on /opt. Just had an lazy evening 
thinking the problem so I whipped up a wiki page. Check and edit:

http://wiki.maemo.org/Opt_Problem


-- 
VRe :: http://iki.fi/vre :: +358 40 5775 456
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Jody Fanning
On 15.10.2009 10:57, Simon Pickering wrote:

 For 1D codes mbarcode will attempt a very basic webscrape of Amazon and
 will (hopefully) return a title (rather than a segfault). For URLs
 encoded in a QR code/datamatrix it will open the webbrowser and for
 vCards it will add them to your contacts.

 Why is it necessary to do a webscrape of Amazon. Amazon has plenty
 of simple APIs for getting data freely and easily. The REST based ones
 are extremely simple and you get back an XML document with everything
 you need.
  
 It quite possibly isn't necessary, this is certainly not my area of
 expertise, just something I wanted to get working ASAP. When I looked at
 how to do this I found a mixture of web scraping tools and ones that use
 Amazon Web Services. AFAIK AWS requires that you register to obtain a
 key, and I'm not sure of the exact terms and conditions, but I presume
 they will not want me to share my key, but I may be wrong about this.

 I guess you're also talking about AWS? What is your take on the key
 issues - share mine, or get each user to register themselves and get a
 key? Perhaps the registration could be automated. Any thoughts? Patches
 welcome of course.

 Cheer

I'm pretty sure you are able to share the key. I do have an AWS account 
and have used it for my own stuff (in Java though). But all those 
applications around must have a key embedded since they never ask you to 
register yourself. There must be some other open source applications 
around that fetch data from Amazon using AWS.

Amazon did make things a little more complicated a few months ago 
though. All requests must be signed, but they generally provide code 
samples for how to do everything. One thing is to check the licensing of 
the interfaces. There was something recently about different licensing 
between mobile devices and other uses that came up with the iPhone. But 
the advantage is that you won't have any problem with the page layout 
breaking things. Plus their APIs provide pretty much every detail about 
an item you could think of.

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


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Simon Pickering
Hi Jody,

On Thu, 2009-10-15 at 21:42 +0300, Jody Fanning wrote:
 On 15.10.2009 10:57, Simon Pickering wrote:
 
  For 1D codes mbarcode will attempt a very basic webscrape of Amazon and
  will (hopefully) return a title (rather than a segfault). For URLs
  encoded in a QR code/datamatrix it will open the webbrowser and for
  vCards it will add them to your contacts.
 
  Why is it necessary to do a webscrape of Amazon. Amazon has plenty
  of simple APIs for getting data freely and easily. The REST based ones
  are extremely simple and you get back an XML document with everything
  you need.
   
  It quite possibly isn't necessary, this is certainly not my area of
  expertise, just something I wanted to get working ASAP. When I looked at
  how to do this I found a mixture of web scraping tools and ones that use
  Amazon Web Services. AFAIK AWS requires that you register to obtain a
  key, and I'm not sure of the exact terms and conditions, but I presume
  they will not want me to share my key, but I may be wrong about this.
 
  I guess you're also talking about AWS? What is your take on the key
  issues - share mine, or get each user to register themselves and get a
  key? Perhaps the registration could be automated. Any thoughts? Patches
  welcome of course.
 
  Cheer
 
 I'm pretty sure you are able to share the key. I do have an AWS account 
 and have used it for my own stuff (in Java though). But all those 
 applications around must have a key embedded since they never ask you to 
 register yourself. There must be some other open source applications 
 around that fetch data from Amazon using AWS.
 
 Amazon did make things a little more complicated a few months ago 
 though. All requests must be signed, but they generally provide code 
 samples for how to do everything. One thing is to check the licensing of 
 the interfaces. There was something recently about different licensing 
 between mobile devices and other uses that came up with the iPhone. But 
 the advantage is that you won't have any problem with the page layout 
 breaking things. Plus their APIs provide pretty much every detail about 
 an item you could think of.

OK thank you, I'll take a look at this. 

Of course if anyone knows about this and/or wants to submit code
patches, they will be greatly appreciated!

Cheers,


Simon


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


all garage projects: svn repos go read-only

2009-10-15 Thread Ferenc Szekely
Hello,

In order to complete today's actions with the disk rearrangements on
garage we need to disable write access to the svn repos. This will last
until the repos are mirrored to the new disk which is expected to take a
couple of hours.

Full access will be turned on as soon as rsync finished the job.

I am very sorry for the inconvenience.

Cheers,
ferenc
-- 
maemo.org sysadmin, developer
email: fer...@maemo.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mbarcode/maemo-barcode dialog oddity and progress report

2009-10-15 Thread Marius Gedminas
On Thu, Oct 15, 2009 at 09:42:40PM +0300, Jody Fanning wrote:
 On 15.10.2009 10:57, Simon Pickering wrote:
  Why is it necessary to do a webscrape of Amazon. Amazon has plenty
  of simple APIs for getting data freely and easily. The REST based ones
  are extremely simple and you get back an XML document with everything
  you need.
   
  It quite possibly isn't necessary, this is certainly not my area of
  expertise, just something I wanted to get working ASAP. When I looked at
  how to do this I found a mixture of web scraping tools and ones that use
  Amazon Web Services. AFAIK AWS requires that you register to obtain a
  key, and I'm not sure of the exact terms and conditions, but I presume
  they will not want me to share my key, but I may be wrong about this.
 
 I'm pretty sure you are able to share the key. I do have an AWS account 
 and have used it for my own stuff (in Java though). But all those 
 applications around must have a key embedded since they never ask you to 
 register yourself. There must be some other open source applications 
 around that fetch data from Amazon using AWS.

Calibre, for one.  The key is embedded right there in the sources.
I don't know if they're allowed to do that since I was too lazy to
actually read the AWS agreement.  (Shh! Don't tell anyone.)

I applied for an AWS key, got two (one called access key, the other
called secret access key), did some experiments with pyaws (a Python
library for accessing the AWS).  I couldn't get it to work with just the
AWS key, I needed to supply both.  I don't know how Calibre manages to
do its thing with just one key (or maybe it's broken now -- I couldn't
figure out the user interface and ran away screaming to invent my own
library management system).

 Amazon did make things a little more complicated a few months ago 
 though. All requests must be signed,

This might mean that Calibre was using old unsigned requests at the time
I looked at its source code.

 but they generally provide code 
 samples for how to do everything. One thing is to check the licensing of 
 the interfaces. There was something recently about different licensing 
 between mobile devices and other uses that came up with the iPhone. But 
 the advantage is that you won't have any problem with the page layout 
 breaking things. Plus their APIs provide pretty much every detail about 
 an item you could think of.

Marius Gedminas
-- 
Give a man a computer program and you give him a headache, but teach him to
program computers and you give him the power to create headaches for others for
the rest of his life...
-- R. B. Forest


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


Re: Cmake + Armel + Fremantle = Segfault

2009-10-15 Thread Marijn Kruisselbrink
On Thursday 15 October 2009 19:12:14 Anderson Lizardo wrote:
 On Thu, Oct 15, 2009 at 12:39 PM, Nathan Anderson

 nat...@andersonsplace.net wrote:
  According to a set of posts on this mailing list this is a known issue
  (http://www.mail-archive.com/maemo-developers@maemo.org/msg20041.html);
  but I didn't see a resolution to this.   As more developers start working
  on moving packages to the fremantle OS, this is going to crop up more and
  more.
 
  Can we come to some sort of conclusion on this so that we can get this
  fixed asap?

 I just remembered why I didn't upload my modified cmake packages to
 fremantle extras-devel (besides the fact it being a x86 binary
 available through extras-devel for ARMEL looks strange). It was told
 that at some point a scratchbox update would contain cmake on it. I'm
 not sure if this is the case, or even if the fremantle autobuilder has
 this new version (if it exists).
I was told by some nokia person that the recently released SDK would indeed 
contain cmake, but it appears this didn't happen... I'll check what's going 
on here...

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


Re: Uploading to Fremantle extras via Extras Assistant

2009-10-15 Thread Aniello Del Sorbo
any news why this is not working for me anymore???

it used to work before, I didn't change anything and now it says that
the changes file (I used to upload fine) now it's invalid.

I can't upload new packages of Xournal because of this.

--
anidel



2009/10/9 Aniello Del Sorbo ani...@gmail.com:
 I am trying to upload a new version of Xournal in order to promote it
 to Testing, but the extras assistant keeps saying my changes is
 incorrect.
 I haven't changed anything and was working fine for fremantle-beta, do
 I have to do something?

 --

 --
 anidel
 Sent from London, Eng, United Kingdom

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


Re: Uploading to Fremantle extras via Extras Assistant

2009-10-15 Thread Aniello Del Sorbo
uhm.. I've upgraded to Ubuntu 9.10 and I think I've lost my keys?

(WARNING: Failed to sign .dsc and .changes file)

But I am uploading via web interface, should not be an issue, should it?

--
anidel
Sent from London, Eng, United Kingdom


2009/10/15 Aniello Del Sorbo ani...@gmail.com:
 any news why this is not working for me anymore???

 it used to work before, I didn't change anything and now it says that
 the changes file (I used to upload fine) now it's invalid.

 I can't upload new packages of Xournal because of this.

 --
 anidel



 2009/10/9 Aniello Del Sorbo ani...@gmail.com:
 I am trying to upload a new version of Xournal in order to promote it
 to Testing, but the extras assistant keeps saying my changes is
 incorrect.
 I haven't changed anything and was working fine for fremantle-beta, do
 I have to do something?

 --

 --
 anidel
 Sent from London, Eng, United Kingdom


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


Re: Uploading to Fremantle extras via Extras Assistant

2009-10-15 Thread Marius Gedminas
On Thu, Oct 15, 2009 at 10:59:05PM +0100, Aniello Del Sorbo wrote:
 uhm.. I've upgraded to Ubuntu 9.10 and I think I've lost my keys?
 
 (WARNING: Failed to sign .dsc and .changes file)
 
 But I am uploading via web interface, should not be an issue, should it?

No, signing is not needed for EA.

Can you upload the .changes file somewhere so we could take a look and
try to guess why Extras Assistant is unhappy?

One guess:

  I haven't changed anything and was working fine for fremantle-beta, do
  I have to do something?

Are you trying to re-upload the same .changes file you've already
uploaded once?  You can't do that, you need to increment the version
number and rebuild the source package.

Marius Gedminas
-- 
  (Pdb) operationerr.w_value.w_value.w_value.w_value.w_value.w_value
  pypy.interpreter.executioncontext.OperationError instance at 0x5eee30
 -- one of the clearer PyPy debugging sessions
(seen in Michael Hudson's sig)


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


Re: Uploading to Fremantle extras via Extras Assistant

2009-10-15 Thread Aniello Del Sorbo
I think I can re-upload the same version and it'll be accepted, but
later rejected at compilation time because of the same version.

I will try re-uploading the package with a new version, but I am sure
version 10 is the latest and 11 is the newest (never uploaded).

Attached is the .changes file (i've tried both of them)

--
anidel
Sent from London, Eng, United Kingdom


2009/10/15 Marius Gedminas mar...@pov.lt:
 On Thu, Oct 15, 2009 at 10:59:05PM +0100, Aniello Del Sorbo wrote:
 uhm.. I've upgraded to Ubuntu 9.10 and I think I've lost my keys?

 (WARNING: Failed to sign .dsc and .changes file)

 But I am uploading via web interface, should not be an issue, should it?

 No, signing is not needed for EA.

 Can you upload the .changes file somewhere so we could take a look and
 try to guess why Extras Assistant is unhappy?

 One guess:

  I haven't changed anything and was working fine for fremantle-beta, do
  I have to do something?

 Are you trying to re-upload the same .changes file you've already
 uploaded once?  You can't do that, you need to increment the version
 number and rebuild the source package.

 Marius Gedminas
 --
  (Pdb) operationerr.w_value.w_value.w_value.w_value.w_value.w_value
  pypy.interpreter.executioncontext.OperationError instance at 0x5eee30
                         -- one of the clearer PyPy debugging sessions
 (seen in Michael Hudson's sig)

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iD8DBQFK153JkVdEXeem148RAr5rAJ4v+FKYj3Zs3GbIbOTTJ29j0OJI9gCfdk4e
 i3HbFrU4p/d4r+ZZ5sqVkpc=
 =T+j3
 -END PGP SIGNATURE-

 ___
 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: Uploading to Fremantle extras via Extras Assistant

2009-10-15 Thread Jeremiah Foster

On Oct 16, 2009, at 24:13, Aniello Del Sorbo wrote:

 I think I can re-upload the same version and it'll be accepted, but
 later rejected at compilation time because of the same version.

 I will try re-uploading the package with a new version, but I am sure
 version 10 is the latest and 11 is the newest (never uploaded).

 Attached is the .changes file (i've tried both of them)

Perhaps you forgot to attach your changes files?

Jeremiah

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