maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flip clock pre pre pre pre release (https://talk.maemo.org/showthread.php?t=25582)

qole 2009-02-17 22:11

Re: Flip clock pre pre pre pre release
 
I love pypackager too, I wish Khertan had kept developing it.

EDIT: I use it to package all my stuff, including Easy Debian... :)

BrentDC 2009-02-17 22:13

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by qole (Post 265209)
I love pypackager too, I wish Khertan had kept developing it.

Ditto. That's how I packaged up Quick Clip.

Tabster 2009-02-17 23:36

Re: Flip clock pre pre pre pre release
 
I just tried this for the first time. I was not able to find the pygame dependency though. I thought it was in Maemo Extras but I don't see it there.

any hints?

Tabster 2009-02-18 01:09

Re: Flip clock pre pre pre pre release
 
I ended up installing maemo-python-device-env
to get the pygame component.

Then I could install from the deb in post 1 (version 0.1.0)

The first time I ran it I got a few errors
"Can't read the user wallpaper"
"unable to save the user config" (or something like that)
then it crashed.
I ran it a few more times and now the only error I get is
"Can't read the user wallpaper"
everytime I launch it.
It does now seem to save my settings after restarts.

ciroip 2009-02-18 07:44

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Tabster (Post 265249)
I just tried this for the first time. I was not able to find the pygame dependency though. I thought it was in Maemo Extras but I don't see it there.

I thought was there too :(
The cleaneast and easier solution I found is to install an application already in the repository that use python and pygame like solarwolf. If the clock will ever reach the extras the application manager should take care of the dependencies
Quote:

Originally Posted by Tabster (Post 265249)
I ended up installing maemo-python-device-env
to get the pygame component.

Then I could install from the deb in post 1 (version 0.1.0)

The first time I ran it I got a few errors
"Can't read the user wallpaper"
"unable to save the user config" (or something like that)
then it crashed.
I ran it a few more times and now the only error I get is
"Can't read the user wallpaper"
everytime I launch it.
It does now seem to save my settings after restarts.

These are NOT errors: are FEATURES :p
Since the application is not 100% complete I want notify what is going on (using the very convenient
Code:

osso_c = osso.Context("osso_test_note", "0.0.1", False)
for some 'except' in the code):
- The 1st time the application create the .flipclock.conf under the user path (try to delete it under /home/user if you want see that notify again :)).
- I knew that using the user wallpaper would end in a mess: I'll try to take a look before trash that feature (anyway the clock just wanted to use the user background image for the window mode (slide down on the main clock screen) and under the about screen: In case the app could not find the wallpaper I manage to use the color from the mood).
Thank You for the feedback

Didge 2009-02-18 08:33

Re: Flip clock pre pre pre pre release
 
I just installed the last Deb, ciroip you are a genius!!! Realy great.
Will test it tomorrow in the morning, also testing the women acceptance factor. :-)

ciroip 2009-02-18 09:15

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Didge (Post 265322)
Will test it tomorrow in the morning, also testing the women acceptance factor. :-)

lol, I dont think the application will have this huge success on women and the n810 is everything but sexy: maybe with the pink mood and with a softer ringertones... anyway since Im a graphic guy (and packaging with pypackager is a breeze) Ill probably do a lessgeek version: originally I was thinking to use a flickr account and some facebook notify for the window mode: that will probably make the app a bit more appealing.
I guess the WAF is pretty low for 99% of the entire tablet applications 'panorama' anyway; developers: more lolcatz and hellokitty themed applications

Tabster 2009-02-18 12:41

Re: Flip clock pre pre pre pre release
 
thanks for the explanation ciroip.

My background is in the Images folder rather than using one of the built-in from a theme. Maybe you can search this folder too?

A suggestion: Can you make the date have a large day rather than year? I would much rather see

Wed - 2009
Feb - 18

Thanks for the great app :)

jolouis 2009-02-18 16:15

Re: Flip clock pre pre pre pre release
 
Yea forgot to mention last time in my post about the clock updates ciroip, I fixed the user background thing too because it didn't work for me; anyone who's got "user background not found" error, just open up ci_init.py, and somewhere around line 83 it reads:
Code:

    config.read (userpath+"/.osso/hildon-desktop/home-background.conf")
    userbg = config.get("Hildon Home", "BackgroundImage")

Right after that just add:
Code:

    #fix reading background file for absolute file locations
    userbg = userbg.replace("file://", "")

That'll fix it. If you use a background that's not in the default directory, it's stored in the config file as "file:///path/to/image", so this just strips that initial file:// off to make it work properly.

Is there supposed to be an actual clock display in "Window" mode by the way? I see the layout and alarm info, but no actual clock...

fpp 2009-02-18 17:07

Re: Flip clock pre pre pre pre release
 
ciroip, have you seen the recent announcement on planet maemo about the new "debmaster" for maemo.org ? That guy is a packaging guru and he's here specifically to help out community developers with that black magic stuff...


All times are GMT. The time now is 13:48.

vBulletin® Version 3.8.8