summaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:38:26 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:38:26 +0800
commitd5282b6a8be976b33b67bb34854317d27fc2f724 (patch)
treeb375d03f649018d23894d30097bd54c9b35e0f55 /x11-fm
parent268e9135b5b6578bfc86c70b0f4ddfe1eeb5fb40 (diff)
downloadmarcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar.gz
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar.bz2
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar.lz
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar.xz
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.tar.zst
marcuscom-ports-d5282b6a8be976b33b67bb34854317d27fc2f724.zip
- move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7414 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/velocity/Makefile27
-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-configure27
-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-plist45
9 files changed, 207 insertions, 0 deletions
diff --git a/x11-fm/velocity/Makefile b/x11-fm/velocity/Makefile
new file mode 100644
index 000000000..5dc18f8d7
--- /dev/null
+++ b/x11-fm/velocity/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: velocity
+# Date created: 19 November 2003
+# Whom: Ryan
+#
+# $FreeBSD$
+#
+
+PORTNAME= velocity
+PORTVERSION= 0.1.0b
+PORTREVISION= 7
+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
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.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-configure b/x11-fm/velocity/files/patch-configure
new file mode 100644
index 000000000..b90722cd3
--- /dev/null
+++ b/x11-fm/velocity/files/patch-configure
@@ -0,0 +1,27 @@
+--- configure.orig Tue Aug 26 03:15:17 2003
++++ configure Wed Dec 10 20:50:34 2003
+@@ -7156,16 +7156,16 @@
+ packageprefix=${prefix}
+ fi
+
+-packagedatadir=share/${PACKAGE}
+-packagedocdir=doc/${PACKAGE}
++packagedatadir=share/gnome/${PACKAGE}
++packagedocdir=share/doc/${PACKAGE}
+
+-packagepixmapsdir=share/pixmaps/${PACKAGE}
++packagepixmapsdir=share/gnome/pixmaps/${PACKAGE}
+ packagehelpdir=share/gnome/help/${PACKAGE}
+-packagemenudir=share/applications
+-packagescriptsdir=share/${PACKAGE}/scripts
+-packagetemplatesdir=share/${PACKAGE}/templates
+-packagepluginsdir=share/${PACKAGE}/plugins
+-packagesendtodir=share/${PACKAGE}/sendto
++packagemenudir=share/gnome/applications
++packagescriptsdir=share/gnome/${PACKAGE}/scripts
++packagetemplatesdir=share/gnome/${PACKAGE}/templates
++packagepluginsdir=share/gnome/${PACKAGE}/plugins
++packagesendtodir=share/gnome/${PACKAGE}/sendto
+
+ NO_PREFIX_PACKAGE_DATA_DIR="${packagedatadir}"
+
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..1b5e70d0d
--- /dev/null
+++ b/x11-fm/velocity/pkg-plist
@@ -0,0 +1,45 @@
+bin/velocity
+share/gnome/applications/velocity.desktop
+share/gnome/pixmaps/velocity/advanced.png
+share/gnome/pixmaps/velocity/behavior.png
+share/gnome/pixmaps/velocity/bin.png
+share/gnome/pixmaps/velocity/desktop.png
+share/gnome/pixmaps/velocity/druid-left.png
+share/gnome/pixmaps/velocity/druid-top.png
+share/gnome/pixmaps/velocity/puzzle-piece.png
+share/gnome/pixmaps/velocity/puzzle.png
+share/gnome/pixmaps/velocity/themes.png
+share/gnome/pixmaps/velocity/velocity.png
+share/gnome/velocity/plugins/audio.so
+share/gnome/velocity/plugins/burn.so
+share/gnome/velocity/scripts/audio-to-mp3
+share/gnome/velocity/scripts/audio-to-ogg
+share/gnome/velocity/scripts/create-tarball
+share/gnome/velocity/scripts/line-word-count
+share/gnome/velocity/scripts/pdf-to-postscript
+share/gnome/velocity/scripts/postscript-to-pdf
+share/gnome/velocity/scripts/terminal-here
+share/gnome/velocity/scripts/uncompress
+share/gnome/velocity/templates/abiword-document
+share/gnome/velocity/templates/data/abiword-document
+share/gnome/velocity/templates/data/dia-document
+share/gnome/velocity/templates/data/gimp-image
+share/gnome/velocity/templates/data/gnumeric-document
+share/gnome/velocity/templates/data/html-document
+share/gnome/velocity/templates/data/shell-script
+share/gnome/velocity/templates/data/velocity-script
+share/gnome/velocity/templates/data/word-document
+share/gnome/velocity/templates/dia-document
+share/gnome/velocity/templates/gimp-image
+share/gnome/velocity/templates/gnumeric-document
+share/gnome/velocity/templates/html-document
+share/gnome/velocity/templates/plain-text
+share/gnome/velocity/templates/shell-script
+share/gnome/velocity/templates/velocity-script
+share/gnome/velocity/templates/word-document
+@dirrm share/gnome/velocity/templates/data
+@dirrm share/gnome/velocity/templates
+@dirrm share/gnome/velocity/scripts
+@dirrm share/gnome/velocity/plugins
+@dirrm share/gnome/velocity
+@dirrm share/gnome/pixmaps/velocity