Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/gwaei: metadata.xml ChangeLog gwaei-3.0.2.ebuild
Date: Tue, 30 Aug 2011 23:07:41
Message-Id: 20110830230715.41C642004C@flycatcher.gentoo.org
1 flameeyes 11/08/30 23:07:15
2
3 Modified: metadata.xml ChangeLog
4 Added: gwaei-3.0.2.ebuild
5 Log:
6 Version bump to 3.0.2 (uses Gtk+ 3); add ncurses USE flag; remove static libraries and .la files. Closes bug #349270.
7
8 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 app-dicts/gwaei/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-dicts/gwaei/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 6 Jul 2009 14:57:40 -0000 1.3
24 +++ metadata.xml 30 Aug 2011 23:07:15 -0000 1.4
25 @@ -1,12 +1,17 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>cjk</herd>
30 -<longdescription lang="en">
31 - gWaei is a drop-in replacement for Gjiten. The main
32 - feature of this dictonary program is regular expression
33 - support. For example, you can use periods in place of
34 - unknown Kanji of a word to search for it.
35 -</longdescription>
36 + <herd>cjk</herd>
37 + <longdescription lang="en">
38 + gWaei is a drop-in replacement for Gjiten. The main feature of
39 + this dictonary program is regular expression support. For example,
40 + you can use periods in place of unknown Kanji of a word to search
41 + for it.
42 + </longdescription>
43 + <use>
44 + <flag name='unique'>
45 + Enable single instance support using
46 + <pkg>dev-libs/libunique</pkg>.
47 + </flag>
48 + </use>
49 </pkgmetadata>
50 -
51
52
53
54 1.23 app-dicts/gwaei/ChangeLog
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/ChangeLog?rev=1.23&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/ChangeLog?rev=1.23&content-type=text/plain
58 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/ChangeLog?r1=1.22&r2=1.23
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v
63 retrieving revision 1.22
64 retrieving revision 1.23
65 diff -u -r1.22 -r1.23
66 --- ChangeLog 27 Mar 2011 10:10:42 -0000 1.22
67 +++ ChangeLog 30 Aug 2011 23:07:15 -0000 1.23
68 @@ -1,6 +1,13 @@
69 # ChangeLog for app-dicts/gwaei
70 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.22 2011/03/27 10:10:42 nirbheek Exp $
72 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.23 2011/08/30 23:07:15 flameeyes Exp $
73 +
74 +*gwaei-3.0.2 (30 Aug 2011)
75 +
76 + 30 Aug 2011; Diego E. Pettenò <flameeyes@g.o> +gwaei-3.0.2.ebuild,
77 + +files/gwaei-3.0.2-no-ncurses.patch, metadata.xml:
78 + Version bump to 3.0.2 (uses Gtk+ 3); add ncurses USE flag; remove static
79 + libraries and .la files. Closes bug #349270.
80
81 27 Mar 2011; Nirbheek Chauhan <nirbheek@g.o> gwaei-1.0.ebuild,
82 gwaei-1.1.ebuild:
83
84
85
86 1.1 app-dicts/gwaei/gwaei-3.0.2.ebuild
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/gwaei-3.0.2.ebuild?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-dicts/gwaei/gwaei-3.0.2.ebuild?rev=1.1&content-type=text/plain
90
91 Index: gwaei-3.0.2.ebuild
92 ===================================================================
93 # Copyright 1999-2011 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 # $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/gwaei-3.0.2.ebuild,v 1.1 2011/08/30 23:07:15 flameeyes Exp $
96
97 EAPI="4"
98
99 inherit gnome2-utils eutils
100
101 DESCRIPTION="Japanese-English Dictionary for GNOME"
102 HOMEPAGE="http://gwaei.sourceforge.net/"
103 SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
104
105 LICENSE="GPL-3"
106 SLOT="0"
107 KEYWORDS="~amd64 ~x86"
108 IUSE="gtk nls unique test ncurses"
109
110 RDEPEND=">=net-misc/curl-7.21.0
111 >=dev-libs/glib-2.25.0:2
112 gtk? (
113 x11-libs/gtk+:3
114 >=app-text/gnome-doc-utils-0.13.0
115 unique? ( dev-libs/libunique:3 )
116 )
117 ncurses? ( sys-libs/ncurses[unicode] )
118 nls? ( virtual/libintl )"
119 DEPEND="${RDEPEND}
120 test? ( app-text/docbook-xml-dtd:4.1.2 )
121 gtk? (
122 >=app-text/gnome-doc-utils-0.13.0
123 app-text/scrollkeeper
124 )
125 nls? ( >=sys-devel/gettext-0.17 )
126 dev-util/pkgconfig"
127
128 REQUIRED_USE="unique? ( gtk )"
129
130 src_prepare() {
131 epatch "${FILESDIR}"/${P}-no-ncurses.patch
132 }
133
134 src_configure() {
135 econf \
136 $(use_with gtk gnome) \
137 $(use_with ncurses) \
138 $(use_with unique libunique) \
139 $(use_enable nls) \
140 --disable-static \
141 --docdir=/usr/share/doc/${PF}
142 }
143
144 src_install() {
145 emake DESTDIR="${D}" install || die
146 find "${D}" -name '*.la' -delete
147
148 dodoc AUTHORS README
149 }
150
151 pkg_preinst() {
152 if use gtk ; then
153 gnome2_schemas_savelist
154 fi
155 }
156
157 pkg_postinst() {
158 if use gtk ; then
159 gnome2_schemas_update
160 fi
161 }
162
163 pkg_postrm() {
164 if use gtk ; then
165 gnome2_schemas_update --uninstall
166 fi
167 }