aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-opie/opie-sh')
-rw-r--r--recipes-opie/opie-sh/files/opie-sh-path.patch214
-rw-r--r--recipes-opie/opie-sh/opie-sh.inc64
-rw-r--r--recipes-opie/opie-sh/opie-sh_1.2.5.bb21
-rw-r--r--recipes-opie/opie-sh/opie-sh_cvs.bb11
4 files changed, 310 insertions, 0 deletions
diff --git a/recipes-opie/opie-sh/files/opie-sh-path.patch b/recipes-opie/opie-sh/files/opie-sh-path.patch
new file mode 100644
index 0000000..f4ea0c1
--- /dev/null
+++ b/recipes-opie/opie-sh/files/opie-sh-path.patch
@@ -0,0 +1,214 @@
+Index: opie-sh/scripts/diskfree.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/diskfree.sh,v
+retrieving revision 1.3
+diff -u -d -r1.3 diskfree.sh
+--- opie-sh/scripts/diskfree.sh 14 Aug 2004 12:05:39 -0000 1.3
++++ opie-sh/scripts/diskfree.sh 21 Sep 2008 13:22:55 -0000
+@@ -17,7 +17,7 @@
+ # 20020524-5 - bugfix
+ # 20020524-1 - initial release
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ # there must be a better way to do this with sed, but i had no time
+ # time to look into this yet...
+Index: opie-sh/scripts/filesystem_mounter.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/filesystem_mounter.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 filesystem_mounter.sh
+--- opie-sh/scripts/filesystem_mounter.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/filesystem_mounter.sh 21 Sep 2008 13:22:55 -0000
+@@ -22,7 +22,7 @@
+ # 20020517-1 - nicer fullscreen, added about, tried icon
+ #
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ ######################################################################
+ # subroutines
+Index: opie-sh/scripts/killproc.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/killproc.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 killproc.sh
+--- opie-sh/scripts/killproc.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/killproc.sh 21 Sep 2008 13:22:55 -0000
+@@ -18,7 +18,7 @@
+ # 20020519-1 - added icon to output
+ # 20020517-1 - nicer fullscreen, added about, tried icon
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ ######################################################################
+ # subroutines
+Index: opie-sh/scripts/launcher_refresh.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/launcher_refresh.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 launcher_refresh.sh
+--- opie-sh/scripts/launcher_refresh.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/launcher_refresh.sh 21 Sep 2008 13:22:55 -0000
+@@ -14,7 +14,7 @@
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ launcher_refresh() {
+ ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/launcher_refresh.png>"
+@@ -36,9 +36,9 @@
+ #
+ # main
+
+-$OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()"
+-#$OPIEDIR/bin/qcop QPE/System "restart()"
+-$OPIEDIR/bin/qcop QPE/System "linkChanged(QString)"
++/usr/bin/qcop QPE/TaskBar "reloadInputMethods()"
++#/usr/bin/qcop QPE/System "restart()"
++/usr/bin/qcop QPE/System "linkChanged(QString)"
+
+ launcher_refresh
+ cleanup
+Index: opie-sh/scripts/logviewer.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/logviewer.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 logviewer.sh
+--- opie-sh/scripts/logviewer.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/logviewer.sh 21 Sep 2008 13:22:55 -0000
+@@ -17,7 +17,7 @@
+ # 20020526-1a - initial release...
+ #
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+ INITPATH=/etc/init.d
+
+ ######################################################################
+Index: opie-sh/scripts/microkbd.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/microkbd.sh,v
+retrieving revision 1.1
+diff -u -d -r1.1 microkbd.sh
+--- opie-sh/scripts/microkbd.sh 18 Oct 2004 22:00:20 -0000 1.1
++++ opie-sh/scripts/microkbd.sh 21 Sep 2008 13:22:55 -0000
+@@ -19,7 +19,7 @@
+ # 20020517-2 - bugfixed fullscreen, added info about ifconfig
+ # 20020517-1 - added about, fullscreen and icon
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ ######################################################################
+ # subroutines
+Index: opie-sh/scripts/opie-sh-ssh-askpass.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 opie-sh-ssh-askpass.sh
+--- opie-sh/scripts/opie-sh-ssh-askpass.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/opie-sh-ssh-askpass.sh 21 Sep 2008 13:22:55 -0000
+@@ -2,7 +2,7 @@
+
+ # opie-sh-ssh-askpass -- ssh-askpass utility using opie-sh
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ exec $OPIE_SH -i -p -t "OpenSSH" -g -L "<SMALL>$@" 2>/dev/null
+
+Index: opie-sh/scripts/opie-sh-wavelanchooser.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/opie-sh-wavelanchooser.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 opie-sh-wavelanchooser.sh
+--- opie-sh/scripts/opie-sh-wavelanchooser.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/opie-sh-wavelanchooser.sh 21 Sep 2008 13:22:55 -0000
+@@ -19,7 +19,7 @@
+ # 20020524-1 - initial working release planned
+ #
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ about() {
+ ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/qtwavelan.png>"
+Index: opie-sh/scripts/rsyncme.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/rsyncme.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 rsyncme.sh
+--- opie-sh/scripts/rsyncme.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/rsyncme.sh 21 Sep 2008 13:22:55 -0000
+@@ -18,7 +18,7 @@
+ #
+
+ CFG=$OPIEDIR/share/config/rsyncme.cfg
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ update_cfg() {
+ # check if dir is in CFG and if not add it
+Index: opie-sh/scripts/service_manager.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/service_manager.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 service_manager.sh
+--- opie-sh/scripts/service_manager.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/service_manager.sh 21 Sep 2008 13:22:55 -0000
+@@ -19,7 +19,7 @@
+ # 20020517-1 - added about and fullscreen
+ #
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+ INITPATH=/etc/init.d
+
+ ######################################################################
+Index: opie-sh/scripts/stowctrl.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/stowctrl.sh,v
+retrieving revision 1.2
+diff -u -d -r1.2 stowctrl.sh
+--- opie-sh/scripts/stowctrl.sh 14 Aug 2004 12:05:39 -0000 1.2
++++ opie-sh/scripts/stowctrl.sh 21 Sep 2008 13:22:55 -0000
+@@ -19,7 +19,7 @@
+ # 20020517-2 - bugfixed fullscreen, added info about ifconfig
+ # 20020517-1 - added about, fullscreen and icon
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ ######################################################################
+ # subroutines
+Index: opie-sh/scripts/usbnetctrl.sh
+===================================================================
+RCS file: /cvs/opie/noncore/tools/opie-sh/scripts/usbnetctrl.sh,v
+retrieving revision 1.3
+diff -u -d -r1.3 usbnetctrl.sh
+--- opie-sh/scripts/usbnetctrl.sh 14 Aug 2004 12:05:39 -0000 1.3
++++ opie-sh/scripts/usbnetctrl.sh 21 Sep 2008 13:22:55 -0000
+@@ -18,7 +18,7 @@
+ # 20020517-2 - bugfixed fullscreen, added info about ifconfig
+ # 20020517-1 - added about, fullscreen and icon
+
+-OPIE_SH=$OPIEDIR/bin/opie-sh
++OPIE_SH=opie-sh
+
+ ######################################################################
+ # subroutines
+@@ -30,7 +30,7 @@
+ echo "activate / deactivate the usbnet-driver (on ipaq)"
+ echo "<p>"
+ echo "To use it at first, you need to change the ifconfig"
+- echo "line in $OPIEDIR/bin/usbnetctrl.sh."
++ echo "line in $0."
+ ) | $OPIE_SH -t "usbnet control" -f &
+ SCREENCLEAN=$!
+ sleep 1
diff --git a/recipes-opie/opie-sh/opie-sh.inc b/recipes-opie/opie-sh/opie-sh.inc
new file mode 100644
index 0000000..3818a21
--- /dev/null
+++ b/recipes-opie/opie-sh/opie-sh.inc
@@ -0,0 +1,64 @@
+DESCRIPTION = "A QDialog shell frontend"
+SECTION = "opie/shell"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "opie-sh"
+APPTYPE = "binary"
+PR = "r3"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+# FILES bin/opie-sh apps/Opie-SH/opie-sh.desktop pics/opie-sh/*.png help/opie-sh/*.html
+do_install() {
+ install -d ${D}${palmtopdir}/bin
+ install -m 0755 ${WORKDIR}/${APPNAME}/scripts/*.sh ${D}${palmtopdir}/bin/
+ install -m 0755 ${WORKDIR}/bin/opie-sh-howto.sh ${D}${palmtopdir}/bin/
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}${palmtopdir}/pics/opie-sh-scripts/
+ install -m 0644 ${WORKDIR}/pics/opie-sh-scripts/*.png ${D}${palmtopdir}/pics/opie-sh-scripts/
+ install -d ${D}${palmtopdir}/apps/Opie-SH/
+ install -m 0644 ${WORKDIR}/apps/Opie-SH/*.desktop ${D}${palmtopdir}/apps/Opie-SH/
+ install -d ${D}${palmtopdir}/help/${APPNAME}/
+ install -m 0644 ${WORKDIR}/help/${APPNAME}/*.html ${D}${palmtopdir}/help/${APPNAME}/
+ install -d ${D}${palmtopdir}/share/config
+ install -m 0644 ${WORKDIR}/share/config/*.cfg ${D}${palmtopdir}/share/config/
+ rm -f ${D}${palmtopdir}/pics/opie-sh-scripts/kbdctrl.png
+}
+
+PACKAGES += " opie-sh-microkbd opie-sh-diskfree opie-sh-fsmounter opie-sh-hostlist \
+opie-sh-killproc opie-sh-launcher-refresh opie-sh-logviewer opie-sh-rsynchelper \
+opie-sh-servicemanager opie-sh-ssh-askpass opie-sh-stowawayctrl opie-sh-usbnetctrl \
+opie-sh-wavelanchooser "
+
+RDEPENDS_opie-sh-microkbd = "opie-sh"
+RDEPENDS_opie-sh-diskfree = "opie-sh"
+RDEPENDS_opie-sh-fsmounter = "opie-sh"
+RDEPENDS_opie-sh-hostlist = "opie-sh"
+RDEPENDS_opie-sh-killproc = "opie-sh"
+RDEPENDS_opie-sh-launcher-refresh = "opie-sh"
+RDEPENDS_opie-sh-logviewer = "opie-sh"
+RDEPENDS_opie-sh-rsynchelper = "opie-sh"
+RDEPENDS_opie-sh-servicemanager = "opie-sh"
+RDEPENDS_opie-sh-ssh-askpass = "opie-sh"
+RDEPENDS_opie-sh-stowawayctrl = "opie-sh"
+RDEPENDS_opie-sh-usbnetctrl = "opie-sh"
+RDEPENDS_opie-sh-wavelanchooser = "opie-sh"
+
+FILES_opie-sh-microkbd = " ${palmtopdir}/bin/microkbd.sh ${palmtopdir}/apps/Opie-SH/microkbd.desktop ${palmtopdir}/pics/opie-sh-scripts/keyz-cfg.png"
+FILES_opie-sh-diskfree = " ${palmtopdir}/bin/diskfree.sh ${palmtopdir}/apps/Opie-SH/diskfree.desktop ${palmtopdir}/pics/opie-sh-scripts/diskfree.png"
+FILES_opie-sh-fsmounter = " ${palmtopdir}/bin/filesystem_mounter.sh ${palmtopdir}/pics/opie-sh-scripts/fsmounter.png ${palmtopdir}/apps/Opie-SH/filesystem_mounter.desktop"
+FILES_opie-sh-hostlist = " ${palmtopdir}/bin/hostlist.sh ${palmtopdir}/pics/opie-sh-scripts/hostlist.png ${palmtopdir}/apps/Opie-SH/hostlist.desktop ${palmtopdir}/share/config/hostlist.cfg"
+FILES_opie-sh-killproc = " ${palmtopdir}/bin/killproc.sh ${palmtopdir}/apps/Opie-SH/killproc.desktop ${palmtopdir}/pics/opie-sh-scripts/killproc.png"
+FILES_opie-sh-launcher-refresh = " ${palmtopdir}/bin/launcher_refresh.sh ${palmtopdir}/pics/opie-sh-scripts/launcher_refresh.png ${palmtopdir}/apps/Opie-SH/launcher_refresh.desktop"
+FILES_opie-sh-logviewer = " ${palmtopdir}/bin/logviewer.sh ${palmtopdir}/apps/Opie-SH/logviewer.desktop ${palmtopdir}/pics/opie-sh-scripts/logviewer.png"
+FILES_opie-sh-rsynchelper = " ${palmtopdir}/bin/rsyncme.sh ${palmtopdir}/apps/Opie-SH/rsyncme.desktop ${palmtopdir}/pics/opie-sh-scripts/rsyncme.png ${palmtopdir}/share/config/rsyncme.cfg"
+FILES_opie-sh-servicemanager = " ${palmtopdir}/bin/service_manager.sh ${palmtopdir}/apps/Opie-SH/service_manager.desktop ${palmtopdir}/pics/opie-sh-scripts/service_manager.png"
+FILES_opie-sh-ssh-askpass = " ${palmtopdir}/bin/opie-sh-ssh-askpass.sh"
+FILES_opie-sh-stowawayctrl = " ${palmtopdir}/bin/stowctrl.sh ${palmtopdir}/apps/Opie-SH/stowctrl.desktop ${palmtopdir}/pics/opie-sh-scripts/stowctrl.png"
+FILES_opie-sh-usbnetctrl = " ${palmtopdir}/bin/usbnetctrl.sh ${palmtopdir}/apps/Opie-SH/usbnetctrl.desktop ${palmtopdir}/pics/opie-sh-scripts/usbnetctrl.png"
+FILES_opie-sh-wavelanchooser = " ${palmtopdir}/bin/opie-sh-wavelanchooser.sh ${palmtopdir}/apps/Opie-SH/opie-sh-wavelanchooser.desktop ${palmtopdir}/pics/opie-sh-scripts/qtwavelan.png"
+FILES_${PN} = " ${palmtopdir}/bin/opie-sh-howto.sh ${bindir}/opie-sh ${palmtopdir}/apps/Opie-SH/opie-sh.desktop ${palmtopdir}/pics/opie-sh/*.png ${palmtopdir}/help/opie-sh/*.html"
+
diff --git a/recipes-opie/opie-sh/opie-sh_1.2.5.bb b/recipes-opie/opie-sh/opie-sh_1.2.5.bb
new file mode 100644
index 0000000..92f11bc
--- /dev/null
+++ b/recipes-opie/opie-sh/opie-sh_1.2.5.bb
@@ -0,0 +1,21 @@
+require ${PN}.inc
+
+SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_tools_opie-sh.tar.bz2;name=split_noncore_tools_opie-sh \
+ http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \
+ http://sources.openembedded.org/opie-1.2.5-split_help.tar.bz2;name=split_help \
+ http://sources.openembedded.org/opie-1.2.5-split_share.tar.bz2;name=split_share \
+ http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \
+ http://sources.openembedded.org/opie-1.2.5-split_bin.tar.bz2;name=split_bin \
+ file://opie-sh-path.patch"
+SRC_URI[split_noncore_tools_opie-sh.md5sum] = "93f44cbe6ccfd11ac68a934f623604ae"
+SRC_URI[split_noncore_tools_opie-sh.sha256sum] = "fc1d5ad1de203dbf6c81c7d863f524c8abe81f5a6d5c736f97ea8cc99bb208a5"
+SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e"
+SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a"
+SRC_URI[split_help.md5sum] = "43393aaa1840e4f6e2c2a3397e451e2a"
+SRC_URI[split_help.sha256sum] = "6e4e3e7d626611a78e34343f88ebd8a6e5e7255be23859b7cd166b2575cbb632"
+SRC_URI[split_share.md5sum] = "a715ae54405cae2b17c35d166f161aa8"
+SRC_URI[split_share.sha256sum] = "0b71c8726b41f8c4dfd3a31fbb23f9c533c16d7d9c1f3002ab0d2daea274da7a"
+SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73"
+SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a"
+SRC_URI[split_bin.md5sum] = "1de9fd3614f11496ef9d4cfa37c1ad80"
+SRC_URI[split_bin.sha256sum] = "f386414463138249c6f335d167beaebdf797de214727789ab2ada732e02f71a2"
diff --git a/recipes-opie/opie-sh/opie-sh_cvs.bb b/recipes-opie/opie-sh/opie-sh_cvs.bb
new file mode 100644
index 0000000..915376c
--- /dev/null
+++ b/recipes-opie/opie-sh/opie-sh_cvs.bb
@@ -0,0 +1,11 @@
+require ${PN}.inc
+
+PV = "${OPIE_GIT_PV}"
+
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/tools/opie-sh \
+ ${OPIE_GIT};protocol=git;subpath=pics \
+ ${OPIE_GIT};protocol=git;subpath=help \
+ ${OPIE_GIT};protocol=git;subpath=share \
+ ${OPIE_GIT};protocol=git;subpath=apps \
+ ${OPIE_GIT};protocol=git;subpath=bin \
+ file://opie-sh-path.patch"