diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-05-30 20:01:33 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-05-30 20:01:33 +0000 |
commit | 9ed6e23be2081e587afb4aa4e029f00479ba3ece (patch) | |
tree | 0a00c27ba8dfdd3b44b1b8a1f9713446f2bae3a4 /app-misc/beagle | |
parent | Update license to use GPLs with font exception (diff) | |
download | historical-9ed6e23be2081e587afb4aa4e029f00479ba3ece.tar.gz historical-9ed6e23be2081e587afb4aa4e029f00479ba3ece.tar.bz2 historical-9ed6e23be2081e587afb4aa4e029f00479ba3ece.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/beagle')
-rw-r--r-- | app-misc/beagle/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/beagle/Manifest | 4 | ||||
-rw-r--r-- | app-misc/beagle/beagle-0.3.7.ebuild | 183 |
3 files changed, 192 insertions, 2 deletions
diff --git a/app-misc/beagle/ChangeLog b/app-misc/beagle/ChangeLog index 163e6c13c562..4f2f978ae690 100644 --- a/app-misc/beagle/ChangeLog +++ b/app-misc/beagle/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/beagle # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.76 2008/05/13 07:48:55 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.77 2008/05/30 20:01:33 cedk Exp $ + +*beagle-0.3.7 (28 May 2008) + + 28 May 2008; Cédric Krier <cedk@gentoo.org> +beagle-0.3.7.ebuild: + Version bump 13 May 2008; Peter Volkov <pva@gentoo.org> beagle-0.2.18.ebuild, beagle-0.3.6.ebuild: diff --git a/app-misc/beagle/Manifest b/app-misc/beagle/Manifest index a05d46a2c50b..3c28fdffbc05 100644 --- a/app-misc/beagle/Manifest +++ b/app-misc/beagle/Manifest @@ -3,7 +3,9 @@ AUX beagle-log-level-warn.patch 2014 RMD160 444a772662d0cf1e2b32865c87ad8308c365 AUX crawl-portage 295 RMD160 979f70ae6172ffbbba21fcf8ab22964d10bf6b1a SHA1 6c8da69912829a6dd8f1bdcacc3d59acb31a9f63 SHA256 14b8423c0590ce9bc8b43ee75b7c51c02ec46031d89baeee8c0100bdc6adb31b DIST beagle-0.2.18.tar.bz2 1591664 RMD160 02e7fddbc2dd79eb7172ece55481541b888380e2 SHA1 02b37003e3fc223f074b0b27cc1351f9f1964ff4 SHA256 62e62b0a90f49660a6414b2fe69affee0a0bb1b1cd40ec1ccaf005e2a7f6c57b DIST beagle-0.3.6.tar.bz2 1776852 RMD160 c113744e24c999ddebf3c1aab6a84631694dbf3b SHA1 c6202f97f0b65771f5b2b0338083e68f78f772c6 SHA256 6dd08f21341fe5ec77600be30ea0d97c60bc289b4611038c1bf193204b8ee272 +DIST beagle-0.3.7.tar.bz2 1927176 RMD160 765dda197292c48aebf49fdc72d48358614429f0 SHA1 5c845bc3fc98f63a28ea9a53ee10d40f95c802de SHA256 75e9545a463e04fa2cd5354e57083fa646fe701bc8e3a0bfaa8d4cca628fe4ae EBUILD beagle-0.2.18.ebuild 3339 RMD160 a25499ea353f0c6879cbacb09ce64161ccbb49ef SHA1 725f78a9cc74943a84e39e4fe229f1ee95a3385f SHA256 7d14fd57ad79934b11bd9b3a88f3961a152e9e11467116cf8dd104351d016134 EBUILD beagle-0.3.6.ebuild 5658 RMD160 fe578c0d7c5a6dffd18307c23e41fe9f8e7003b7 SHA1 963a2af6064ca0ab12377d23233c53c033ea7382 SHA256 6a076d3056111e81c4cff87c90ea4ee9b4af7cb94c8bd68997011463409cfae5 -MISC ChangeLog 12813 RMD160 f5308b4ea5ae6fd8e957f7ee19c6489d70c1c8e7 SHA1 3695b4c2aa2f17d193529dc47e25b6214778a07f SHA256 e4da0dd483af52576322c995ea05564933b6cf89e702498b52f8aa988b7d3f1e +EBUILD beagle-0.3.7.ebuild 5660 RMD160 054f80eb8bf572cdc84df5d55e72a1548b892518 SHA1 d1a5c91f6004e19694b76acbcb475d2ab89624d0 SHA256 ba8e4f366e053c85beba409d8607bf35a0792ce7e85aec70e66df15ece743234 +MISC ChangeLog 12928 RMD160 7b9dfcf9a9ac836f787b6b341c8fcc9a95c27f82 SHA1 d8f1ae7687b2386c85ef633b42d4e7e4fd3ff7dd SHA256 86a0fb6cf376a4e173f63205808458b263ddf056186ae7d4bf1cff7e410a92a0 MISC metadata.xml 2570 RMD160 e9333423eaf9da861d11e72dbb1cb23d19de3f2d SHA1 c2ccb7d5146b1f55f57dd1112a2e443139c9591a SHA256 cee899bd0d159c75c5f6c8e3c62aa156ce7acc077bb6aafe1f91210987364fd2 diff --git a/app-misc/beagle/beagle-0.3.7.ebuild b/app-misc/beagle/beagle-0.3.7.ebuild new file mode 100644 index 000000000000..c6d3c9536573 --- /dev/null +++ b/app-misc/beagle/beagle-0.3.7.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.7.ebuild,v 1.1 2008/05/30 20:01:33 cedk Exp $ + +EAPI=1 + +inherit gnome.org eutils autotools mono mozextension + +DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for" +HOMEPAGE="http://www.beagle-project.org/" + +LICENSE="MIT Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="chm debug doc epiphany eds firefox galago gtk pdf inotify ole thunderbird +xscreensaver" + +RDEPEND=" + >=dev-lang/mono-1.2.4 + app-shells/bash + app-arch/zip + sys-devel/gettext + x11-misc/shared-mime-info + >=dev-libs/gmime-2.2.1 + >=dev-libs/libxml2-2.6.19 + >=dev-db/sqlite-3.3.1 + >=dev-dotnet/dbus-sharp-0.6.0 + >=dev-dotnet/dbus-glib-sharp-0.4.1 + >=dev-dotnet/taglib-sharp-2.0 + >=dev-dotnet/gtk-sharp-2.8 + gtk? ( >=gnome-base/libgnome-2.0 + >=gnome-base/gnome-vfs-2.0 + >=dev-dotnet/gtk-sharp-2.0 + >=x11-libs/gtk+-2.6.0 + >=dev-libs/atk-1.2.4 + >=gnome-base/librsvg-2.0 + >=dev-dotnet/gconf-sharp-2.4 + >=dev-dotnet/glade-sharp-2.4 + >=dev-dotnet/gnome-sharp-2.4 + >=dev-dotnet/gnomevfs-sharp-2.4 ) + eds? ( >=dev-dotnet/evolution-sharp-0.13.3 + >=dev-dotnet/gconf-sharp-2.4 ) + ole? ( >=app-text/wv-1.2.3 + >=dev-dotnet/gsf-sharp-0.8 + >=app-office/gnumeric-1.4.3-r3 ) + chm? ( dev-libs/chmlib ) + pdf? ( >=app-text/poppler-0.5.1 ) + galago? ( >=dev-dotnet/galago-sharp-0.5.0 ) + thunderbird? ( || ( >=mail-client/mozilla-thunderbird-1.5 + >=mail-client/mozilla-thunderbird-bin-1.5 ) ) + firefox? ( || ( >=www-client/mozilla-firefox-1.5 + >=www-client/mozilla-firefox-bin-1.5 ) ) + epiphany? ( >=www-client/epiphany-extensions-2.16 ) + xscreensaver? ( x11-libs/libXScrnSaver ) + dev-libs/libbeagle" + # Avahi code is currently experimental + #avahi? ( >=net-dns/avahi-0.6.10 ) + +DEPEND="${RDEPEND} + doc? ( >=dev-util/monodoc-1.2.4 ) + dev-util/pkgconfig + xscreensaver? ( x11-proto/scrnsaverproto ) + >=dev-util/intltool-0.35" + +pkg_setup() { + local fail_gmime="Re-emerge dev-libs/gmime with USE mono." + local fail_libbeagle="Re-emerge dev-libs/libbeagle with USE=python." + local fail_epiphany="Re-emerge www-client/epiphany-extensions with USE=python." + + if ! built_with_use dev-libs/gmime mono; then + eerror "${fail_gmime}" + die "${fail_gmime}" + fi + + if use epiphany; then + if ! built_with_use dev-libs/libbeagle python; then + eerror "${fail_libbeagle}" + die "${fail_libbeagle}" + fi + if ! built_with_use www-client/epiphany-extensions python; then + eerror "${fail_epiphany}" + die "${fail_epiphany}" + fi + fi + + enewgroup beagleindex + enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Multilib fix + sed -i -e 's:prefix mono`/lib:libdir mono`:' \ + configure.in || die "sed failed" + + eautoreconf + intltoolize --force || die "intltoolize failed" +} + +src_compile() { + econf \ + --enable-sqlite3 \ + --disable-avahi \ + --disable-internal-taglib \ + $(use_enable debug xml-dump) \ + $(use_enable doc docs) \ + $(use_enable epiphany epiphany-extension) \ + $(use_enable thunderbird) \ + $(use_enable eds evolution) \ + $(use_enable gtk gui) \ + $(use_enable ole gsf-sharp wv1) \ + $(use_enable xscreensaver xss) \ + $(use_enable inotify) + # Avahi code is experimental, explicitly disabled above + #$(use_enable avahi) \ + + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + + dodoc AUTHORS NEWS README + + declare MOZILLA_FIVE_HOME + if use firefox; then + xpi_unpack "${S}"/firefox-extension/beagle.xpi \ + || die "Unable to find Beagle Firefox Extension" + mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle + + if has_version '>=www-client/mozilla-firefox-1.5'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" + xpi_install "${WORKDIR}"/firefox-beagle \ + || die "xpi install for mozilla-firefox failed!" + fi + if has_version '>=www-client/mozilla-firefox-bin-1.5'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${WORKDIR}"/firefox-beagle \ + || die "xpi install for mozilla-firefox-bin failed!" + fi + fi + + if use thunderbird; then + xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \ + || die "Unable to find Beagle Thunderbird Extension" + mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle + + if has_version '>=mail-client/mozilla-thunderbird-1.5'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" + xpi_install "${WORKDIR}"/thunderbird-beagle \ + || die "xpi install for mozilla-thunderbird failed!" + fi + if has_version '>=mail-client/mozilla-thunderbird-bin-1.5'; then + MOZILLA_FIVE_HOME="/opt/thunderbird" + xpi_install "${WORKDIR}"/thunderbird-beagle \ + || die "xpi install for mozilla-thunderbird-bin failed!" + fi + fi + + sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \ + "${D}"/etc/beagle/crawl-rules/crawl-* + + insinto /etc/beagle/crawl-rules + doins "${FILESDIR}/crawl-portage" + + keepdir "/usr/$(get_libdir)/beagle/Backends" + diropts -o beagleindex -g beagleindex + keepdir "/var/lib/cache/beagle/indexes" +} + +pkg_postinst() { + elog "If available, Beagle greatly benefits from using certain operating" + elog "system features such as Extended Attributes and inotify." + elog + elog "If you want static queryables such as the portage tree and system" + elog "documentation you will need to edit the /etc/beagle/crawl-* files" + elog "and change CRAWL_ENABLE from 'no' to 'yes'." + elog + elog "For more info on how to create the optimal beagle environment, and" + elog "basic usage info, see the Gentoo page of the Beagle website:" + elog "http://www.beagle-project.org/Gentoo_Installation" +} |