summaryrefslogtreecommitdiffstats
path: root/x11/libgnome/files
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-25 02:20:42 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-25 02:20:42 +0800
commit82792921749a46c40b168bf0eebb462148661bf4 (patch)
tree9d88c984200fce30875bf5e59c49b2cc326eb73c /x11/libgnome/files
parent4e4fce03b92399ef2a9c439a066cebb8c62c173d (diff)
downloadmarcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar.gz
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar.bz2
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar.lz
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar.xz
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.tar.zst
marcuscom-ports-82792921749a46c40b168bf0eebb462148661bf4.zip
devel/gnomevfs2:
Add pkg-deinstall.in to restore gconf keys of libgnome. x11/libgnome: Re-add libgnome, add pkg-desinstall to restore gconf keys of gnomevfs2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3326 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files')
-rw-r--r--x11/libgnome/files/patch-ag22
-rw-r--r--x11/libgnome/files/patch-libgnome::Makefile.in12
-rw-r--r--x11/libgnome/files/patch-libgnome_gnome-program.c70
3 files changed, 104 insertions, 0 deletions
diff --git a/x11/libgnome/files/patch-ag b/x11/libgnome/files/patch-ag
new file mode 100644
index 000000000..f1f04a87f
--- /dev/null
+++ b/x11/libgnome/files/patch-ag
@@ -0,0 +1,22 @@
+
+$FreeBSD: ports/x11/libgnome/files/patch-ag,v 1.12 2004/11/07 22:24:24 marcus Exp $
+
+--- libgnome/gnome-util.c 2002/03/19 17:16:21 1.1
++++ libgnome/gnome-util.c 2002/03/19 17:21:31
+@@ -67,11 +67,11 @@
+ static char *shells [] = {
+ /* Note that on some systems shells can also
+ * be installed in /usr/bin */
+- "/bin/bash", "/usr/bin/bash",
+- "/bin/zsh", "/usr/bin/zsh",
+- "/bin/tcsh", "/usr/bin/tcsh",
+- "/bin/ksh", "/usr/bin/ksh",
+- "/bin/csh", "/bin/sh", NULL
++ "/bin/csh", "/bin/sh",
++ LOCALBASE "/bin/bash",
++ LOCALBASE "/bin/zsh",
++ LOCALBASE "/bin/ksh",
++ 0
+ };
+
+ if (geteuid () == getuid () &&
diff --git a/x11/libgnome/files/patch-libgnome::Makefile.in b/x11/libgnome/files/patch-libgnome::Makefile.in
new file mode 100644
index 000000000..5a240a06a
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome::Makefile.in
@@ -0,0 +1,12 @@
+--- libgnome/Makefile.in.orig Mon May 31 16:33:14 2004
++++ libgnome/Makefile.in Mon May 31 16:33:45 2004
+@@ -211,6 +211,9 @@
+ libgnomeincludedir = $(includedir)/libgnome-2.0/libgnome
+
+ INCLUDES = \
++ -DPREFIX=\""$(PREFIX)"\" \
++ -DLOCALBASE=\""$(LOCALBASE)"\" \
++ -DX11BASE=\""$(X11BASE)"\" \
+ -I.. \
+ -I$(srcdir)/.. \
+ $(WARN_CFLAGS) \
diff --git a/x11/libgnome/files/patch-libgnome_gnome-program.c b/x11/libgnome/files/patch-libgnome_gnome-program.c
new file mode 100644
index 000000000..9dd33f9c2
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome_gnome-program.c
@@ -0,0 +1,70 @@
+--- libgnome/gnome-program.c.orig Mon May 31 16:37:02 2004
++++ libgnome/gnome-program.c Mon May 31 16:37:05 2004
+@@ -895,17 +895,17 @@
+ attr_rel = "";
+ break;
+ case GNOME_FILE_DOMAIN_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "";
+ break;
+ case GNOME_FILE_DOMAIN_SOUND:
+- prefix_rel = "/share/sounds";
++ prefix_rel = "/share/gnome/sounds";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "/sounds";
+ break;
+ case GNOME_FILE_DOMAIN_PIXMAP:
+- prefix_rel = "/share/pixmaps";
++ prefix_rel = "/share/gnome/pixmaps";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "/pixmaps";
+ break;
+@@ -917,7 +917,7 @@
+ case GNOME_FILE_DOMAIN_HELP:
+ prefix_rel = "/share/gnome/help";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+- attr_rel = "/gnome/help";
++ attr_rel = "/help";
+ break;
+ case GNOME_FILE_DOMAIN_APP_LIBDIR:
+ prefix_rel = "/lib";
+@@ -926,19 +926,19 @@
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "";
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_SOUND:
+- prefix_rel = "/share/sounds";
++ prefix_rel = "/share/gnome/sounds";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "/sounds";
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_PIXMAP:
+- prefix_rel = "/share/pixmaps";
++ prefix_rel = "/share/gnome/pixmaps";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "/pixmaps";
+ search_path = FALSE;
+@@ -959,12 +959,12 @@
+
+ attr_name = GNOME_PARAM_APP_DATADIR;
+
+- len = strlen ("/gnome/help/") +
++ len = strlen ("/help/") +
+ strlen (program->_priv->app_id) + 1;
+ attr_rel = g_alloca (len);
+ if (attr_rel == NULL /* bad things */)
+ return NULL;
+- g_snprintf (attr_rel, len, "/gnome/help/%s", program->_priv->app_id);
++ g_snprintf (attr_rel, len, "/help/%s", program->_priv->app_id);
+
+ search_path = FALSE;
+ break;