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 app-office/rabbit: ChangeLog rabbit-0.9.2.ebuild
Date: Sat, 07 May 2011 06:45:51
Message-Id: 20110507064541.5784420054@flycatcher.gentoo.org
1 graaff 11/05/07 06:45:41
2
3 Modified: ChangeLog
4 Added: rabbit-0.9.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 app-office/rabbit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rabbit/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rabbit/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rabbit/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 12 Mar 2011 11:50:03 -0000 1.13
24 +++ ChangeLog 7 May 2011 06:45:41 -0000 1.14
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/rabbit
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v 1.13 2011/03/12 11:50:03 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v 1.14 2011/05/07 06:45:41 graaff Exp $
30 +
31 +*rabbit-0.9.2 (07 May 2011)
32 +
33 + 07 May 2011; Hans de Graaff <graaff@g.o> +rabbit-0.9.2.ebuild:
34 + Version bump.
35
36 12 Mar 2011; Hans de Graaff <graaff@g.o> rabbit-0.6.4-r1.ebuild,
37 metadata.xml:
38
39
40
41 1.1 app-office/rabbit/rabbit-0.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rabbit/rabbit-0.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rabbit/rabbit-0.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rabbit-0.9.2.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/app-office/rabbit/rabbit-0.9.2.ebuild,v 1.1 2011/05/07 06:45:41 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18"
54
55 inherit ruby-ng elisp-common eutils
56
57 DESCRIPTION="An application to do presentation with RD document"
58 HOMEPAGE="http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit"
59 SRC_URI="http://www.cozmixng.org/~kou/download/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="nls gs migemo tgif enscript emacs"
65
66 CDEPEND="emacs? ( virtual/emacs )"
67 DEPEND="${DEPEND} ${CDEPEND}"
68 RDEPEND="${RDEPEND} ${CDEPEND}
69 nls? ( dev-ruby/ruby-gettext )
70 gs? ( app-text/ghostscript-gpl )
71 migemo? ( app-text/migemo )
72 enscript? ( app-text/enscript )
73 tgif? ( media-gfx/tgif )"
74
75 ruby_add_rdepend "
76 >=dev-ruby/ruby-gdkpixbuf2-0.15.0
77 dev-ruby/ruby-gtk2
78 dev-ruby/ruby-poppler
79 dev-ruby/ruby-rsvg
80 dev-ruby/rdtool"
81
82 each_ruby_configure() {
83 ${RUBY} setup.rb config --prefix=/usr || die
84 ${RUBY} setup.rb setup || die
85 }
86
87 all_ruby_compile() {
88 if use emacs; then
89 cd "${S}/misc/emacs"
90 elisp-compile rabbit-mode.el
91 fi
92 }
93
94 each_ruby_test() {
95 ${RUBY} test/run-test.rb || die "Tests failed."
96 }
97
98 each_ruby_install() {
99 ${RUBY} setup.rb install --prefix="${D}"
100 }
101
102 all_ruby_install() {
103 dodoc NEWS.en NEWS.ja README.en README.ja TODO || die
104
105 if use emacs; then
106 cd "${S}/misc/emacs"
107 elisp-install rabbit-mode rabbit-mode.el{,c}
108 elisp-site-file-install "${FILESDIR}/50rabbit-mode-gentoo.el"
109 fi
110
111 insinto /usr/share/doc/${PF}
112 doins -r sample
113 }
114
115 pkg_postinst() {
116 use emacs && elisp-site-regen
117 }
118
119 pkg_postrm() {
120 use emacs && elisp-site-regen
121 }