[oe-commits] org.oe.dev midori: update to 0.0.17 and add patch to go with the new webkit

john_lee commit oe at amethyst.openembedded.net
Fri Apr 25 15:37:39 UTC 2008


midori: update to 0.0.17 and add patch to go with the new webkit
* also updated preferred version.

Author: john_lee at openembedded.org
Branch: org.openembedded.dev
Revision: 790e5a95d24c755262b00482793b63d1f0efe440
ViewMTN: http://monotone.openembedded.org/revision/info/790e5a95d24c755262b00482793b63d1f0efe440
Files:
1
packages/gtk-webcore/midori-0.0.17/webkit-pkgconfig.patch
packages/gtk-webcore/midori_0.0.17.bb
conf/distro/include/preferred-om-2008-versions.inc
Diffs:

#
# mt diff -rd6543935f5dd71a1123687f1447f66aa7682615a -r790e5a95d24c755262b00482793b63d1f0efe440
#
#
#
# add_file "packages/gtk-webcore/midori-0.0.17/webkit-pkgconfig.patch"
#  content [1a38468d94ec73034c8e40b001e46322f34fd48b]
# 
# add_file "packages/gtk-webcore/midori_0.0.17.bb"
#  content [91913de32cf7b037f663c05eaf6700983c2818e1]
# 
# patch "conf/distro/include/preferred-om-2008-versions.inc"
#  from [7f74b3f6c95f6b50d191cec8f892ed782b183e7b]
#    to [5a0ecf3748dcaf57e0ba68cdc943a467f6cc6c46]
#
============================================================
--- packages/gtk-webcore/midori-0.0.17/webkit-pkgconfig.patch	1a38468d94ec73034c8e40b001e46322f34fd48b
+++ packages/gtk-webcore/midori-0.0.17/webkit-pkgconfig.patch	1a38468d94ec73034c8e40b001e46322f34fd48b
@@ -0,0 +1,72 @@
+Index: midori-0.0.17/configure.in
+===================================================================
+--- midori-0.0.17.orig/configure.in	2008-03-10 18:08:54.000000000 +0800
++++ midori-0.0.17/configure.in	2008-03-10 18:10:04.000000000 +0800
+@@ -53,13 +53,13 @@
+ AC_DEFINE_UNQUOTED([GTK_VER], "$GTK_VER", [GTK+ version])
+ 
+ # Checks for WebKitGtk
+-PKG_CHECK_MODULES(WEBKIT, WebKitGtk, have_webkit=true, have_webkit=false)
++PKG_CHECK_MODULES(WEBKIT, webkit-1.0, have_webkit=true, have_webkit=false)
+ if test "x${have_webkit}" = "xfalse" ; then
+     AC_MSG_ERROR([No WebKitGtk package information found])
+ fi
+ AC_SUBST(WEBKIT_CFLAGS)
+ AC_SUBST(WEBKIT_LIBS)
+-WEBKIT_VER=`pkg-config --modversion WebKitGtk`
++WEBKIT_VER=`pkg-config --modversion webkit-1.0`
+ AC_DEFINE_UNQUOTED([WEBKIT_VER], "$WEBKITGTK_VER", [WebKitGtk version])
+ 
+ # Checks for libsexy
+Index: midori-0.0.17/src/global.h
+===================================================================
+--- midori-0.0.17.orig/src/global.h	2008-03-10 18:12:25.000000000 +0800
++++ midori-0.0.17/src/global.h	2008-03-10 18:12:29.000000000 +0800
+@@ -16,7 +16,7 @@
+ #include "../katze/katze.h"
+ 
+ #include <gtk/gtk.h>
+-#include <webkit.h>
++#include <webkit/webkit.h>
+ 
+ // -- globals
+ 
+Index: midori-0.0.17/src/helpers.c
+===================================================================
+--- midori-0.0.17.orig/src/helpers.c	2008-03-10 18:14:43.000000000 +0800
++++ midori-0.0.17/src/helpers.c	2008-03-10 18:14:59.000000000 +0800
+@@ -16,7 +16,7 @@
+ #include "../katze/katze.h"
+ 
+ #include <string.h>
+-#include <webkit.h>
++#include <webkit/webkit.h>
+ 
+ GtkIconTheme* get_icon_theme(GtkWidget* widget)
+ {
+Index: midori-0.0.17/src/webSearch.h
+===================================================================
+--- midori-0.0.17.orig/src/webSearch.h	2008-03-10 18:14:38.000000000 +0800
++++ midori-0.0.17/src/webSearch.h	2008-03-10 18:14:48.000000000 +0800
+@@ -16,7 +16,7 @@
+ 
+ #include <gtk/gtk.h>
+ #include <libsexy/sexy.h>
+-#include <webkit.h>
++#include <webkit/webkit.h>
+ 
+ // -- Types
+ 
+Index: midori-0.0.17/src/webView.h
+===================================================================
+--- midori-0.0.17.orig/src/webView.h	2008-03-10 18:14:15.000000000 +0800
++++ midori-0.0.17/src/webView.h	2008-03-10 18:14:18.000000000 +0800
+@@ -16,7 +16,7 @@
+ #include "browser.h"
+ #include "debug.h"
+ 
+-#include <webkit.h>
++#include <webkit/webkit.h>
+ 
+ WebKitNavigationResponse
+ on_webView_navigation_requested(GtkWidget* webView, WebKitWebFrame* frame
============================================================
--- packages/gtk-webcore/midori_0.0.17.bb	91913de32cf7b037f663c05eaf6700983c2818e1
+++ packages/gtk-webcore/midori_0.0.17.bb	91913de32cf7b037f663c05eaf6700983c2818e1
@@ -0,0 +1,10 @@
+DESCRIPTION = "Midori is a lightweight web browser."
+LICENSE = "GPLv2"
+
+DEPENDS = "webkit-gtk libsexy" 
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://software.twotoasts.de/media/midori/midori-${PV}.tar.gz \ 
+           file://webkit-pkgconfig.patch;patch=1 \
+          "
============================================================
--- conf/distro/include/preferred-om-2008-versions.inc	7f74b3f6c95f6b50d191cec8f892ed782b183e7b
+++ conf/distro/include/preferred-om-2008-versions.inc	5a0ecf3748dcaf57e0ba68cdc943a467f6cc6c46
@@ -8,6 +8,7 @@ PREFERRED_VERSION_libtool = "1.5.24"
 PREFERRED_VERSION_intltool = "0.35.5"
 PREFERRED_VERSION_intltool-native = "0.35.5"
 PREFERRED_VERSION_libtool = "1.5.24"
+PREFERRED_VERSION_midori = "0.0.17"
 PREFERRED_VERSION_pulseaudio = "0.9.9"
 PREFERRED_VERSION_udev = "118"
 PREFERRED_VERSION_vte = "0.16.10"






More information about the Openembedded-commits mailing list