summaryrefslogtreecommitdiffstats
path: root/x11/libgnome/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 07:57:57 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 07:57:57 +0800
commitc743f3fdfba92f3b7c40e1a06a7bf094b54e338b (patch)
treeb1fadfc3b679c1af6b87a223eddec44462c72d28 /x11/libgnome/files
parent6b1ff2efef7bce0cc3bd500739f2ea4815daa1c3 (diff)
downloadmarcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar.gz
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar.bz2
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar.lz
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar.xz
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.tar.zst
marcuscom-ports-c743f3fdfba92f3b7c40e1a06a7bf094b54e338b.zip
Add libgnome-2.3.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@569 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-configure19
-rw-r--r--x11/libgnome/files/patch-help-converters::gnome-vfs-module::Makefile.in21
-rw-r--r--x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c38
-rw-r--r--x11/libgnome/files/patch-help-converters::info::Makefile.in14
-rw-r--r--x11/libgnome/files/patch-help-converters::info::main.c22
-rw-r--r--x11/libgnome/files/patch-libgnome::Makefile.in11
-rw-r--r--x11/libgnome/files/patch-libgnome_gnome-program.c57
8 files changed, 204 insertions, 0 deletions
diff --git a/x11/libgnome/files/patch-ag b/x11/libgnome/files/patch-ag
new file mode 100644
index 000000000..085fae459
--- /dev/null
+++ b/x11/libgnome/files/patch-ag
@@ -0,0 +1,22 @@
+
+$FreeBSD: ports/x11/libgnome/files/patch-ag,v 1.9 2003/02/07 18:42:17 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", 0
++ "/bin/csh", "/bin/sh",
++ LOCALBASE "/bin/bash",
++ LOCALBASE "/bin/zsh",
++ LOCALBASE "/bin/ksh",
++ 0
+ };
+
+ if (geteuid () == getuid () &&
diff --git a/x11/libgnome/files/patch-configure b/x11/libgnome/files/patch-configure
new file mode 100644
index 000000000..d5a0a23fd
--- /dev/null
+++ b/x11/libgnome/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Fri Nov 1 06:34:11 2002
++++ configure Sat Nov 9 02:15:02 2002
+@@ -7964,6 +7964,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -8335,7 +8336,7 @@
+
+
+ case $host in
+- *-linux-gnu | *-irix6*)
++ *-linux-gnu | *-irix6* | *-freebsd*)
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_MAN_WHEREIS 1
+ _ACEOF
diff --git a/x11/libgnome/files/patch-help-converters::gnome-vfs-module::Makefile.in b/x11/libgnome/files/patch-help-converters::gnome-vfs-module::Makefile.in
new file mode 100644
index 000000000..d8569e65c
--- /dev/null
+++ b/x11/libgnome/files/patch-help-converters::gnome-vfs-module::Makefile.in
@@ -0,0 +1,21 @@
+--- help-converters/gnome-vfs-module/Makefile.in.orig Tue Nov 5 00:53:20 2002
++++ help-converters/gnome-vfs-module/Makefile.in Tue Nov 5 00:56:05 2002
+@@ -138,15 +138,15 @@
+ cxxflags_set = @cxxflags_set@
+ gnomelocaledir = @gnomelocaledir@
+
+-INCLUDES = \
+- -I$(top_srcdir) \
++INCLUDES = -DPREFIX="\"$(PREFIX)\"" -DLOCALBASE="\"$(LOCALBASE)\"" \
++ -DX11BASE="\"$(X11BASE)\"" -I$(top_srcdir) \
+ $(HELP_VFS_MODULE_CFLAGS) \
+ -DSERVERDIR=\"$(libexecdir)\"
+
+
+ modules_LTLIBRARIES = libvfs-help.la
+
+-module_flags = -export_dynamic -avoid-version
++module_flags = -export_dynamic -avoid-version -module
+ modulesdir = $(libdir)/gnome-vfs-2.0/modules
+
+ libvfs_help_la_SOURCES = \
diff --git a/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c b/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
new file mode 100644
index 000000000..6e3565d74
--- /dev/null
+++ b/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
@@ -0,0 +1,38 @@
+
+$FreeBSD: ports/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c,v 1.2 2003/02/07 18:42:17 marcus Exp $
+
+--- help-converters/gnome-vfs-module/help-method.c.orig Sat Jan 26 17:43:22 2002
++++ help-converters/gnome-vfs-module/help-method.c Wed Feb 20 20:01:17 2002
+@@ -371,7 +371,7 @@
+ else
+ buf = g_strdup_printf ("gnome/help/%s/%s/%s", base_name, lang, old_uri);
+
+- new_uri = g_strdup_printf ("/usr/share/%s", buf);
++ new_uri = g_strdup_printf (PREFIX "/share/%s", buf);
+ /* gnome_unconditional_datadir_file (buf); */
+ g_free (buf);
+
+@@ -394,7 +394,7 @@
+
+ old_help = g_strdup_printf ("gnome/help/%s/%s/index.html", base_name, lang);
+ new_uri_with_extension =
+- g_strdup_printf ("/usr/share/%s",
++ g_strdup_printf (PREFIX "/share/%s",
+ old_help);
+
+ /* gnome_unconditional_datadir_file (old_help); */
+@@ -530,10 +530,10 @@
+ int i;
+
+ /* Check some hardcoded locations. */
+- if (strncmp (file, "/usr/info/", strlen ("/usr/info/")) == 0 ||
+- strncmp (file, "/usr/local/info/", strlen ("/usr/local/info/")) ||
+- strncmp (file, "/usr/gnome/info/", strlen ("/usr/gnome/info/")) ||
+- strncmp (file, "/usr/share/info/", strlen ("/usr/share/info/"))) {
++ if (strncmp (file, "/usr/share/info/", strlen ("/usr/share/info/")) == 0 ||
++ strncmp (file, LOCALBASE "/info/", strlen (LOCALBASE "/info/")) ||
++ strncmp (file, X11BASE "/info/", strlen (X11BASE "/info/")) ||
++ strncmp (file, PREFIX "/info/", strlen (PREFIX "/info/"))) {
+ return TRUE;
+ }
+
diff --git a/x11/libgnome/files/patch-help-converters::info::Makefile.in b/x11/libgnome/files/patch-help-converters::info::Makefile.in
new file mode 100644
index 000000000..442f804c1
--- /dev/null
+++ b/x11/libgnome/files/patch-help-converters::info::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/x11/libgnome/files/patch-help-converters::info::Makefile.in,v 1.2 2003/02/07 18:42:17 marcus Exp $
+
+--- help-converters/info/Makefile.in 2002/02/20 18:09:43 1.1
++++ help-converters/info/Makefile.in 2002/02/20 18:10:02
+@@ -134,7 +134,7 @@
+ cxxflags_set = @cxxflags_set@
+ gnomelocaledir = @gnomelocaledir@
+
+-INCLUDES = $(LIBGNOME_CFLAGS)
++INCLUDES = -DPREFIX="\"$(PREFIX)\"" -DLOCALBASE="\"$(LOCALBASE)\"" -DX11BASE="\"$(X11BASE)\"" $(LIBGNOME_CFLAGS)
+
+ bin_PROGRAMS = gnome2-info2html
+
diff --git a/x11/libgnome/files/patch-help-converters::info::main.c b/x11/libgnome/files/patch-help-converters::info::main.c
new file mode 100644
index 000000000..cd3f6f1c8
--- /dev/null
+++ b/x11/libgnome/files/patch-help-converters::info::main.c
@@ -0,0 +1,22 @@
+--- help-converters/info/main.c.orig Mon Aug 5 14:06:06 2002
++++ help-converters/info/main.c Wed Aug 7 01:52:35 2002
+@@ -104,13 +104,15 @@
+ char buf[PATH_MAX];
+
+ /* First, find the directory that the info file is in. */
+- dirs[0] = "/usr/info";
+- dirs[1] = "/usr/share/info";
++ dirs[0] = "/usr/share/info";
++ dirs[1] = PREFIX "/info";
++ dirs[2] = LOCALBASE "/info";
++ dirs[3] = X11BASE "/info";
+ /* We now have at least one directory to look in. This is
+ * necessary because we may not have an 'INFOPATH' set */
+- ndirs = 2;
++ ndirs = 4;
+ if(infopath) {
+- for (ndirs = 2, ctmp = strtok(infopath, ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":")) {
++ for (ndirs = 4, ctmp = strtok(infopath, ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":")) {
+ dirs[ndirs] = strdup(ctmp);
+ }
+ }
diff --git a/x11/libgnome/files/patch-libgnome::Makefile.in b/x11/libgnome/files/patch-libgnome::Makefile.in
new file mode 100644
index 000000000..21a31faff
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome::Makefile.in
@@ -0,0 +1,11 @@
+--- libgnome/Makefile.in.orig Tue Nov 5 00:56:43 2002
++++ libgnome/Makefile.in Tue Nov 5 00:58:40 2002
+@@ -149,6 +149,8 @@
+ 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..eddd1f28d
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome_gnome-program.c
@@ -0,0 +1,57 @@
+--- libgnome/gnome-program.c.orig Fri Mar 22 11:02:45 2002
++++ libgnome/gnome-program.c Mon May 20 18:28:24 2002
+@@ -882,12 +882,12 @@
+ 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;
+@@ -899,7 +899,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";
+@@ -914,13 +914,13 @@
+ 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;
+@@ -941,12 +941,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;