diff options
author | markd <markd@pkgsrc.org> | 2010-04-10 22:07:56 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-04-10 22:07:56 +0000 |
commit | fd407285f9b937d7bf6e9d308bc386aa2fa21618 (patch) | |
tree | 235dccf459dc943a14134d2b7b225439296c0034 /time | |
parent | 31b230266564d54e49523bca4059127f8b07b9db (diff) | |
download | pkgsrc-fd407285f9b937d7bf6e9d308bc386aa2fa21618.tar.gz |
Reimport rsibreak as rsibreak-kde3
Diffstat (limited to 'time')
-rw-r--r-- | time/rsibreak-kde3/DESCR | 12 | ||||
-rw-r--r-- | time/rsibreak-kde3/Makefile | 28 | ||||
-rw-r--r-- | time/rsibreak-kde3/PLIST | 85 | ||||
-rw-r--r-- | time/rsibreak-kde3/distinfo | 6 | ||||
-rw-r--r-- | time/rsibreak-kde3/patches/patch-aa | 23 |
5 files changed, 154 insertions, 0 deletions
diff --git a/time/rsibreak-kde3/DESCR b/time/rsibreak-kde3/DESCR new file mode 100644 index 00000000000..8e0caf70519 --- /dev/null +++ b/time/rsibreak-kde3/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-kde3/Makefile b/time/rsibreak-kde3/Makefile new file mode 100644 index 00000000000..b6f2b39cec5 --- /dev/null +++ b/time/rsibreak-kde3/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/04/10 22:07:56 markd Exp $ + +DISTNAME= rsibreak-0.8.0 +PKGNAME= rsibreak-0.8.0 +PKGREVISION= 6 +CATEGORIES= time kde +MASTER_SITES= http://www.rsibreak.org/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://www.rsibreak.org/ +COMMENT= RSI management tool + +PKG_DESTDIR_SUPPORT= user-destdir + +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 "../../x11/libXScrnSaver/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/time/rsibreak-kde3/PLIST b/time/rsibreak-kde3/PLIST new file mode 100644 index 00000000000..0a97d02979f --- /dev/null +++ b/time/rsibreak-kde3/PLIST @@ -0,0 +1,85 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/10 22:07:56 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 +@pkgdir share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/src/html +@pkgdir share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/html diff --git a/time/rsibreak-kde3/distinfo b/time/rsibreak-kde3/distinfo new file mode 100644 index 00000000000..c4ba5f64e3d --- /dev/null +++ b/time/rsibreak-kde3/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/04/10 22:07:56 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-kde3/patches/patch-aa b/time/rsibreak-kde3/patches/patch-aa new file mode 100644 index 00000000000..34c1a9a56a3 --- /dev/null +++ b/time/rsibreak-kde3/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/04/10 22:07:56 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) + { |