wok rev 2587

xchat: fix build with GTK > 2.12 (Thanks Fabrice)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 07 21:22:01 2009 +0200 (2009-04-07)
parents f40ed77124a0
children ee8706874a32
files xchat/receipt xchat/stuff/xchat-2.8.6-gtk+-2.13.patch
line diff
     1.1 --- a/xchat/receipt	Tue Apr 07 16:14:12 2009 +0000
     1.2 +++ b/xchat/receipt	Tue Apr 07 21:22:01 2009 +0200
     1.3 @@ -5,8 +5,8 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="IRC client using GTK+"
     1.6  MAINTAINER="fabrice.thiroux@free.fr"
     1.7 -DEPENDS="gtk+ dbus libsexy libnotify openssl gettext dbus-glib xorg-libXdamage"
     1.8 -BUILD_DEPENDS="gtk+-dev dbus-dev libsexy-dev libnotify-dev openssl shared-mime-info"
     1.9 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
    1.10 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://www.xchat.org/"
    1.13  WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
    1.14 @@ -16,8 +16,15 @@
    1.15  {
    1.16      cd $src
    1.17      patch -p1 -i ../stuff/xc286-smallfixes.diff
    1.18 -    ./configure --prefix=/usr --infodir=/usr/share/info \
    1.19 -    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.20 +	# gentoo patch for GTK > 2.12
    1.21 +    patch -p1 -i ../stuff/xchat-2.8.6-gtk+-2.13.patch 
    1.22 +    ./configure  --prefix=/usr \
    1.23 +	  --infodir=/usr/share/info \
    1.24 +	  --mandir=/usr/share/man \
    1.25 +	  --disable-plugin \
    1.26 +	  --disable-tcl \
    1.27 +	  --enable-spell=static \
    1.28 +      $CONFIGURE_ARGS &&
    1.29      make &&
    1.30      make DESTDIR=$PWD/_pkg install
    1.31  }
    1.32 @@ -28,7 +35,5 @@
    1.33      mkdir -p $fs/usr \
    1.34      	$fs/usr/share
    1.35      cp -a $_pkg/usr/bin $fs/usr
    1.36 -    cp -a $_pkg/usr/share/applications $fs/usr/share
    1.37      cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    1.38 -    cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.39  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xchat/stuff/xchat-2.8.6-gtk+-2.13.patch	Tue Apr 07 21:22:01 2009 +0200
     2.3 @@ -0,0 +1,10 @@
     2.4 +--- xchat-2.8.6/src/fe-gtk/xtext.h.orig	2008-02-24 05:48:02.000000000 +0100
     2.5 ++++ xchat-2.8.6/src/fe-gtk/xtext.h	2008-09-06 02:18:39.000000000 +0200
     2.6 +@@ -270,6 +270,6 @@
     2.7 + xtext_buffer *gtk_xtext_buffer_new (GtkXText *xtext);
     2.8 + void gtk_xtext_buffer_free (xtext_buffer *buf);
     2.9 + void gtk_xtext_buffer_show (GtkXText *xtext, xtext_buffer *buf, int render);
    2.10 +-GtkType gtk_xtext_get_type (void);
    2.11 ++GType gtk_xtext_get_type (void);
    2.12 + 
    2.13 + #endif