From 1c9e5196cfb9f5b3d056531421ed816486941fab Mon Sep 17 00:00:00 2001 From: pav Date: Wed, 10 Dec 2003 20:22:02 +0000 Subject: Add velocity, a file manager for GNOME 2 desktop environment. It is designed as a replacement for Nautilus. It supports advanced features like plugins. PR: ports/60103 Submitted by: Ryan Moe --- x11-fm/velocity/Makefile | 23 +++++++++++ x11-fm/velocity/distinfo | 1 + x11-fm/velocity/files/patch-Makefile.in | 29 ++++++++++++++ x11-fm/velocity/files/patch-aa-callbacks | 11 ++++++ x11-fm/velocity/files/patch-configure | 27 +++++++++++++ .../velocity/files/patch-src-velocity-factories.c | 21 ++++++++++ x11-fm/velocity/pkg-descr | 14 +++++++ x11-fm/velocity/pkg-plist | 45 ++++++++++++++++++++++ 8 files changed, 171 insertions(+) create mode 100644 x11-fm/velocity/Makefile create mode 100644 x11-fm/velocity/distinfo create mode 100644 x11-fm/velocity/files/patch-Makefile.in create mode 100644 x11-fm/velocity/files/patch-aa-callbacks create mode 100644 x11-fm/velocity/files/patch-configure create mode 100644 x11-fm/velocity/files/patch-src-velocity-factories.c create mode 100644 x11-fm/velocity/pkg-descr create mode 100644 x11-fm/velocity/pkg-plist (limited to 'x11-fm/velocity') diff --git a/x11-fm/velocity/Makefile b/x11-fm/velocity/Makefile new file mode 100644 index 000000000000..6f000346da36 --- /dev/null +++ b/x11-fm/velocity/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: velocity +# Date created: 19 November 2003 +# Whom: Ryan +# +# $FreeBSD$ +# + +PORTNAME= velocity +PORTVERSION= 0.1.0b +CATEGORIES= x11-fm +MASTER_SITES= http://homepages.ius.edu/kydavis/velocity/ +DISTNAME= velocity-0.1.0beta + +MAINTAINER= ryan@transaeris.com +COMMENT= GNOME file and desktop manager + +WRKSRC= ${WRKDIR}/velocity-0.1.0 +USE_LIBTOOL= yes +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GNOME= libgnomeui gnomedesktop librsvg2 + +.include diff --git a/x11-fm/velocity/distinfo b/x11-fm/velocity/distinfo new file mode 100644 index 000000000000..333bb5a5e894 --- /dev/null +++ b/x11-fm/velocity/distinfo @@ -0,0 +1 @@ +MD5 (velocity-0.1.0beta.tar.bz2) = 8873aff1c3b1759cbfd21944360ac087 diff --git a/x11-fm/velocity/files/patch-Makefile.in b/x11-fm/velocity/files/patch-Makefile.in new file mode 100644 index 000000000000..9ca22c6af17f --- /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 000000000000..63feaf72a9bc --- /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 + #include + #include +-#include ++#include + #include + #include + #include diff --git a/x11-fm/velocity/files/patch-configure b/x11-fm/velocity/files/patch-configure new file mode 100644 index 000000000000..b90722cd34ba --- /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 000000000000..5ea174a69190 --- /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/pkg-descr b/x11-fm/velocity/pkg-descr new file mode 100644 index 000000000000..c7def7f44e99 --- /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 000000000000..1b5e70d0d9c5 --- /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 -- cgit