summaryrefslogtreecommitdiff
path: root/x11-fm/nautilus
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-26 23:10:47 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-26 23:10:47 +0000
commit604a94998ed31fec8cd0430b3b380f8d507d93d7 (patch)
treed70aeb6f93712dbf663504657090f78ef8180296 /x11-fm/nautilus
parentUpdate to 0.38 (diff)
Set LD_LIBRARY_PATH and MOZILLA_FIVE_HOME properly.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>, sobomax
Diffstat (limited to 'x11-fm/nautilus')
-rw-r--r--x11-fm/nautilus/Makefile2
-rw-r--r--x11-fm/nautilus/files/patch-ag22
-rw-r--r--x11-fm/nautilus/files/patch-components::mozilla::Makefile.in14
-rw-r--r--x11-fm/nautilus/files/patch-components::mozilla::main.c22
-rw-r--r--x11-fm/nautilus/files/patch-src::nautilus-main.c27
5 files changed, 83 insertions, 4 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index e07640ff5417..4c597f87718a 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nautilus
PORTVERSION= 1.0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/nautilus
diff --git a/x11-fm/nautilus/files/patch-ag b/x11-fm/nautilus/files/patch-ag
index d66452a0c070..ffb6a67f84ba 100644
--- a/x11-fm/nautilus/files/patch-ag
+++ b/x11-fm/nautilus/files/patch-ag
@@ -1,9 +1,25 @@
---- src/Makefile.in.orig Tue Nov 7 08:30:29 2000
-+++ src/Makefile.in Fri Jan 12 10:05:21 2001
-@@ -661,4 +661,4 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Thu Feb 21 14:19:34 2002
++++ src/Makefile.in Wed Feb 27 00:39:53 2002
+@@ -225,7 +225,7 @@
+
+ bin_PROGRAMS = nautilus
+
+-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/cut-n-paste-code/widgets/e-paned -I$(top_srcdir)/cut-n-paste-code/widgets/gimphwrapbox $(NAUTILUS_PRIVATE_CFLAGS) -DVERSION="\"$(VERSION)\"" -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DNAUTILUS_DATADIR=\""$(datadir)/nautilus"\" -DNAUTILUS_PIXMAPDIR=\""$(datadir)/pixmaps/nautilus"\" -DDATADIR=\""$(datadir)"\" $(NULL)
++INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/cut-n-paste-code/widgets/e-paned -I$(top_srcdir)/cut-n-paste-code/widgets/gimphwrapbox $(NAUTILUS_PRIVATE_CFLAGS) -DVERSION="\"$(VERSION)\"" -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DNAUTILUS_DATADIR=\""$(datadir)/nautilus"\" -DNAUTILUS_PIXMAPDIR=\""$(datadir)/pixmaps/nautilus"\" -DDATADIR=\""$(datadir)"\" -DMOZILLA_LIB_PLACE=\"@MOZILLA_LIB_PLACE@\" $(NULL)
+
+
+ LDADD = $(top_builddir)/src/file-manager/libnautilus-file-manager.la $(top_builddir)/libnautilus/libnautilus.la $(top_builddir)/libnautilus-adapter/libnautilus-adapter.la $(top_builddir)/libnautilus-private/libnautilus-private.la $(NAUTILUS_PRIVATE_LIBS) $(NULL)
+@@ -1171,8 +1171,8 @@
+ $(mkinstalldirs) $(DESTDIR)/$(prefix)/bin
+ @list='run-nautilus'; for p in $$list; do\
if test -f $$p; then \
- echo " $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
- $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(prefix)/bin/$$p; \
+ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
+ $(INSTALL_SCRIPT) $$p $(DESTDIR)/$(prefix)/bin/$$p; \
else :; fi; \
+ done
+
diff --git a/x11-fm/nautilus/files/patch-components::mozilla::Makefile.in b/x11-fm/nautilus/files/patch-components::mozilla::Makefile.in
new file mode 100644
index 000000000000..206f8daca017
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-components::mozilla::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- components/mozilla/Makefile.in 2002/02/26 22:23:08 1.1
++++ components/mozilla/Makefile.in 2002/02/26 22:24:11
+@@ -221,7 +221,7 @@
+
+ NULL =
+
+-INCLUDES = -I$(top_srcdir) -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DG_LOG_DOMAIN=\"Nautilus-Mozilla\" -DDATADIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" $(MOZILLA_COMPONENT_DEBUG_FLAGS) $(MOZILLA_PROFILES_CFLAGS) $(MOZILLA_COMPONENT_CFLAGS) $(GCONF_CFLAGS) $(NAUTILUS_DEPENDENCY_CFLAGS) $(NULL)
++INCLUDES = -I$(top_srcdir) -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DG_LOG_DOMAIN=\"Nautilus-Mozilla\" -DDATADIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" -DMOZILLA_LIB_PLACE=\"@MOZILLA_LIB_PLACE@\" $(MOZILLA_COMPONENT_DEBUG_FLAGS) $(MOZILLA_PROFILES_CFLAGS) $(MOZILLA_COMPONENT_CFLAGS) $(GCONF_CFLAGS) $(NAUTILUS_DEPENDENCY_CFLAGS) $(NULL)
+
+
+ bin_PROGRAMS = nautilus-mozilla-content-view $(NULL)
diff --git a/x11-fm/nautilus/files/patch-components::mozilla::main.c b/x11-fm/nautilus/files/patch-components::mozilla::main.c
new file mode 100644
index 000000000000..d3205174cfc7
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-components::mozilla::main.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- components/mozilla/main.c 2002/02/26 22:24:25 1.1
++++ components/mozilla/main.c 2002/02/26 22:25:27
+@@ -141,7 +141,7 @@
+ char *file_name;
+ gboolean good;
+
+- file_name = g_strconcat (path, "/chrome/embed.jar", NULL);
++ file_name = g_strconcat (path, "/libgtkembedmoz.so", NULL);
+ good = g_file_exists (file_name);
+ g_free (file_name);
+ return good;
+@@ -155,6 +155,7 @@
+ */
+ guint i;
+ const char * const paths[] = {
++ MOZILLA_LIB_PLACE,
+ PREFIX "/lib/mozilla",
+ "/usr/lib/mozilla",
+ "/usr/local/mozilla",
diff --git a/x11-fm/nautilus/files/patch-src::nautilus-main.c b/x11-fm/nautilus/files/patch-src::nautilus-main.c
new file mode 100644
index 000000000000..a92009094da3
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-src::nautilus-main.c
@@ -0,0 +1,27 @@
+
+$FreeBSD$
+
+--- src/nautilus-main.c 2002/02/26 22:34:03 1.1
++++ src/nautilus-main.c 2002/02/26 22:43:21
+@@ -140,6 +140,7 @@
+ CORBA_ORB orb;
+ NautilusApplication *application;
+ char **argv_copy;
++ char *ld_library_path;
+
+ struct poptOption options[] = {
+ #ifndef NAUTILUS_OMIT_SELF_CHECK
+@@ -205,6 +206,13 @@
+ argc, argv, options, 0,
+ &popt_context);
+ eel_setenv ("DISPLAY", DisplayString (GDK_DISPLAY ()), TRUE);
++ ld_library_path = g_getenv ("LD_LIBRARY_PATH");
++ if (ld_library_path == NULL)
++ ld_library_path = "";
++ else
++ ld_library_path = g_strconcat (ld_library_path, ":", NULL);
++ ld_library_path = g_strconcat(ld_library_path, MOZILLA_LIB_PLACE, NULL);
++ eel_setenv ("LD_LIBRARY_PATH", ld_library_path, TRUE);
+ orb = oaf_init (argc, argv);
+ gdk_rgb_init ();
+