diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-taskbar | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-taskbar')
17 files changed, 320 insertions, 0 deletions
diff --git a/packages/opie-taskbar/.mtn2git_empty b/packages/opie-taskbar/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/akita/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/akita/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/akita/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/beagle/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/beagle/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/beagle/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/beagle/locale.conf b/packages/opie-taskbar/opie-taskbar/beagle/locale.conf index e69de29bb2..bcff097c0f 100644 --- a/packages/opie-taskbar/opie-taskbar/beagle/locale.conf +++ b/packages/opie-taskbar/opie-taskbar/beagle/locale.conf @@ -0,0 +1,4 @@ +[Language] +Language = nl +[Location] +Timezone = Europe/Berlin diff --git a/packages/opie-taskbar/opie-taskbar/c7x0/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/c7x0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/c7x0/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/mnci/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/mnci/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/mnci/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/mnci/opie b/packages/opie-taskbar/opie-taskbar/mnci/opie index e69de29bb2..d5e2955b10 100644..100755 --- a/packages/opie-taskbar/opie-taskbar/mnci/opie +++ b/packages/opie-taskbar/opie-taskbar/mnci/opie @@ -0,0 +1,79 @@ +#!/bin/sh +# +[ -z $LOGNAME ] && export LOGNAME=root && export HOME=/home/root +[ -z $HOME ] && export HOME=/home/$LOGNAME + +export QTDIR=/opt/QtPalmtop +export OPIEDIR=/opt/QtPalmtop +export QPEDIR=/opt/QtPalmtop +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib +export PATH=$PATH:$OPIEDIR/bin +# export QWS_KEYBOARD=KernelTTY + +if [ ! -x "$OPIEDIR/bin/qpe" ] ; then + echo Opie not installed + exit 0 +fi + +. /etc/profile + +if [ ! -e "$HOME/Settings/qpe.conf" ] ; then + mkdir -p $HOME/Settings + cp $OPIEDIR/etc/skel/* $HOME/Settings +fi + +if [ ! -e "$HOME/systeminfo/linkver" ] ; then + mkdir -p $HOME/systeminfo/ + echo "1.13" >$HOME/systeminfo/linkver +fi + +if [ ! -e "/opt/Qtopia" ] ; then + ln -sf /opt/QtPalmtop /opt/Qtopia +fi + +case $1 in +'start') + if [ -x "$OPIEDIR/bin/opie-login" ]; then + echo Starting Opie-login.... + $OPIEDIR/bin/opie-login -terminal 2 + else + $OPIEDIR/bin/opie-reorgfiles >/dev/null + if [ -x /usr/bin/ssh-agent ]; then + SSHAGENT=/usr/bin/ssh-agent + else + SSHAGENT="" + fi + + if [ -x "$OPIEDIR/bin/opie-sh-ssh-askpass.sh" ]; then + export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh + fi + echo Starting Opie.... + $SSHAGENT $OPIEDIR/bin/qpe -terminal 2 2>/dev/null + fi + + ;; + +'stop') + echo "Stopping Opie..." + killall qpe 2>/dev/null + killall opie-login 2>/dev/null + killall quicklauncher 2>/dev/null + sleep 1 + killall -9 qpe 2>/dev/null + killall -9 opie-login 2>/dev/null + killall -9 quicklauncher 2>/dev/null + + ;; + +'restart') + $0 stop && $0 start + + ;; + +*) + echo "usage: $0 { start | stop | restart }" + + ;; + +esac + diff --git a/packages/opie-taskbar/opie-taskbar/mnci/qpe.conf b/packages/opie-taskbar/opie-taskbar/mnci/qpe.conf index e69de29bb2..8efe771ad0 100644 --- a/packages/opie-taskbar/opie-taskbar/mnci/qpe.conf +++ b/packages/opie-taskbar/opie-taskbar/mnci/qpe.conf @@ -0,0 +1,25 @@ +[Appearance] +Decoration = libflat.so +FontFamily = vera +FontSize = 10 +FontStyle = Regular +LeftHand = 0 +Style = libflatstyle.so +rotatedir = 0 +[Battery] +[Date] +ClockApplet = 0 +LongOrder = 273 +Separator = . +ShortOrder = 273 +[InputMethod] +current = Multikey +[Keyboard] +[Startup] +FirstUse = 0 +[Time] +AMPM = 0 +MONDAY = 1 +[Volume] +[Wireless] +UpdateFrequency = 2 diff --git a/packages/opie-taskbar/opie-taskbar/nomax.patch b/packages/opie-taskbar/opie-taskbar/nomax.patch index e69de29bb2..468038b377 100644 --- a/packages/opie-taskbar/opie-taskbar/nomax.patch +++ b/packages/opie-taskbar/opie-taskbar/nomax.patch @@ -0,0 +1,30 @@ +--- opie-x86/core/launcher/server.cpp~nomax ++++ opie-x86/core/launcher/server.cpp +@@ -76,7 +76,7 @@ + return 0; + #endif + } +- ++#ifndef OPIE_NO_WINDOWED + #define FACTORY(T) \ + static QWidget *new##T( bool maximized ) { \ + QWidget *w = new T( 0, 0, QWidget::WDestructiveClose | QWidget::WGroupLeader ); \ +@@ -90,7 +90,18 @@ + w->show(); \ + return w; \ + } ++#else ++#define FACTORY(T) \ ++ static QWidget *new##T( bool maximized ) { \ ++ QWidget *w = new T( 0, 0, QWidget::WDestructiveClose | QWidget::WGroupLeader ); \ ++ if ( maximized ) { \ ++ w->showMaximized(); \ ++} \ ++ w->show(); \ ++ return w; \ ++} + ++#endif + + #ifdef SINGLE_APP + #define APP(a,b,c,d) FACTORY(b) diff --git a/packages/opie-taskbar/opie-taskbar/opie b/packages/opie-taskbar/opie-taskbar/opie index 3a387186a2..3a387186a2 100644..100755 --- a/packages/opie-taskbar/opie-taskbar/opie +++ b/packages/opie-taskbar/opie-taskbar/opie diff --git a/packages/opie-taskbar/opie-taskbar/opie-reorgfiles b/packages/opie-taskbar/opie-taskbar/opie-reorgfiles index e69de29bb2..96b3e29da4 100644..100755 --- a/packages/opie-taskbar/opie-taskbar/opie-reorgfiles +++ b/packages/opie-taskbar/opie-taskbar/opie-reorgfiles @@ -0,0 +1,93 @@ +#!/bin/sh + +APPS=$HOME/Applications +DOCS=$HOME/Documents + +if [ -d $APPS -a "$1" != "-f" ] +then + echo "You seem to already have a $APPS directory." + echo "Assuming it is the Opie Applications directory. Exiting." + exit 0 +fi + +if [ -d $HOME/Apps ] +then + mv $HOME/Apps $APPS +else + mkdir $APPS +fi + +if [ -f $DOCS/addressbook.xml ] +then + if [ -f $APPS/addressbook/addressbook.xml ] + then + echo "$DOCS/addressbook.xml conflicts with $APPS/addressbook/addressbook.xml" + echo "Moving $DOCS/addressbook.xml to $HOME" + mv $DOCS/addressbook.xml $HOME + else + mkdir $APPS/addressbook + mv $DOCS/addressbook.xml $APPS/addressbook + fi +fi + +if [ -f $DOCS/datebooksettings.xml ] +then + echo "$DOCS/datebooksettings.xml is obsolete" + echo "Please re-set your datebook preferences" + rm $DOCS/datebooksettings.xml +fi + +if [ -f $DOCS/datebook.xml ] +then + mkdir $APPS/databook + mv $DOCS/datebook.xml $APPS/databook +fi + +if [ -d $DOCS/qtmail ] +then + mv $DOCS/qtmail $APPS/ +fi + +if [ -f $DOCS/todo.xml ] +then + if [ -f $APPS/todolist/todolist.xml ] + then + mv $DOCS/todo.xml $HOME + echo "$DOCS/todo.xml is superceded by $APPS/todolist/todolist.xml" + echo "$DOCS/todo.xml has been moved to $HOME" + else + echo "NOTE: $DOCS/todo.xml is obsolete. It will move to $APPS/todolist/todolist.xml" + echo "when next you run the latest ToDo application." + fi +fi + +if [ ! -d $APPS/qimpen ] +then + mkdir $APPS/qimpen +fi + +if [ -f $DOCS/asciilower.qpt ] +then + mv $DOCS/asciilower.qpt $APPS/qimpen +fi + +if [ -f $DOCS/asciiupper.qpt ] +then + mv $DOCS/asciiupper.qpt $APPS/qimpen +fi + +if [ -f $DOCS/numeric.qpt ] +then + mv $DOCS/numeric.qpt $APPS/qimpen +fi + +if [ -d "$HOME/.qpe" ] +then + if [ -d "$HOME/Settings" ] + then + mv $HOME/.qpe/* "$HOME/Settings" + rmdir "$HOME/.qpe" + else + mv $HOME/.qpe "$HOME/Settings" + fi +fi diff --git a/packages/opie-taskbar/opie-taskbar/opie_defaults b/packages/opie-taskbar/opie-taskbar/opie_defaults index e69de29bb2..38a18e6a9f 100644 --- a/packages/opie-taskbar/opie-taskbar/opie_defaults +++ b/packages/opie-taskbar/opie-taskbar/opie_defaults @@ -0,0 +1,5 @@ +#!/bin/sh + +export PATH="$PATH:/opt/QtPalmtop/bin" +export QTDIR="/opt/QtPalmtop" + diff --git a/packages/opie-taskbar/opie-taskbar/server.pro b/packages/opie-taskbar/opie-taskbar/server.pro index e69de29bb2..2dee9a973a 100644 --- a/packages/opie-taskbar/opie-taskbar/server.pro +++ b/packages/opie-taskbar/opie-taskbar/server.pro @@ -0,0 +1,84 @@ +TEMPLATE = app + +CONFIG += qt warn_on + +DESTDIR = + +HEADERS += server.h \ + qrr.h \ + serverinterface.h \ + launchertab.h \ + documentlist.h \ + appicons.h \ + taskbar.h \ + runningappbar.h \ + applauncher.h \ + stabmon.h \ + inputmethods.h \ + systray.h \ + wait.h \ + shutdownimpl.h \ + launcher.h \ + launcherview.h \ + calibrate/calibrate.h \ + startmenu.h \ + transferserver.h \ + qcopbridge.h \ + packageslave.h \ + irserver.h \ + firstuse.h \ + syncdialog.h \ + serverapp.h \ + qprocess.h \ + screensaver.h \ + mediummount/mediumwidget.h \ + mediadlg.h + +SOURCES += server.cpp \ + qrr.cpp \ + serverinterface.cpp \ + launchertab.cpp \ + documentlist.cpp \ + appicons.cpp \ + taskbar.cpp \ + runningappbar.cpp \ + applauncher.cpp \ + stabmon.cpp \ + inputmethods.cpp \ + systray.cpp \ + wait.cpp \ + shutdownimpl.cpp \ + launcher.cpp \ + launcherview.cpp \ + calibrate/calibrate.cpp \ + transferserver.cpp \ + packageslave.cpp \ + irserver.cpp \ + qcopbridge.cpp \ + startmenu.cpp \ + main.cpp \ + firstuse.cpp \ + syncdialog.cpp \ + serverapp.cpp \ + qprocess.cpp \ + qprocess_unix.cpp \ + screensaver.cpp \ + mediummount/mediumwidget.cc \ + mediadlg.cpp + + +INCLUDEPATH += calibrate +DEPENDPATH += calibrate + +INCLUDEPATH += $(OPIEDIR)/include rsync +DEPENDPATH += rsync + +INCLUDEPATH += mediummount +DEPENDPATH += mediummount + + +TARGET = qpe + +LIBS = -lqpe -lopiecore2 -lopieui2 -lopiesecurity2 -lqrsync + +include ( $(OPIEDIR)/include.pro ) diff --git a/packages/opie-taskbar/opie-taskbar/simpad/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/simpad/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/simpad/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/spitz/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/spitz/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/spitz/.mtn2git_empty diff --git a/packages/opie-taskbar/opie-taskbar/tosa/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar/tosa/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/tosa/.mtn2git_empty |