summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-24 17:05:33 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-24 17:05:33 +0000
commita7d38f1d6e2e1818491c22083e1546afe7bf906f (patch)
tree3a070f5324909dd73ba392a063814d2f86f78bd1 /misc
parent631fcf2c9ba5218dccc51c28c8d33ae03688e08f (diff)
downloadpkgsrc-a7d38f1d6e2e1818491c22083e1546afe7bf906f.tar.gz
Initial import of drwright, version 0.17, coming from pkgsrc-wip:
DrWright is a program that reminds you to take regular breaks from your computer. Its main focus is being usable and to simply work. DrWright monitors keyboard and mouse activity and displays a small meter in the notification area on your panel. When it starts blinking, you know it's time to take a break. If you don't, it will lock your screen to force a break.
Diffstat (limited to 'misc')
-rw-r--r--misc/drwright/DESCR7
-rw-r--r--misc/drwright/Makefile33
-rw-r--r--misc/drwright/PLIST34
-rw-r--r--misc/drwright/distinfo6
-rw-r--r--misc/drwright/patches/patch-aa14
-rw-r--r--misc/drwright/patches/patch-ab13
6 files changed, 107 insertions, 0 deletions
diff --git a/misc/drwright/DESCR b/misc/drwright/DESCR
new file mode 100644
index 00000000000..bb7e1b8481e
--- /dev/null
+++ b/misc/drwright/DESCR
@@ -0,0 +1,7 @@
+DrWright is a program that reminds you to take regular breaks from your
+computer. Its main focus is being usable and to simply work.
+
+DrWright monitors keyboard and mouse activity and displays a small meter
+in the notification area on your panel. When it starts blinking, you know
+it's time to take a break. If you don't, it will lock your screen to
+force a break.
diff --git a/misc/drwright/Makefile b/misc/drwright/Makefile
new file mode 100644
index 00000000000..fdadea0ae95
--- /dev/null
+++ b/misc/drwright/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 17:05:33 jmmv Exp $
+#
+
+DISTNAME= drwright-0.17
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/drwright/0.17/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= benedikt.meurer@unix-ag.uni-siegen.de
+HOMEPAGE= http://www.imendio.com/projects/drwright/
+COMMENT= Computer break reminder
+
+BUILD_USES_MSGFMT= yes
+DEPENDS= gnome2-dirs>=1.4:../../misc/gnome2-dirs
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+USE_PERL5= yes
+USE_PKGLOCALEDIR= yes
+
+GCONF2_SCHEMAS= drwright.schemas
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/drwright/PLIST b/misc/drwright/PLIST
new file mode 100644
index 00000000000..d56d828d6f6
--- /dev/null
+++ b/misc/drwright/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 17:05:33 jmmv Exp $
+bin/drwright
+share/applications/drwright.desktop
+share/drwright/bar-disabled.png
+share/drwright/bar-green.png
+share/drwright/bar-red.png
+share/drwright/bar.png
+share/drwright/drw-preferences.glade
+share/drwright/ocean-stripes.png
+share/drwright/stop.png
+share/gconf/schemas/drwright.schemas
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/drwright.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/drwright.mo
+@comment in GConf2: @dirrm share/gconf/schemas
+@dirrm share/drwright
+@comment in gnome2-dirs: @dirrm share/applications
diff --git a/misc/drwright/distinfo b/misc/drwright/distinfo
new file mode 100644
index 00000000000..f377beace75
--- /dev/null
+++ b/misc/drwright/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/24 17:05:33 jmmv Exp $
+
+SHA1 (drwright-0.17.tar.bz2) = dbf75a2adc97fe1ae615a2889420d20ffe4ec2ff
+Size (drwright-0.17.tar.bz2) = 261762 bytes
+SHA1 (patch-aa) = ea2c1ed9bd0d8d6a9c9cd8cfde1d53e16e70a7b3
+SHA1 (patch-ab) = 85bbd95a12528910f9c02f7fa99193e778c8bee0
diff --git a/misc/drwright/patches/patch-aa b/misc/drwright/patches/patch-aa
new file mode 100644
index 00000000000..73a6d3a2f47
--- /dev/null
+++ b/misc/drwright/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 17:05:33 jmmv Exp $
+
+http://bugzilla.gnome.org/show_bug.cgi?id=135300
+
+--- src/drw-monitor.c.orig Fri Jun 13 19:32:51 2003
++++ src/drw-monitor.c
+@@ -26,7 +26,6 @@
+ #include <math.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+-#include <sys/vt.h>
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <sys/types.h>
diff --git a/misc/drwright/patches/patch-ab b/misc/drwright/patches/patch-ab
new file mode 100644
index 00000000000..9f8ff1f9c70
--- /dev/null
+++ b/misc/drwright/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 17:05:33 jmmv Exp $
+
+--- src/Makefile.in.orig 2003-06-24 01:11:33.000000000 +0200
++++ src/Makefile.in
+@@ -133,7 +133,7 @@ STRIP = @STRIP@
+ USE_NLS = @USE_NLS@
+ VERSION = @VERSION@
+
+-INCLUDES = @DRWRIGHT_CFLAGS@ -DGLADEDIR=\"$(datadir)/drwright\" -DIMAGEDIR=\"$(datadir)/drwright\" -Werror -Wall
++INCLUDES = @DRWRIGHT_CFLAGS@ -DGLADEDIR=\"$(datadir)/drwright\" -DIMAGEDIR=\"$(datadir)/drwright\" -Wall
+
+
+ bin_PROGRAMS = drwright