midori-0.0.18-webkit.patch 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. diff -rup midori-0.0.17-orig/configure.in midori-0.0.17/configure.in
  2. --- midori-0.0.17-orig/configure.in 2008-01-23 21:47:18.000000000 -0500
  3. +++ midori-0.0.17/configure.in 2008-02-11 14:11:08.000000000 -0500
  4. @@ -53,13 +53,13 @@ GTK_VER=`pkg-config --modversion gtk+-2.
  5. AC_DEFINE_UNQUOTED([GTK_VER], "$GTK_VER", [GTK+ version])
  6. # Checks for WebKitGtk
  7. -PKG_CHECK_MODULES(WEBKIT, WebKitGtk, have_webkit=true, have_webkit=false)
  8. +PKG_CHECK_MODULES(WEBKIT, webkit-1.0, have_webkit=true, have_webkit=false)
  9. if test "x${have_webkit}" = "xfalse" ; then
  10. AC_MSG_ERROR([No WebKitGtk package information found])
  11. fi
  12. AC_SUBST(WEBKIT_CFLAGS)
  13. AC_SUBST(WEBKIT_LIBS)
  14. -WEBKIT_VER=`pkg-config --modversion WebKitGtk`
  15. +WEBKIT_VER=`pkg-config --modversion webkit-1.0`
  16. AC_DEFINE_UNQUOTED([WEBKIT_VER], "$WEBKITGTK_VER", [WebKitGtk version])
  17. # Checks for libsexy
  18. diff -rup midori-0.0.17-orig/src/global.h midori-0.0.17/src/global.h
  19. --- midori-0.0.17-orig/src/global.h 2008-01-22 21:13:40.000000000 -0500
  20. +++ midori-0.0.17/src/global.h 2008-02-11 14:01:54.000000000 -0500
  21. @@ -16,7 +16,7 @@
  22. #include "../katze/katze.h"
  23. #include <gtk/gtk.h>
  24. -#include <webkit.h>
  25. +#include <webkit/webkit.h>
  26. // -- globals
  27. diff -rup midori-0.0.17-orig/src/helpers.c midori-0.0.17/src/helpers.c
  28. --- midori-0.0.17-orig/src/helpers.c 2008-01-20 11:46:16.000000000 -0500
  29. +++ midori-0.0.17/src/helpers.c 2008-02-11 14:03:57.000000000 -0500
  30. @@ -16,7 +16,7 @@
  31. #include "../katze/katze.h"
  32. #include <string.h>
  33. -#include <webkit.h>
  34. +#include <webkit/webkit.h>
  35. GtkIconTheme* get_icon_theme(GtkWidget* widget)
  36. {
  37. diff -rup midori-0.0.17-orig/src/webSearch.h midori-0.0.17/src/webSearch.h
  38. --- midori-0.0.17-orig/src/webSearch.h 2007-12-14 22:09:47.000000000 -0500
  39. +++ midori-0.0.17/src/webSearch.h 2008-02-11 14:03:25.000000000 -0500
  40. @@ -16,7 +16,7 @@
  41. #include <gtk/gtk.h>
  42. #include <libsexy/sexy.h>
  43. -#include <webkit.h>
  44. +#include <webkit/webkit.h>
  45. // -- Types
  46. diff -rup midori-0.0.17-orig/src/webView.h midori-0.0.17/src/webView.h
  47. --- midori-0.0.17-orig/src/webView.h 2008-01-04 02:46:44.000000000 -0500
  48. +++ midori-0.0.17/src/webView.h 2008-02-11 14:02:49.000000000 -0500
  49. @@ -16,7 +16,7 @@
  50. #include "browser.h"
  51. #include "debug.h"
  52. -#include <webkit.h>
  53. +#include <webkit/webkit.h>
  54. WebKitNavigationResponse
  55. on_webView_navigation_requested(GtkWidget* webView, WebKitWebFrame* frame