diff options
author | markd <markd@pkgsrc.org> | 2007-05-05 22:07:59 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-05-05 22:07:59 +0000 |
commit | 731b6c9862879b13ac946eb8bcb95ab35b4004f8 (patch) | |
tree | de19b72fbd46253a90cccada8e75287f5d779bd5 /time | |
parent | f54360737434707e420499a2ec2d1e6fb8f9fd47 (diff) | |
download | pkgsrc-731b6c9862879b13ac946eb8bcb95ab35b4004f8.tar.gz |
Initial import of rsibreak 0.8.0
Repetitive Strain Injury is an illness which can occur as a result of
working with a mouse and keyboard. This utility can be used to remind
you to take a break now and then. It will show you a random picture
from a collection you can configure yourself for a configurable
duration at a configurable interval.
You can use these breaks to do some stretch exercises for example, or
as a reminder to walk away from the computer for a while.
RSIBreak will sit in your system tray and when it is time for a break
it will show you the picture full screen. All timings can be set by
clicking with the right mouse button on the icon in the system tray.
Diffstat (limited to 'time')
-rw-r--r-- | time/rsibreak/DESCR | 12 | ||||
-rw-r--r-- | time/rsibreak/Makefile | 24 | ||||
-rw-r--r-- | time/rsibreak/PLIST | 117 | ||||
-rw-r--r-- | time/rsibreak/distinfo | 6 | ||||
-rw-r--r-- | time/rsibreak/patches/patch-aa | 23 |
5 files changed, 182 insertions, 0 deletions
diff --git a/time/rsibreak/DESCR b/time/rsibreak/DESCR new file mode 100644 index 00000000000..8e0caf70519 --- /dev/null +++ b/time/rsibreak/DESCR @@ -0,0 +1,12 @@ +Repetitive Strain Injury is an illness which can occur as a result of +working with a mouse and keyboard. This utility can be used to remind +you to take a break now and then. It will show you a random picture +from a collection you can configure yourself for a configurable +duration at a configurable interval. + +You can use these breaks to do some stretch exercises for example, or +as a reminder to walk away from the computer for a while. + +RSIBreak will sit in your system tray and when it is time for a break +it will show you the picture full screen. All timings can be set by +clicking with the right mouse button on the icon in the system tray. diff --git a/time/rsibreak/Makefile b/time/rsibreak/Makefile new file mode 100644 index 00000000000..3afb24c9a7e --- /dev/null +++ b/time/rsibreak/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/05 22:07:59 markd Exp $ + +DISTNAME= Rsibreak-0.8.0 +PKGNAME= rsibreak-0.8.0 +CATEGORIES= time kde +MASTER_SITES= http://www.rsibreak.org/images/e/e0/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://www.rsibreak.org/ +COMMENT= RSI management tool + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +USE_TOOLS+= msgfmt perl +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +.include "../../meta-pkgs/kde3/kde3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../x11/kdelibs3/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/time/rsibreak/PLIST b/time/rsibreak/PLIST new file mode 100644 index 00000000000..b929d4f601b --- /dev/null +++ b/time/rsibreak/PLIST @@ -0,0 +1,117 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/05 22:07:59 markd Exp $ +bin/rsibreak +share/applications/kde/rsibreak.desktop +share/doc/kde/HTML/da/rsibreak/common +share/doc/kde/HTML/da/rsibreak/index.cache.bz2 +share/doc/kde/HTML/da/rsibreak/index.docbook +share/doc/kde/HTML/en/rsibreak/common +share/doc/kde/HTML/en/rsibreak/dcop.png +share/doc/kde/HTML/en/rsibreak/index.cache.bz2 +share/doc/kde/HTML/en/rsibreak/index.docbook +share/doc/kde/HTML/en/rsibreak/logo.png +share/doc/kde/HTML/en/rsibreak/popup.png +share/doc/kde/HTML/en/rsibreak/statistics.png +share/doc/kde/HTML/en/rsibreak/suspend.png +share/doc/kde/HTML/nl/rsibreak/common +share/doc/kde/HTML/nl/rsibreak/index.cache.bz2 +share/doc/kde/HTML/nl/rsibreak/index.docbook +share/doc/kde/HTML/nl/rsibreak/popup.png +share/doc/kde/HTML/nl/rsibreak/statistics.png +share/doc/kde/HTML/nl/rsibreak/suspend.png +share/doc/kde/HTML/pt/rsibreak/common +share/doc/kde/HTML/pt/rsibreak/index.cache.bz2 +share/doc/kde/HTML/pt/rsibreak/index.docbook +share/doc/kde/HTML/sv/rsibreak/common +share/doc/kde/HTML/sv/rsibreak/dcop.png +share/doc/kde/HTML/sv/rsibreak/index.cache.bz2 +share/doc/kde/HTML/sv/rsibreak/index.docbook +share/doc/kde/HTML/sv/rsibreak/popup.png +share/doc/kde/HTML/sv/rsibreak/statistics.png +share/doc/kde/HTML/sv/rsibreak/suspend.png +share/icons/hicolor/128x128/apps/rsibreak.png +share/icons/hicolor/16x16/apps/rsibreak.png +share/icons/hicolor/22x22/apps/rsibreak.png +share/icons/hicolor/32x32/apps/rsibreak.png +share/kde/apps/rsibreak/eventsrc +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak0.png +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak1.png +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak2.png +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak3.png +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak4.png +share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreakx.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak0.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak1.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak2.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak3.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak4.png +share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreakx.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/duringbreaks.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak0.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak1.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak2.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak3.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak4.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreakx.png +share/kde/apps/rsibreak/icons/hicolor/32x32/actions/timings.png +share/kde/autostart/rsibreak.desktop +share/locale/ar/LC_MESSAGES/rsibreak.mo +share/locale/bg/LC_MESSAGES/rsibreak.mo +share/locale/br/LC_MESSAGES/rsibreak.mo +share/locale/ca/LC_MESSAGES/rsibreak.mo +share/locale/cs/LC_MESSAGES/rsibreak.mo +share/locale/da/LC_MESSAGES/rsibreak.mo +share/locale/de/LC_MESSAGES/rsibreak.mo +share/locale/el/LC_MESSAGES/rsibreak.mo +share/locale/en_GB/LC_MESSAGES/rsibreak.mo +share/locale/es/LC_MESSAGES/rsibreak.mo +share/locale/et/LC_MESSAGES/rsibreak.mo +share/locale/fr/LC_MESSAGES/rsibreak.mo +share/locale/ga/LC_MESSAGES/rsibreak.mo +share/locale/gl/LC_MESSAGES/rsibreak.mo +share/locale/it/LC_MESSAGES/rsibreak.mo +share/locale/ja/LC_MESSAGES/rsibreak.mo +share/locale/ka/LC_MESSAGES/rsibreak.mo +share/locale/nl/LC_MESSAGES/rsibreak.mo +share/locale/pl/LC_MESSAGES/rsibreak.mo +share/locale/pt/LC_MESSAGES/rsibreak.mo +share/locale/pt_BR/LC_MESSAGES/rsibreak.mo +share/locale/ru/LC_MESSAGES/rsibreak.mo +share/locale/sk/LC_MESSAGES/rsibreak.mo +share/locale/sr/LC_MESSAGES/rsibreak.mo +share/locale/sr@Latn/LC_MESSAGES/rsibreak.mo +share/locale/sv/LC_MESSAGES/rsibreak.mo +share/locale/tr/LC_MESSAGES/rsibreak.mo +@comment in kde: @dirrm share/kde/autostart +@dirrm share/kde/apps/rsibreak/icons/hicolor/32x32/actions +@dirrm share/kde/apps/rsibreak/icons/hicolor/32x32 +@dirrm share/kde/apps/rsibreak/icons/hicolor/22x22/actions +@dirrm share/kde/apps/rsibreak/icons/hicolor/22x22 +@dirrm share/kde/apps/rsibreak/icons/hicolor/16x16/actions +@dirrm share/kde/apps/rsibreak/icons/hicolor/16x16 +@dirrm share/kde/apps/rsibreak/icons/hicolor +@dirrm share/kde/apps/rsibreak/icons +@dirrm share/kde/apps/rsibreak +@comment in kde: @dirrm share/kde/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/32x32/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/128x128/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor +@dirrm share/doc/kde/HTML/sv/rsibreak +@comment in kde: @dirrm share/doc/kde/HTML/sv +@dirrm share/doc/kde/HTML/pt/rsibreak +@comment in kde: @dirrm share/doc/kde/HTML/pt +@dirrm share/doc/kde/HTML/nl/rsibreak +@comment in kde: @dirrm share/doc/kde/HTML/nl +@exec ${MKDIR} %D/share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/src/html +@dirrm share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/src/html +@dirrm share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/src +@exec ${MKDIR} %D/share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/html +@dirrm share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/html +@dirrm share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak +@dirrm share/doc/kde/HTML/en/${PKGNAME}-apidocs +@dirrm share/doc/kde/HTML/en/rsibreak +@comment in kde: @dirrm share/doc/kde/HTML/en +@dirrm share/doc/kde/HTML/da/rsibreak +@comment in kde: @dirrm share/doc/kde/HTML/da +@comment in kde: @dirrm share/applications/kde diff --git a/time/rsibreak/distinfo b/time/rsibreak/distinfo new file mode 100644 index 00000000000..270a635d80d --- /dev/null +++ b/time/rsibreak/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/05/05 22:07:59 markd Exp $ + +SHA1 (Rsibreak-0.8.0.tar.bz2) = a365a810e6fd4f5482cf63499205001e817f5934 +RMD160 (Rsibreak-0.8.0.tar.bz2) = bc1f696a5d2d8f88178ab39e079e22265b5b7bf5 +Size (Rsibreak-0.8.0.tar.bz2) = 832998 bytes +SHA1 (patch-aa) = 28c169b9c2820fc92a8ad2f149fc8830b1e7257b diff --git a/time/rsibreak/patches/patch-aa b/time/rsibreak/patches/patch-aa new file mode 100644 index 00000000000..138a110f49c --- /dev/null +++ b/time/rsibreak/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/05/05 22:07:59 markd Exp $ + +XFree86 extensions/dpms.h doesn't wrap the function definitions with extern C +so don't include it but do same explicitly :-( + +--- rsibreak/src/rsitimer_dpms.cpp.orig 2006-10-14 06:33:00.000000000 +1300 ++++ rsibreak/src/rsitimer_dpms.cpp +@@ -17,7 +17,14 @@ + */ + + #include <X11/Xutil.h> +-#include <X11/extensions/dpms.h> ++#include <X11/X.h> ++#include <X11/Xmd.h> ++ ++_XFUNCPROTOBEGIN ++extern Bool DPMSQueryExtension(Display *, int *, int *); ++extern Bool DPMSCapable(Display *); ++extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); ++_XFUNCPROTOEND + + bool QueryDPMSTimeouts(Display* display, int& standby, int& suspend, int& off) + { |