Re: Countdown app using PyGTK

2009-09-29 Thread Matthias Huber

Marcel schrieb:



[1]:
error: invalid Python installation: unable to
open /usr/include/python2.6/pyconfig.h (No such file or directory)
  
  

when do you get this error ?


when doing
$ python setup.py install
in the program's directory on the Neo to install it.
  

i don't have such a headerfile in my python-dir.


Me neither, and I noticed it's included in Debian's normal python
package, but doesn't exist in Ã…ngstrom (base of all our opkg-using
distros) as it seems...

  

i have meanwhile ubuntu 9.04 and i have

this file in /usr/include/python2.6/pyconfig.h


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Countdown app using PyGTK

2009-09-28 Thread Marcel
Hello,

thanks, that works fine!
Inkscape produced an own icon for me (I love svg!) in the meantime, it's
included in the tarball. Don't really know yet which one I like more,
mine fits better into the colorful SHR look I think...

I've uploaded the current version:
http://d-a300.selfip.net/files/eieruhr-0.2.1.tar.gz

Since it doesn't want to install using distutils on my Neo [1] and I
have no idea how to fix that, you are advised to do a dry run (-n) first
to see what would happen, but encouraged to try it. :)
A bb recipe at least exists, too, but I'm still looking for some advice
with my install problem; de...@l.om.org wasn't helpful yet...

Marcel

[1]:
error: invalid Python installation: unable to
open /usr/include/python2.6/pyconfig.h (No such file or directory)

Am Montag, den 28.09.2009, 20:19 +0200 schrieb Matthias Huber: 
 Hi Marcel,
 
 i made the field for the countdown a little bigger and have a icon for you.
 you can use it for the public.
 i tried also to use this for the knobs, but it didn't work (for now)
 
 you can reach me at home:
 
 matthias.hu...@wollishausen.de (matzehuber)
 
 import pango
 ^^^
 
  self.timedisp = gtk.Entry(0)
  self.timedisp.set_text(06:00)
  self.timedisp.set_alignment(0.5)
  self.timedisp.modify_font(pango.FontDescription(Sans 20))
 
  self.timedisp.show()
  self.vbox.add(self.timedisp)
 
 
 
 
 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Countdown app using PyGTK

2009-09-28 Thread Matthias Huber
Marcel schrieb:
 included in the tarball. Don't really know yet which one I like more,
 mine fits better into the colorful SHR look I think...
   
i like mine more, because i am remebering old times with my grand ma. :-)

and .. btw i dont like black knobs with little white letters in the sun 
outside.

although it seems that most of moko-users are glad with it.

or isn't this the reason for you to ask the community for help, that the 
letters are to little ?


 Since it doesn't want to install using distutils on my Neo [1] and I
 have no idea how to fix that, you are advised to do a dry run (-n) first
 to see what would happen, but encouraged to try it. :)
 A bb recipe at least exists, too, but I'm still looking for some advice
 with my install problem; de...@l.om.org wasn't helpful yet...
   
i don't understand anything about bb recipes and such things, i always 
use ipkg-utils for packaging.

 [1]:
 error: invalid Python installation: unable to
 open /usr/include/python2.6/pyconfig.h (No such file or directory)
   
when do you get this error ?

i don't have such a headerfile in my python-dir.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Countdown app using PyGTK

2009-09-28 Thread Marcel
Am Montag, den 28.09.2009, 22:40 +0200 schrieb Matthias Huber: 
 Marcel schrieb:
  included in the tarball. Don't really know yet which one I like more,
  mine fits better into the colorful SHR look I think...

 i like mine more, because i am remebering old times with my grand ma. :-)
 
 and .. btw i dont like black knobs with little white letters in the sun 
 outside.
 
 although it seems that most of moko-users are glad with it.
 
 or isn't this the reason for you to ask the community for help, that the 
 letters are to little ?

I just thought about the time display - didn't even notice the button's
captions being too small because I know by heart what they do. Good
point, going to change that.

  Since it doesn't want to install using distutils on my Neo [1] and I
  have no idea how to fix that, you are advised to do a dry run (-n) first
  to see what would happen, but encouraged to try it. :)
  A bb recipe at least exists, too, but I'm still looking for some advice
  with my install problem; de...@l.om.org wasn't helpful yet...

 i don't understand anything about bb recipes and such things, i always 
 use ipkg-utils for packaging.

As some SHR guy said: Having packages made by the distribution
maintaines (or rather their build system) is more reliable than having
packages spread all over opkg.org and having to check manually for
updates. The hint with the bb recipe was intended for some guy reading
my mail on commun...@l.om.org and wanting to help. (That's why I cc'ed
the list, would be helpful if you replied to it, too, so that others
notice what we're talking here.)

  [1]:
  error: invalid Python installation: unable to
  open /usr/include/python2.6/pyconfig.h (No such file or directory)

 when do you get this error ?

when doing
$ python setup.py install
in the program's directory on the Neo to install it.

 i don't have such a headerfile in my python-dir.

Me neither, and I noticed it's included in Debian's normal python
package, but doesn't exist in Ã…ngstrom (base of all our opkg-using
distros) as it seems...

--
Marcel


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Countdown app using PyGTK

2009-09-21 Thread Thomas Zimmermann
Am Montag 21 September 2009 13:58:16 schrieb Marcel:
 Moin!
 
 I've written a little python app that can count down for a given amount
 of time, either just seconds or hh:mm. I always missed that feature in
 ffalarms (which also only does 5min-steps, not sufficient for my needs)
 but I'm not willing to fiddle with elm, so here it's in GTK, feel free
 to try it.
 
 Although the GUI fits nicely with the illume keyboard visible, I'd like
 to have the text entry field for the countdown time a little larger. How
 can I do that independently (that word looks strange to me...) from the
 GTK theme?
 
 Here it is:
 http://d-a300.selfip.net/files/eieruhr.tar.gz
 Just the python script and a desktop file yet, is there some minimal
 sample for a bb recipe somewhere?
if you inlcude a setup.py for distutils, then the essentials for the recipe 
are:

RDEPENDS = python-pygtk
SRC_URI = http://yourpage.org/app.tar.gz;
inherit disutils

That's all.
 
 Marcel

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community