diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-09-01 03:46:18 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-09-01 03:46:18 +0000 |
commit | 6b3e979f133d308cf0746d3bbd600c52af9ec8ac (patch) | |
tree | e879086072dc2cfe049970d69bc9c1cb71c28850 /deskutils | |
parent | - Update to 0.28 (diff) |
- Add nautilus-actions
An extension for Nautilus, the gnome file manager, which allow to configure
program to be launch on files selected into Nautilus interface.
Notes
Notes:
svn path=/head/; revision=141665
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/nautilus-actions/Makefile | 22 | ||||
-rw-r--r-- | deskutils/nautilus-actions/distinfo | 2 | ||||
-rw-r--r-- | deskutils/nautilus-actions/files/patch-Makefile | 24 | ||||
-rw-r--r-- | deskutils/nautilus-actions/pkg-descr | 4 | ||||
-rw-r--r-- | deskutils/nautilus-actions/pkg-plist | 9 |
6 files changed, 62 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index b16f14834b37..b72564e1287e 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -107,6 +107,7 @@ SUBDIR += multisync-syncml SUBDIR += nag SUBDIR += narval + SUBDIR += nautilus-actions SUBDIR += nautilus-sendto SUBDIR += notebook SUBDIR += notification-daemon diff --git a/deskutils/nautilus-actions/Makefile b/deskutils/nautilus-actions/Makefile new file mode 100644 index 000000000000..8671ea0183f2 --- /dev/null +++ b/deskutils/nautilus-actions/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: nautilus-actions +# Date created: 2005-08-31 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nautilus-actions +PORTVERSION= 0.5 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://people.freebsd.org/~ahze/distfiles/ +MASTER_SITE_SUBDIR= ahze + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Extension for Nautilus to configure programs to launch on files + +USE_GNOME= nautilus2 pygtk2 +USE_PYTHON= yes +USE_X_PREFIX= yes + +.include <bsd.port.mk> diff --git a/deskutils/nautilus-actions/distinfo b/deskutils/nautilus-actions/distinfo new file mode 100644 index 000000000000..892a8d8c7616 --- /dev/null +++ b/deskutils/nautilus-actions/distinfo @@ -0,0 +1,2 @@ +MD5 (nautilus-actions-0.5.tar.gz) = c3606d293eb4cf0d49dcaa603169ddfd +SIZE (nautilus-actions-0.5.tar.gz) = 49272 diff --git a/deskutils/nautilus-actions/files/patch-Makefile b/deskutils/nautilus-actions/files/patch-Makefile new file mode 100644 index 000000000000..2498b90f55d2 --- /dev/null +++ b/deskutils/nautilus-actions/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Wed Aug 31 02:54:22 2005 ++++ Makefile Wed Aug 31 22:25:42 2005 +@@ -1,9 +1,9 @@ +-prefix=/usr ++prefix=$(PREFIX) + libdir=$(prefix)/lib + bindir=${prefix}/bin + DESTDIR= +-GNOME_MENU_DIR=$(prefix)/share/applications +-DEFAULT_CONFIG_PATH=$(prefix)/share/nautilus-actions ++GNOME_MENU_DIR=$(prefix)/share/gnome/applications ++DEFAULT_CONFIG_PATH=$(prefix)/share/gnome/nautilus-actions + DEFAULT_PER_USER_PATH=.config/.nautilus-actions + OLD_DEFAULT_PER_USER_PATH=.nautilus-actions + DEFAULT_NACT_DATA_PATH=$(DEFAULT_CONFIG_PATH)/nact +@@ -16,7 +16,7 @@ + all: $(EXT_NAME) nact/nautilus-actions-config.py nact/nact nact/nautilus-actions-config.glade nact/nact.desktop + + $(EXT_NAME): $(SOURCES) $(HEADERS) +- gcc -o $(EXT_NAME) -shared -fPIC -DDEFAULT_CONFIG_PATH="\"$(DEFAULT_CONFIG_PATH)\"" -DDEFAULT_PER_USER_PATH="\"$(DEFAULT_PER_USER_PATH)\"" -I. `pkg-config --libs --cflags libnautilus-extension libxml-2.0 gobject-2.0` $(SOURCES) ++ $(CC) -o $(EXT_NAME) -shared -fPIC $(CFLAGS) -DDEFAULT_CONFIG_PATH="\"$(DEFAULT_CONFIG_PATH)\"" -DDEFAULT_PER_USER_PATH="\"$(DEFAULT_PER_USER_PATH)\"" -I. `pkg-config --libs --cflags libnautilus-extension libxml-2.0 gobject-2.0` $(SOURCES) + + nact/nautilus-actions-config.py: nact/nautilus-actions-config.py.template + sed -e 's#%%%DEFAULT_CONFIG_PATH%%%#$(DEFAULT_CONFIG_PATH)#' -e 's#%%%DATA_DIR%%%#$(DEFAULT_NACT_DATA_PATH)#' -e 's#%%%VERSION%%%#$(VERSION)#' -e 's#%%%DEFAULT_PER_USER_PATH%%%#$(DEFAULT_PER_USER_PATH)#' -e 's#%%%OLD_DEFAULT_PER_USER_PATH%%%#$(OLD_DEFAULT_PER_USER_PATH)#' nact/nautilus-actions-config.py.template > nact/nautilus-actions-config.py diff --git a/deskutils/nautilus-actions/pkg-descr b/deskutils/nautilus-actions/pkg-descr new file mode 100644 index 000000000000..38c86c282a8d --- /dev/null +++ b/deskutils/nautilus-actions/pkg-descr @@ -0,0 +1,4 @@ +An extension for Nautilus, the gnome file manager, which allow to configure +program to be launch on files selected into Nautilus interface. + +WWW: http://www.grumz.net/index.php?q=node/8 diff --git a/deskutils/nautilus-actions/pkg-plist b/deskutils/nautilus-actions/pkg-plist new file mode 100644 index 000000000000..6291b1def98b --- /dev/null +++ b/deskutils/nautilus-actions/pkg-plist @@ -0,0 +1,9 @@ +bin/nact +lib/nautilus/extensions-1.0/nautilus-action.so +share/gnome/applications/nact.desktop +share/gnome/nautilus-actions/config_newaction.xml +share/gnome/nautilus-actions/nact/nautilus-actions-config.glade +share/gnome/nautilus-actions/nact/nautilus-actions-config.py +share/gnome/nautilus-actions/nact/nautilus-launch-icon.png +@dirrm share/gnome/nautilus-actions/nact +@dirrm share/gnome/nautilus-actions |