install-minibrowser.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From: Alberto Garcia <berto@igalia.com>
  2. Subject: Install the MiniBrowser binary
  3. Forwarded: not-needed
  4. Index: webkitgtk/Tools/MiniBrowser/gtk/main.c
  5. ===================================================================
  6. --- webkitgtk.orig/Tools/MiniBrowser/gtk/main.c
  7. +++ webkitgtk/Tools/MiniBrowser/gtk/main.c
  8. @@ -265,8 +265,6 @@ int main(int argc, char *argv[])
  9. }
  10. g_option_context_free (context);
  11. - g_setenv("WEBKIT_INJECTED_BUNDLE_PATH", WEBKIT_INJECTED_BUNDLE_PATH, FALSE);
  12. -
  13. // Enable the favicon database, by specifying the default directory.
  14. webkit_web_context_set_favicon_database_directory(webkit_web_context_get_default(), NULL);
  15. Index: webkitgtk/Tools/MiniBrowser/gtk/GNUmakefile.am
  16. ===================================================================
  17. --- webkitgtk.orig/Tools/MiniBrowser/gtk/GNUmakefile.am
  18. +++ webkitgtk/Tools/MiniBrowser/gtk/GNUmakefile.am
  19. @@ -1,5 +1,5 @@
  20. if ENABLE_WEBKIT2
  21. -noinst_PROGRAMS += \
  22. +libexec_PROGRAMS += \
  23. Programs/MiniBrowser
  24. endif
  25. @@ -44,9 +44,6 @@ Programs_MiniBrowser_LDADD = \
  26. $(GTK_LIBS) \
  27. $(LIBSOUP_LIBS)
  28. -Programs_MiniBrowser_LDFLAGS = \
  29. - -no-install
  30. -
  31. CLEANFILES += \
  32. $(top_builddir)/Programs/MiniBrowser \
  33. $(minibrowser_built_sources) \