summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-26 23:10:47 +0000
committersobomax <sobomax@FreeBSD.org>2002-02-26 23:10:47 +0000
commitff504597d02ef62e92611a10930d9c68edbde75b (patch)
tree800bf01cbe81a8dd954b055d9e788f0623732530 /x11-fm/nautilus
parent635b69f7f7fdf0f8734dec4c3a89b97431ef92f7 (diff)
downloadFreeBSD-ports-ff504597d02ef62e92611a10930d9c68edbde75b.zip
FreeBSD-ports-ff504597d02ef62e92611a10930d9c68edbde75b.tar.gz
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 e07640f..4c597f8 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 d66452a..ffb6a67 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 0000000..206f8da
--- /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 0000000..d320517
--- /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 0000000..a920090
--- /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 ();
+
OpenPOWER on IntegriCloud