summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-04-17 05:04:22 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-04-17 05:04:22 +0000
commit002d29908767540aff2fd8a1bb4fbf8a7dea976d (patch)
treee71bba6ab529119f1af652b4304290d3b3a2a960 /app-misc
parentDrop KDE 4.2.1 (diff)
downloadhistorical-002d29908767540aff2fd8a1bb4fbf8a7dea976d.tar.gz
historical-002d29908767540aff2fd8a1bb4fbf8a7dea976d.tar.bz2
historical-002d29908767540aff2fd8a1bb4fbf8a7dea976d.zip
Drop gmime-2.4 patch. We don't need it anymore since gmime-2.2[mono] works ( bug 248657 ) and there have been reports of problems with the patch.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/beagle/ChangeLog9
-rw-r--r--app-misc/beagle/Manifest3
-rw-r--r--app-misc/beagle/beagle-0.3.9-r1.ebuild186
3 files changed, 196 insertions, 2 deletions
diff --git a/app-misc/beagle/ChangeLog b/app-misc/beagle/ChangeLog
index 86fa3c220f4b..baf3476084d6 100644
--- a/app-misc/beagle/ChangeLog
+++ b/app-misc/beagle/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/beagle
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.97 2009/04/05 11:30:30 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.98 2009/04/17 05:04:22 loki_val Exp $
+
+*beagle-0.3.9-r1 (17 Apr 2009)
+
+ 17 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +beagle-0.3.9-r1.ebuild:
+ Drop gmime-2.4 patch. We don't need it anymore since gmime-2.2[mono] works
+ ( bug 248657 ) and there have been reports of problems with the patch.
05 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
-beagle-0.3.7-r1.ebuild:
diff --git a/app-misc/beagle/Manifest b/app-misc/beagle/Manifest
index acefef45e11e..ac9624d32727 100644
--- a/app-misc/beagle/Manifest
+++ b/app-misc/beagle/Manifest
@@ -5,6 +5,7 @@ AUX beagle-log-level-warn.patch 2014 RMD160 444a772662d0cf1e2b32865c87ad8308c365
AUX crawl-portage 295 RMD160 979f70ae6172ffbbba21fcf8ab22964d10bf6b1a SHA1 6c8da69912829a6dd8f1bdcacc3d59acb31a9f63 SHA256 14b8423c0590ce9bc8b43ee75b7c51c02ec46031d89baeee8c0100bdc6adb31b
DIST beagle-0.3.8-patches.tar.lzma 6817 RMD160 a52dd21ecde6dfe8d6a264dde620db50da50b67a SHA1 fb98afd9485b5b18e00642c4d546d4c4ef11db85 SHA256 232b0177f538997562cf4518ea257ff6149f7f0b7160dd57a6f965f657e3b6e8
DIST beagle-0.3.9.tar.bz2 1895453 RMD160 f8e26ceeea50e33b04837e1d22f1a6f18fa84c1a SHA1 5fdba6ffd4a210076a954cc22f5b940705b71a6e SHA256 4252710247809df393f318450a391298fa57a3ad7b6043962734997035caf488
+EBUILD beagle-0.3.9-r1.ebuild 5683 RMD160 3c0452531ae595f39a1baea0e4678aab085ab10b SHA1 a415cad87be5080abde03f8adb930b4c7db5a85c SHA256 9fb09a82c1784d2cf81df0d27b6082851a8ad20706c1c7ef11c2fc2c8b334fed
EBUILD beagle-0.3.9.ebuild 5829 RMD160 b64adbb461974d77658b5608df29f8ed3d065349 SHA1 f0736b267c60c67324d43c3baef2bb6ef5c7e333 SHA256 42792d9dae4f50e1627d2f73963c5e099004726d5cc3fc3af002d39be6d65d34
-MISC ChangeLog 16383 RMD160 e3a43aadebd4ec4afcbdf78c2274bd6a3e7caa5a SHA1 25cc1cf35398c4c5137a0d45e36656f07c172296 SHA256 2f001a33eafdba8cbde4bf409184dc2009c184339d75c35342249a14768c4130
+MISC ChangeLog 16646 RMD160 229ea15cb3c1509af83d7904c5e55fb1b2bdf5b8 SHA1 615db59c567f88de3ab4d3b6ddf8c0275317112f SHA256 71cb6b7dc2a5209036735b30e903e6a2aac39f3ad51d5eca7c474b779499f1af
MISC metadata.xml 2635 RMD160 04de0c5e6bb7c6610c2a611fc421fd04b3b14332 SHA1 c572b7e74e85c852156ec59ff41d35756c58d0e5 SHA256 d64623a36f93a4207d15850e4ceb8ae275eeb99f9f2e1c477cb1f126050cfff6
diff --git a/app-misc/beagle/beagle-0.3.9-r1.ebuild b/app-misc/beagle/beagle-0.3.9-r1.ebuild
new file mode 100644
index 000000000000..93fd2716f71c
--- /dev/null
+++ b/app-misc/beagle/beagle-0.3.9-r1.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v 1.1 2009/04/17 05:04:22 loki_val Exp $
+
+EAPI=2
+
+inherit base gnome.org eutils 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="avahi chm debug doc epiphany eds firefox +galago gtk +pdf +inotify +ole thunderbird +google +xscreensaver"
+
+#See bug 248331 for blocker reason.
+RDEPEND="!!sci-libs/beagle
+ >=dev-lang/mono-1.9
+ >=app-shells/bash-3.2
+ app-arch/zip
+ >=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
+ gtk? (
+ x11-libs/libX11
+ >=gnome-base/librsvg-2.22.0
+ sys-devel/gettext
+ >=dev-dotnet/gtk-sharp-2.12.6
+ >=dev-dotnet/gconf-sharp-2.24.0
+ >=dev-dotnet/glade-sharp-2.12.6
+ >=dev-dotnet/gnome-sharp-2.24.0
+ >=dev-dotnet/gnomevfs-sharp-2.24.0
+ dev-libs/gmime:0[mono]
+ x11-misc/xdg-utils
+ >=x11-libs/gtk+-2.14.0
+ >=dev-libs/atk-1.22.0
+ )
+ eds? (
+ >=dev-dotnet/evolution-sharp-0.18.1
+ >=dev-dotnet/gconf-sharp-2.24.0
+ >=dev-dotnet/glib-sharp-2.12.6
+ dev-libs/gmime:0[mono]
+ )
+ ole? (
+ >=app-text/wv-1.2.3
+ >=dev-dotnet/gsf-sharp-0.8.1
+ >=app-office/gnumeric-1.4.3-r3
+ )
+
+ x11-misc/shared-mime-info
+ >=dev-dotnet/glib-sharp-2.12.6
+ dev-libs/gmime:0[mono]
+ chm? ( dev-libs/chmlib )
+ pdf? ( >=virtual/poppler-utils-0.8 )
+ 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[python]
+ >=dev-libs/libbeagle-0.3.9[python]
+ )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ >=dev-libs/libbeagle-0.3.9
+ avahi? ( >=net-dns/avahi-0.6.10[mono] )"
+
+DEPEND="${RDEPEND}
+ doc? ( >=virtual/monodoc-1.2.4 )
+ dev-util/pkgconfig
+ xscreensaver? ( x11-proto/scrnsaverproto )
+ >=dev-util/intltool-0.35"
+
+pkg_setup() {
+ enewgroup beagleindex
+ enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex
+ if use thunderbird
+ then
+ if ! use inotify
+ then
+ eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag."
+ eerror "Please enable the inotify use-flag also."
+ eerror "See http://bugs.gentoo.org/263781 for more information."
+ die "Please enable inotify use-flag."
+ fi
+ fi
+}
+
+src_prepare() {
+ #Fix bug 248703
+ sed -i -e 's:VALID_EPIPHANY_VERSIONS=":VALID_EPIPHANY_VERSIONS="2.26 2.25 2.24 :' \
+ configure.in || die "epiphany sed failed"
+
+ #Fix bugs.gnome.org/556243
+ sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \
+ search/Beagle.Search.exe.config || die "gnome-desktop sed failed"
+}
+
+src_configure() {
+ econf --disable-static \
+ --disable-dependency-tracking \
+ $(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) \
+ $(use_enable avahi) \
+ $(use_enable google googlebackends)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ dodoc AUTHORS NEWS README || die "dodoc failed"
+
+ 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"
+}