wok-next rev 13556

gtkdialog: up 0.8.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 04:36:44 2012 +0000 (2012-11-03)
parents 07ebf34f05f9
children 7d3515044bc9
files gtkdialog/receipt gtkdialog/stuff/glade_support.patch
line diff
     1.1 --- a/gtkdialog/receipt	Sat Nov 03 02:15:27 2012 +0000
     1.2 +++ b/gtkdialog/receipt	Sat Nov 03 04:36:44 2012 +0000
     1.3 @@ -1,26 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtkdialog"
     1.7 -VERSION="0.7.20"
     1.8 +VERSION="0.8.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Small utility for fast and easy GUI building using GTK+."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/"
    1.14 -WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL"
    1.15 +WEB_SITE="http://code.google.com/p/gtkdialog/"
    1.16 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.17  
    1.18 -DEPENDS="gtk+ libglade xorg-libXdamage"
    1.19 -BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev"
    1.20 +DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base \
    1.21 +gdk-pixbuf glib glibc-base gtk+ libffi libgio libglade libpng libxcb \
    1.22 +libxml2 pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.23 +xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
    1.24 +xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
    1.25 +BUILD_DEPENDS="gtk+-dev libglade-dev vte-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	cd $src
    1.31 -	# Fix libgalde support
    1.32 -	patch -p 0 < $stuff/glade_support.patch || return 1
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		$CONFIGURE_ARGS &&
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37  	make &&
    1.38  	make DESTDIR=$DESTDIR install
    1.39  }
    1.40 @@ -30,4 +30,5 @@
    1.41  {
    1.42  	mkdir -p $fs/usr
    1.43  	cp -a $install/usr/bin $fs/usr
    1.44 +	cp -a $install/usr/share/icons $fs/usr/share
    1.45  }
     2.1 --- a/gtkdialog/stuff/glade_support.patch	Sat Nov 03 02:15:27 2012 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,42 +0,0 @@
     2.4 ---- src/glade_support.c	Fri Mar 16 15:25:49 2007
     2.5 -+++ src/glade_support.c	Mon Apr  6 17:08:47 2009
     2.6 -@@ -37,10 +37,10 @@
     2.7 -  *                                                                       *
     2.8 -  *                                                                       *
     2.9 -  *************************************************************************/
    2.10 --typedef struct signal {
    2.11 -+typedef struct _signal {
    2.12 - 	gchar     *name;
    2.13 - 	GCallback callback;
    2.14 --} signal;
    2.15 -+} _signal;
    2.16 - 
    2.17 - /*
    2.18 - ** Signal handler callbascks.
    2.19 -@@ -206,7 +206,7 @@
    2.20 - static gboolean
    2.21 - find_and_connect_handler(
    2.22 - 		GtkWidget *widget,
    2.23 --		signal *signals,
    2.24 -+		_signal *signals,
    2.25 - 		const gchar *signal_name,
    2.26 - 		const gchar *handler_name)
    2.27 - {
    2.28 -@@ -288,7 +288,7 @@
    2.29 - 		gpointer user_data)
    2.30 - {
    2.31 - 	gint n;
    2.32 --	signal entry_signals[] = {
    2.33 -+	_signal entry_signals[] = {
    2.34 - 		{ "activate",           (GCallback)on_any_entry_almost_any },
    2.35 - 		{ "backspace",          (GCallback)on_any_entry_almost_any },
    2.36 - 		{ "copy-clipboard",     (GCallback)on_any_entry_almost_any },
    2.37 -@@ -319,7 +319,7 @@
    2.38 - 		gpointer user_data)
    2.39 - {
    2.40 - 	variable *var;
    2.41 --	signal widget_signals[] = {
    2.42 -+	_signal widget_signals[] = {
    2.43 - 		{ "accel-closures-changed",    (GCallback)on_any_widget_almost_any },
    2.44 - 		{ "composited-changed",        (GCallback)on_any_widget_almost_any },
    2.45 - 		{ "grab-focus",                (GCallback)on_any_widget_almost_any },