From 849ff08bf5a353fcef3d8bc519b1bf71f0bea185 Mon Sep 17 00:00:00 2001 From: alepulver Date: Wed, 4 Oct 2006 21:23:07 +0000 Subject: - Fix wrong paths (~/.enlightenment/file.menu -> ~/.e16/menus/file.menu). - Bump PORTREVISION. PR: ports/101623 Submitted by: Michael Metzger --- x11-wm/e16utils/Makefile | 2 +- x11-wm/e16utils/files/patch-e16menuedit-0.1 | 38 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) (limited to 'x11-wm/e16utils') diff --git a/x11-wm/e16utils/Makefile b/x11-wm/e16utils/Makefile index 9e9e9ec33999..0f11274c2aac 100644 --- a/x11-wm/e16utils/Makefile +++ b/x11-wm/e16utils/Makefile @@ -7,7 +7,7 @@ PORTNAME= e16utils PORTVERSION= 0.16 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://public.planetmirror.com/pub/enlightenment/e16utils/ diff --git a/x11-wm/e16utils/files/patch-e16menuedit-0.1 b/x11-wm/e16utils/files/patch-e16menuedit-0.1 index 7768140b44c4..a036bd9fc805 100644 --- a/x11-wm/e16utils/files/patch-e16menuedit-0.1 +++ b/x11-wm/e16utils/files/patch-e16menuedit-0.1 @@ -45,3 +45,41 @@ $FreeBSD$ #MAKEDEP = makedepend -f- -s'\# CUT' -- -Y $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) -- # piece together variables +--- viewer_new.c Mon Aug 7 23:29:16 2006 ++++ viewer.c Mon Aug 7 23:34:38 2006 +@@ -34,7 +34,7 @@ + if (!file_to_load) + return; + if (file_to_load[0] != '/') +- sprintf (buf, "%s/.enlightenment/%s", homedir (getuid ()), file_to_load); ++ sprintf (buf, "%s/.e16/menus/%s", homedir (getuid ()), file_to_load); + else + sprintf (buf, "%s", file_to_load); + +@@ -108,7 +108,7 @@ + GtkCTreeNode *parent = NULL; + + /* currently hardcoded, but not a big issue to change later */ +- sprintf (buf, "%s/.enlightenment/file.menu", homedir (getuid ())); ++ sprintf (buf, "%s/.e16/menus/file.menu", homedir (getuid ())); + menufile = fopen (buf, "r"); + if (!menufile) + { +@@ -564,7 +564,7 @@ + gint retval = 0; + + buf = +- g_strjoin ("/", homedir (getuid ()), ".enlightenment", "file.menu", NULL); ++ g_strjoin ("/", homedir (getuid ()), ".e16/menus", "file.menu", NULL); + + node = + gtk_ctree_export_to_gnode (GTK_CTREE (ctree), NULL, NULL, +@@ -683,7 +683,7 @@ + { + /* Tarnation! A relative path */ + realfile = +- g_strjoin ("/", homedir (getuid ()), ".enlightenment", file, NULL); ++ g_strjoin ("/", homedir (getuid ()), ".e16/menus", file, NULL); + } + else + realfile = g_strdup (file); -- cgit