1 --- galeon-2.0.7/mozilla/Makefile.am.orig
2 +++ galeon-2.0.7/mozilla/Makefile.am
4 $(GALEON_DEPENDENCY_CFLAGS) \
5 -DLIB_DIR=\"$(pkglibdir)\" \
6 -DSHARE_DIR=\"$(pkgdatadir)\" \
7 + -DTOP_LIB_DIR=\"$(libdir)\" \
9 -include mozilla-config.h
11 --- galeon-2.0.7/mozilla/mozilla-embed-shell.cpp~ 2008-09-03 06:58:17.000000000 +0200
12 +++ galeon-2.0.7/mozilla/mozilla-embed-shell.cpp 2009-10-13 08:41:18.127313055 +0200
18 +mozilla_setup_wrapped_plugin (void)
20 + char *p_viewer = "/usr/bin/mozilla-plugin-config";
22 + if (g_file_test(p_viewer, G_FILE_TEST_EXISTS) == FALSE)
29 mozilla_init_plugin_path ()
32 g_string_append (new_path, "/.mozilla/plugins");
34 /* Add /usr/lib/mozilla/plugins (bug 149812) */
35 - g_string_append (new_path, ":/usr/lib/mozilla/plugins");
36 + if (mozilla_setup_wrapped_plugin()) {
37 + g_string_append (new_path, ":" TOP_LIB_DIR "/mozilla/plugins-wrapped");
39 + g_string_append (new_path, ":" TOP_LIB_DIR "/mozilla/plugins");
42 #ifdef GALEON_MOZILLA_HOME
43 /* Add the current mozilla build's plugins dir */
44 g_string_append (new_path, ":" GALEON_MOZILLA_HOME "/plugins");
47 + /* Work-around Flash Player crash */
48 + g_setenv ("XLIB_SKIP_ARGB_VISUALS", "1", FALSE);
50 g_setenv ("MOZ_PLUGIN_PATH", new_path->str, TRUE);
52 g_string_free (new_path, TRUE);