summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2006-04-09 20:17:05 +0000
committerLuis Medinas <metalgod@gentoo.org>2006-04-09 20:17:05 +0000
commit18edfb7e5f2bf3cd5025f872c266acbad20f843a (patch)
tree2f7645a864460582c121a7143e27a1b96c7b4049 /app-misc/beagle
parentAdded patch for --dbdir (diff)
downloadhistorical-18edfb7e5f2bf3cd5025f872c266acbad20f843a.tar.gz
historical-18edfb7e5f2bf3cd5025f872c266acbad20f843a.tar.bz2
historical-18edfb7e5f2bf3cd5025f872c266acbad20f843a.zip
Enable support for beagle crawl thanks to Pat Double <double@inebraska.com>. Added a patch to fix crawl searches path's.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'app-misc/beagle')
-rw-r--r--app-misc/beagle/ChangeLog10
-rw-r--r--app-misc/beagle/Manifest24
-rw-r--r--app-misc/beagle/beagle-0.2.4-r1.ebuild139
-rw-r--r--app-misc/beagle/files/beagle-0.2.4-crawltweek.patch22
-rw-r--r--app-misc/beagle/files/crawl-portage15
-rw-r--r--app-misc/beagle/files/digest-beagle-0.2.4-r13
6 files changed, 206 insertions, 7 deletions
diff --git a/app-misc/beagle/ChangeLog b/app-misc/beagle/ChangeLog
index 8727209def5d..ecdf7a8bd4d0 100644
--- a/app-misc/beagle/ChangeLog
+++ b/app-misc/beagle/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/beagle
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.21 2006/04/08 13:44:37 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.22 2006/04/09 20:17:05 metalgod Exp $
+
+*beagle-0.2.4-r1 (09 Apr 2006)
+
+ 09 Apr 2006; Luis Medinas <metalgod@gentoo.org>
+ +files/beagle-0.2.4-crawltweek.patch, +files/crawl-portage,
+ +beagle-0.2.4-r1.ebuild:
+ Enable support for beagle crawl thanks to Pat Double <double@inebraska.com>.
+ Added a patch to fix crawl searches path's.
*beagle-0.2.4 (08 Apr 2006)
diff --git a/app-misc/beagle/Manifest b/app-misc/beagle/Manifest
index 7a344703abbb..4ae3ea707962 100644
--- a/app-misc/beagle/Manifest
+++ b/app-misc/beagle/Manifest
@@ -1,12 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 09f6803d790b8e4c1ffb62286617d863 ChangeLog 4014
-RMD160 64f11663a931687e61c63e40f39fa71cb8bcd6ef ChangeLog 4014
-SHA256 8077041198f31b8a63074ad6582f465eac3fe529cbe167ad9a463976da688172 ChangeLog 4014
+MD5 5478f01911c18f7342658e9588e82754 ChangeLog 4311
+RMD160 a3f23fdb5163c28a5afd454ab7782e1ba6649055 ChangeLog 4311
+SHA256 dc68d1747bf211bf5204e4034946c4ce329ff8a6926394537a6c196af0e386df ChangeLog 4311
MD5 a33caf56fdf32402acce053372e6433a beagle-0.2.3-r1.ebuild 3145
RMD160 d8e45344d7c43a93cf89d6506a33befa5d5c4f42 beagle-0.2.3-r1.ebuild 3145
SHA256 24855cf6f2b5a7c3635035d403156c4071c55c3416e2f6ee3edef3b096594461 beagle-0.2.3-r1.ebuild 3145
+MD5 3a2efdc2bb12f3768a02bc2622f56cf6 beagle-0.2.4-r1.ebuild 3766
+RMD160 c5ace862a157a7bae789ae8d8e05b1a87cf1a603 beagle-0.2.4-r1.ebuild 3766
+SHA256 369d612e72f31a05fb2a798f2abd583af3f725b053bbfddcad0b5e3c83b9efc4 beagle-0.2.4-r1.ebuild 3766
MD5 ecc70d92c1ff9a94a443526fb89600c2 beagle-0.2.4.ebuild 3142
RMD160 be8d34898655a620f312550eff69db7af948de4b beagle-0.2.4.ebuild 3142
SHA256 6c96ff4bb1872e7e648b32f74d7122f6261ed1885584def2b1c07a3e9dd7e59b beagle-0.2.4.ebuild 3142
@@ -19,19 +22,28 @@ SHA256 23e88f3ad291fd923cf9b346ca7cdcfedd975a9156683a36fa660f2a3d3852e1 files/be
MD5 1a8c708b3a3d59b7474acbebf8cfecd0 files/beagle-0.2.4-CVE-2006-1296.patch 556
RMD160 2fd1ca379d45dc719c8e96703fcb624ffba964ca files/beagle-0.2.4-CVE-2006-1296.patch 556
SHA256 fe578c1c594001f652c4f5f977cb28474f7c44dc64a0e4a63e3006d7ab7f287e files/beagle-0.2.4-CVE-2006-1296.patch 556
+MD5 5ccebeca286dc86fcff481bae0c78efe files/beagle-0.2.4-crawltweek.patch 905
+RMD160 d6e00ebf33d77417b68c37475fe98320b32494cd files/beagle-0.2.4-crawltweek.patch 905
+SHA256 cd5fdec3ebc8bd4235f42863cba8cddda68cea272cb13351750302123325ed84 files/beagle-0.2.4-crawltweek.patch 905
+MD5 fb0e78a46198d9730e9f559a129c2cb0 files/crawl-portage 241
+RMD160 eb4bf9abac3f06788d699dd410e8644300fd4145 files/crawl-portage 241
+SHA256 aa5588402cf469195b3f0ea70b60c34047ad2119d177b8911411fc70349534b1 files/crawl-portage 241
MD5 61cf8ee79bc77bbf9093a7565d4a3454 files/digest-beagle-0.2.3-r1 244
RMD160 e71c7ab57f0fa065302d460c2059307ff93c831c files/digest-beagle-0.2.3-r1 244
SHA256 ba59a434d430c770e1bafd469dd29265b9302e2196032a0f67142b2ec78b0d8f files/digest-beagle-0.2.3-r1 244
MD5 5c3dbe77ffde45cb741b4ca94991fbd9 files/digest-beagle-0.2.4 244
RMD160 48fde338edc40a4429d5cceaad4d4d08349a9f88 files/digest-beagle-0.2.4 244
SHA256 a62f3cd6363b760d83f091c12cb18cab0f48590d44dbc144cd159fad62d848b1 files/digest-beagle-0.2.4 244
+MD5 5c3dbe77ffde45cb741b4ca94991fbd9 files/digest-beagle-0.2.4-r1 244
+RMD160 48fde338edc40a4429d5cceaad4d4d08349a9f88 files/digest-beagle-0.2.4-r1 244
+SHA256 a62f3cd6363b760d83f091c12cb18cab0f48590d44dbc144cd159fad62d848b1 files/digest-beagle-0.2.4-r1 244
MD5 8c88e9a257d221daea17b7175a7f7947 metadata.xml 314
RMD160 e3e5e79de0549124c4693d22e1a5c35a13510e87 metadata.xml 314
SHA256 1a2e1ce6af1bd26a8f0a16c348c39be963f09c5c4986b66c3622f32c4e4f367e metadata.xml 314
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD4DBQFEN72zwUpWvClEHQoRAt/9AJ4pVeifwHmDg9fYRC+TQ9YNdtL76wCWJd8P
-SV3fKFMOU4q/9KaND6s8MA==
-=RzL+
+iD8DBQFEOWs7wUpWvClEHQoRAmfhAJ0bcttdFdVsBwuLHWaZ2WcaHrvbpgCfXjPg
+uDkOJ1gKdRnRAJbo1LxEOmA=
+=GXqK
-----END PGP SIGNATURE-----
diff --git a/app-misc/beagle/beagle-0.2.4-r1.ebuild b/app-misc/beagle/beagle-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..25dbca3bf105
--- /dev/null
+++ b/app-misc/beagle/beagle-0.2.4-r1.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.2.4-r1.ebuild,v 1.1 2006/04/09 20:17:05 metalgod Exp $
+
+inherit gnome.org eutils autotools mono
+
+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="debug evo gtk ole pdf python"
+
+RDEPEND="
+ >=dev-lang/mono-1.1.10
+ app-shells/bash
+ app-arch/zip
+ sys-devel/gettext
+ >=x11-libs/gtk+-2.6.0
+ >=dev-libs/atk-1.2.4
+ >=dev-libs/gmime-2.1.19
+ >=dev-dotnet/gtk-sharp-2.8
+ >=gnome-base/librsvg-2.0
+ >=media-libs/libexif-0.6.0
+ >=dev-libs/libxml2-2.6.19
+
+ || ( >=dev-db/sqlite-3.3.1
+ =dev-db/sqlite-2* )
+
+ || ( ( x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXt )
+ virtual/x11 )
+
+ gtk? ( >=dev-dotnet/gconf-sharp-2.8
+ >=dev-dotnet/glade-sharp-2.8
+ >=dev-dotnet/gnome-sharp-2.8
+ >=dev-dotnet/gnome-sharp-2.8 )
+
+ python? ( >=dev-lang/python-2.3
+ >=dev-python/pygtk-2.6 )
+
+ evo? ( >=dev-dotnet/evolution-sharp-0.10.2
+ >=dev-dotnet/gconf-sharp-2.3 )
+
+ ole? ( >=app-text/wv-1.2.0
+ >=dev-dotnet/gsf-sharp-0.6
+ >=app-office/gnumeric-1.4.3-r3 )
+"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ || ( ( x11-proto/xproto
+ x11-proto/scrnsaverproto )
+ virtual/x11 )"
+
+pkg_setup() {
+ if built_with_use dev-libs/gmime mono
+ then
+ einfo "Mono support enabled in dev-libs/gmime, I will continue..."
+ else
+ eerror "Please rebuild dev-libs/gmime, with mono support enabled!"
+ eerror "Try USE=\"mono\" emerge dev-libs/gmime,"
+ eerror "or add \"mono\" to your USE string in /etc/make.conf and"
+ eerror "emerge dev-libs/gmime."
+ die "Mono USE flag must be enabled in dev-libs/gmime"
+ fi
+
+ enewgroup beagleindex
+ enewuser beagleindex -1 /bin/bash /var/lib/cache/beagle beagleindex
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # To prevent excessive revdep-rebuild, gentoo's libexif is sticking to
+ # soversion 10 for now.
+ sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
+
+ # Multilib fix
+ sed -i -e 's:prefix mono`/lib:libdir mono`:' \
+ ${S}/configure.in || die "sed failed"
+
+ # Don't log so much
+ ! use debug && sed -i -e \
+ 's/defaultLevel = LogLevel.Debug/defaultLevel = LogLevel.Info/' \
+ Util/Logger.cs
+
+ epatch ${FILESDIR}/${PN}-0.2.1-multilib.patch
+ epatch ${FILESDIR}/${P}-CVE-2006-1296.patch
+ epatch ${FILESDIR}/${P}-crawltweek.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_enable evo evolution) \
+ $(use_enable gtk gui) \
+ $(use_enable python ) \
+ --enable-libbeagle \
+ || die "configure failed"
+ emake || die "Make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Install failed!"
+
+ dodir /usr/share/beagle
+ insinto /usr/share/beagle
+ doins mozilla-extension/beagle.xpi
+
+ dodoc AUTHORS INSTALL NEWS README
+
+ sed -i 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' ${D}/etc/beagle/crawl-*
+
+ insinto /etc/beagle
+ doins ${FILESDIR}/crawl-portage
+
+ keepdir /usr/$(get_libdir)/beagle/Backends
+ keepdir /var/lib/cache/beagle/indexes
+ chmod beagleindex:beagleindex /var/lib/cache/beagle/indexes
+}
+
+pkg_postinst() {
+ einfo "If available, Beagle greatly benefits from using certain operating"
+ einfo "system features such as Extended Attributes and inotify."
+ echo
+ einfo "If you want static queryables such as the portage tree and system"
+ einfo "documentation you will need to edit the /etc/beagle/crawl-* files"
+ einfo "and change CRAWL_ENABLE from 'no' to 'yes'."
+ echo
+ einfo "For more info on how to create the optimal beagle environment, and"
+ einfo "basic usage info, see the Gentoo page of the Beagle website:"
+ einfo " http://www.beagle-project.org/Gentoo_Installation"
+}
+
diff --git a/app-misc/beagle/files/beagle-0.2.4-crawltweek.patch b/app-misc/beagle/files/beagle-0.2.4-crawltweek.patch
new file mode 100644
index 000000000000..546b376e6e2d
--- /dev/null
+++ b/app-misc/beagle/files/beagle-0.2.4-crawltweek.patch
@@ -0,0 +1,22 @@
+--- tools/crawl-rules/crawl-applications.orig 2006-04-09 20:50:31.639640376 +0100
++++ tools/crawl-rules/crawl-applications 2006-04-09 20:55:09.307428456 +0100
+@@ -2,7 +2,7 @@
+
+ CRAWL_INDEX_NAME="applications"
+
+-CRAWL_PATHS="/usr/share/applications /usr/local/share/applications /opt/gnome/share/applications /opt/kde3/share/applications"
++CRAWL_PATHS="/usr/share/applications /usr/local/share/applications /usr/kde"
+
+ CRAWL_RECURSIVE="yes"
+
+--- tools/crawl-rules/crawl-documentation.orig 2006-04-09 20:55:29.728324008 +0100
++++ tools/crawl-rules/crawl-documentation 2006-04-09 20:58:47.749220256 +0100
+@@ -2,7 +2,7 @@
+
+ CRAWL_INDEX_NAME="documentation"
+
+-CRAWL_PATHS="/usr/share/doc /usr/local/share/doc /opt/kde3/share/doc /opt/gnome/share/gnome/help"
++CRAWL_PATHS="/usr/share/doc /usr/local/share/doc /usr/share/gnome/html /usr/share/gnome/help"
+
+ CRAWL_ALLOW_PATTERNS="*.xml,*.html,*.docbook"
+
diff --git a/app-misc/beagle/files/crawl-portage b/app-misc/beagle/files/crawl-portage
new file mode 100644
index 000000000000..bb891c2e3742
--- /dev/null
+++ b/app-misc/beagle/files/crawl-portage
@@ -0,0 +1,15 @@
+# Beagle Crawl Setup
+
+CRAWL_ENABLED="no"
+
+CRAWL_INDEX_NAME="portage"
+
+CRAWL_PATHS="/usr/portage /var/db/pkg"
+
+CRAWL_ALLOW_PATTERNS="*.ebuild,ChangeLog,metadata.xml"
+
+CRAWL_RECURSIVE="yes"
+
+CRAWL_DISABLE_FILTERING="no"
+
+CRAWL_CACHE_TEXT="no"
diff --git a/app-misc/beagle/files/digest-beagle-0.2.4-r1 b/app-misc/beagle/files/digest-beagle-0.2.4-r1
new file mode 100644
index 000000000000..570998561159
--- /dev/null
+++ b/app-misc/beagle/files/digest-beagle-0.2.4-r1
@@ -0,0 +1,3 @@
+MD5 bd915b5f7de56c91dae2c26121c586fa beagle-0.2.4.tar.bz2 1352602
+RMD160 a830dfcfdedc870121fb6e391d5006c8d91817e8 beagle-0.2.4.tar.bz2 1352602
+SHA256 9b026458a17e0dbefddf2f9ca186a9e37682e153b19427219028437002d7edad beagle-0.2.4.tar.bz2 1352602