pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/rsibreak Initial import of rsibreak 0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0b8987980d3
branches:  trunk
changeset: 528505:e0b8987980d3
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat May 05 22:07:59 2007 +0000

description:
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:

 time/rsibreak/DESCR            |   12 ++++
 time/rsibreak/Makefile         |   24 ++++++++
 time/rsibreak/PLIST            |  117 +++++++++++++++++++++++++++++++++++++++++
 time/rsibreak/distinfo         |    6 ++
 time/rsibreak/patches/patch-aa |   23 ++++++++
 5 files changed, 182 insertions(+), 0 deletions(-)

diffs (202 lines):

diff -r c619b3ed7ed4 -r e0b8987980d3 time/rsibreak/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/rsibreak/DESCR       Sat May 05 22:07:59 2007 +0000
@@ -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 -r c619b3ed7ed4 -r e0b8987980d3 time/rsibreak/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/rsibreak/Makefile    Sat May 05 22:07:59 2007 +0000
@@ -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@localhost
+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 -r c619b3ed7ed4 -r e0b8987980d3 time/rsibreak/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/rsibreak/PLIST       Sat May 05 22:07:59 2007 +0000
@@ -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 -r c619b3ed7ed4 -r e0b8987980d3 time/rsibreak/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/rsibreak/distinfo    Sat May 05 22:07:59 2007 +0000
@@ -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 -r c619b3ed7ed4 -r e0b8987980d3 time/rsibreak/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/rsibreak/patches/patch-aa    Sat May 05 22:07:59 2007 +0000
@@ -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)
+ {



Home | Main Index | Thread Index | Old Index