summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-06 21:22:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-06 21:22:25 +0000
commitb699984486a50714ecf1e55e931cf9335f890bfa (patch)
tree3acc5ebc2f8da8da2ecd79a9402dba7da1191884 /x11-fm
parentUpdate to 2.2.4 (diff)
Add file_menu_applet 0.4, a small GNOME panel application which creates a
file manager. PR: 37802 Submitted by: Franz Klammer <klammer@webonaut.com>
Notes
Notes: svn path=/head/; revision=58626
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/Makefile1
-rw-r--r--x11-fm/file_menu_applet/Makefile20
-rw-r--r--x11-fm/file_menu_applet/distinfo1
-rw-r--r--x11-fm/file_menu_applet/files/patch-aa11
-rw-r--r--x11-fm/file_menu_applet/files/patch-ab16
-rw-r--r--x11-fm/file_menu_applet/files/patch-ac22
-rw-r--r--x11-fm/file_menu_applet/pkg-comment1
-rw-r--r--x11-fm/file_menu_applet/pkg-descr13
-rw-r--r--x11-fm/file_menu_applet/pkg-plist6
9 files changed, 91 insertions, 0 deletions
diff --git a/x11-fm/Makefile b/x11-fm/Makefile
index 049bceecdb21..59af5356d82d 100644
--- a/x11-fm/Makefile
+++ b/x11-fm/Makefile
@@ -7,6 +7,7 @@
SUBDIR += dfm
SUBDIR += endeavour
SUBDIR += ezfm
+ SUBDIR += file_menu_applet
SUBDIR += filerunner
SUBDIR += fsv
SUBDIR += gentoo
diff --git a/x11-fm/file_menu_applet/Makefile b/x11-fm/file_menu_applet/Makefile
new file mode 100644
index 000000000000..770cb69306db
--- /dev/null
+++ b/x11-fm/file_menu_applet/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: file_menu_applet
+# Date created: 4 May 2002
+# Whom: Franz Klammer <klammer@webonaut.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= file_menu_applet
+PORTVERSION= 0.4
+CATEGORIES= x11-fm gnome
+MASTER_SITES= http://www.zoned.net:8000/~xkahn/file_menu_applet/
+
+MAINTAINER= klammer@webonaut.com
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/x11-fm/file_menu_applet/distinfo b/x11-fm/file_menu_applet/distinfo
new file mode 100644
index 000000000000..00451ceb303f
--- /dev/null
+++ b/x11-fm/file_menu_applet/distinfo
@@ -0,0 +1 @@
+MD5 (file_menu_applet-0.4.tar.gz) = 611cf15b5b52e821f8ce056df1fe74ee
diff --git a/x11-fm/file_menu_applet/files/patch-aa b/x11-fm/file_menu_applet/files/patch-aa
new file mode 100644
index 000000000000..14f8f468fc6d
--- /dev/null
+++ b/x11-fm/file_menu_applet/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Mon May 6 02:39:52 2002
++++ src/Makefile.in Mon May 6 02:40:05 2002
+@@ -107,7 +107,7 @@
+ -DLOCALEDIR=\""$(datadir)/locale"\" \
+ -DIMAGEDIR=\""$(datadir)/pixmaps"\" \
+ -DICONDIR=\""$(datadir)/images/file_menu_applet"\" \
+- -DMIMEICONDIR=\"$(datadir)/pixmaps/nautilus\" \
++ -DMIMEICONDIR=\"$(datadir)/pixmaps\" \
+ -DGLADEDIR=\""$(gladedir)"\"
+
+
diff --git a/x11-fm/file_menu_applet/files/patch-ab b/x11-fm/file_menu_applet/files/patch-ab
new file mode 100644
index 000000000000..d14a73cdf585
--- /dev/null
+++ b/x11-fm/file_menu_applet/files/patch-ab
@@ -0,0 +1,16 @@
+--- src/flist-mime-icon.c.orig Mon May 6 02:42:16 2002
++++ src/flist-mime-icon.c Mon May 6 02:43:24 2002
+@@ -107,8 +107,11 @@
+ if (!g_file_exists (icon)) {
+ file = g_concat_dir_and_file (MIMEICONDIR, icon);
+ if (!g_file_exists (file)) {
+- g_free (file);
+- return NULL;
++ file = g_concat_dir_and_file(g_strdup_printf ("%s/%s", MIMEICONDIR, "nautilus"), icon);
++ if (!g_file_exists (file)) {
++ g_free (file);
++ return NULL;
++ }
+ }
+ }
+ else
diff --git a/x11-fm/file_menu_applet/files/patch-ac b/x11-fm/file_menu_applet/files/patch-ac
new file mode 100644
index 000000000000..604f753c535d
--- /dev/null
+++ b/x11-fm/file_menu_applet/files/patch-ac
@@ -0,0 +1,22 @@
+--- src/main.c.orig Wed Mar 27 06:06:21 2002
++++ src/main.c Mon May 6 18:35:11 2002
+@@ -213,7 +213,7 @@
+
+ gnome_vfs_file_info_unref (dir_info);
+
+- if (!fma->icon_menus) {
++ if (fma->icon_menus) {
+ result = gnome_vfs_directory_visit
+ (rp, (GNOME_VFS_FILE_INFO_FOLLOW_LINKS
+ | GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE),
+@@ -400,6 +400,10 @@
+
+ if (!fma->menu_label)
+ fma->menu_label = strdup ("Home Directory");
++ if (!fma->dir_watch)
++ fma->menu_label = strdup ("~/");
++ if (!fma->menu_label)
++ fma->icon_menus = strdup ("true");
+
+ /* Create */
+ fma->menu_bar = gtk_menu_bar_new ();
diff --git a/x11-fm/file_menu_applet/pkg-comment b/x11-fm/file_menu_applet/pkg-comment
new file mode 100644
index 000000000000..49acd9ae9767
--- /dev/null
+++ b/x11-fm/file_menu_applet/pkg-comment
@@ -0,0 +1 @@
+A small GNOME panel application which creates a file manager
diff --git a/x11-fm/file_menu_applet/pkg-descr b/x11-fm/file_menu_applet/pkg-descr
new file mode 100644
index 000000000000..d6604bfc1bae
--- /dev/null
+++ b/x11-fm/file_menu_applet/pkg-descr
@@ -0,0 +1,13 @@
+File Menu Applet is a small GNOME panel application which
+creates a file manager.
+
+File Menu Applet is not designed to replace your existing
+file manager, but instead work with it. It supports standard
+drag and drop, GNOME file types, and Nautilus icons.
+I use it for small tasks such a easily attaching files to
+emails in Evolution by dragging them out of File Menu Applet
+into the Evolution composer window.
+It's also excellent for selecting songs to play from your
+MP3 or OGG collection.
+
+WWW: http://www.zoned.net:8000/~xkahn/file_menu_applet/
diff --git a/x11-fm/file_menu_applet/pkg-plist b/x11-fm/file_menu_applet/pkg-plist
new file mode 100644
index 000000000000..e414b0cd2e49
--- /dev/null
+++ b/x11-fm/file_menu_applet/pkg-plist
@@ -0,0 +1,6 @@
+bin/file_menu_applet
+etc/CORBA/servers/file_menu_applet.gnorba
+share/gnome/applets/Utility/file_menu_applet.desktop
+share/gnome/file_menu_applet/fma_prefs.glade
+share/gnome/pixmaps/file_menu_applet.png
+@dirrm share/gnome/file_menu_applet