Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-gtk2/
Date: Sat, 07 Jul 2018 06:14:34
Message-Id: 1530944050.0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee.graaff@gentoo
1 commit: 0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 6 09:30:00 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 7 06:14:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdb994d
7
8 dev-ruby/ruby-gtk2: fix build issue
9
10 Explicitly add gtk-2.0 include path. This should be fixed more
11 comprehensively in later versions of ruby-gtk2.
12
13 Closes: https://bugs.gentoo.org/616682
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild | 7 +++++--
17 1 file changed, 5 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
20 index b4ad55f0eef..d8b8c016fe6 100644
21 --- a/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
22 +++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
23 @@ -1,8 +1,8 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=5
29 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
30 +USE_RUBY="ruby23 ruby24"
31
32 inherit virtualx ruby-ng-gnome2
33
34 @@ -26,6 +26,9 @@ all_ruby_prepare() {
35
36 # Use standard icon
37 sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die
38 +
39 + # Fix search path for gtk-2.0 on Gentoo
40 + sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die
41 }
42
43 each_ruby_test() {