[arch-commits] Commit in ruby-gtk3/trunk (2 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Mar 14 17:31:28 UTC 2013


    Date: Thursday, March 14, 2013 @ 18:31:28
  Author: arodseth
Revision: 86280

upgpkg: ruby-gtk3 1.2.2-2

Modified:
  ruby-gtk3/trunk/PKGBUILD
Deleted:
  ruby-gtk3/trunk/0001-backport-fix-for-syntax-error-https-github.com-ruby.patch

----------------------------------------------------------------+
 0001-backport-fix-for-syntax-error-https-github.com-ruby.patch |   40 ----------
 PKGBUILD                                                       |    8 --
 2 files changed, 2 insertions(+), 46 deletions(-)

Deleted: 0001-backport-fix-for-syntax-error-https-github.com-ruby.patch
===================================================================
--- 0001-backport-fix-for-syntax-error-https-github.com-ruby.patch	2013-03-14 17:23:08 UTC (rev 86279)
+++ 0001-backport-fix-for-syntax-error-https-github.com-ruby.patch	2013-03-14 17:31:28 UTC (rev 86280)
@@ -1,40 +0,0 @@
-From c0d6f9ad4ab23dc980746078a127905ea56c9bf1 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc at gmail.com>
-Date: Sun, 10 Mar 2013 09:39:45 -0700
-Subject: [PATCH] backport fix for syntax error
- https://github.com/ruby-gnome2/ruby-gnome2/commit/03be2d663730119036c9d70d4fc7b52523ae40df
-
----
- gdk3/ext/gdk3/rbgdkevent.c  | 2 +-
- gdk3/ext/gdk3/rbgdkscreen.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gdk3/ext/gdk3/rbgdkevent.c b/gdk3/ext/gdk3/rbgdkevent.c
-index 62bb35d..a5478a6 100644
---- a/gdk3/ext/gdk3/rbgdkevent.c
-+++ b/gdk3/ext/gdk3/rbgdkevent.c
-@@ -370,7 +370,7 @@ gdkevent_s_setting_get(int argc, VALUE *argv, G_GNUC_UNUSED VALUE self)
-     VALUE value;
- 
-     rb_scan_args(argc, argv, "11", &name, &type);
--    if NIL_P(type) 
-+    if (NIL_P(type)) 
-         gtype = G_TYPE_STRING;
-     else
-         gtype = CLASS2GTYPE(type);
-diff --git a/gdk3/ext/gdk3/rbgdkscreen.c b/gdk3/ext/gdk3/rbgdkscreen.c
-index 8f5bffb..7439ad1 100644
---- a/gdk3/ext/gdk3/rbgdkscreen.c
-+++ b/gdk3/ext/gdk3/rbgdkscreen.c
-@@ -214,7 +214,7 @@ rg_get_setting(int argc, VALUE *argv, VALUE self)
-     VALUE value;
- 
-     rb_scan_args(argc, argv, "11", &name, &type);
--    if NIL_P(type) 
-+    if (NIL_P(type)) 
-         gtype = G_TYPE_STRING;
-     else
-         gtype = CLASS2GTYPE(type);
--- 
-1.8.1.5
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-14 17:23:08 UTC (rev 86279)
+++ PKGBUILD	2013-03-14 17:31:28 UTC (rev 86280)
@@ -14,16 +14,12 @@
 url='http://ruby-gnome2.sourceforge.jp/'
 license=('LGPL')
 makedepends=('ruby-pkgconfig' 'ruby-cairo' 'gtk3')
-source=("http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk3-$pkgver.tar.gz"
-        '0001-backport-fix-for-syntax-error-https-github.com-ruby.patch')
-sha256sums=('1dd73c4aa184199f373edad589b715b68da8eb43ae6bdae360e0aa62189a681d'
-            '0df3571688a18048fac9211df1bf21effd4120e568b34e523fe50a7a63e3e3d6')
+source=("http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk3-$pkgver.tar.gz")
+sha256sums=('1dd73c4aa184199f373edad589b715b68da8eb43ae6bdae360e0aa62189a681d')
 
 build() {
 	cd "$srcdir/ruby-gtk3-$pkgver"
 
-  #patch -Np1 -i \
-  #  "$srcdir/0001-backport-fix-for-syntax-error-https-github.com-ruby.patch"
 	LANG="en_US.UTF-8" ruby extconf.rb gtk3 gdk3 --vendor
 	make
 }




More information about the arch-commits mailing list