1 |
loki_val 09/09/05 11:21:33 |
2 |
|
3 |
Modified: beagle-0.3.9-r1.ebuild ChangeLog |
4 |
Added: beagle-0.3.9-r2.ebuild |
5 |
Removed: beagle-0.3.9.ebuild |
6 |
Log: |
7 |
Backport patch from upstream to fix bug 283740, problems with firefox extension and >=firefox-3.5 in 0.3.9-r2. Restrict 0.3.9-r1 to older versions of firefox. Clean out old patches. |
8 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 app-misc/beagle/beagle-0.3.9-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: beagle-0.3.9-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- beagle-0.3.9-r1.ebuild 1 Jun 2009 16:24:06 -0000 1.4 |
24 |
+++ beagle-0.3.9-r1.ebuild 5 Sep 2009 11:21:33 -0000 1.5 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2009 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v 1.4 2009/06/01 16:24:06 nixnut Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v 1.5 2009/09/05 11:21:33 loki_val Exp $ |
30 |
|
31 |
EAPI=2 |
32 |
|
33 |
@@ -62,8 +62,10 @@ |
34 |
) |
35 |
firefox? ( |
36 |
|| ( |
37 |
- >=www-client/mozilla-firefox-1.5 |
38 |
- >=www-client/mozilla-firefox-bin-1.5 |
39 |
+ =www-client/mozilla-firefox-2* |
40 |
+ =www-client/mozilla-firefox-3.0* |
41 |
+ =www-client/mozilla-firefox-bin-2* |
42 |
+ =www-client/mozilla-firefox-bin-3.0* |
43 |
) |
44 |
) |
45 |
epiphany? ( |
46 |
|
47 |
|
48 |
|
49 |
1.102 app-misc/beagle/ChangeLog |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?rev=1.102&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?rev=1.102&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?r1=1.101&r2=1.102 |
54 |
|
55 |
Index: ChangeLog |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v |
58 |
retrieving revision 1.101 |
59 |
retrieving revision 1.102 |
60 |
diff -u -r1.101 -r1.102 |
61 |
--- ChangeLog 1 Jun 2009 16:24:06 -0000 1.101 |
62 |
+++ ChangeLog 5 Sep 2009 11:21:33 -0000 1.102 |
63 |
@@ -1,6 +1,18 @@ |
64 |
# ChangeLog for app-misc/beagle |
65 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.101 2009/06/01 16:24:06 nixnut Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.102 2009/09/05 11:21:33 loki_val Exp $ |
68 |
+ |
69 |
+*beagle-0.3.9-r2 (05 Sep 2009) |
70 |
+ |
71 |
+ 05 Sep 2009; Peter Alfredsen <loki_val@g.o> |
72 |
+ -files/beagle-0.2.7-crawltweek.patch, |
73 |
+ -files/beagle-0.2.18-mono-1.9.1.patch, |
74 |
+ -files/beagle-0.3.7-evo-sharp.patch, -beagle-0.3.9.ebuild, |
75 |
+ beagle-0.3.9-r1.ebuild, +beagle-0.3.9-r2.ebuild, |
76 |
+ +files/beagle-0.3.9-firefox-3.5.patch: |
77 |
+ Backport patch from upstream to fix bug 283740, problems with firefox |
78 |
+ extension and >=firefox-3.5 in 0.3.9-r2. Restrict 0.3.9-r1 to older |
79 |
+ versions of firefox. Clean out old patches. |
80 |
|
81 |
01 Jun 2009; nixnut <nixnut@g.o> beagle-0.3.9-r1.ebuild: |
82 |
ppc stable #269875 |
83 |
|
84 |
|
85 |
|
86 |
1.1 app-misc/beagle/beagle-0.3.9-r2.ebuild |
87 |
|
88 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.9-r2.ebuild?rev=1.1&view=markup |
89 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.9-r2.ebuild?rev=1.1&content-type=text/plain |
90 |
|
91 |
Index: beagle-0.3.9-r2.ebuild |
92 |
=================================================================== |
93 |
# Copyright 1999-2009 Gentoo Foundation |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r2.ebuild,v 1.1 2009/09/05 11:21:33 loki_val Exp $ |
96 |
|
97 |
EAPI=2 |
98 |
|
99 |
inherit base gnome.org eutils mono mozextension autotools |
100 |
|
101 |
DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for" |
102 |
HOMEPAGE="http://www.beagle-project.org/" |
103 |
LICENSE="MIT Apache-1.1" |
104 |
SLOT="0" |
105 |
KEYWORDS="~amd64 ~ppc ~x86" |
106 |
IUSE="avahi chm debug doc epiphany eds firefox +galago gtk +pdf +inotify +ole thunderbird +google +xscreensaver" |
107 |
|
108 |
#See bug 248331 for blocker reason. |
109 |
RDEPEND="!!sci-libs/beagle |
110 |
>=dev-lang/mono-1.9 |
111 |
>=app-shells/bash-3.2 |
112 |
app-arch/zip |
113 |
>=dev-db/sqlite-3.3.1 |
114 |
>=dev-dotnet/dbus-sharp-0.6.0 |
115 |
>=dev-dotnet/dbus-glib-sharp-0.4.1 |
116 |
>=dev-dotnet/taglib-sharp-2.0 |
117 |
gtk? ( |
118 |
x11-libs/libX11 |
119 |
>=gnome-base/librsvg-2.22.0 |
120 |
sys-devel/gettext |
121 |
>=dev-dotnet/gtk-sharp-2.12.6 |
122 |
>=dev-dotnet/gconf-sharp-2.24.0 |
123 |
>=dev-dotnet/glade-sharp-2.12.6 |
124 |
>=dev-dotnet/gnome-sharp-2.24.0 |
125 |
>=dev-dotnet/gnomevfs-sharp-2.24.0 |
126 |
dev-libs/gmime:0[mono] |
127 |
x11-misc/xdg-utils |
128 |
>=x11-libs/gtk+-2.14.0 |
129 |
>=dev-libs/atk-1.22.0 |
130 |
) |
131 |
eds? ( |
132 |
>=dev-dotnet/evolution-sharp-0.18.1 |
133 |
>=dev-dotnet/gconf-sharp-2.24.0 |
134 |
>=dev-dotnet/glib-sharp-2.12.6 |
135 |
dev-libs/gmime:0[mono] |
136 |
) |
137 |
ole? ( |
138 |
>=app-text/wv-1.2.3 |
139 |
>=dev-dotnet/gsf-sharp-0.8.1 |
140 |
>=app-office/gnumeric-1.4.3-r3 |
141 |
) |
142 |
|
143 |
x11-misc/shared-mime-info |
144 |
>=dev-dotnet/glib-sharp-2.12.6 |
145 |
dev-libs/gmime:0[mono] |
146 |
chm? ( dev-libs/chmlib ) |
147 |
pdf? ( >=virtual/poppler-utils-0.8 ) |
148 |
galago? ( >=dev-dotnet/galago-sharp-0.5.0 ) |
149 |
thunderbird? ( |
150 |
|| ( |
151 |
>=mail-client/mozilla-thunderbird-1.5 |
152 |
>=mail-client/mozilla-thunderbird-bin-1.5 |
153 |
) |
154 |
) |
155 |
firefox? ( |
156 |
|| ( |
157 |
>=www-client/mozilla-firefox-1.5 |
158 |
>=www-client/mozilla-firefox-bin-1.5 |
159 |
) |
160 |
) |
161 |
epiphany? ( |
162 |
>=www-client/epiphany-extensions-2.16[python] |
163 |
>=dev-libs/libbeagle-0.3.9[python] |
164 |
) |
165 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
166 |
>=dev-libs/libbeagle-0.3.9 |
167 |
avahi? ( >=net-dns/avahi-0.6.10[mono] )" |
168 |
|
169 |
DEPEND="${RDEPEND} |
170 |
doc? ( >=virtual/monodoc-1.2.4 ) |
171 |
dev-util/pkgconfig |
172 |
xscreensaver? ( x11-proto/scrnsaverproto ) |
173 |
>=dev-util/intltool-0.35" |
174 |
|
175 |
pkg_setup() { |
176 |
enewgroup beagleindex |
177 |
enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex |
178 |
if use thunderbird |
179 |
then |
180 |
if ! use inotify |
181 |
then |
182 |
eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag." |
183 |
eerror "Please enable the inotify use-flag also." |
184 |
eerror "See http://bugs.gentoo.org/263781 for more information." |
185 |
die "Please enable the inotify use-flag." |
186 |
fi |
187 |
fi |
188 |
} |
189 |
|
190 |
src_prepare() { |
191 |
#Fix bug 248703 |
192 |
sed -i -e 's:VALID_EPIPHANY_VERSIONS=":VALID_EPIPHANY_VERSIONS="2.26 2.25 2.24 :' \ |
193 |
configure || die "epiphany sed failed" |
194 |
|
195 |
#Fix bugs.gnome.org/556243 |
196 |
sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \ |
197 |
search/Beagle.Search.exe.config || die "gnome-desktop sed failed" |
198 |
#Fix bug 283740 |
199 |
epatch "${FILESDIR}/${P}-firefox-3.5.patch" |
200 |
eautoreconf |
201 |
} |
202 |
|
203 |
src_configure() { |
204 |
econf --disable-static \ |
205 |
--disable-dependency-tracking \ |
206 |
$(use_enable debug xml-dump) \ |
207 |
$(use_enable doc docs) \ |
208 |
$(use_enable epiphany epiphany-extension) \ |
209 |
$(use_enable thunderbird) \ |
210 |
$(use_enable eds evolution) \ |
211 |
$(use_enable gtk gui) \ |
212 |
$(use_enable ole gsf-sharp wv1) \ |
213 |
$(use_enable xscreensaver xss) \ |
214 |
$(use_enable inotify) \ |
215 |
$(use_enable avahi) \ |
216 |
$(use_enable google googlebackends) |
217 |
} |
218 |
|
219 |
src_install() { |
220 |
emake DESTDIR="${D}" install || die "emake install failed." |
221 |
|
222 |
dodoc AUTHORS NEWS README || die "dodoc failed" |
223 |
|
224 |
declare MOZILLA_FIVE_HOME |
225 |
if use firefox; then |
226 |
xpi_unpack "${S}"/firefox-extension/beagle.xpi \ |
227 |
|| die "Unable to find Beagle Firefox Extension" |
228 |
mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle |
229 |
|
230 |
if has_version '>=www-client/mozilla-firefox-1.5'; then |
231 |
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" |
232 |
xpi_install "${WORKDIR}"/firefox-beagle \ |
233 |
|| die "xpi install for mozilla-firefox failed!" |
234 |
fi |
235 |
if has_version '>=www-client/mozilla-firefox-bin-1.5'; then |
236 |
MOZILLA_FIVE_HOME="/opt/firefox" |
237 |
xpi_install "${WORKDIR}"/firefox-beagle \ |
238 |
|| die "xpi install for mozilla-firefox-bin failed!" |
239 |
fi |
240 |
fi |
241 |
|
242 |
if use thunderbird; then |
243 |
xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \ |
244 |
|| die "Unable to find Beagle Thunderbird Extension" |
245 |
mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle |
246 |
|
247 |
if has_version '>=mail-client/mozilla-thunderbird-1.5'; then |
248 |
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" |
249 |
xpi_install "${WORKDIR}"/thunderbird-beagle \ |
250 |
|| die "xpi install for mozilla-thunderbird failed!" |
251 |
fi |
252 |
if has_version '>=mail-client/mozilla-thunderbird-bin-1.5'; then |
253 |
MOZILLA_FIVE_HOME="/opt/thunderbird" |
254 |
xpi_install "${WORKDIR}"/thunderbird-beagle \ |
255 |
|| die "xpi install for mozilla-thunderbird-bin failed!" |
256 |
fi |
257 |
fi |
258 |
|
259 |
sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \ |
260 |
"${D}"/etc/beagle/crawl-rules/crawl-* |
261 |
|
262 |
insinto /etc/beagle/crawl-rules |
263 |
doins "${FILESDIR}/crawl-portage" |
264 |
|
265 |
keepdir "/usr/$(get_libdir)/beagle/Backends" |
266 |
diropts -o beagleindex -g beagleindex |
267 |
keepdir "/var/lib/cache/beagle/indexes" |
268 |
} |
269 |
|
270 |
pkg_postinst() { |
271 |
elog "If available, Beagle greatly benefits from using certain operating" |
272 |
elog "system features such as Extended Attributes and inotify." |
273 |
elog |
274 |
elog "If you want static queryables such as the portage tree and system" |
275 |
elog "documentation you will need to edit the /etc/beagle/crawl-* files" |
276 |
elog "and change CRAWL_ENABLE from 'no' to 'yes'." |
277 |
elog |
278 |
elog "For more info on how to create the optimal beagle environment, and" |
279 |
elog "basic usage info, see the Gentoo page of the Beagle website:" |
280 |
elog "http://www.beagle-project.org/Gentoo_Installation" |
281 |
} |