1
0
forked from ports/opt

sylpheed: fix build with gtk 2.14

This commit is contained in:
Juergen Daubert 2008-10-04 09:56:55 +02:00
parent 0b99b6929d
commit 48c7099256
3 changed files with 64 additions and 2 deletions

View File

@ -1 +1,2 @@
7401cc207fb5a7de3f23e40437fc7f91 sylpheed-2.5.0-gtk-2.14.patch
a6fc9e9c2a33876fddb33f25f40b820f sylpheed-2.5.0.tar.bz2

View File

@ -5,11 +5,15 @@
name=sylpheed
version=2.5.0
release=1
source=(http://sylpheed.sraoss.jp/sylpheed/v2.5/$name-$version.tar.bz2)
release=2
source=(http://sylpheed.sraoss.jp/sylpheed/v2.5/$name-$version.tar.bz2
$name-$version-gtk-2.14.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-$version-gtk-2.14.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -0,0 +1,57 @@
# http://cvs.fedoraproject.org/viewvc/rpms/sylpheed/devel/sylpheed-2.5.0rc2-gtk-2.13.1.patch?revision=1.3
diff -Nur sylpheed-2.5.0rc2-orig/src/addr_compl.c sylpheed-2.5.0rc2/src/addr_compl.c
--- sylpheed-2.5.0rc2-orig/src/addr_compl.c 2008-03-13 08:15:07.000000000 +0100
+++ sylpheed-2.5.0rc2/src/addr_compl.c 2008-06-10 14:54:24.000000000 +0200
@@ -30,6 +30,7 @@
#include <gtk/gtkwindow.h>
#include <gtk/gtkentry.h>
#include <gtk/gtkeditable.h>
+#include <gtk/gtk.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkscrolledwindow.h>
diff -Nur sylpheed-2.5.0rc2-orig/src/editgroup.c sylpheed-2.5.0rc2/src/editgroup.c
--- sylpheed-2.5.0rc2-orig/src/editgroup.c 2007-03-28 03:30:15.000000000 +0200
+++ sylpheed-2.5.0rc2/src/editgroup.c 2008-06-10 14:57:20.000000000 +0200
@@ -27,6 +27,7 @@
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkstatusbar.h>
diff -Nur sylpheed-2.5.0rc2-orig/src/prefs_display_items.c sylpheed-2.5.0rc2/src/prefs_display_items.c
--- sylpheed-2.5.0rc2-orig/src/prefs_display_items.c 2007-09-20 04:17:58.000000000 +0200
+++ sylpheed-2.5.0rc2/src/prefs_display_items.c 2008-06-10 14:37:44.000000000 +0200
@@ -30,6 +30,7 @@
#include <gtk/gtkwindow.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkhbox.h>
+#include <gtk/gtk.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkbutton.h>
#include <gtk/gtkstock.h>
diff -Nur sylpheed-2.5.0rc2-orig/src/prefs_summary_column.c sylpheed-2.5.0rc2/src/prefs_summary_column.c
--- sylpheed-2.5.0rc2-orig/src/prefs_summary_column.c 2007-09-12 08:56:55.000000000 +0200
+++ sylpheed-2.5.0rc2/src/prefs_summary_column.c 2008-06-10 14:36:12.000000000 +0200
@@ -30,6 +30,7 @@
#include <gtk/gtkwindow.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkhbox.h>
+#include <gtk/gtk.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkbutton.h>
#include <gtk/gtkstock.h>
diff -Nur sylpheed-2.5.0rc2-orig/src/select-keys.c sylpheed-2.5.0rc2/src/select-keys.c
--- sylpheed-2.5.0rc2-orig/src/select-keys.c 2008-05-16 11:19:55.000000000 +0200
+++ sylpheed-2.5.0rc2/src/select-keys.c 2008-06-10 14:58:13.000000000 +0200
@@ -33,6 +33,7 @@
#include <gtk/gtkscrolledwindow.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkhbox.h>
+#include <gtk/gtk.h>
#include <gtk/gtkclist.h>
#include <gtk/gtklabel.h>
#include <gtk/gtkentry.h>