sylpheed: add a patch to build with latest GTK+.

I will submit it upstream later...

--HG--
extra : convert_revision : 6c604ee67c9a5ae29c3c69495996b51d1b0a7cd0
This commit is contained in:
Juan RP 2008-10-08 20:09:59 +02:00
parent 012beff7ba
commit 49cdd3c7a9
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,67 @@
--- src/prefs_display_items.c.orig 2008-10-08 20:02:35.000000000 +0200
+++ src/prefs_display_items.c 2008-10-08 20:03:54.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "prefs.h"
#include "prefs_ui.h"
--- src/prefs_summary_column.c.orig 2008-10-08 20:04:41.000000000 +0200
+++ src/prefs_summary_column.c 2008-10-08 20:04:53.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "prefs.h"
#include "prefs_ui.h"
--- src/addr_compl.c.orig 2008-10-08 20:05:25.000000000 +0200
+++ src/addr_compl.c 2008-10-08 20:05:37.000000000 +0200
@@ -26,12 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkeditable.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkscrolledwindow.h>
+#include <gtk/gtk.h>
#include <string.h>
#include <ctype.h>
--- src/editgroup.c.orig 2008-10-08 20:06:05.000000000 +0200
+++ src/editgroup.c 2008-10-08 20:06:17.000000000 +0200
@@ -26,13 +26,7 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkclist.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkstatusbar.h>
-#include <gtk/gtktable.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include "addressbook.h"
#include "addressitem.h"

View file

@ -1,6 +1,7 @@
# Template build file for 'sylpheed'.
pkgname=sylpheed
version=2.6.0beta1
patch_files="$pkgname-fix-latest-gtk.diff"
extract_sufx=".tar.bz2"
url=http://sylpheed.sraoss.jp/sylpheed/v2.6beta
build_style=gnu_configure