diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-18 04:54:29 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-18 04:54:29 +0000 |
commit | 2b411b245bcab72be90bd9850a126acdec3ada14 (patch) | |
tree | 4512f2e5677b02a1e0c4b3e4f4c55301e5ab9aaf /x11/workrave/files | |
parent | Update to 0.10. (diff) |
Add workrave a RSI prevention application for the GNOME 2 desktop. Workrave
features the following:
* 2 types of breaks (let say 1 break every 10 min, and a big break once
a hour).
* Lets you configure how long a break lasts, in what interval and has a
configureble day limit.
* The time counter stops when not using the computer.
* It has a gnome notification pannel applet, for easy access.
* Statistics are stored per day
PR: 54535
Submitted by: Koop Mast <einekoai@chello.nl>
Notes
Notes:
svn path=/head/; revision=85098
Diffstat (limited to 'x11/workrave/files')
-rw-r--r-- | x11/workrave/files/patch-arch_debug.hh | 11 | ||||
-rw-r--r-- | x11/workrave/files/patch-arch_unix_Mutex.hh | 14 | ||||
-rw-r--r-- | x11/workrave/files/patch-arch_unix_Thread.hh | 10 | ||||
-rw-r--r-- | x11/workrave/files/patch-src_X11InputMonitor.cc | 24 |
4 files changed, 59 insertions, 0 deletions
diff --git a/x11/workrave/files/patch-arch_debug.hh b/x11/workrave/files/patch-arch_debug.hh new file mode 100644 index 000000000000..1190bb4a7f46 --- /dev/null +++ b/x11/workrave/files/patch-arch_debug.hh @@ -0,0 +1,11 @@ +--- arch/debug.hh.orig Sun Jul 13 10:04:38 2003 ++++ arch/debug.hh Sun Jul 13 10:04:55 2003 +@@ -21,6 +21,8 @@ + #ifndef DEBUG_HH + #define DEBUG_HH + ++#include <assert.h> ++ + #ifndef CWDEBUG + + #define AllocTag1(p) diff --git a/x11/workrave/files/patch-arch_unix_Mutex.hh b/x11/workrave/files/patch-arch_unix_Mutex.hh new file mode 100644 index 000000000000..ac836e9ded7c --- /dev/null +++ b/x11/workrave/files/patch-arch_unix_Mutex.hh @@ -0,0 +1,14 @@ +--- arch/unix/Mutex.hh.orig Sun Jan 5 00:53:45 2003 ++++ arch/unix/Mutex.hh Sat Jul 12 16:40:21 2003 +@@ -23,6 +23,11 @@ + + #include <pthread.h> + ++// define this to something freebsd knows ++#ifdef __FreeBSD__ ++#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE ++#endif ++ + /*! + * A Mutex class. + */ diff --git a/x11/workrave/files/patch-arch_unix_Thread.hh b/x11/workrave/files/patch-arch_unix_Thread.hh new file mode 100644 index 000000000000..bdcddcd2f595 --- /dev/null +++ b/x11/workrave/files/patch-arch_unix_Thread.hh @@ -0,0 +1,10 @@ +--- arch/unix/Thread.cc.orig Sun Jan 5 00:53:45 2003 ++++ arch/unix/Thread.cc Sat Jul 5 13:58:39 2003 +@@ -20,6 +20,7 @@ + #include "config.h" + #endif + ++#include <time.h> + #include "Thread.hh" + + void * diff --git a/x11/workrave/files/patch-src_X11InputMonitor.cc b/x11/workrave/files/patch-src_X11InputMonitor.cc new file mode 100644 index 000000000000..e4939d32f71e --- /dev/null +++ b/x11/workrave/files/patch-src_X11InputMonitor.cc @@ -0,0 +1,24 @@ +--- src/X11InputMonitor.cc.orig Sat Mar 22 14:53:57 2003 ++++ src/X11InputMonitor.cc Mon Jul 14 17:47:35 2003 +@@ -39,6 +39,7 @@ + #if HAVE_UNISTD_H + # include <unistd.h> + #endif ++#include <sys/select.h> + + #include <X11/X.h> + #include <X11/Xproto.h> +@@ -174,11 +175,13 @@ + TRACE_MSG("waiting"); + abort = true; + ++#ifdef HAVE_XRECORD + //FIXME: stop_xrecord does not seem to work. + if (use_xrecord) + { + monitor_thread->stop(); + } ++#endif + // wait_for_terminated_signal.wait(); + TRACE_EXIT(); + } |