public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-gio2/files/, dev-ruby/ruby-gio2/
Date: Fri,  6 Jul 2018 06:50:25 +0000 (UTC)	[thread overview]
Message-ID: <1530859768.6a901b89076b3f86dd9cebd8134267d02fc70cb3.graaff@gentoo> (raw)

commit:     6a901b89076b3f86dd9cebd8134267d02fc70cb3
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  6 04:40:36 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul  6 06:49:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a901b89

dev-ruby/ruby-gio2: backport fix for failing test

Closes: https://bugs.gentoo.org/645876
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../files/ruby-gio2-3.1.1-schema-path.patch        | 28 ++++++++++++++++++++++
 dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild          |  4 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/ruby-gio2/files/ruby-gio2-3.1.1-schema-path.patch b/dev-ruby/ruby-gio2/files/ruby-gio2-3.1.1-schema-path.patch
new file mode 100644
index 00000000000..437a9b8513c
--- /dev/null
+++ b/dev-ruby/ruby-gio2/files/ruby-gio2-3.1.1-schema-path.patch
@@ -0,0 +1,28 @@
+From f9bb159674c4eb25f99550fa8594fcbf97ed8cae Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou@clear-code.com>
+Date: Mon, 30 Jan 2017 23:09:31 +0900
+Subject: [PATCH] gio2 test: fix path
+
+GitHub: fix #990
+
+Reported by Mamoru TASAKA. Thanks!!!
+---
+ gio2/test/test-settings.rb | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/gio2/test/test-settings.rb b/gio2/test/test-settings.rb
+index b16341c84..5a287f1e9 100644
+--- a/gio2/test/test-settings.rb
++++ b/gio2/test/test-settings.rb
+@@ -108,7 +108,10 @@ def need_keyfile_settings_backend
+       need_keyfile_settings_backend
+       keyfile = Tempfile.new(["settings", ".ini"])
+       backend = Gio::keyfile_settings_backend_new(keyfile.path, "/", "keyfile_settings")
+-      schema_source = Gio::SettingsSchemaSource.new(fixture_path("schema"), nil, true)
++      schema_dir = fixture_path("schema", "default")
++      schema_source = Gio::SettingsSchemaSource.new(schema_dir,
++                                                    nil,
++                                                    true)
+       schema = schema_source.lookup("jp.ruby-gnome2.test.settings", true)
+       settings = Gio::Settings.new(schema,
+                                    backend,

diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild
index c208c579977..346b4158f8e 100644
--- a/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild
+++ b/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
 
 inherit ruby-ng-gnome2
 
@@ -14,6 +14,8 @@ ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}
 	>=dev-ruby/ruby-gobject-introspection-${PV}"
 
 all_ruby_prepare() {
+	epatch "${FILESDIR}/${P}-schema-path.patch"
+
 	# Avoid unneeded dependency on test-unit-notify.
 	sed -i -e '/notify/ s:^:#:' \
 		test/gio2-test-utils.rb || die


                 reply	other threads:[~2018-07-06  6:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1530859768.6a901b89076b3f86dd9cebd8134267d02fc70cb3.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox