Re: appraw - .desktop file patcher for fsoraw
KaZeR wrote: >Thanks for that, very useful, but why have you commented the fsoraw dependency? Technically, this program does not depend on fsoraw neither in compilation-time nor in run-time. Besides, it was not included in SHR, so no matter. -- View this message in context: http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3598552.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: appraw - .desktop file patcher for fsoraw
Thanks for that, very useful, but why have you commented the fsoraw dependency? -- View this message in context: http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3597875.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: appraw - .desktop file patcher for fsoraw
Martin Jansa wrote: >works for me.. attached patch for shr/import. Thank you for the patch. I've just forward it to shr-devel list. Cheers, Anton -- View this message in context: http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3546161.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: appraw - .desktop file patcher for fsoraw
On Sun, Aug 30, 2009 at 04:45:56AM -0500, ANT wrote: > > Leonti wrote: > >BTW, can you make bitbake file for it so it can be included in SHR > repositories? > > Here is an _untested_ bb recipe for appraw. Somebody, test it please and > post here if it works or not. Thanks! works for me.. attached patch for shr/import. -- uin:136542059jid:martin.ja...@gmail.com Jansa Martin sip:jama...@voip.wengo.fr JaMa From 048051724ed7d892ebbb62abde4c9a155eb4d153 Mon Sep 17 00:00:00 2001 From: Martin.Jansa Date: Sun, 30 Aug 2009 11:53:22 +0200 Subject: [PATCH] Add appraw BBfile by ANT --- conf/distro/include/shr-autorev-unstable.inc |1 + recipes/openmoko-3rdparty/appraw_git.bb | 14 ++ recipes/tasks/task-shr-minimal.bb|1 + 3 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 recipes/openmoko-3rdparty/appraw_git.bb diff --git a/conf/distro/include/shr-autorev-unstable.inc b/conf/distro/include/shr-autorev-unstable.inc index 20d40e5..af52fda 100644 --- a/conf/distro/include/shr-autorev-unstable.inc +++ b/conf/distro/include/shr-autorev-unstable.inc @@ -19,6 +19,7 @@ SRCREV_pn-fsodeviced = "${AUTOREV}" SRCREV_pn-fsonetworkd = "${AUTOREV}" SRCREV_pn-fsousaged = "${AUTOREV}" SRCREV_pn-fsoraw = "${AUTOREV}" +SRCREV_pn-appraw = "${AUTOREV}" SRCREV_pn-fso-abyss = "${AUTOREV}" SRCREV_pn-fso-apm = "${AUTOREV}" SRCREV_pn-fso-term = "${AUTOREV}" diff --git a/recipes/openmoko-3rdparty/appraw_git.bb b/recipes/openmoko-3rdparty/appraw_git.bb new file mode 100644 index 000..d172efd --- /dev/null +++ b/recipes/openmoko-3rdparty/appraw_git.bb @@ -0,0 +1,14 @@ +DESCRIPTION = ".desktop file patcher for fsoraw" +HOMEPAGE = "http://github.com/Sektor/appraw/"; +SECTION = "fso/base" +PRIORITY = "optional" +LICENSE = "GPL" +#RDEPENDS = "fsoraw" + +PV = "0.1.0+gitr${SRCPV}" +PR = "r0" + +SRC_URI = "git://github.com/Sektor/appraw.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools diff --git a/recipes/tasks/task-shr-minimal.bb b/recipes/tasks/task-shr-minimal.bb index 998a52a..e22a0d8 100644 --- a/recipes/tasks/task-shr-minimal.bb +++ b/recipes/tasks/task-shr-minimal.bb @@ -90,6 +90,7 @@ RDEPENDS_${PN}-cli = "\ RDEPENDS_${PN}-fso = "\ fsoraw \ + appraw \ opimd-utils-cli \ python-codecs \ python-gst \ -- 1.6.4.1 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: appraw - .desktop file patcher for fsoraw
Leonti wrote: >BTW, can you make bitbake file for it so it can be included in SHR repositories? Here is an _untested_ bb recipe for appraw. Somebody, test it please and post here if it works or not. --- appraw_git.bb --- DESCRIPTION = ".desktop file patcher for fsoraw" HOMEPAGE = "http://github.com/Sektor/appraw/"; SECTION = "fso/base" PRIORITY = "optional" LICENSE = "GPL" #RDEPENDS = "fsoraw" PV = "0.1.0+gitr${SRCREV}" PR = "r0" SRC_URI = "git://github.com/Sektor/appraw.git;protocol=git;branch=master" S = "${WORKDIR}/git" inherit autotools --------------- -- View this message in context: http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3546043.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: appraw - .desktop file patcher for fsoraw
Just tried it - really great app! I could not believe a couple months ago that something like this would be possible some day - I remember having to run the script in terminal so the screen would not dim. Now with fsoraw and appraw it's so easy. BTW, can you make bitbake file for it so it can be included in SHR repositories? Leonti On Thu, Aug 20, 2009 at 1:01 PM, ANT wrote: > > Hi, everybody, > > I wrote a small C tool for patching .desktop files to make apps be launched > via fsoraw (to prevent automatic screen dimming and suspending). > > It can be used in various distribution enhancing scripts or just to make > freshly installed app fsoraw-enabled. > > Typical usage - allocating Display resource for Mokomaze: > > r...@om-gta02:~# appraw -d mokomaze > > * Analyzing input file: > /usr/share/applications/mokomaze.desktop > * 'Exec' field found: > Exec=mokomaze > * Patched 'Exec' field: > Exec=fsoraw -r Display -- mokomaze > * File modified successfully. > > Changes can be easyly reverted by 'appraw -r mokomaze'. See 'appraw --help' > for details. > Source code is maintained on github [1]. Check Downloads section [2] for > installation package. > > [1] http://github.com/Sektor/appraw/ > [2] http://github.com/Sektor/appraw/downloads > > Regards, > Anton > -- > View this message in context: > http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3481050.html > Sent from the Openmoko Community mailing list archive at Nabble.com. > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
appraw - .desktop file patcher for fsoraw
Hi, everybody, I wrote a small C tool for patching .desktop files to make apps be launched via fsoraw (to prevent automatic screen dimming and suspending). It can be used in various distribution enhancing scripts or just to make freshly installed app fsoraw-enabled. Typical usage - allocating Display resource for Mokomaze: r...@om-gta02:~# appraw -d mokomaze * Analyzing input file: /usr/share/applications/mokomaze.desktop * 'Exec' field found: Exec=mokomaze * Patched 'Exec' field: Exec=fsoraw -r Display -- mokomaze * File modified successfully. Changes can be easyly reverted by 'appraw -r mokomaze'. See 'appraw --help' for details. Source code is maintained on github [1]. Check Downloads section [2] for installation package. [1] http://github.com/Sektor/appraw/ [2] http://github.com/Sektor/appraw/downloads Regards, Anton -- View this message in context: http://n2.nabble.com/appraw-desktop-file-patcher-for-fsoraw-tp3481050p3481050.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community