diff options
author | Michael Krelin <hacker@klever.net> | 2007-07-07 18:36:15 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-07 18:36:15 +0000 |
commit | 3240787ece90371a1b9802842f1d5345be47c82d (patch) | |
tree | 40d57c813efe69ed235bc8adf5752bd4c2a285e3 /packages/opie-taskbar | |
parent | 2a539a62e0fbe0e7d228757c5738bbec296ccc0c (diff) |
opie-taskbar: restore opie's restartability
Diffstat (limited to 'packages/opie-taskbar')
-rw-r--r-- | packages/opie-taskbar/opie-taskbar/restart-from-bindir.patch | 12 | ||||
-rw-r--r-- | packages/opie-taskbar/opie-taskbar_cvs.bb | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/opie-taskbar/opie-taskbar/restart-from-bindir.patch b/packages/opie-taskbar/opie-taskbar/restart-from-bindir.patch new file mode 100644 index 0000000000..1a73588409 --- /dev/null +++ b/packages/opie-taskbar/opie-taskbar/restart-from-bindir.patch @@ -0,0 +1,12 @@ +diff --git a/serverapp.cpp b/serverapp.cpp +index 0e92040..b933340 100644 +--- a/serverapp.cpp ++++ b/serverapp.cpp +@@ -763,6 +763,7 @@ void ServerApplication::restart() + for ( int fd = 3; fd < 100; fd++ ) + close( fd ); + execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL ); ++ execl( OPIE_BINDIR "/qpe", "qpe", NULL ); + exit( 1 ); + #endif + } diff --git a/packages/opie-taskbar/opie-taskbar_cvs.bb b/packages/opie-taskbar/opie-taskbar_cvs.bb index 88cfcf90b2..ad3931adc7 100644 --- a/packages/opie-taskbar/opie-taskbar_cvs.bb +++ b/packages/opie-taskbar/opie-taskbar_cvs.bb @@ -1,6 +1,6 @@ require ${PN}.inc PV = "${OPIE_CVS_PV}" -PR = "r12" +PR = "r13" SRC_URI = "${HANDHELDS_CVS};module=opie/core/apps/calibrate \ ${HANDHELDS_CVS};module=opie/noncore/settings/mediummount \ @@ -13,4 +13,5 @@ SRC_URI = "${HANDHELDS_CVS};module=opie/core/apps/calibrate \ file://no-builtin-qss-startup.patch;patch=1 \ file://kbdlocks-runtime.patch;patch=1 \ file://server.pro \ + file://restart-from-bindir.patch;patch=1 \ " |