openbsd-ports/www/mozilla-firefox/files
landry de100a1ff9 Firefox uses its own libpng (for animated png support), and apparently
it breaks loading png icons through gdk_pixbuf_new_from_file as gtk is
linked with systemwide png. This went unnoticed so far as firefox always
shipped a fallback xpm icon, but this is not the case anymore, so now
gtk_window_set_icon_list() is not called anymore, and the window manager
shows the default icon for firefox windows in taskbar/tasklists..
So add graphics/netpbm as a build dependency, do the necessary netpbm
magic in do-install to create the default.xpm from mozicon128.png, and
patch widget/src/gtk2/nsWindow.cpp to not try to load png icons.
While here fix icon path in desktop file, and add a comment about why we
don't use systemwide png.
2010-04-26 22:14:37 +00:00
..
browserconfig.properties bring back the browser.startup.homepage behavior after 1.82 2007-12-20 22:41:18 +00:00
firefox.desktop Firefox uses its own libpng (for animated png support), and apparently 2010-04-26 22:14:37 +00:00
mozilla-firefox.1 sync switches w/ ff3 2009-04-05 00:23:49 +00:00
nsSound.cpp Update www/mozilla-firefox from 3.0.19 to 3.6.3, merging the wip done in 2010-04-26 19:55:58 +00:00
README.OpenBSD Update www/mozilla-firefox from 3.0.19 to 3.6.3, merging the wip done in 2010-04-26 19:55:58 +00:00
sydney_audio_sndio.c Update www/mozilla-firefox from 3.0.19 to 3.6.3, merging the wip done in 2010-04-26 19:55:58 +00:00

$OpenBSD: README.OpenBSD,v 1.10 2010/04/26 19:55:58 landry Exp $

If you encounter strange problems relating to bookmarks, downloads,
window placement, toolbars, history, or other settings, it is
recommended that you create 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, try starting it with -safe-mode
switch, which disables extensions and themes for your session.

To disable anti-aliasing (xft) 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.,
"!!LOCALBASE!!/bin/thunderbird" or "!!LOCALBASE!!/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,
!!PREFIX!!/lib/mozilla-plugins, and !!PREFIX!!/mozilla-firefox/plugins.
If the environment variable MOZ_PLUGIN_PATH is specified, this
location will be overridden.

Using Java Applets

To make Applets work, you must symlink (not copy) the file
libjavaplugin_oji.so into one of the directories listed above.
This might be done like the following:

$ cd ~/.mozilla/plugins
$ ln -s !!LOCALBASE!!/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so .
$   

Information on building Java (on some platforms) can be found in
http://www.openbsd.org/faq/faq13.html#javaflash

Enabling ECC cipher suites

Open the URL about:config and type security.ssl3 in the search
filter. This will bring up a list of all available cipher suites.
Double-click on any cipher to toggle its state. For example, to
enable TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, double-click on
security.ssl3.ecdhe_ecdsa_aes128_sha until its boolean entry in the
Value column changes to true.

Using CUPS and LPR for printing

Since version 3, Firefox uses the standard printing dialog from gtk+2.
In order to use CUPS for printing, you will need to install the cups
subpackage of gtk+2, i.e.:

# pkg_add gtk+2-cups