1 |
ssuominen 12/01/08 18:31:37 |
2 |
|
3 |
Modified: stardict-3.0.3.ebuild ChangeLog |
4 |
Log: |
5 |
Use gnome2.eclass for gconf schema(s). |
6 |
|
7 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 app-text/stardict/stardict-3.0.3.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: stardict-3.0.3.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- stardict-3.0.3.ebuild 8 Jan 2012 17:54:05 -0000 1.4 |
23 |
+++ stardict-3.0.3.ebuild 8 Jan 2012 18:31:37 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.4 2012/01/08 17:54:05 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.5 2012/01/08 18:31:37 ssuominen Exp $ |
29 |
|
30 |
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, |
31 |
# their indexes seem to be in a different format. So we'll keep them |
32 |
@@ -9,7 +9,11 @@ |
33 |
# NOTE: Festival plugin crashes, bug 188684. Disable for now. |
34 |
|
35 |
EAPI=4 |
36 |
-inherit eutils |
37 |
+ |
38 |
+GNOME2_LA_PUNT=yes |
39 |
+GCONF_DEBUG=no |
40 |
+ |
41 |
+inherit eutils gnome2 |
42 |
|
43 |
DESCRIPTION="A international dictionary supporting fuzzy and glob style matching" |
44 |
HOMEPAGE="http://code.google.com/p/stardict-3/" |
45 |
@@ -52,30 +56,31 @@ |
46 |
|
47 |
RESTRICT="test" |
48 |
|
49 |
+pkg_setup() { |
50 |
+ G2CONF="$(use_enable editor tools) |
51 |
+ --disable-scrollkeeper |
52 |
+ $(use_enable spell) |
53 |
+ $(use_enable gucharmap) |
54 |
+ --disable-festival |
55 |
+ $(use_enable espeak) |
56 |
+ $(use_enable qqwry) |
57 |
+ --disable-updateinfo |
58 |
+ $(use_enable gnome gnome-support) |
59 |
+ --disable-gpe-support |
60 |
+ --disable-schemas-install" |
61 |
+} |
62 |
+ |
63 |
src_prepare() { |
64 |
epatch \ |
65 |
"${FILESDIR}"/${P}-correct-glib-include.patch \ |
66 |
"${FILESDIR}"/${P}-entry.patch \ |
67 |
"${FILESDIR}"/${P}-gcc46.patch |
68 |
-} |
69 |
|
70 |
-src_configure() { |
71 |
- econf \ |
72 |
- $(use_enable editor tools) \ |
73 |
- --disable-scrollkeeper \ |
74 |
- $(use_enable spell) \ |
75 |
- $(use_enable gucharmap) \ |
76 |
- --disable-festival \ |
77 |
- $(use_enable espeak) \ |
78 |
- $(use_enable qqwry) \ |
79 |
- --disable-updateinfo \ |
80 |
- $(use_enable gnome gnome-support) \ |
81 |
- --disable-gpe-support \ |
82 |
- --disable-schemas-install |
83 |
+ gnome2_src_prepare |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
- emake DESTDIR="${D}" install |
88 |
+ gnome2_src_install |
89 |
|
90 |
dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation} |
91 |
|
92 |
@@ -91,8 +96,6 @@ |
93 |
insinto /usr/share |
94 |
doins -r ../WyabdcRealPeopleTTS |
95 |
fi |
96 |
- |
97 |
- find "${ED}" -name '*.la' -exec rm -f {} + |
98 |
} |
99 |
|
100 |
pkg_postinst() { |
101 |
@@ -105,4 +108,6 @@ |
102 |
elog "you have not, execute the below to get a list of dictionaries:" |
103 |
elog |
104 |
elog " emerge -s stardict-" |
105 |
+ |
106 |
+ gnome2_pkg_postinst |
107 |
} |
108 |
|
109 |
|
110 |
|
111 |
1.14 app-text/stardict/ChangeLog |
112 |
|
113 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/ChangeLog?rev=1.14&view=markup |
114 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/ChangeLog?rev=1.14&content-type=text/plain |
115 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/stardict/ChangeLog?r1=1.13&r2=1.14 |
116 |
|
117 |
Index: ChangeLog |
118 |
=================================================================== |
119 |
RCS file: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v |
120 |
retrieving revision 1.13 |
121 |
retrieving revision 1.14 |
122 |
diff -u -r1.13 -r1.14 |
123 |
--- ChangeLog 8 Jan 2012 17:47:32 -0000 1.13 |
124 |
+++ ChangeLog 8 Jan 2012 18:31:37 -0000 1.14 |
125 |
@@ -1,6 +1,9 @@ |
126 |
# ChangeLog for app-text/stardict |
127 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
128 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.13 2012/01/08 17:47:32 ssuominen Exp $ |
129 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.14 2012/01/08 18:31:37 ssuominen Exp $ |
130 |
+ |
131 |
+ 08 Jan 2012; Samuli Suominen <ssuominen@g.o> stardict-3.0.3.ebuild: |
132 |
+ Use gnome2.eclass for gconf schema(s). |
133 |
|
134 |
08 Jan 2012; Samuli Suominen <ssuominen@g.o> stardict-3.0.3.ebuild: |
135 |
Missing CPL-1.0 and LGPL-2 licenses as noted by top level README. |