Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/beagle: ChangeLog beagle-0.3.6.ebuild beagle-0.3.5.ebuild
Date: Sun, 20 Apr 2008 11:37:23
Message-Id: E1JnXrF-00038n-5j@stork.gentoo.org
1 cedk 08/04/20 11:37:21
2
3 Modified: ChangeLog
4 Added: beagle-0.3.6.ebuild
5 Removed: beagle-0.3.5.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.74 app-misc/beagle/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 4 Apr 2008 20:35:31 -0000 1.73
24 +++ ChangeLog 20 Apr 2008 11:37:20 -0000 1.74
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-misc/beagle
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.73 2008/04/04 20:35:31 cedk Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.74 2008/04/20 11:37:20 cedk Exp $
30 +
31 +*beagle-0.3.6 (20 Apr 2008)
32 +
33 + 20 Apr 2008; Cédric Krier <cedk@g.o> -beagle-0.3.5.ebuild,
34 + +beagle-0.3.6.ebuild:
35 + Version bump
36
37 *beagle-0.3.5 (04 Apr 2008)
38
39
40
41
42 1.1 app-misc/beagle/beagle-0.3.6.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/beagle-0.3.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: beagle-0.3.6.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.6.ebuild,v 1.1 2008/04/20 11:37:20 cedk Exp $
52
53 EAPI=1
54
55 inherit gnome.org eutils autotools mono mozextension
56
57 DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for"
58 HOMEPAGE="http://www.beagle-project.org"
59
60 LICENSE="MIT Apache-1.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="chm debug doc epiphany eds firefox galago gtk pdf inotify ole thunderbird +xscreensaver"
64
65 RDEPEND="
66 >=dev-lang/mono-1.2.4
67 app-shells/bash
68 app-arch/zip
69 sys-devel/gettext
70 x11-misc/shared-mime-info
71 >=dev-libs/gmime-2.2.1
72 >=dev-libs/libxml2-2.6.19
73 >=dev-db/sqlite-3.3.1
74 >=dev-dotnet/dbus-sharp-0.6.0
75 >=dev-dotnet/dbus-glib-sharp-0.4.1
76 >=dev-dotnet/taglib-sharp-2.0
77 >=dev-dotnet/gtk-sharp-2.8
78 gtk? ( >=gnome-base/libgnome-2.0
79 >=gnome-base/gnome-vfs-2.0
80 >=dev-dotnet/gtk-sharp-2.0
81 >=x11-libs/gtk+-2.6.0
82 >=dev-libs/atk-1.2.4
83 >=gnome-base/librsvg-2.0
84 >=dev-dotnet/gconf-sharp-2.4
85 >=dev-dotnet/glade-sharp-2.4
86 >=dev-dotnet/gnome-sharp-2.4
87 >=dev-dotnet/gnomevfs-sharp-2.4 )
88 eds? ( >=dev-dotnet/evolution-sharp-0.13.3
89 >=dev-dotnet/gconf-sharp-2.4 )
90 ole? ( >=app-text/wv-1.2.3
91 >=dev-dotnet/gsf-sharp-0.8
92 >=app-office/gnumeric-1.4.3-r3 )
93 chm? ( app-doc/chmlib )
94 pdf? ( >=app-text/poppler-0.5.1 )
95 galago? ( >=dev-dotnet/galago-sharp-0.5.0 )
96 thunderbird? ( || ( >=mail-client/mozilla-thunderbird-1.5
97 >=mail-client/mozilla-thunderbird-bin-1.5 ) )
98 firefox? ( || ( >=www-client/mozilla-firefox-1.5
99 >=www-client/mozilla-firefox-bin-1.5 ) )
100 epiphany? ( >=www-client/epiphany-extensions-2.16 )
101 xscreensaver? ( x11-libs/libXScrnSaver )
102 dev-libs/libbeagle"
103 # Avahi code is currently experimental
104 #avahi? ( >=net-dns/avahi-0.6.10 )
105
106 DEPEND="${RDEPEND}
107 doc? ( >=dev-util/monodoc-1.2.4 )
108 dev-util/pkgconfig
109 xscreensaver? ( x11-proto/scrnsaverproto )
110 >=dev-util/intltool-0.35"
111
112 pkg_setup() {
113 local fail_gmime="Re-emerge dev-libs/gmime with USE mono."
114 local fail_libbeagle="Re-emerge dev-libs/libbeagle with USE=python."
115 local fail_epiphany="Re-emerge www-client/epiphany-extensions with USE=python."
116
117 if ! built_with_use dev-libs/gmime mono; then
118 eerror "${fail_gmime}"
119 die "${fail_gmime}"
120 fi
121
122 if use epiphany; then
123 if !built_with_use dev-libs/libbeagle python; then
124 eerror "${fail_libbeagle}"
125 die "${fail_libbeagle}"
126 fi
127 if !built_with_use www-client/epiphany-extensions python; then
128 eerror "${fail_epiphany}"
129 die "${fail_epiphany}"
130 fi
131 fi
132
133 enewgroup beagleindex
134 enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex
135 }
136
137 src_unpack() {
138 unpack ${A}
139 cd "${S}"
140
141 # Multilib fix
142 sed -i -e 's:prefix mono`/lib:libdir mono`:' \
143 configure.in || die "sed failed"
144
145 eautoreconf
146 intltoolize --force || die "intltoolize failed"
147 }
148
149 src_compile() {
150 econf \
151 --enable-sqlite3 \
152 --disable-avahi \
153 --disable-internal-taglib \
154 $(use_enable debug xml-dump) \
155 $(use_enable doc docs) \
156 $(use_enable epiphany epiphany-extension) \
157 $(use_enable thunderbird) \
158 $(use_enable eds evolution) \
159 $(use_enable gtk gui) \
160 $(use_enable ole gsf-sharp wv1) \
161 $(use_enable xscreensaver xss) \
162 $(use_enable inotify)
163 # Avahi code is experimental, explicitly disabled above
164 #$(use_enable avahi) \
165
166 emake || die "emake failed."
167 }
168
169 src_install() {
170 emake DESTDIR="${D}" install || die "emake install failed."
171
172 dodoc AUTHORS NEWS README
173
174 declare MOZILLA_FIVE_HOME
175 if use firefox; then
176 xpi_unpack "${S}"/firefox-extension/beagle.xpi \
177 || die "Unable to find Beagle Firefox Extension"
178 mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle
179
180 if has_version '>=www-client/mozilla-firefox-1.5'; then
181 MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
182 xpi_install "${WORKDIR}"/firefox-beagle \
183 || die "xpi install for mozilla-firefox failed!"
184 fi
185 if has_version '>=www-client/mozilla-firefox-bin-1.5'; then
186 MOZILLA_FIVE_HOME="/opt/firefox"
187 xpi_install "${WORKDIR}"/firefox-beagle \
188 || die "xpi install for mozilla-firefox-bin failed!"
189 fi
190 fi
191
192 if use thunderbird; then
193 xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \
194 || die "Unable to find Beagle Thunderbird Extension"
195 mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle
196
197 if has_version '>=mail-client/mozilla-thunderbird-1.5'; then
198 MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
199 xpi_install "${WORKDIR}"/thunderbird-beagle \
200 || die "xpi install for mozilla-thunderbird failed!"
201 fi
202 if has_version '>=mail-client/mozilla-thunderbird-bin-1.5'; then
203 MOZILLA_FIVE_HOME="/opt/thunderbird"
204 xpi_install "${WORKDIR}"/thunderbird-beagle \
205 || die "xpi install for mozilla-thunderbird-bin failed!"
206 fi
207 fi
208
209 sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \
210 "${D}"/etc/beagle/crawl-rules/crawl-*
211
212 insinto /etc/beagle/crawl-rules
213 doins "${FILESDIR}/crawl-portage"
214
215 keepdir "/usr/$(get_libdir)/beagle/Backends"
216 diropts -o beagleindex -g beagleindex
217 keepdir "/var/lib/cache/beagle/indexes"
218 }
219
220 pkg_postinst() {
221 elog "If available, Beagle greatly benefits from using certain operating"
222 elog "system features such as Extended Attributes and inotify."
223 elog
224 elog "If you want static queryables such as the portage tree and system"
225 elog "documentation you will need to edit the /etc/beagle/crawl-* files"
226 elog "and change CRAWL_ENABLE from 'no' to 'yes'."
227 elog
228 elog "For more info on how to create the optimal beagle environment, and"
229 elog "basic usage info, see the Gentoo page of the Beagle website:"
230 elog "http://www.beagle-project.org/Gentoo_Installation"
231 }
232
233
234
235 --
236 gentoo-commits@l.g.o mailing list