[DRE-commits] [ruby-gnome2] 07/09: Add fix-Gst-init.patch

Paul van Tilburg paulvt at moszumanska.debian.org
Tue May 6 14:19:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

paulvt pushed a commit to branch master
in repository ruby-gnome2.

commit bcf23d7fd1f19f22d978326795f333a4ea205a88
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Tue May 6 15:30:52 2014 +0200

    Add fix-Gst-init.patch
---
 debian/changelog                  |  1 +
 debian/patches/fix-Gst-init.patch | 24 ++++++++++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e3ae44b..bea03f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ruby-gnome2 (2.2.0-1) UNRELEASED; urgency=medium
   * debian/ruby-*.install: remove ruby1.8/ruby1.9.1 install paths
   * debian/ruby-{clutter,clutter-gstreamer,clutter-gtk}.{examples,install},
     debian/ruby-{webkit-gtk,webkit-gtk2}.{examples,install}: added
+  * debian/patches: add fix-Gst-init.patch 
 
  -- Paul van Tilburg <paulvt at debian.org>  Tue, 06 May 2014 15:25:51 +0200
 
diff --git a/debian/patches/fix-Gst-init.patch b/debian/patches/fix-Gst-init.patch
new file mode 100644
index 0000000..d6e42a3
--- /dev/null
+++ b/debian/patches/fix-Gst-init.patch
@@ -0,0 +1,24 @@
+Description: fix issue with Gst.init
+Origin: https://github.com/ruby-gnome2/ruby-gnome2/commit/29dd9ccdf06b2fe7d9f5cf6ace886bb89adcebf2
+Bug-Github: https://github.com/ruby-gnome2/ruby-gnome2/issues/232
+
+gstreamer: fix a bug that Gst.init is failed
+Output array handling in Ruby/GObjectIntrospection was changed.
+
+GitHub: #232
+
+Reported by saepia. Thanks!!!
+
+diff --git a/gstreamer/lib/gst.rb b/gstreamer/lib/gst.rb
+index 39b8bf8..815a8e9 100644
+--- a/gstreamer/lib/gst.rb
++++ b/gstreamer/lib/gst.rb
+@@ -106,7 +106,7 @@ def call_init_function(repository, namespace)
+         1 + @init_arguments.size,
+         [$0] + @init_arguments,
+       ]
+-      succeeded, argc, argv, error = init_check.invoke(:arguments => arguments)
++      succeeded, argv, error = init_check.invoke(:arguments => arguments)
+       @init_arguments.replace(argv[1..-1])
+       raise error unless succeeded
+     end
diff --git a/debian/patches/series b/debian/patches/series
index 79ef553..42d2b61 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Fail-the-build-if-any-subpackage-fails
 reject_goocanvas.patch
+fix-Gst-init.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnome2.git



More information about the Pkg-ruby-extras-commits mailing list