Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=b6ad8229bf536c2c99cef41cd43b1ac6c3008890

commit b6ad8229bf536c2c99cef41cd43b1ac6c3008890
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Jan 31 12:33:00 2011 +0100

seed-2.31.91-5-x86_64
*switch to gtk3

diff --git a/source/gnome-extra/seed/FrugalBuild 
b/source/gnome-extra/seed/FrugalBuild
index 06fd252..6e9abf3 100644
--- a/source/gnome-extra/seed/FrugalBuild
+++ b/source/gnome-extra/seed/FrugalBuild
@@ -3,9 +3,9 @@

pkgname=seed
pkgver=2.31.91
-pkgrel=4
+pkgrel=5
pkgdesc="Seed is a library and interpreter, dynamically bridging the WebKit 
JavaScriptCore engine."
-depends=('libxml2>=2.7.8' 'webkit>=1.3.4' 'libffi>=3.0.9' 
'libsoup-gnome>=2.32.0' 'sqlite3' \
+depends=('libxml2>=2.7.8' 'webkit-gtk3>=1.3.4' 'libffi>=3.0.9' 
'libsoup-gnome>=2.32.0' 'sqlite3' \
'clutter-cairo' 'clutter-gtk' \
'gnome-js-common' 'dbus-glib' 'libffi')
makedepends=('gtk-doc' 'intltool' 'gobject-introspection>=0.9.0')
@@ -13,7 +13,19 @@ groups=('gnome-extra')
archs=('i686' 'x86_64' 'ppc')
options=('scriptlet')
Finclude gnome
-sha1sums=('b7fd2e088791e9bc0062b1eaa43ffc1c9d63b8ae')
-Fconfopts="$Fconfopts --with-webkit=1.0"
+source=($source gtk3.diff lib.diff)
+sha1sums=('b7fd2e088791e9bc0062b1eaa43ffc1c9d63b8ae' \
+          '90b1729d4b907475c25992d9b02b591dcead880c' \
+          '6258c202dc4e65d557ab2aaaefd4c26d57c1e537')
+
+Fconfopts="$Fconfopts --with-webkit=3.0"
+build() {
+       Fcd
+       Fpatchall
+       mkdir -p m4
+       autoreconf -i -f || Fdie
+       Fmake
+       Fmakeinstall
+}

# optimization OK
diff --git a/source/gnome-extra/seed/gtk3.diff 
b/source/gnome-extra/seed/gtk3.diff
new file mode 100644
index 0000000..21fdb5b
--- /dev/null
+++ b/source/gnome-extra/seed/gtk3.diff
@@ -0,0 +1,22 @@
+diff -up seed-2.31.5/configure.ac.gdk3 seed-2.31.5/configure.ac
+--- seed-2.31.5/configure.ac.gdk3      2010-07-12 02:04:34.000000000 -0400
++++ seed-2.31.5/configure.ac   2010-07-15 21:13:07.214356999 -0400
+@@ -98,7 +98,7 @@ if test x"$want_canvas_module" == x"yes"
+       PKG_CHECK_MODULES(CAIRO, cairo)
+       AC_SUBST(CAIRO_CFLAGS)
+       AC_SUBST(CAIRO_LDFLAGS)
+-      PKG_CHECK_MODULES(GDK, gdk-2.0)
++      PKG_CHECK_MODULES(GDK, gdk-3.0)
+       AC_SUBST(GDK_CFLAGS)
+       AC_SUBST(GDK_LDFLAGS)
+ fi
+@@ -225,7 +225,7 @@ AC_ARG_ENABLE(gtkbuilder-module,
+                         
[want_gtkbuilder_module=$enableval],[want_gtkbuilder_module="yes"])
+
+ if test x"$want_gtkbuilder_module" == x"yes" ; then
+-   PKG_CHECK_MODULES(GTK, gtk+-2.0)
++   PKG_CHECK_MODULES(GTK, gtk+-3.0)
+    AC_SUBST(GTK_CFLAGS)
+    AC_SUBST(GTK_LDFLAGS)
+ fi
+
diff --git a/source/gnome-extra/seed/lib.diff b/source/gnome-extra/seed/lib.diff
new file mode 100644
index 0000000..72abf7f
--- /dev/null
+++ b/source/gnome-extra/seed/lib.diff
@@ -0,0 +1,11 @@
+--- seed-2.31.5/src/Makefile.am        2010-07-10 02:52:41.000000000 -0400
++++ hacked/src/Makefile.am     2010-07-15 00:04:59.194956004 -0400
+@@ -23,4 +23,6 @@
+       $(WEBKIT_LDFLAGS)
+
+ seed_LDADD = \
+-      ../libseed/libseed.la
++      ../libseed/libseed.la \
++      $(GOBJECT_INTROSPECTION_LIBS) \
++      $(WEBKIT_LIBS)
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to