Discussion:
mozilla-firefox += README.OpenBSD
Ian Darwin
2005-11-02 18:18:47 UTC
Permalink
Consolidate configuration info from MESSAGE and DESCR into new README.OpenBSD.
MESSAGE now refers to it. Install in binary directory as simplest place.
Do not bump minor as there's no library changes -- right?
Comments from kurt, wilfried and jmc, I've (hopefully) incorporated what they meant.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.38
diff -u -u -r1.38 Makefile
--- Makefile 19 Oct 2005 13:08:12 -0000 1.38
+++ Makefile 2 Nov 2005 18:01:53 -0000
@@ -126,5 +126,6 @@
${INSTALL_DATA_DIR} ${MOZ}/extensions/${MAGIC}
${INSTALL_DATA} ${MOZ}/defaults/profile/extensions/installed-extensions.txt ${MOZ}/extensions/installed-extensions-processed.txt
${INSTALL_DATA} ${MOZ}/defaults/profile/extensions/${MAGIC}/install.rdf ${MOZ}/extensions/${MAGIC}/
+ ${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${MOZ}

.include <bsd.port.mk>
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/pkg/DESCR,v
retrieving revision 1.4
diff -u -u -r1.4 DESCR
--- pkg/DESCR 22 Jul 2005 19:34:20 -0000 1.4
+++ pkg/DESCR 2 Nov 2005 18:01:53 -0000
@@ -1,10 +1,3 @@
-The Mozilla Firefox project is a redesign of Mozilla's browser
-component, written using the XUL user interface language and designed
-to be cross-platform.
-
-Firefox looks for plugins in ~/.mozilla/plugins
-${LOCALBASE}/mozilla-firefox/plugins
-and ${LOCALBASE}/lib/mozilla-plugins.
-
-To disable anti-aliasing (xft) altogether set GDK_USE_XFT=0 in the
-environment.
+Firefox is a redesign of Mozilla's browser component, written using the XUL
+user interface language and designed to be cross-platform. It is among
+the leading open-source web browsers in use on the Internet.
Index: pkg/MESSAGE
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/pkg/MESSAGE,v
retrieving revision 1.2
diff -u -u -r1.2 MESSAGE
--- pkg/MESSAGE 16 Apr 2005 15:49:17 -0000 1.2
+++ pkg/MESSAGE 2 Nov 2005 18:01:53 -0000
@@ -1,11 +1,3 @@
-If you encounter strange problems relating to bookmarks, downloads,
-window placement, toolbars, history, or other settings, it is
-recommended that you try creating a new profile and attempting to
-reproduce the problem before filing bugs.
-In order to create a new profile, start Firefox with the the
--profilemanager switch, e.g. firefox -profilemanager
-
-If firefox doesn't start at all, first try and remove compreg.dat,
-xpti.dat and extensions/Extensions.rdf in your profile-dir, or you
-could just wack the old profile-dir,
- rm -r ~/.mozilla/firefox/<profile-dir> ~/.firefox/<profile-dir>
+If firefox doesn't start at all or to configure email, Java,
+etc., see ${PREFIX}/mozilla-firefox/README.OpenBSD for more
+information on using FireFox in an OpenBSD environment.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/pkg/PLIST,v
retrieving revision 1.13
diff -u -u -r1.13 PLIST
--- pkg/PLIST 24 Sep 2005 16:19:29 -0000 1.13
+++ pkg/PLIST 2 Nov 2005 18:01:53 -0000
@@ -6,6 +6,7 @@
bin/mozilla-firefox
mozilla-firefox/
mozilla-firefox/LICENSE
+mozilla-firefox/README.OpenBSD
mozilla-firefox/chrome/
mozilla-firefox/chrome/browser/
mozilla-firefox/chrome/browser.jar
--- /dev/null Wed Nov 2 13:06:20 2005
+++ files/README.OpenBSD Wed Nov 2 13:06:14 2005
@@ -0,0 +1,45 @@
+$OpenBSD$
+
+If you encounter strange problems relating to bookmarks, downloads,
+window placement, toolbars, history, or other settings, it is
+recommended that you creat a new profile and attempt to
+reproduce the problem before filing bugs. To create a new profile,
+start Firefox with the --profilemanager switch, e.g.
+firefox --profilemanager, and click "Create Profile".
+
+If firefox doesn't start at all, first try and remove compreg.dat,
+xpti.dat and extensions/Extensions.rdf from your profile-dir, or you
+could just whack the old profile-dir,
+ rm -r ~/.mozilla/firefox/<profile-dir> ~/.firefox/<profile-dir>
+(this will delete your saved bookmarks.html).
+
+To disable anti-aliasing (xft) altogether set GDK_USE_XFT=0 in the environment.
+
+Using mailto: links
+
+To enable mailto: links in FireFox to open in your mail program, you may have
+to set a mailto protocol handler. Type "about:config" in FireFox's URL text
+field. Type "mailto" in the filter. If there is a string called
+"network.protocol-handler.app.mailto", its value names the application
+for mailto URLs. If present, right click, choose Modify, and enter the
+path to your mail program, e.g., "/usr/local/bin/thunderbird" or
+"/usr/local/bin/kmail" (other programs may work, but these two have been tested).
+If absent, right click, choose New String. Set the name to
+"network.protocol-handler.app.mailto" and the value to the path to your mailer.
+
+Plugins
+
+Firefox looks for plugins in ~/.mozilla/plugins and in the directorie(s) named
+in the environment variable MOZ_PLUGIN_PATH.
+
+Using Java Applets
+
+To make Applets work, you must symlink (not copy) the file libjavaplugin_oji.so
+into one of the directories listed in MOZ_PLUGIN_PATH. This might look like so:
+
+$ cd ~/.mozilla/plugins
+$ ls -l
+total 4
+lrwxr-xr-x 1 root wheel 63 Nov 1 12:24 libjavaplugin_oji.so ->
+ /usr/local/jdk-1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
+$
Ray Lai
2005-11-02 19:19:35 UTC
Permalink
Post by Ian Darwin
+Firefox looks for plugins in ~/.mozilla/plugins and in the directorie(s) named
+in the environment variable MOZ_PLUGIN_PATH.
I think `directories' is better than `directorie(s)'. The singular
form of `directories' isn't `directorie', anyway.

Also, what format should multiple directories be listed in?
Colon-separated? If so, would this sentence be better:

Firefox looks for plugins in ~/.mozilla/plugins and in a
colon-separated list of directories stored in the environment
variable MOZ_PLUGIN_PATH.

-Ray-
Kurt Miller
2005-11-03 14:43:47 UTC
Permalink
Post by Ray Lai
Post by Ian Darwin
+Firefox looks for plugins in ~/.mozilla/plugins and in the directorie(s)
named +in the environment variable MOZ_PLUGIN_PATH.
I think `directories' is better than `directorie(s)'. The singular
form of `directories' isn't `directorie', anyway.
Also, what format should multiple directories be listed in?
Firefox looks for plugins in ~/.mozilla/plugins and in a
colon-separated list of directories stored in the environment
variable MOZ_PLUGIN_PATH.
Actually, MOZ_PLUGIN_PATH can't be overwritten right now. Currently,
firefox looks in three directories for plugins. Keep the same text
as before (just move it to README.OpenBSD):

Firefox looks for plugins in ~/.mozilla/plugins
${LOCALBASE}/mozilla-firefox/plugins
and ${LOCALBASE}/lib/mozilla-plugins.

-Kurt

Loading...