Date: Wed, 16 Jul 2003 11:15:59 +0200 (CEST) From: Koop Mast <einekoai@chello.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54535: New Port: Workrave a Gnome2 RSI prefention program (5-toe) Message-ID: <20030716091559.100401E76@prisma.quccc.org> Resent-Message-ID: <200307160920.h6G9KG6L080242@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54535 >Category: ports >Synopsis: New Port: Workrave a Gnome2 RSI prefention program (5-toe) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 16 02:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Koop Mast >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD prisma.quccc.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 14 18:54:50 CEST 2003 root@prisma.quccc.org:/usr/obj/usr/src/sys/rainbow i386 >Description: Workrave is a gnome2 RSI prevention program. It Features: o) 2 types of breaks (let say 1 break every 10 min, and a big break once a houre). o) Lets you configure how long a break lasts, in what interval and has a configureble day limit. o) The time counter stops when not using the computer. o) It has a gnome notification pannel applet, for easy access. o) Statistics are stored per day >How-To-Repeat: >Fix: --- workrave-1.2.2.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # workrave # workrave/pkg-descr # workrave/distinfo # workrave/Makefile # workrave/pkg-plist # workrave/files # workrave/files/patch-arch_unix_Mutex.hh # workrave/files/patch-arch_unix_Thread.hh # workrave/files/patch-src_X11InputMonitor.cc # workrave/files/patch-arch_debug.hh # echo c - workrave mkdir -p workrave > /dev/null 2>&1 echo x - workrave/pkg-descr sed 's/^X//' >workrave/pkg-descr << 'END-of-workrave/pkg-descr' XWorkrave is a RSI prevention tool. It knows 2 types of breaks and Xhad a day limit. X XThe time of the breaks, the time between and the day limit are fully Xcustomizable. X XWhen not typing or moving the mouse the counter stops. XSo it will only count the time you use the computer. X XWWW: http://www.workrave.org/ END-of-workrave/pkg-descr echo x - workrave/distinfo sed 's/^X//' >workrave/distinfo << 'END-of-workrave/distinfo' XMD5 (workrave-1.2.2.tar.gz) = 412e373059da6a31bdec5833ecbef878 END-of-workrave/distinfo echo x - workrave/Makefile sed 's/^X//' >workrave/Makefile << 'END-of-workrave/Makefile' X# New ports collection makefile for: Workrave X# Date created: 15 Jul 2003 X# Whom: Koop Mast <einekoai@chello.nl> X# X# $FreeBSD$ X# X XPORTNAME= workrave XPORTVERSION= 1.2.2 XCATEGORIES= x11 gnome XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= einekoai@chello.nl XCOMMENT= A Gnome RSI prevention tool X XLIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 XBUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool X XUSE_X_PREFIX= yes XUSE_GMAKE= yes XUSE_GNOME= gnomeprefix gnomehack gnomepanel XGNU_CONFIGURE= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ X LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" XCONFIGURE_ARGS= --datadir=${PREFIX}/share/gnome/workrave X X.include <bsd.port.mk> END-of-workrave/Makefile echo x - workrave/pkg-plist sed 's/^X//' >workrave/pkg-plist << 'END-of-workrave/pkg-plist' Xbin/workrave Xetc/sound/events/workrave.soundlist Xshare/gnome/pixmaps/workrave/workrave-icon-small.png Xshare/gnome/sounds/workrave/break-ignored.wav Xshare/gnome/sounds/workrave/break-prelude.wav Xshare/gnome/sounds/workrave/daily-limit.wav Xshare/gnome/sounds/workrave/micropause-ended.wav Xshare/gnome/sounds/workrave/micropause-started.wav Xshare/gnome/sounds/workrave/restbreak-ended.wav Xshare/gnome/sounds/workrave/restbreak-started.wav Xshare/gnome/workrave/images/daily-limit.png Xshare/gnome/workrave/images/display.png Xshare/gnome/workrave/images/micropause.png Xshare/gnome/workrave/images/monitoring.png Xshare/gnome/workrave/images/network.png Xshare/gnome/workrave/images/prelude-hint-sad.png Xshare/gnome/workrave/images/prelude-hint.png Xshare/gnome/workrave/images/restbreak.png Xshare/gnome/workrave/images/time.png Xshare/gnome/workrave/images/timer-daily.png Xshare/gnome/workrave/images/timer-micropause.png Xshare/gnome/workrave/images/timer-restbreak.png Xshare/gnome/workrave/images/workrave-icon-large.png Xshare/gnome/workrave/images/workrave-icon-medium.png Xshare/gnome/workrave/images/workrave-icon-small.png Xshare/gnome/workrave/images/workrave.ico Xshare/gnome/workrave/images/workrave.png Xshare/locale/de/LC_MESSAGES/workrave.mo Xshare/locale/eo/LC_MESSAGES/workrave.mo Xshare/locale/nl/LC_MESSAGES/workrave.mo X@unexec rmdir share/locale/nl/LC_MESSAGES 2>/dev/null || true X@unexec rmdir share/locale/nl 2>/dev/null || true X@unexec rmdir share/locale/eo/LC_MESSAGES 2>/dev/null || true X@unexec rmdir share/locale/eo 2>/dev/null || true X@unexec rmdir share/locale/de/LC_MESSAGES 2>/dev/null || true X@unexec rmdir share/locale/de 2>/dev/null || true X@dirrm share/gnome/workrave/images X@dirrm share/gnome/workrave X@dirrm share/gnome/pixmaps/workrave X@dirrm share/gnome/sounds/workrave END-of-workrave/pkg-plist echo c - workrave/files mkdir -p workrave/files > /dev/null 2>&1 echo x - workrave/files/patch-arch_unix_Mutex.hh sed 's/^X//' >workrave/files/patch-arch_unix_Mutex.hh << 'END-of-workrave/files/patch-arch_unix_Mutex.hh' X--- arch/unix/Mutex.hh.orig Sun Jan 5 00:53:45 2003 X+++ arch/unix/Mutex.hh Sat Jul 12 16:40:21 2003 X@@ -23,6 +23,11 @@ X X #include <pthread.h> X X+// define this to something freebsd knows X+#ifdef __FreeBSD__ X+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE X+#endif X+ X /*! X * A Mutex class. X */ END-of-workrave/files/patch-arch_unix_Mutex.hh echo x - workrave/files/patch-arch_unix_Thread.hh sed 's/^X//' >workrave/files/patch-arch_unix_Thread.hh << 'END-of-workrave/files/patch-arch_unix_Thread.hh' X--- arch/unix/Thread.cc.orig Sun Jan 5 00:53:45 2003 X+++ arch/unix/Thread.cc Sat Jul 5 13:58:39 2003 X@@ -20,6 +20,7 @@ X #include "config.h" X #endif X X+#include <time.h> X #include "Thread.hh" X X void * END-of-workrave/files/patch-arch_unix_Thread.hh echo x - workrave/files/patch-src_X11InputMonitor.cc sed 's/^X//' >workrave/files/patch-src_X11InputMonitor.cc << 'END-of-workrave/files/patch-src_X11InputMonitor.cc' X--- src/X11InputMonitor.cc.orig Sat Mar 22 14:53:57 2003 X+++ src/X11InputMonitor.cc Mon Jul 14 17:47:35 2003 X@@ -39,6 +39,7 @@ X #if HAVE_UNISTD_H X # include <unistd.h> X #endif X+#include <sys/select.h> X X #include <X11/X.h> X #include <X11/Xproto.h> X@@ -174,11 +175,13 @@ X TRACE_MSG("waiting"); X abort = true; X X+#ifdef HAVE_XRECORD X //FIXME: stop_xrecord does not seem to work. X if (use_xrecord) X { X monitor_thread->stop(); X } X+#endif X // wait_for_terminated_signal.wait(); X TRACE_EXIT(); X } END-of-workrave/files/patch-src_X11InputMonitor.cc echo x - workrave/files/patch-arch_debug.hh sed 's/^X//' >workrave/files/patch-arch_debug.hh << 'END-of-workrave/files/patch-arch_debug.hh' X--- arch/debug.hh.orig Sun Jul 13 10:04:38 2003 X+++ arch/debug.hh Sun Jul 13 10:04:55 2003 X@@ -21,6 +21,8 @@ X #ifndef DEBUG_HH X #define DEBUG_HH X X+#include <assert.h> X+ X #ifndef CWDEBUG X X #define AllocTag1(p) END-of-workrave/files/patch-arch_debug.hh exit --- workrave-1.2.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030716091559.100401E76>