ruby-gtk: updated to 0.15.0

This commit is contained in:
Tilman Sauerbeck 2006-07-05 16:07:50 +00:00
parent ce82ee4295
commit 28d896cfe1
4 changed files with 5 additions and 31 deletions

View File

@ -7,6 +7,8 @@ drwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/gdk_pixbuf2.rb
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/glib2.rb
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/gtk2.rb
drwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/gtk2/
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/gtk2/base.rb
drwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/atk.so
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/gdk_pixbuf2.so

View File

@ -1,2 +1 @@
9f6eeaa3e663b6b2cf444f7559a1ed93 ruby-gtk.diff
118aad5048a85e5f67db7c96e5561ac2 ruby-gtk2-0.14.1.tar.gz
44f4f464315383113bc6132d8fb7f98f ruby-gtk2-0.15.0.tar.gz

View File

@ -5,16 +5,13 @@
# Depends on: ruby, gtk
name=ruby-gtk
version=0.14.1
version=0.15.0
release=1
source=(http://dl.sourceforge.net/ruby-gnome2/ruby-gtk2-$version.tar.gz \
$name.diff)
source=(http://dl.sourceforge.net/ruby-gnome2/ruby-gtk2-$version.tar.gz)
build() {
cd ruby-gtk2-$version
patch -Np1 -i ../$name.diff
ruby extconf.rb
make

View File

@ -1,24 +0,0 @@
diff -aur ruby-gtk2-0.14.1.orig/gtk/src/rbgdkpixbuf.c ruby-gtk2-0.14.1/gtk/src/rbgdkpixbuf.c
--- ruby-gtk2-0.14.1.orig/gtk/src/rbgdkpixbuf.c 2005-11-14 09:14:07.000000000 +0100
+++ ruby-gtk2-0.14.1/gtk/src/rbgdkpixbuf.c 2006-01-29 11:34:19.000000000 +0100
@@ -73,7 +73,7 @@
GdkPixmap *pixmap;
GdkBitmap *mask;
- rb_scan_args(argc, argv, "01", &colormap_or_alpha, &alpha);
+ rb_scan_args(argc, argv, "11", &colormap_or_alpha, &alpha);
if (rb_obj_is_kind_of(colormap_or_alpha, GTYPE2CLASS(GDK_TYPE_COLORMAP))){
gdk_pixbuf_render_pixmap_and_mask_for_colormap(_SELF(self),
diff -aur ruby-gtk2-0.14.1.orig/gtk/src/rbgtkwidget.c ruby-gtk2-0.14.1/gtk/src/rbgtkwidget.c
--- ruby-gtk2-0.14.1.orig/gtk/src/rbgtkwidget.c 2005-11-14 09:14:07.000000000 +0100
+++ ruby-gtk2-0.14.1/gtk/src/rbgtkwidget.c 2006-01-29 11:40:12.000000000 +0100
@@ -340,7 +340,7 @@
widget_set_colormap(self, colormap)
VALUE self, colormap;
{
- gtk_widget_set_colormap(_SELF(self), GDK_COLORMAP(RVAL2GOBJ(self)));
+ gtk_widget_set_colormap(_SELF(self), GDK_COLORMAP(RVAL2GOBJ(colormap)));
return self;
}