Re: Fast screen rotate app

2008-11-25 Thread Tilman Baumann
Moritz Bitsch wrote:
 Hi,
 
 thanks for testing.
 
 I've fixed the build script and the desktop file. All files are now
 with PREFIX=/usr.
 
 I also fixed the stupid dependency error.
 
 A updated ipkg and tgz can be get from here:
 https://turmspitze.org/files/

I suppose it works now.
I'm completely baffled by another problem, which seems unrelated to your 
app. X/enlightenment or Illume sems to be broken in the recent SHR feed.
rotate does not even work with the xrandr command.

-- 
Drucken Sie diese Mail bitte nur auf Recyclingpapier aus.
Please print this mail only on recycled paper.

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


Re: Fast screen rotate app

2008-11-24 Thread Tilman Baumann
Moritz Bitsch wrote:
 Hi,
 
 I've built a small binary package. It can be get from here:
 https://turmspitze.org/files/rotate_0.0.1_armv4t.ipk
 
 A Source package can be get from here:
 https://turmspitze.org/files/rotate-0.0.1.tar.gz

I have just installed your package.

The prefix /usr/ is missed on all files.

opkg files rotate
Package rotate (0.0.1) is installed on root and has the following files:
/share/pixmaps/rotate.png
/share/applications/rotate.desktop
/share/license/rotate/COPYING
/bin/rotate

That should be all /usr/...

And it depends against libx11 which is at least on my distro (shr 
testing) caled libx11-6.

And the .desktop file has misses the Icon field. (Icon=rotate)
And your .Rotate name hack looks really ugly in my desktop. I would 
rather have a alphabetical order instead of this. ;)
If the odering of icons turns out to be a problem, we might need some 
Categoeries hack in the desktop launcher.

PS: Hi moritz *g*

-- 
Drucken Sie diese Mail bitte nur auf Recyclingpapier aus.
Please print this mail only on recycled paper.

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


Re: Fast screen rotate app

2008-11-24 Thread Carlo Minucci
Tilman Baumann ha scritto:
 Moritz Bitsch wrote:


hi
i have made a similar application, can you test on SHR for me? :)
you can download from http://minucci.net/file/opkg/ruotami_0.2_all.opk

thank you

see you

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


Re: Fast screen rotate app

2008-11-24 Thread Tilman Baumann
Carlo Minucci wrote:
 Tilman Baumann ha scritto:
 Moritz Bitsch wrote:
 
 
 hi
 i have made a similar application, can you test on SHR for me? :)
 you can download from http://minucci.net/file/opkg/ruotami_0.2_all.opk
 
 thank you

Sure. But I like to point out that I'm rather biased towards mortz's 
app, because he is my colleague and his app is only a hand full of C.
So i woud probably always dig his version.

I looked at your app. Here is what i found:

1. Problem
Not all Categories in .desktop files are shown. Which distro shows which 
Categories seems to be a moving target.
I changed your categories to
Categories=Utilities;Applications;
and the icon shows up in my launcher.
I don't know if these Categoreis are documented somewhere but this is at 
least what makes it work on SHR.

2. Problem
Your program is not Neo 1973 compatible.
[EMAIL PROTECTED] ~ $ ruotami.py
Traceback (most recent call last):
   File /usr/bin/ruotami.py, line 16, in module
 fb = open(/sys/class/backlight/pcf50633-bl/actual_brightness, r)
IOError: [Errno 2] No such file or directory: 
'/sys/class/backlight/pcf50633-bl/actual_brightness'

I guess framework has a interface which you could use here. That would 
be the only right thing to do on FSO and SHR. (Both using frameworkd)
You could ask the FSO guys what to do here.
I would have tested your app with the right backlight path 
(/sys/class/backlight/gta01-bl/actual_brightness), if it would have been 
a single variable in your script.
But it is all over the place. No thanks... ;)

3. The real problem
And I have t say, I find your idea of manipulating the .desktop file 
absolutely revolting. Sorry.
It seems to depend on being sliped by ruotami in the first place to get 
a grip on the current rotation.

I like the idea of blanking the screen while rotating. But this needs to 
be done in some other way.

Sorry, zero points for style. ;)


-- 
Drucken Sie diese Mail bitte nur auf Recyclingpapier aus.
Please print this mail only on recycled paper.

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


Re: Fast screen rotate app

2008-11-24 Thread Moritz Bitsch
Hi,

thanks for testing.

I've fixed the build script and the desktop file. All files are now
with PREFIX=/usr.

I also fixed the stupid dependency error.

A updated ipkg and tgz can be get from here:
https://turmspitze.org/files/

On Mon, 24 Nov 2008 16:47:26 +0100
Tilman Baumann [EMAIL PROTECTED] wrote:

 Moritz Bitsch wrote:
  Hi,
  
  I've built a small binary package. It can be get from here:
  https://turmspitze.org/files/rotate_0.0.1_armv4t.ipk
  
  A Source package can be get from here:
  https://turmspitze.org/files/rotate-0.0.1.tar.gz
 
 I have just installed your package.
 
 The prefix /usr/ is missed on all files.
 
 opkg files rotate
 Package rotate (0.0.1) is installed on root and has the following
 files: /share/pixmaps/rotate.png
 /share/applications/rotate.desktop
 /share/license/rotate/COPYING
 /bin/rotate
 
 That should be all /usr/...
 
 And it depends against libx11 which is at least on my distro (shr 
 testing) caled libx11-6.
 
 And the .desktop file has misses the Icon field. (Icon=rotate)
 And your .Rotate name hack looks really ugly in my desktop. I would 
 rather have a alphabetical order instead of this. ;)
 If the odering of icons turns out to be a problem, we might need some 
 Categoeries hack in the desktop launcher.
 
 PS: Hi moritz *g*
 

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


Re: Fast screen rotate app

2008-11-21 Thread kazer
 Hi,

 i've used FDOM(great distro) for just a while and the only thing I
 didn't like was the really slow rotate app.

 So here is a slightly faster one.

 The source is in a bazaar repository.
 It can be get from here:
 https://turmspitze.org/pubbzr/rotate

 I will build binaries on request.

 Have fun!
 Moritz



Hi Moritz,

I'd be interested in testing it. A binary would be welcome :)

Thanks!


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


Re: Fast screen rotate app

2008-11-21 Thread Rui Miguel Silva Seabra
On Thu, Nov 20, 2008 at 10:43:14PM +0100, Moritz Bitsch wrote:
 Hi,
 
 i've used FDOM(great distro) for just a while and the only thing I
 didn't like was the really slow rotate app.
 
 So here is a slightly faster one.
 
 The source is in a bazaar repository.
 It can be get from here:
 https://turmspitze.org/pubbzr/rotate
 
 I will build binaries on request.

Have you tried http://code.google.com/p/omnewrotate ?

Rui

-- 
Or is it?
Today is Setting Orange, the 33rd day of The Aftermath in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

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


Re: Fast screen rotate app

2008-11-21 Thread Moritz Bitsch
Hi,

I've built a small binary package. It can be get from here:
https://turmspitze.org/files/rotate_0.0.1_armv4t.ipk

A Source package can be get from here:
https://turmspitze.org/files/rotate-0.0.1.tar.gz

Moritz

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


Fast screen rotate app

2008-11-20 Thread Moritz Bitsch
Hi,

i've used FDOM(great distro) for just a while and the only thing I
didn't like was the really slow rotate app.

So here is a slightly faster one.

The source is in a bazaar repository.
It can be get from here:
https://turmspitze.org/pubbzr/rotate

I will build binaries on request.

Have fun!
Moritz

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