Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/fxruby: fxruby-1.6.20-r1.ebuild ChangeLog
Date: Sat, 31 Dec 2011 16:40:42
Message-Id: 20111231164032.A04312004B@flycatcher.gentoo.org
1 graaff 11/12/31 16:40:32
2
3 Modified: ChangeLog
4 Added: fxruby-1.6.20-r1.ebuild
5 Log:
6 Revision bump to fix bugs #396541, #396279, #396277.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.88 dev-ruby/fxruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.88&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.88&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?r1=1.87&r2=1.88
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v
20 retrieving revision 1.87
21 retrieving revision 1.88
22 diff -u -r1.87 -r1.88
23 --- ChangeLog 15 Jan 2011 12:12:45 -0000 1.87
24 +++ ChangeLog 31 Dec 2011 16:40:32 -0000 1.88
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/fxruby
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.87 2011/01/15 12:12:45 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.88 2011/12/31 16:40:32 graaff Exp $
30 +
31 +*fxruby-1.6.20-r1 (31 Dec 2011)
32 +
33 + 31 Dec 2011; Hans de Graaff <graaff@g.o> +fxruby-1.6.20-r1.ebuild:
34 + Revision bump to fix bugs #396541, #396279, #396277.
35
36 15 Jan 2011; Hans de Graaff <graaff@g.o> -fxruby-1.6.19.ebuild:
37 Remove old version.
38
39
40
41 1.1 dev-ruby/fxruby/fxruby-1.6.20-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.20-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.20-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fxruby-1.6.20-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.20-r1.ebuild,v 1.1 2011/12/31 16:40:32 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18"
54
55 RUBY_FAKEGEM_NAME="fxruby"
56
57 RUBY_FAKEGEM_TASK_DOC="docs"
58
59 RUBY_FAKEGEM_EXTRADOC="History.txt index.html README README.txt TODO"
60
61 inherit multilib ruby-fakegem toolchain-funcs
62
63 DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
64 HOMEPAGE="http://www.fxruby.org/"
65
66 LICENSE="LGPL-2.1"
67 SLOT="1.6"
68 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
69 IUSE="examples doc"
70
71 DEPEND="x11-libs/fox:1.6
72 >=x11-libs/fxscintilla-1.62-r1"
73 RDEPEND="${RDEPEND}"
74
75 # Tests fail with a memory corruption error. Restrict the tests for
76 # now. We did not run tests with older versions so we assume this is
77 # not a regression for now.
78 RESTRICT="test"
79 #ruby_add_bdepend "test? ( dev-ruby/ruby-opengl )"
80
81 ruby_add_bdepend "dev-ruby/hoe"
82
83 all_ruby_prepare() {
84 sed -i -e '/\[:compile\]/d' Rakefile || die
85 sed -i -e 's:libs, "fxscintilla":libs, "fxscintilla-1.6":g' \
86 ext/fox16/extconf.rb || die "sed error"
87 einfo "Avoid -O0 builds"
88 sed -i -e 's:-O0 -I:-I:' \
89 ext/fox16/extconf.rb || die "Can't fix forced -O0"
90
91 # Use our own metadata since the distributed version doesn't work
92 # with recent rubygems, bug 396541
93 rm ../metadata || die
94 }
95
96 each_ruby_configure() {
97 ${RUBY} -Cext/fox16 extconf.rb || die
98 }
99
100 each_ruby_compile() {
101 CXX=$(tc-getCXX) emake -Cext/fox16 || die
102 cp ext/fox16/fox16$(get_modname) lib/ || die
103 }
104
105 all_ruby_install() {
106 all_fakegem_install
107
108 if use examples; then
109 for dir in sample samples example examples; do
110 if [ -d ${dir} ] ; then
111 dodir /usr/share/doc/${PF}
112 cp -pPR ${dir} "${D}"/usr/share/doc/${PF} || die "cp failed"
113 fi
114 done
115 fi
116 }