summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 06:58:22 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 06:58:22 +0800
commit8ca283dff3b4711d968618bd3c4d32dc45c41cfc (patch)
tree107df2f54397c450d468ab157aa0b1c18039156e
parent084f232f9e54b3a1b764ebc69d5eaae6c22ce124 (diff)
downloadmarcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar.gz
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar.bz2
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar.lz
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar.xz
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.tar.zst
marcuscom-ports-8ca283dff3b4711d968618bd3c4d32dc45c41cfc.zip
Add a hack to fix the build with GNOME 2.26.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12235 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--security/tuntun/Makefile24
-rw-r--r--security/tuntun/distinfo3
-rw-r--r--security/tuntun/files/patch-gnio46
-rw-r--r--security/tuntun/files/patch-po11
-rw-r--r--security/tuntun/files/patch-tuntun.server10
-rw-r--r--security/tuntun/pkg-descr12
-rw-r--r--security/tuntun/pkg-plist25
-rw-r--r--sysutils/bubblemon2/Makefile37
-rw-r--r--sysutils/bubblemon2/distinfo3
-rw-r--r--sysutils/bubblemon2/pkg-descr9
-rw-r--r--sysutils/bubblemon2/pkg-plist33
-rw-r--r--textproc/uim-gnome/Makefile37
-rw-r--r--textproc/uim-gnome/pkg-descr3
-rw-r--r--textproc/uim-gnome/pkg-plist2
-rw-r--r--x11-fm/velocity/Makefile35
-rw-r--r--x11-fm/velocity/distinfo3
-rw-r--r--x11-fm/velocity/files/patch-Makefile.in29
-rw-r--r--x11-fm/velocity/files/patch-aa-callbacks11
-rw-r--r--x11-fm/velocity/files/patch-src-velocity-factories.c21
-rw-r--r--x11-fm/velocity/files/patch-src-velocity-vfs.c30
-rw-r--r--x11-fm/velocity/pkg-descr14
-rw-r--r--x11-fm/velocity/pkg-plist46
-rw-r--r--x11/gnome-swallow/Makefile31
-rw-r--r--x11/gnome-swallow/distinfo3
-rw-r--r--x11/gnome-swallow/files/patch-GNOME_Swallow.server17
-rw-r--r--x11/gnome-swallow/files/patch-Makefile.in11
-rw-r--r--x11/gnome-swallow/files/patch-gnome-swallow.c41
-rw-r--r--x11/gnome-swallow/pkg-descr5
-rw-r--r--x11/gnome-swallow/pkg-plist5
-rw-r--r--x11/workrave/Makefile67
-rw-r--r--x11/workrave/distinfo3
-rw-r--r--x11/workrave/files/patch-frontend__common__src__System.cc10
-rw-r--r--x11/workrave/pkg-descr10
-rw-r--r--x11/workrave/pkg-plist90
34 files changed, 737 insertions, 0 deletions
diff --git a/security/tuntun/Makefile b/security/tuntun/Makefile
new file mode 100644
index 000000000..acdfb884c
--- /dev/null
+++ b/security/tuntun/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: tuntun
+# Date created: 2008-09-16
+# Whom: Anderson S. Ferreira <anderson@cnpm.embrapa.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tuntun
+PORTVERSION= 0.3.1
+CATEGORIES= security gnome
+MASTER_SITES= http://tuntun.googlecode.com/files/
+
+MAINTAINER= anderson@cnpm.embrapa.br
+COMMENT= A Gnome applet gui for OpenVPN
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+CONFIGURE_ARGS= --libdir=${PREFIX}/libdata/servers
+USE_GMAKE= yes
+
+USE_GNOME= gnomehier intlhack gnomeprefix gnomehack gnomepanel glib20
+
+.include <bsd.port.mk>
diff --git a/security/tuntun/distinfo b/security/tuntun/distinfo
new file mode 100644
index 000000000..4bc5cfab2
--- /dev/null
+++ b/security/tuntun/distinfo
@@ -0,0 +1,3 @@
+MD5 (tuntun-0.3.1.tar.gz) = 0bd7807e466cb2ea133a9478d4d15e61
+SHA256 (tuntun-0.3.1.tar.gz) = 4d4abca12fbf430402ef0189cfaf1a2d6551cf3faa570b81d18500503c004819
+SIZE (tuntun-0.3.1.tar.gz) = 558837
diff --git a/security/tuntun/files/patch-gnio b/security/tuntun/files/patch-gnio
new file mode 100644
index 000000000..e8ca5df1d
--- /dev/null
+++ b/security/tuntun/files/patch-gnio
@@ -0,0 +1,46 @@
+--- gnio.build.patch.orig 2008-09-16 08:20:43.000000000 -0300
++++ gnio.build.patch 2008-09-16 11:08:44.000000000 -0300
+@@ -31,3 +31,43 @@
+ bld.install_files('PREFIX', 'include/gnio', 'gnio/gi*.h')
+ bld.install_files('PREFIX', 'include/gnio', 'gnio/gn*.h')
+ bld.install_files('PREFIX', 'include/gnio', 'gnio/gr*.h')
++--- gnio/gnio/ginet4address.c.orig 2008-06-16 09:00:35.000000000 -0300
+++++ gnio/gnio/ginet4address.c 2008-09-16 09:39:55.000000000 -0300
++@@ -23,6 +23,7 @@
++
++ #include <config.h>
++ #include <glib.h>
+++#include <sys/types.h>
++
++ #ifndef G_OS_WIN32
++ # include <netinet/in.h>
++--- gnio/gnio/ginet6address.c.orig 2008-06-16 09:00:35.000000000 -0300
+++++ gnio/gnio/ginet6address.c 2008-09-16 09:39:55.000000000 -0300
++@@ -27,6 +27,7 @@
++
++ #include <netinet/in.h>
++ #include <arpa/inet.h>
+++#include <sys/socket.h>
++
++ #include "ginet6address.h"
++
++--- gnio/gnio/gresolver.c.orig 2008-07-09 18:15:16.000000000 -0300
+++++ gnio/gnio/gresolver.c 2008-09-16 09:39:55.000000000 -0300
++@@ -24,6 +24,7 @@
++ #include <config.h>
++ #include <glib.h>
++ #include <gio/gio.h>
+++#include <sys/socket.h>
++
++ #include <string.h>
++ #ifndef G_OS_WIN32
++--- gnio/gnio/gsocket.c.orig 2008-07-09 18:15:16.000000000 -0300
+++++ gnio/gnio/gsocket.c 2008-09-16 09:39:55.000000000 -0300
++@@ -27,6 +27,7 @@
++ #include <gnio/gnio.h>
++ #include "gasynchelper.h"
++ #include "gnioenums.h"
+++#include <sys/socket.h>
++
++ #include <string.h>
++ #ifndef G_OS_WIN32
diff --git a/security/tuntun/files/patch-po b/security/tuntun/files/patch-po
new file mode 100644
index 000000000..c1116dd98
--- /dev/null
+++ b/security/tuntun/files/patch-po
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig 2008-09-16 11:15:56.000000000 -0300
++++ po/Makefile.in.in 2008-09-16 11:16:40.000000000 -0300
+@@ -44,7 +44,7 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+-GMSGFMT = @GMSGFMT@
++GMSGFMT = @MSGFMT@
+ MSGFMT = @MSGFMT@
+ XGETTEXT = @XGETTEXT@
+ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
diff --git a/security/tuntun/files/patch-tuntun.server b/security/tuntun/files/patch-tuntun.server
new file mode 100644
index 000000000..b8f75c012
--- /dev/null
+++ b/security/tuntun/files/patch-tuntun.server
@@ -0,0 +1,10 @@
+--- src/tuntun.server.in 2008-09-16 11:10:52.000000000 -0300
++++ src/tuntun.server.in 2008-09-16 11:11:36.000000000 -0300
+@@ -1,6 +1,6 @@
+ <oaf_info>
+ <oaf_server iid="OAFIID:GNOME_Tuntun_Factory" type="exe"
+- location="/usr/lib/gnome-applets/tuntun">
++ location="/usr/local/libexec/tuntun">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Bonobo/GenericFactory:1.0"/>
diff --git a/security/tuntun/pkg-descr b/security/tuntun/pkg-descr
new file mode 100644
index 000000000..c529ce002
--- /dev/null
+++ b/security/tuntun/pkg-descr
@@ -0,0 +1,12 @@
+Tuntun is an applet for Gnome panel that manage a list of vpn connections
+through the OpenVPN Management Interface.
+
+Main features
+
+ * Simple & lightweight just a client GUI to start/stop your OpenVPN tunnels
+ and nothing more
+ * Integrated with the Gnome Desktop (support for the Keyring and notification
+ daemon)
+ * Support for Auth and Private-Key OpenVPN authentication methods
+
+ WWW: http://code.google.com/p/tuntun/
diff --git a/security/tuntun/pkg-plist b/security/tuntun/pkg-plist
new file mode 100644
index 000000000..48b0bb647
--- /dev/null
+++ b/security/tuntun/pkg-plist
@@ -0,0 +1,25 @@
+libdata/bonobo/servers/tuntun.server
+libexec/tuntun
+share/locale/it/LC_MESSAGES/tuntun.mo
+share/locale/lv/LC_MESSAGES/tuntun.mo
+share/pixmaps/tuntun-icon.png
+share/tuntun/ui/tuntun.ui
+share/tuntun/ui/tuntun-auth-dialog.ui
+share/tuntun/pixmaps/tuntun.png
+share/tuntun/pixmaps/tuntun_act_1.png
+share/tuntun/pixmaps/tuntun_act_2.png
+share/tuntun/pixmaps/connect.png
+share/tuntun/pixmaps/connected.png
+share/tuntun/pixmaps/disconnect.png
+share/tuntun/pixmaps/not_connected.png
+share/tuntun/pixmaps/unknown.png
+share/doc/tuntun/AUTHORS
+share/doc/tuntun/COPYING
+share/doc/tuntun/ChangeLog
+share/doc/tuntun/INSTALL
+share/doc/tuntun/NEWS
+share/doc/tuntun/README
+@dirrm share/doc/tuntun
+@dirrm share/tuntun/pixmaps
+@dirrm share/tuntun/ui
+@dirrm share/tuntun
diff --git a/sysutils/bubblemon2/Makefile b/sysutils/bubblemon2/Makefile
new file mode 100644
index 000000000..44465b4f5
--- /dev/null
+++ b/sysutils/bubblemon2/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: sysutils/bubblemon2
+# Date created: 08 Jul 2002
+# Whom: Juan Salaverria <rael@vectorstar.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bubblemon2
+PORTVERSION= 2.0.9
+PORTREVISION= 2
+CATEGORIES= sysutils gnome
+MASTER_SITES= SAVANNAH/bubblemon
+DISTNAME= bubblemon-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A system CPU and memory load monitor for GNOME2
+
+LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop
+
+USE_GNOME= gnomehack gnomepanel gnomeprefix gnometarget intlhack
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
+ LDFLAGS="-L${LOCALBASE}/lib `pkg-config --libs libgnomeui-2.0`"
+
+MAN1= bubblemon-gnome2.1
+MANLANG= "" hu sv
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog FAQ PROFILING TRANSLATIONS NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/bubblemon2/distinfo b/sysutils/bubblemon2/distinfo
new file mode 100644
index 000000000..e32e4d6c7
--- /dev/null
+++ b/sysutils/bubblemon2/distinfo
@@ -0,0 +1,3 @@
+MD5 (bubblemon-2.0.9.tar.gz) = 2b803da365def732cc43349ed8d1fc2c
+SHA256 (bubblemon-2.0.9.tar.gz) = 08566ce2c6f4cb60ef6e2c52e6152e6ee71a762d8e5142d0e0200bd5ac4a5d81
+SIZE (bubblemon-2.0.9.tar.gz) = 249883
diff --git a/sysutils/bubblemon2/pkg-descr b/sysutils/bubblemon2/pkg-descr
new file mode 100644
index 000000000..0f6eb3021
--- /dev/null
+++ b/sysutils/bubblemon2/pkg-descr
@@ -0,0 +1,9 @@
+Bubblemon displays something that looks like a vial containing water. The water
+level indicates how much memory is in use. The color of the liquid indicates
+how much swap space is used (watery blue means none and angry red means all).
+The system CPU load is indicated by bubbles floating up through the liquid;
+lots of bubbles means high CPU load.
+
+WWW: http://www.nongnu.org/bubblemon/
+
+d92-jwa@nada.kth.se
diff --git a/sysutils/bubblemon2/pkg-plist b/sysutils/bubblemon2/pkg-plist
new file mode 100644
index 000000000..f0d0d5e8e
--- /dev/null
+++ b/sysutils/bubblemon2/pkg-plist
@@ -0,0 +1,33 @@
+libdata/bonobo/servers/GNOME_BubblemonApplet.server
+libexec/bubblemon-gnome2
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/PROFILING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/TRANSLATIONS
+share/gnome-2.0/ui/GNOME_BubblemonApplet.xml
+share/pixmaps/bubblemon.png
+share/locale/ca/LC_MESSAGES/bubblemon.mo
+share/locale/da/LC_MESSAGES/bubblemon.mo
+share/locale/de/LC_MESSAGES/bubblemon.mo
+share/locale/es/LC_MESSAGES/bubblemon.mo
+share/locale/fi/LC_MESSAGES/bubblemon.mo
+share/locale/fr/LC_MESSAGES/bubblemon.mo
+share/locale/hu/LC_MESSAGES/bubblemon.mo
+share/locale/is/LC_MESSAGES/bubblemon.mo
+share/locale/it/LC_MESSAGES/bubblemon.mo
+share/locale/ko/LC_MESSAGES/bubblemon.mo
+share/locale/no/LC_MESSAGES/bubblemon.mo
+share/locale/pl/LC_MESSAGES/bubblemon.mo
+share/locale/pt/LC_MESSAGES/bubblemon.mo
+share/locale/pt_BR/LC_MESSAGES/bubblemon.mo
+share/locale/ro/LC_MESSAGES/bubblemon.mo
+share/locale/ru/LC_MESSAGES/bubblemon.mo
+share/locale/sh/LC_MESSAGES/bubblemon.mo
+share/locale/sv/LC_MESSAGES/bubblemon.mo
+@dirrmtry share/locale/sh/LC_MESSAGES
+@dirrmtry share/locale/sh
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/textproc/uim-gnome/Makefile b/textproc/uim-gnome/Makefile
new file mode 100644
index 000000000..630b89dca
--- /dev/null
+++ b/textproc/uim-gnome/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: uim-gnome
+# Date created: 31 August 2003
+# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
+#
+# $FreeBSD: ports/textproc/uim-gnome/Makefile,v 1.8 2008/05/11 13:09:44 nobutaka Exp $
+#
+
+PKGNAMESUFFIX= -gnome
+
+COMMENT= GNOME applets of uim input method
+
+USE_GNOME= gtk20 gnomepanel
+LIB_DEPENDS= uim.6:${PORTSDIR}/textproc/uim
+RUN_DEPENDS= uim-pref-gtk:${PORTSDIR}/textproc/uim-gtk
+
+MASTERDIR= ${.CURDIR}/../../textproc/uim
+PKGDIR= ${.CURDIR}
+CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+CONFIGURE_ARGS= --with-gtk2 --enable-gnome-applet
+
+UIM_SLAVE= yes
+
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-helper_Makefile.in
+
+.if defined(WITHOUT_X11)
+IGNORE= requires X11
+.endif
+
+do-build:
+ (cd ${WRKSRC}/helper && ${GMAKE})
+
+do-install:
+ (cd ${WRKSRC}/helper && \
+ ${GMAKE} am__EXEEXT_3="" install-serverDATA install-libexecPROGRAMS)
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/uim-gnome/pkg-descr b/textproc/uim-gnome/pkg-descr
new file mode 100644
index 000000000..ce50b062d
--- /dev/null
+++ b/textproc/uim-gnome/pkg-descr
@@ -0,0 +1,3 @@
+GNOME applets of uim input method.
+
+WWW: http://code.google.com/p/uim/
diff --git a/textproc/uim-gnome/pkg-plist b/textproc/uim-gnome/pkg-plist
new file mode 100644
index 000000000..2cb036d37
--- /dev/null
+++ b/textproc/uim-gnome/pkg-plist
@@ -0,0 +1,2 @@
+libdata/bonobo/servers/GNOME_UimApplet.server
+libexec/uim-toolbar-applet
diff --git a/x11-fm/velocity/Makefile b/x11-fm/velocity/Makefile
new file mode 100644
index 000000000..e5fcd2e5b
--- /dev/null
+++ b/x11-fm/velocity/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: velocity
+# Date created: 19 November 2003
+# Whom: Ryan
+#
+# $FreeBSD$
+#
+
+PORTNAME= velocity
+PORTVERSION= 0.1.0b
+PORTREVISION= 11
+CATEGORIES= x11-fm
+MASTER_SITES= http://www.jarrodkoehler.com/velocity/
+DISTNAME= velocity-0.1.0beta
+
+MAINTAINER= ryan.moe@fastfreedom.net
+COMMENT= GNOME file and desktop manager
+
+WRKSRC= ${WRKDIR}/velocity-0.1.0
+USE_AUTOTOOLS= libtool:15
+USE_BZIP2= yes
+USE_GNOME= libgnomeui gnomedesktop librsvg2
+CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/x11-fm/velocity/distinfo b/x11-fm/velocity/distinfo
new file mode 100644
index 000000000..e3e0c9ac0
--- /dev/null
+++ b/x11-fm/velocity/distinfo
@@ -0,0 +1,3 @@
+MD5 (velocity-0.1.0beta.tar.bz2) = 8873aff1c3b1759cbfd21944360ac087
+SHA256 (velocity-0.1.0beta.tar.bz2) = f5d2b18cbc2e59c875cae70e0e1f8c486e84b90579304c67979dde6474360dc2
+SIZE (velocity-0.1.0beta.tar.bz2) = 346094
diff --git a/x11-fm/velocity/files/patch-Makefile.in b/x11-fm/velocity/files/patch-Makefile.in
new file mode 100644
index 000000000..9ca22c6af
--- /dev/null
+++ b/x11-fm/velocity/files/patch-Makefile.in
@@ -0,0 +1,29 @@
+--- Makefile.in.orig Tue Aug 26 03:15:13 2003
++++ Makefile.in Wed Dec 10 20:58:53 2003
+@@ -189,7 +189,7 @@
+ CONFIG_HEADER = config.h
+ CONFIG_CLEAN_FILES = velocity.spec velocity.desktop
+ DIST_SOURCES =
+-DATA = $(gnomemenu_DATA) $(velocitydoc_DATA)
++DATA = $(gnomemenu_DATA)
+
+
+ RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+@@ -533,7 +533,7 @@
+ all-am: Makefile $(DATA) config.h
+ installdirs: installdirs-recursive
+ installdirs-am:
+- $(mkinstalldirs) $(DESTDIR)$(gnomemenudir) $(DESTDIR)$(velocitydocdir)
++ $(mkinstalldirs) $(DESTDIR)$(gnomemenudir)
+
+ install: install-recursive
+ install-exec: install-exec-recursive
+@@ -575,7 +575,7 @@
+
+ info-am:
+
+-install-data-am: install-gnomemenuDATA install-velocitydocDATA
++install-data-am: install-gnomemenuDATA
+
+ install-exec-am:
+
diff --git a/x11-fm/velocity/files/patch-aa-callbacks b/x11-fm/velocity/files/patch-aa-callbacks
new file mode 100644
index 000000000..63feaf72a
--- /dev/null
+++ b/x11-fm/velocity/files/patch-aa-callbacks
@@ -0,0 +1,11 @@
+--- src/callbacks.h Tue Nov 18 20:35:08 2003
++++ src/callbacks.orig Tue Nov 18 20:36:27 2003
+@@ -27,7 +27,7 @@
+ #include <gnome.h>
+ #include <sys/types.h>
+ #include <signal.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <gnome.h>
+ #include <libgnomevfs/gnome-vfs.h>
+ #include <gtk/gtkdnd.h>
diff --git a/x11-fm/velocity/files/patch-src-velocity-factories.c b/x11-fm/velocity/files/patch-src-velocity-factories.c
new file mode 100644
index 000000000..5ea174a69
--- /dev/null
+++ b/x11-fm/velocity/files/patch-src-velocity-factories.c
@@ -0,0 +1,21 @@
+--- src/velocity-factories.c.orig Thu Jul 24 16:44:17 2003
++++ src/velocity-factories.c Wed Dec 10 20:22:05 2003
+@@ -30,14 +30,14 @@
+ velocity_view*vview=(velocity_view*)g_object_get_data(G_OBJECT(mi),"velocity_view"); /*Always set by the factories for convenience*/
+ GtkWidget*sm=gtk_menu_item_get_submenu(mi);
+ gboolean empty;
+- if(!sm){
+- sm=gtk_menu_new();
+- gtk_menu_item_set_submenu(mi,sm);
+- }
+ void*fs[]={VELOCITY_MENU_FACTORY_DIRECTORY,(gpointer)uri,(gpointer)filter,
+ (gpointer)show_self,(gpointer)depth,NULL,(gpointer)enabled,
+ callback,callback_data,
+ NULL};
++ if(!sm){
++ sm=gtk_menu_new();
++ gtk_menu_item_set_submenu(mi,sm);
++ }
+ velocity_menu_factory_append(vview,sm,fs);
+ empty=(gboolean)g_object_get_data(G_OBJECT(sm),"velocity_menu_factory_dir_empty");
+ if(empty){
diff --git a/x11-fm/velocity/files/patch-src-velocity-vfs.c b/x11-fm/velocity/files/patch-src-velocity-vfs.c
new file mode 100644
index 000000000..7e315d5af
--- /dev/null
+++ b/x11-fm/velocity/files/patch-src-velocity-vfs.c
@@ -0,0 +1,30 @@
+--- src/velocity-vfs.c.orig Tue Aug 26 04:23:50 2003
++++ src/velocity-vfs.c Mon Mar 1 19:23:34 2004
+@@ -31,6 +31,7 @@
+ #include <config.h>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/param.h> /* for NGROUPS */
+ #include <glib.h>
+ #include <libgnome/gnome-desktop-item.h>
+ #include "velocity-vfs.h"
+@@ -240,7 +241,18 @@
+ return((vfsobj->info->uid==getuid()));
+ }
+ gboolean velocity_vfs_is_in_group(velocity_vfs_obj*vfsobj){
+- return((vfsobj->info->gid==getgid()));
++ /* 24 feb 2004 : Henri Michelon hmichelon at e-cml dot org
++ A patch to use the full list of groups on *BSD */
++ int cnt, ngroups;
++ gid_t groups[NGROUPS];
++ if ((ngroups = getgroups(NGROUPS, groups))) {
++ for (cnt = 0; cnt < ngroups; cnt++) {
++ if (vfsobj->info->gid==groups[cnt]) {
++ return(TRUE);
++ }
++ }
++ }
++ return(FALSE);
+ }
+ gboolean velocity_vfs_is_local(velocity_vfs_obj*vfsobj){
+ return(GNOME_VFS_FILE_INFO_LOCAL(vfsobj->info));
diff --git a/x11-fm/velocity/pkg-descr b/x11-fm/velocity/pkg-descr
new file mode 100644
index 000000000..c7def7f44
--- /dev/null
+++ b/x11-fm/velocity/pkg-descr
@@ -0,0 +1,14 @@
+This is a port of velocity. A file and desktop manager for GNOME designed to
+replace Nautilus. It is designed to be fast, efficient, and very powerful.
+It supports advanced features such as:
+
+ * View Profiles - Allowing you to customize the way you view files.
+ * Context menu image preview - allowing you a clearer view of thumbnailed
+ files.
+ * Add-ons - Scripts to help do odd or complex tasks and Templates to make
+ creating new documents simpler.
+
+WWW: http://homepages.ius.edu/kydavis/
+
+- Ryan
+ryan@transaeris.com
diff --git a/x11-fm/velocity/pkg-plist b/x11-fm/velocity/pkg-plist
new file mode 100644
index 000000000..39b9e8b8f
--- /dev/null
+++ b/x11-fm/velocity/pkg-plist
@@ -0,0 +1,46 @@
+bin/velocity
+share/applications/velocity.desktop
+share/pixmaps/velocity/advanced.png
+share/pixmaps/velocity/behavior.png
+share/pixmaps/velocity/bin.png
+share/pixmaps/velocity/desktop.png
+share/pixmaps/velocity/druid-left.png
+share/pixmaps/velocity/druid-top.png
+share/pixmaps/velocity/puzzle-piece.png
+share/pixmaps/velocity/puzzle.png
+share/pixmaps/velocity/themes.png
+share/pixmaps/velocity/velocity.png
+share/velocity/plugins/audio.so
+share/velocity/plugins/burn.so
+share/velocity/scripts/audio-to-mp3
+share/velocity/scripts/audio-to-ogg
+share/velocity/scripts/create-tarball
+share/velocity/scripts/line-word-count
+share/velocity/scripts/pdf-to-postscript
+share/velocity/scripts/postscript-to-pdf
+share/velocity/scripts/terminal-here
+share/velocity/scripts/uncompress
+share/velocity/templates/abiword-document
+share/velocity/templates/data/abiword-document
+share/velocity/templates/data/dia-document
+share/velocity/templates/data/gimp-image
+share/velocity/templates/data/gnumeric-document
+share/velocity/templates/data/html-document
+share/velocity/templates/data/shell-script
+share/velocity/templates/data/velocity-script
+share/velocity/templates/data/word-document
+share/velocity/templates/dia-document
+share/velocity/templates/gimp-image
+share/velocity/templates/gnumeric-document
+share/velocity/templates/html-document
+share/velocity/templates/plain-text
+share/velocity/templates/shell-script
+share/velocity/templates/velocity-script
+share/velocity/templates/word-document
+@dirrm share/velocity/templates/data
+@dirrm share/velocity/templates
+@dirrm share/velocity/scripts
+@dirrm share/velocity/plugins
+@dirrm share/velocity
+@dirrm share/pixmaps/velocity
+@dirrmtry share/applications
diff --git a/x11/gnome-swallow/Makefile b/x11/gnome-swallow/Makefile
new file mode 100644
index 000000000..79fdeb2e5
--- /dev/null
+++ b/x11/gnome-swallow/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: gnome-swallow
+# Date created: 16 April 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-swallow
+PORTVERSION= 1.2
+PORTREVISION= 6
+CATEGORIES= x11 gnome
+MASTER_SITES= http://interreality.org/~tetron/technology/swallow/
+
+MAINTAINER= marcus@FreeBSD.org
+COMMENT= Applet that swallows any X11 application into the GNOME 2 panel
+
+USE_XORG= x11
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnomepanel
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ ${WRKSRC}/GNOME_Swallow.server
+
+.include <bsd.port.mk>
diff --git a/x11/gnome-swallow/distinfo b/x11/gnome-swallow/distinfo
new file mode 100644
index 000000000..4642b9c5b
--- /dev/null
+++ b/x11/gnome-swallow/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome-swallow-1.2.tar.gz) = 9a278a8b5031957f7ca4f5f99044ba8e
+SHA256 (gnome-swallow-1.2.tar.gz) = 09df0782e216591d1bff90e50b894242fa135f577f3502223e57734dc304afc8
+SIZE (gnome-swallow-1.2.tar.gz) = 90732
diff --git a/x11/gnome-swallow/files/patch-GNOME_Swallow.server b/x11/gnome-swallow/files/patch-GNOME_Swallow.server
new file mode 100644
index 000000000..1f99ad2a6
--- /dev/null
+++ b/x11/gnome-swallow/files/patch-GNOME_Swallow.server
@@ -0,0 +1,17 @@
+--- GNOME_Swallow.server.orig Wed Apr 16 03:13:17 2003
++++ GNOME_Swallow.server Wed Apr 16 03:13:30 2003
+@@ -1,6 +1,6 @@
+ <oaf_info>
+ <oaf_server iid="OAFIID:GNOME_Swallow_Factory" type="exe"
+- location="/usr/lib/gnome-panel/gnome_swallow">
++ location="%%PREFIX%%/lib/gnome-panel/gnome_swallow">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Bonobo/GenericFactory:1.0"/>
+@@ -23,4 +23,4 @@
+ <oaf_attribute name="panel:category" type="string" value="Utility"/>
+ <oaf_attribute name="panel:icon" type="string" value="gnome-applets.png"/>
+ </oaf_server>
+-</oaf_info>
+\ No newline at end of file
++</oaf_info>
diff --git a/x11/gnome-swallow/files/patch-Makefile.in b/x11/gnome-swallow/files/patch-Makefile.in
new file mode 100644
index 000000000..e8914f324
--- /dev/null
+++ b/x11/gnome-swallow/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Apr 16 03:11:46 2003
++++ Makefile.in Wed Apr 16 03:11:57 2003
+@@ -103,7 +103,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ paneldir = $(prefix)/lib/gnome-panel
+-serversdir = $(prefix)/lib/bonobo/servers
++serversdir = $(prefix)/libdata/bonobo/servers
+ docdir = $(prefix)/share/doc/gnome-swallow
+
+ dist_doc_DATA = README
diff --git a/x11/gnome-swallow/files/patch-gnome-swallow.c b/x11/gnome-swallow/files/patch-gnome-swallow.c
new file mode 100644
index 000000000..49b5b5c1f
--- /dev/null
+++ b/x11/gnome-swallow/files/patch-gnome-swallow.c
@@ -0,0 +1,41 @@
+--- gnome-swallow.c.orig Fri Sep 12 00:21:55 2003
++++ gnome-swallow.c Sun Apr 24 00:28:34 2005
+@@ -1,3 +1,5 @@
++#include <sys/types.h>
++#include <sys/time.h>
+ #include <string.h>
+ #include <stdio.h>
+ #include <signal.h>
+@@ -55,7 +57,7 @@ gboolean swallow(char* wantedWindow, Dis
+
+ XSync (display, FALSE);
+
+- gettimeofday(&tv);
++ gettimeofday(&tv, NULL);
+ now = start = (double)tv.tv_sec + ((double)tv.tv_usec / 1000000.0);
+
+ while (ready == FALSE && now < (start + 10.0))
+@@ -131,7 +133,7 @@ gboolean swallow(char* wantedWindow, Dis
+ fprintf(stderr,"Loop");
+ gtk_main_iteration_do(FALSE);
+
+- gettimeofday(&tv);
++ gettimeofday(&tv, NULL);
+ now = (double)tv.tv_sec + ((double)tv.tv_usec / 1000000.0);
+ }
+
+@@ -249,13 +251,13 @@ void exitProgram(GtkWidget* w, gpointer
+ void forkApplet(struct AppletConfigure* ap)
+ {
+ if(ap->pid > -1) {
++ int s;
+ /* Kill the old process and wait for it to die (if the process
+ is already dead then it will be a zombie anyway).
+ */
+ kill(ap->pid, SIGTERM);
+ sleep(1);
+ kill(ap->pid, SIGKILL);
+- int s;
+ waitpid(ap->pid, &s, WNOHANG);
+ }
+
diff --git a/x11/gnome-swallow/pkg-descr b/x11/gnome-swallow/pkg-descr
new file mode 100644
index 000000000..94f04f35c
--- /dev/null
+++ b/x11/gnome-swallow/pkg-descr
@@ -0,0 +1,5 @@
+Gnome-swallow is a pseudo-applet that allows one to swallow any X11
+application into the GNOME 2 panel. This restores the functionality that
+used to exist in GNOME 1.x.
+
+WWW: http://interreality.org/~tetron/technology/swallow/
diff --git a/x11/gnome-swallow/pkg-plist b/x11/gnome-swallow/pkg-plist
new file mode 100644
index 000000000..cf195d120
--- /dev/null
+++ b/x11/gnome-swallow/pkg-plist
@@ -0,0 +1,5 @@
+lib/gnome-panel/gnome_swallow
+libdata/bonobo/servers/GNOME_Swallow.server
+share/doc/gnome-swallow/README
+@dirrm share/doc/gnome-swallow
+@dirrm lib/gnome-panel
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
new file mode 100644
index 000000000..b8639d2e3
--- /dev/null
+++ b/x11/workrave/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: workrave
+# Date created: 15 Jul 2003
+# Whom: Koop Mast <einekoai@chello.nl>
+#
+# $FreeBSD: ports/x11/workrave/Makefile,v 1.28 2009/03/28 17:53:24 garga Exp $
+#
+
+PORTNAME= workrave
+PORTVERSION= 1.8.5
+PORTREVISION= 4
+CATEGORIES= x11 gnome
+MASTER_SITES= SF
+
+MAINTAINER= garga@FreeBSD.org
+COMMENT= A Gnome RSI prevention tool
+
+OPTIONS= GNOME "Build with Gnome support" on \
+ NETWORK "Build with network support" on
+
+USE_XORG= x11 xmu
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gconf2 intltool
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+CONFIGURE_ARGS= --enable-gconf
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GNOME)
+LIB_DEPENDS+= gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
+USE_GNOME+= gnomepanel
+PLIST_SUB+= GNOME=""
+.else
+LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
+CONFIGURE_ARGS+=--disable-gnome
+PLIST_SUB+= GNOME="@comment "
+.endif
+
+.if defined(WITH_NETWORK)
+LIB_DEPENDS+= gnet-2.0.0:${PORTSDIR}/net/gnet2
+.else
+CONFIGURE_ARGS+=--disable-distribution
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|#include <sigc++\/compatibility\.h>||g ; \
+ s|SigC::Signal|sigc::signal|g ; \
+ s|SigC::slot_class|sigc::mem_fun|g ; \
+ s|SigC::Connection|sigc::connection|g ; \
+ s|SigC::Slot|sigc::slot|g ; \
+ s|SigC::Object|sigc::trackable|g ; \
+ s|SigC::slot|sigc::mem_fun|g' \
+ ${WRKSRC}/frontend/gtkmm/src/*.* \
+ ${WRKSRC}/frontend/plugin/*/gtkmm/src/*.*
+
+.include <bsd.port.post.mk>
diff --git a/x11/workrave/distinfo b/x11/workrave/distinfo
new file mode 100644
index 000000000..cc32715a1
--- /dev/null
+++ b/x11/workrave/distinfo
@@ -0,0 +1,3 @@
+MD5 (workrave-1.8.5.tar.gz) = 3df48ab5600256fadc11a976f15bcc7a
+SHA256 (workrave-1.8.5.tar.gz) = 4a2f8f16f015fcec4446953421c8e12cdb41391a6da0e63d04d17b30534a0c56
+SIZE (workrave-1.8.5.tar.gz) = 1940651
diff --git a/x11/workrave/files/patch-frontend__common__src__System.cc b/x11/workrave/files/patch-frontend__common__src__System.cc
new file mode 100644
index 000000000..08aaad5de
--- /dev/null
+++ b/x11/workrave/files/patch-frontend__common__src__System.cc
@@ -0,0 +1,10 @@
+--- frontend/common/src/System.cc.orig 2007-09-28 13:18:31.000000000 -0300
++++ frontend/common/src/System.cc 2007-09-28 13:18:48.000000000 -0300
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <strings.h>
++#include <sys/wait.h>
+
+ #include "System.hh"
+ #include "debug.hh"
diff --git a/x11/workrave/pkg-descr b/x11/workrave/pkg-descr
new file mode 100644
index 000000000..938a81799
--- /dev/null
+++ b/x11/workrave/pkg-descr
@@ -0,0 +1,10 @@
+Workrave is a program that assists in the recovery and prevention of
+Repetitive Strain Injury (RSI). The program frequently alerts you to
+take micro-pauses, rest breaks and restricts you to your daily limit.
+These can be customized and it stops the counter when you stop.
+
+The program can be run distributed on one or more PCs. All connected
+PCs share the same timing information. When you switch computers, you
+will still be asked to pause on time.
+
+WWW: http://www.workrave.org/
diff --git a/x11/workrave/pkg-plist b/x11/workrave/pkg-plist
new file mode 100644
index 000000000..c4f656043
--- /dev/null
+++ b/x11/workrave/pkg-plist
@@ -0,0 +1,90 @@
+bin/workrave
+etc/sound/events/workrave.soundlist
+%%GNOME%%libdata/bonobo/servers/Workrave-Applet.server
+%%GNOME%%libdata/bonobo/servers/Workrave-Control.server
+%%GNOME%%libexec/workrave-applet
+%%GNOME%%share/gnome-2.0/ui/GNOME_WorkraveApplet.xml
+share/pixmaps/workrave/workrave-icon-huge.png
+share/sounds/workrave/break-ignored.wav
+share/sounds/workrave/break-prelude.wav
+share/sounds/workrave/daily-limit.wav
+share/sounds/workrave/exercise-ended.wav
+share/sounds/workrave/exercises-ended.wav
+share/sounds/workrave/micro-break-ended.wav
+share/sounds/workrave/micro-break-started.wav
+share/sounds/workrave/rest-break-ended.wav
+share/sounds/workrave/rest-break-started.wav
+share/workrave/exercises/backward-shoulder-stretch.png
+share/workrave/exercises/chair-pushup-1.png
+share/workrave/exercises/chair-pushup-2.png
+share/workrave/exercises/depth-focus-1.png
+share/workrave/exercises/depth-focus-2.png
+share/workrave/exercises/exercises.xml
+share/workrave/exercises/eye-darkness.png
+share/workrave/exercises/finger-stretch-1.png
+share/workrave/exercises/finger-stretch-2.png
+share/workrave/exercises/fist-roll-1.png
+share/workrave/exercises/fist-roll-2.png
+share/workrave/exercises/monitor-border-1.png
+share/workrave/exercises/monitor-border-2.png
+share/workrave/exercises/monitor-border-3.png
+share/workrave/exercises/monitor-border-4.png
+share/workrave/exercises/neck-tilt-stretch-1.png
+share/workrave/exercises/neck-tilt-stretch-2.png
+share/workrave/exercises/rotate-arm.png
+share/workrave/exercises/shoulder-arm-stretch.png
+share/workrave/exercises/turn-head-1.png
+share/workrave/exercises/turn-head-2.png
+share/workrave/exercises/wrist-lower-arm-desk-stretch-1.png
+share/workrave/images/daily-limit.png
+share/workrave/images/display.png
+share/workrave/images/lock.png
+share/workrave/images/micro-break.png
+share/workrave/images/monitoring.png
+share/workrave/images/network.png
+share/workrave/images/prelude-hint-sad.png
+share/workrave/images/prelude-hint.png
+share/workrave/images/rest-break.png
+share/workrave/images/shutdown.png
+share/workrave/images/time.png
+share/workrave/images/timer-daily.png
+share/workrave/images/timer-micro-break.png
+share/workrave/images/timer-rest-break.png
+share/workrave/images/workrave-icon-huge.png
+share/workrave/images/workrave-icon-large.png
+share/workrave/images/workrave-icon-medium.png
+share/workrave/images/workrave-icon-small.png
+share/workrave/images/workrave-quiet-icon-medium.png
+share/workrave/images/workrave-suspended-icon-medium.png
+share/workrave/images/workrave.png
+%%NLS%%share/locale/bg/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/da/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/de/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/el/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/es/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/he/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/it/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/no/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/workrave.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/workrave.mo
+@dirrm share/workrave/images
+@dirrm share/workrave/exercises
+@dirrm share/workrave
+@dirrm share/sounds/workrave
+@dirrm share/pixmaps/workrave