Bug 228480 - Epiphany should hardcode $(libdir)/mozilla/plugins dir
Epiphany should hardcode $(libdir)/mozilla/plugins dir
Status: CLOSED DUPLICATE of bug 204547
Product: Fedora
Classification: Fedora
Component: epiphany (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Christopher Aillon
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-13 05:43 EST by Bastien Nocera
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-15 05:03:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bastien Nocera 2007-02-13 05:43:07 EST
In the firefox startup script:
if [ "$MOZ_PLUGIN_PATH" ]
then
 
MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:$MOZ_LIB_DIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
else
  MOZ_PLUGIN_PATH=$MOZ_LIB_DIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
fi
export MOZ_PLUGIN_PATH

Epiphany only looks in the plugins dir provided by the gecko engine, and its own
$(libdir)/epiphany/2.16/plugins/

It should also hardcode $(libdir)/mozilla/plugins
Comment 1 Bastien Nocera 2007-02-13 05:50:22 EST
Actually, it already does, but hardcodes $(prefix)/lib, instead of using
$(libdir), which means it can't find 64-bit plugins on 64-bit platforms.

static void
mozilla_init_plugin_path ()
{
        const char *user_path;
        char *new_path;

        user_path = g_getenv ("MOZ_PLUGIN_PATH");
        new_path = g_strconcat (user_path ? user_path : "",
                                user_path ? ":" : "",
                                MOZILLA_PREFIX "/lib/mozilla/plugins"
                                ":" MOZILLA_HOME "/plugins",
#ifdef HAVE_PRIVATE_PLUGINS
                                ":" PLUGINDIR,
#endif
                                (char *) NULL);

        g_setenv ("MOZ_PLUGIN_PATH", new_path, TRUE);
        g_free (new_path);
}
Comment 2 Bastien Nocera 2007-02-13 05:57:58 EST
Upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=407419
Comment 3 Bastien Nocera 2007-02-13 06:32:16 EST
Patch tested, attached upstream.

Let me know whether I can push that to devel and fc6.
Comment 4 Bastien Nocera 2007-03-15 05:03:54 EDT

*** This bug has been marked as a duplicate of 204547 ***

Note You need to log in before you can comment on or make changes to this bug.