diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-31 18:30:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-31 18:30:13 +0000 |
commit | 5c0446aca93c5213cab3cf58acb6720f65e7ea7c (patch) | |
tree | befa89c8e3ad8ada321238fc664ff1d785ec3631 /x11/workrave | |
parent | Fix build on -STABLE. (diff) |
* Add a missing gconf2 dependency
* Enable gnomepanel support
PR: 55087
Submitted by: Alexander Nedotsukov <bland@mail.ru>
Approved by: maintainer after submitting a patch to fix -STABLE
compilation
Notes
Notes:
svn path=/head/; revision=86066
Diffstat (limited to 'x11/workrave')
-rw-r--r-- | x11/workrave/Makefile | 10 | ||||
-rw-r--r-- | x11/workrave/files/patch-gui_gnome_WorkraveApplet.c | 19 | ||||
-rw-r--r-- | x11/workrave/pkg-plist | 4 |
3 files changed, 30 insertions, 3 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile index ba1e7a17fd46..8ced6af0511d 100644 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -7,6 +7,7 @@ PORTNAME= workrave PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,15 +15,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= einekoai@chello.nl COMMENT= A Gnome RSI prevention tool -LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 +LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 \ + gnomeuimm-1.3:${PORTSDIR}/x11-toolkits/libgnomeuimm BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack gnomepanel +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 +CONFIGURE_ARGS= --datadir=${PREFIX}/share/gnome/workrave \ + --enable-gconf \ + --enable-gnome .include <bsd.port.mk> diff --git a/x11/workrave/files/patch-gui_gnome_WorkraveApplet.c b/x11/workrave/files/patch-gui_gnome_WorkraveApplet.c new file mode 100644 index 000000000000..496ef12c2b37 --- /dev/null +++ b/x11/workrave/files/patch-gui_gnome_WorkraveApplet.c @@ -0,0 +1,19 @@ +--- gui/gnome/WorkraveApplet.c.orig Tue Mar 18 22:04:42 2003 ++++ gui/gnome/WorkraveApplet.c Thu Jul 31 13:43:50 2003 +@@ -783,6 +783,7 @@ + { + GdkPixbuf *pixbuf = NULL; + GtkWidget *hbox = NULL; ++ GtkWidget *event_box = gtk_event_box_new(); + BonoboUIComponent *ui = NULL; + + // Create menus. +@@ -797,7 +798,7 @@ + bonobo_ui_component_add_listener(ui, "Quiet", mode_callback, NULL); + + // Eventbox +- GtkWidget *event_box = gtk_event_box_new(); ++// 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-plist b/x11/workrave/pkg-plist index 00aa09e15f36..dc97a58594b2 100644 --- a/x11/workrave/pkg-plist +++ b/x11/workrave/pkg-plist @@ -1,5 +1,9 @@ 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 |