1 |
pva 08/04/28 10:52:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: stardict-3.0.1-r1.ebuild |
5 |
Removed: stardict-2.4.2.ebuild stardict-2.4.6-r1.ebuild |
6 |
Log: |
7 |
Added qqwry USE flag to install QQWry.Dat to make QQWry plugin workable; added pronounce USE flag to install WyabdcRealPeopleTTS wav files; small cleanups, bug #217895, thank Denilson for the ideas/work. Fixed compilation with gcc-4.3, bug #216238, thank Martin Väth for report/fix. Added patch to fix transparency of tray icon (from upstream). Added patch to fix minor typos in ChangeLog (from debian). Removed unused patches/ebuilds. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 app-dicts/stardict/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 14 Apr 2008 16:02:15 -0000 1.42 |
24 |
+++ ChangeLog 28 Apr 2008 10:52:15 -0000 1.43 |
25 |
@@ -1,6 +1,23 @@ |
26 |
# ChangeLog for app-dicts/stardict |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.42 2008/04/14 16:02:15 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.43 2008/04/28 10:52:15 pva Exp $ |
30 |
+ |
31 |
+*stardict-3.0.1-r1 (28 Apr 2008) |
32 |
+ |
33 |
+ 28 Apr 2008; Peter Volkov <pva@g.o> |
34 |
+ +files/stardict-3.0.1-changelog-minor-typo-fixes.patch, |
35 |
+ +files/stardict-3.0.1-gcc43.patch, |
36 |
+ +files/stardict-3.0.1-transparent_trayicon.patch, |
37 |
+ -files/stardict-gentoo.patch, -files/stardict-gtk24.patch, |
38 |
+ -stardict-2.4.2.ebuild, -stardict-2.4.6-r1.ebuild, |
39 |
+ +stardict-3.0.1-r1.ebuild: |
40 |
+ Added qqwry USE flag to install QQWry.Dat to make QQWry plugin workable; |
41 |
+ added pronounce USE flag to install WyabdcRealPeopleTTS wav files; small |
42 |
+ cleanups, bug #217895, thank Denilson for the ideas/work. Fixed |
43 |
+ compilation with gcc-4.3, bug #216238, thank Martin Väth for report/fix. |
44 |
+ Added patch to fix transparency of tray icon (from upstream). Added patch |
45 |
+ to fix minor typos in ChangeLog (from debian). Removed unused |
46 |
+ patches/ebuilds. |
47 |
|
48 |
14 Apr 2008; Raúl Porcel <armin76@g.o> stardict-3.0.1.ebuild: |
49 |
sparc stable wrt #216707 |
50 |
|
51 |
|
52 |
|
53 |
1.1 app-dicts/stardict/stardict-3.0.1-r1.ebuild |
54 |
|
55 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: stardict-3.0.1-r1.ebuild |
59 |
=================================================================== |
60 |
# Copyright 1999-2008 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild,v 1.1 2008/04/28 10:52:15 pva Exp $ |
63 |
|
64 |
inherit gnome2 eutils autotools |
65 |
|
66 |
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, |
67 |
# their indexes seem to be in a different format. So we'll keep them |
68 |
# seperate for now. |
69 |
|
70 |
IUSE="festival espeak gnome gucharmap qqwry pronounce spell" |
71 |
DESCRIPTION="A GNOME2 international dictionary supporting fuzzy and glob style matching" |
72 |
HOMEPAGE="http://stardict.sourceforge.net/" |
73 |
SRC_URI="mirror://sourceforge/stardict/${P}.tar.bz2 |
74 |
qqwry? ( mirror://sourceforge/stardict/QQWry.Dat.bz2 ) |
75 |
pronounce? ( mirror://sourceforge/stardict/WyabdcRealPeopleTTS.tar.bz2 )" |
76 |
|
77 |
RESTRICT="test" |
78 |
LICENSE="GPL-2" |
79 |
SLOT="0" |
80 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
81 |
|
82 |
DEP="gnome? ( >=gnome-base/libbonobo-2.2.0 |
83 |
>=gnome-base/libgnome-2.2.0 |
84 |
>=gnome-base/libgnomeui-2.2.0 |
85 |
>=gnome-base/gconf-2 |
86 |
>=gnome-base/orbit-2.6 |
87 |
app-text/scrollkeeper ) |
88 |
spell? ( app-text/enchant ) |
89 |
gucharmap? ( >=gnome-extra/gucharmap-1.4.0 ) |
90 |
>=sys-libs/zlib-1.1.4 |
91 |
>=x11-libs/gtk+-2.12" |
92 |
|
93 |
RDEPEND="${DEP} |
94 |
espeak? ( >=app-accessibility/espeak-1.29 ) |
95 |
festival? ( =app-accessibility/festival-1.96_beta )" |
96 |
|
97 |
DEPEND="${DEP} |
98 |
>=dev-util/intltool-0.22 |
99 |
dev-util/pkgconfig" |
100 |
|
101 |
pkg_setup() { |
102 |
built_with_use gnome-base/libgnome esd || \ |
103 |
if use gnome && use pronounce; then |
104 |
ewarn 'Note, being built with USE="gnome" stardict uses gnome_sound_play()' |
105 |
ewarn 'to play RealPeopleTTS sounds, which plays sounds only in case' |
106 |
ewarn 'gnome-base/libgnome was built with USE="esd".' |
107 |
fi |
108 |
} |
109 |
|
110 |
src_unpack() { |
111 |
unpack ${A} |
112 |
cd "${S}" |
113 |
|
114 |
epatch "${FILESDIR}"/${P}-configure.in-EST.diff |
115 |
epatch "${FILESDIR}"/${P}-gconf-m4.diff |
116 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
117 |
epatch "${FILESDIR}"/${P}-transparent_trayicon.patch |
118 |
epatch "${FILESDIR}"/${P}-changelog-minor-typo-fixes.patch |
119 |
AT_M4DIR="m4" eautoreconf |
120 |
gnome2_omf_fix |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
export PKG_CONFIG=$(type -P pkg-config) |
125 |
# Festival plugin crashes, bug 188684. Disable for now. |
126 |
G2CONF="$(use_enable gnome gnome-support) |
127 |
$(use_enable spell) |
128 |
$(use_enable gucharmap) |
129 |
$(use_enable espeak) |
130 |
$(use_enable qqwry) |
131 |
--disable-festival |
132 |
--disable-advertisement |
133 |
--disable-updateinfo" |
134 |
gnome2_src_compile |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
gnome2_src_install |
139 |
if use qqwry; then |
140 |
insinto /usr/share/stardict/data |
141 |
doins ../QQWry.Dat |
142 |
fi |
143 |
if use pronounce; then |
144 |
dodir /usr/share/ |
145 |
mv ../WyabdcRealPeopleTTS "${D}"/usr/share/ |
146 |
fi |
147 |
dodoc doc/{FAQ,HowToCreateDictionary,StarDictFileFormat,Translation,HACKING} |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
if use festival; then |
152 |
elog "Note: festival text to speach (TTS) plugin is not built. To use festival" |
153 |
elog 'TTS plugin, please, enable "Use TTS program." at:' |
154 |
elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:' |
155 |
elog '"echo %s | festival --tts"' |
156 |
elog |
157 |
fi |
158 |
elog "You will now need to install stardict dictionary files. If" |
159 |
elog "you have not, execute the below to get a list of dictionaries:" |
160 |
elog |
161 |
elog " emerge -s stardict-" |
162 |
} |
163 |
|
164 |
|
165 |
|
166 |
-- |
167 |
gentoo-commits@l.g.o mailing list |