diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/workrave/Makefile | 34 | ||||
-rw-r--r-- | x11/workrave/distinfo | 1 | ||||
-rw-r--r-- | x11/workrave/files/patch-configure | 10 | ||||
-rw-r--r-- | x11/workrave/files/patch-src::app::gtkmm::gnome_applet::WorkraveApplet.c | 18 | ||||
-rw-r--r-- | x11/workrave/pkg-descr | 10 | ||||
-rw-r--r-- | x11/workrave/pkg-plist | 77 |
6 files changed, 150 insertions, 0 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile new file mode 100644 index 000000000..cf6097e76 --- /dev/null +++ b/x11/workrave/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: Workrave +# Date created: 15 Jul 2003 +# Whom: Koop Mast <einekoai@chello.nl> +# +# $FreeBSD: ports/x11/workrave/Makefile,v 1.4 2003/09/26 19:27:34 marcus Exp $ +# + +PORTNAME= workrave +PORTVERSION= 1.4.0 +PORTREVISION= 1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= einekoai@chello.nl +COMMENT= A Gnome RSI prevention tool + +LIB_DEPENDS= gtkmm-2.3.1:${PORTSDIR}/x11-toolkits/gtk--2 \ + gnomeuimm-2.0:${PORTSDIR}/x11-toolkits/libgnomeuimm \ + gnet-2.0.0:${PORTSDIR}/net/gnet2 +BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack gnomepanel gconf2 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +CONFIGURE_ARGS= --datadir=${PREFIX}/share/gnome/workrave \ + --enable-gconf \ + --enable-gnome \ + --enable-exercises + +.include <bsd.port.mk> diff --git a/x11/workrave/distinfo b/x11/workrave/distinfo new file mode 100644 index 000000000..267a3c902 --- /dev/null +++ b/x11/workrave/distinfo @@ -0,0 +1 @@ +MD5 (workrave-1.4.0.tar.gz) = d5bd1127b533b6d613335f7f240005ad diff --git a/x11/workrave/files/patch-configure b/x11/workrave/files/patch-configure new file mode 100644 index 000000000..ed38bd275 --- /dev/null +++ b/x11/workrave/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Tue Aug 26 23:50:00 2003 ++++ configure Tue Aug 26 23:50:32 2003 +@@ -8571,7 +8571,6 @@ + + + LIBS_save=$LIBS +-LIBS="$LIBS -L $ac_x_libraries" + echo "$as_me:$LINENO: checking for XRecordEnableContext in -lXtst" >&5 + echo $ECHO_N "checking for XRecordEnableContext in -lXtst... $ECHO_C" >&6 + if test "${ac_cv_lib_Xtst_XRecordEnableContext+set}" = set; then diff --git a/x11/workrave/files/patch-src::app::gtkmm::gnome_applet::WorkraveApplet.c b/x11/workrave/files/patch-src::app::gtkmm::gnome_applet::WorkraveApplet.c new file mode 100644 index 000000000..29d73d0b0 --- /dev/null +++ b/x11/workrave/files/patch-src::app::gtkmm::gnome_applet::WorkraveApplet.c @@ -0,0 +1,18 @@ +--- src/app/gtkmm/gnome_applet/WorkraveApplet.c.orig Wed Aug 6 23:01:06 2003 ++++ src/app/gtkmm/gnome_applet/WorkraveApplet.c Fri Aug 29 18:24:11 2003 +@@ -849,6 +849,7 @@ + { + GdkPixbuf *pixbuf = NULL; + GtkWidget *hbox = NULL; ++ GtkWidget *event_box = gtk_event_box_new(); + BonoboUIComponent *ui = NULL; + + // Create menus. +@@ -863,7 +864,6 @@ + bonobo_ui_component_add_listener(ui, "Quiet", mode_callback, NULL); + + // Eventbox +- GtkWidget *event_box = gtk_event_box_new(); + applet_control->event_box = event_box; + gtk_widget_set_events(event_box, gtk_widget_get_events(event_box) | GDK_BUTTON_PRESS_MASK); + gtk_widget_show(GTK_WIDGET(event_box)); diff --git a/x11/workrave/pkg-descr b/x11/workrave/pkg-descr new file mode 100644 index 000000000..bdec04f48 --- /dev/null +++ b/x11/workrave/pkg-descr @@ -0,0 +1,10 @@ +Workrave is a RSI prevention tool. It knows 2 types of breaks and +had a day limit. + +The time of the breaks, the time between and the day limit are fully +customizable. + +When not typing or moving the mouse the counter stops. +So it will only count the time you use the computer. + +WWW: http://www.workrave.org/ diff --git a/x11/workrave/pkg-plist b/x11/workrave/pkg-plist new file mode 100644 index 000000000..d578cb3f3 --- /dev/null +++ b/x11/workrave/pkg-plist @@ -0,0 +1,77 @@ +bin/workrave +etc/sound/events/workrave.soundlist +libexec/workrave-applet +libdata/bonobo/servers/Workrave-Applet.server +libdata/bonobo/servers/Workrave-Control.server +share/gnome/gnome-2.0/ui/GNOME_WorkraveApplet.xml +share/gnome/pixmaps/workrave/workrave-icon-small.png +share/gnome/sounds/workrave/break-ignored.wav +share/gnome/sounds/workrave/break-prelude.wav +share/gnome/sounds/workrave/daily-limit.wav +share/gnome/sounds/workrave/exercise-ended.wav +share/gnome/sounds/workrave/exercises-ended.wav +share/gnome/sounds/workrave/micropause-ended.wav +share/gnome/sounds/workrave/micropause-started.wav +share/gnome/sounds/workrave/restbreak-ended.wav +share/gnome/sounds/workrave/restbreak-started.wav +share/gnome/workrave/exercises/backward-shoulder-stretch.png +share/gnome/workrave/exercises/chair-pushup-1.png +share/gnome/workrave/exercises/chair-pushup-2.png +share/gnome/workrave/exercises/depth-focus-1.png +share/gnome/workrave/exercises/depth-focus-2.png +share/gnome/workrave/exercises/eye-darkness.png +share/gnome/workrave/exercises/finger-stretch-1.png +share/gnome/workrave/exercises/finger-stretch-2.png +share/gnome/workrave/exercises/monitor-border-1.png +share/gnome/workrave/exercises/monitor-border-2.png +share/gnome/workrave/exercises/monitor-border-3.png +share/gnome/workrave/exercises/monitor-border-4.png +share/gnome/workrave/exercises/neck-tilt-stretch-1.png +share/gnome/workrave/exercises/neck-tilt-stretch-2.png +share/gnome/workrave/exercises/rotate-arm.png +share/gnome/workrave/exercises/turn-head-1.png +share/gnome/workrave/exercises/shoulder-arm-stretch.png +share/gnome/workrave/exercises/turn-head-2.png +share/gnome/workrave/exercises/wrist-lower-arm-desk-stretch-1.png +share/gnome/workrave/exercises/wrist-lower-arm-desk-stretch-2.png +share/gnome/workrave/exercises/exercises.xml +share/gnome/workrave/images/daily-limit.png +share/gnome/workrave/images/display.png +share/gnome/workrave/images/micropause.png +share/gnome/workrave/images/monitoring.png +share/gnome/workrave/images/network.png +share/gnome/workrave/images/prelude-hint-sad.png +share/gnome/workrave/images/prelude-hint.png +share/gnome/workrave/images/restbreak.png +share/gnome/workrave/images/time.png +share/gnome/workrave/images/timer-daily.png +share/gnome/workrave/images/timer-micropause.png +share/gnome/workrave/images/timer-restbreak.png +share/gnome/workrave/images/workrave-icon-large.png +share/gnome/workrave/images/workrave-icon-medium.png +share/gnome/workrave/images/workrave-icon-small.png +share/gnome/workrave/images/workrave.ico +share/gnome/workrave/images/workrave.png +share/locale/da/LC_MESSAGES/workrave.mo +share/locale/de/LC_MESSAGES/workrave.mo +share/locale/eo/LC_MESSAGES/workrave.mo +share/locale/es/LC_MESSAGES/workrave.mo +share/locale/nl/LC_MESSAGES/workrave.mo +share/locale/pl/LC_MESSAGES/workrave.mo +@unexec rmdir share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/pl 2>/dev/null || true +@unexec rmdir share/locale/nl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/nl 2>/dev/null || true +@unexec rmdir share/locale/es/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/es 2>/dev/null || true +@unexec rmdir share/locale/eo/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/eo 2>/dev/null || true +@unexec rmdir share/locale/de/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/de 2>/dev/null || true +@unexec rmdir share/locale/da/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/da 2>/dev/null || true +@dirrm share/gnome/workrave/images +@dirrm share/gnome/workrave/exercises +@dirrm share/gnome/workrave +@dirrm share/gnome/pixmaps/workrave +@dirrm share/gnome/sounds/workrave |