ruby-gtk: assumed maintainership, bumped to 0.14.1
This commit is contained in:
parent
5a5d2721b2
commit
9b9c64e392
28
ruby-gtk/.footprint
Normal file
28
ruby-gtk/.footprint
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
drwxr-xr-x root/root usr/
|
||||||
|
drwxr-xr-x root/root usr/lib/
|
||||||
|
drwxr-xr-x root/root usr/lib/ruby/
|
||||||
|
drwxr-xr-x root/root usr/lib/ruby/site_ruby/
|
||||||
|
drwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/atk.rb
|
||||||
|
-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/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
|
||||||
|
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/glib2.so
|
||||||
|
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/gtk2.so
|
||||||
|
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/gtk20.so
|
||||||
|
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/gtk22.so
|
||||||
|
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/1.8/linux/pango.so
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbatk.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbatkversion.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbglib.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbgobject.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbgtk.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbgutil.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbpango.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/linux/rbpangoversion.h
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/mkmf-gnome2.rb
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/pango.rb
|
||||||
|
-rw-r--r-- root/root usr/lib/ruby/site_ruby/1.8/pkg-config.rb
|
2
ruby-gtk/.md5sum
Normal file
2
ruby-gtk/.md5sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
9f6eeaa3e663b6b2cf444f7559a1ed93 ruby-gtk.diff
|
||||||
|
118aad5048a85e5f67db7c96e5561ac2 ruby-gtk2-0.14.1.tar.gz
|
22
ruby-gtk/Pkgfile
Normal file
22
ruby-gtk/Pkgfile
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Description: Ruby bindings for glib2, pango, atk, gdkpixbuf2 and gtk2
|
||||||
|
# URL: http://ruby-gnome2.sourceforge.jp/
|
||||||
|
# Maintainer: Tilman Sauerbeck, tilman at code-monkey dot de
|
||||||
|
# Packager: Håvard Moen, vanilje at netcom dot no
|
||||||
|
# Depends on: ruby, gtk
|
||||||
|
|
||||||
|
name=ruby-gtk
|
||||||
|
version=0.14.1
|
||||||
|
release=1
|
||||||
|
source=(http://dl.sourceforge.net/ruby-gnome2/ruby-gtk2-$version.tar.gz \
|
||||||
|
$name.diff)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ruby-gtk2-$version
|
||||||
|
|
||||||
|
patch -Np1 -i ../$name.diff
|
||||||
|
|
||||||
|
ruby extconf.rb
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
24
ruby-gtk/ruby-gtk.diff
Normal file
24
ruby-gtk/ruby-gtk.diff
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user