xqtlauncher: fix convert script and bump PR
authorBernhard Guillon <Bernhard.Guillon@opensimpad.org>
Sun, 8 Feb 2009 13:18:28 +0000 (14:18 +0100)
committerBernhard Guillon <Bernhard.Guillon@opensimpad.org>
Sun, 8 Feb 2009 13:23:02 +0000 (14:23 +0100)
A fix path to runFOO must be set to make opie happy

packages/xqtlauncher/xqtlauncher.bb
packages/xqtlauncher/xqtlauncher/xqtlauncher-convert.sh

index 043ee56..5fc80b1 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "xqtlauncher integrates X/Qt2 nicely into opie. You can launch applications with it from opies menue"
 HOMEPAGE = "http://angstrom-distribution.org/"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 RDEPENDS = "xqt2 xorg-minimal-fonts"
 
index 0356d33..59efad3 100755 (executable)
@@ -5,7 +5,7 @@ for i in `find /usr/share/applications -name *.desktop`; do
        newfile=/usr/lib/opie/apps/XQt2/$name.desktop
        if [ ! -f $newfile ] ; then
                #cat $i | awk 'BEGIN {FS="="} {if ($1 == "Exec") {print "Exec=run"ENVIRON["name"]" " $2} else if ($1 == "Icon") {print "Icon=/usr/share/pixmaps/"$2} else  {print $0} }' > $newfile
-               cat $i | awk 'BEGIN {FS="="} {if ($1 == "Exec") {print "Exec=run"ENVIRON["name"]" " $2} else  {print $0} }' > $newfile
+               cat $i | awk 'BEGIN {FS="="} {if ($1 == "Exec") {print "Exec=/usr/lib/opie/bin/run"ENVIRON["name"]" " $2} else  {print $0} }' > $newfile
                icon=$(cat $i | awk 'BEGIN {FS="="} {if ($1 == "Icon") {print $2} }')
                ln -sf /usr/bin/xqtlauncher /usr/lib/opie/bin/run$name
                #We need to make symlinks for the pics because opie can not handle pics with paths :(