summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-03-10 16:34:06 +0000
committerPacho Ramos <pacho@gentoo.org>2012-03-10 16:34:06 +0000
commit82ebe5967db0c76ca3a67a196fe89dbbeb4d39f9 (patch)
treef3748d66e52b650698d9f97924e80e5a7e1fead3 /app-misc
parentMarking libnids-1.24-r1 ppc for bug 397159 (diff)
downloadhistorical-82ebe5967db0c76ca3a67a196fe89dbbeb4d39f9.tar.gz
historical-82ebe5967db0c76ca3a67a196fe89dbbeb4d39f9.tar.bz2
historical-82ebe5967db0c76ca3a67a196fe89dbbeb4d39f9.zip
Drop galago support as it's dead and will go away soon.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/beagle/ChangeLog7
-rw-r--r--app-misc/beagle/Manifest9
-rw-r--r--app-misc/beagle/beagle-0.3.9-r6.ebuild204
3 files changed, 215 insertions, 5 deletions
diff --git a/app-misc/beagle/ChangeLog b/app-misc/beagle/ChangeLog
index 8364a9710fdb..40d0e6396348 100644
--- a/app-misc/beagle/ChangeLog
+++ b/app-misc/beagle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/beagle
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.131 2012/01/21 13:13:23 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.132 2012/03/10 16:34:06 pacho Exp $
+
+*beagle-0.3.9-r6 (10 Mar 2012)
+
+ 10 Mar 2012; Pacho Ramos <pacho@gentoo.org> +beagle-0.3.9-r6.ebuild:
+ Drop galago support as it's dead and will go away soon.
21 Jan 2012; Pacho Ramos <pacho@gentoo.org> -beagle-0.3.9-r3.ebuild,
-beagle-0.3.9-r4.ebuild:
diff --git a/app-misc/beagle/Manifest b/app-misc/beagle/Manifest
index 29a93e46bf15..ec15737e2edb 100644
--- a/app-misc/beagle/Manifest
+++ b/app-misc/beagle/Manifest
@@ -12,12 +12,13 @@ AUX beagle-0.3.9-update-tileindex.patch 722 RMD160 00a50f6b87552fcba645f6d336024
AUX crawl-portage 295 RMD160 979f70ae6172ffbbba21fcf8ab22964d10bf6b1a SHA1 6c8da69912829a6dd8f1bdcacc3d59acb31a9f63 SHA256 14b8423c0590ce9bc8b43ee75b7c51c02ec46031d89baeee8c0100bdc6adb31b
DIST beagle-0.3.9.tar.bz2 1895453 RMD160 f8e26ceeea50e33b04837e1d22f1a6f18fa84c1a SHA1 5fdba6ffd4a210076a954cc22f5b940705b71a6e SHA256 4252710247809df393f318450a391298fa57a3ad7b6043962734997035caf488
EBUILD beagle-0.3.9-r5.ebuild 6149 RMD160 86afa270bbe20f6a902271aa5ee25597dbe758a8 SHA1 1f5b77c6484abeb7c6888b2e3f101e96b62ed715 SHA256 18459f8392267ca050b950378b2b015bea93d2333291966f725aa62f73e69d77
-MISC ChangeLog 22127 RMD160 eee7575bd385c55a7e7f435d6ed3fe0c37e6b2d4 SHA1 c521e6457227cb2ac5ff74e4abdc7c1bef5242ea SHA256 3e837ee1b4384a40ea85511f1c7f90744e14175e8d24f613713a87ad13d25ae0
+EBUILD beagle-0.3.9-r6.ebuild 6075 RMD160 e2964a868b97dc55fde0dfcd371fbe4618f9a2ef SHA1 4e0d635fb4c41e646aba8a05027d3353753319fb SHA256 25c7822712523b40797bf8d779c77217b36bacf3761bc3c1df2a537407e15b05
+MISC ChangeLog 22289 RMD160 d26d2e32d44369ef4e362778a4e88db89b8f2768 SHA1 9bba7e2e2cccbb39ea06820c82f6db5ac607139b SHA256 dcbde5c04a12bcc30b065d6dd1313019f4e639f3f3a862e5fb733e0a0dfb92d9
MISC metadata.xml 2338 RMD160 d2b362d854f48f950d99010537cd9978f02cf983 SHA1 213aa5501dbce6c8806d6c83fbcb80ac2d6023b8 SHA256 1e026522c9fbb32db4e60cd60da0cd73745d2f8b7d07aee889e787b9b688e42d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk8aufgACgkQCaWpQKGI+9RmfACfXtkNmGPVOO/7V7//04qKqLD6
-RY0An3C2oZYVy6wUHjRthXkHqJEHJTIF
-=QKo8
+iEYEARECAAYFAk9bgoQACgkQCaWpQKGI+9SEQQCfZQOYhjgBTD33i9FjdJqCclZC
+AicAn37FjXHpWkzmky1MejSbCdYeLKx9
+=r5j3
-----END PGP SIGNATURE-----
diff --git a/app-misc/beagle/beagle-0.3.9-r6.ebuild b/app-misc/beagle/beagle-0.3.9-r6.ebuild
new file mode 100644
index 000000000000..7e05d1d5b5da
--- /dev/null
+++ b/app-misc/beagle/beagle-0.3.9-r6.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2012 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-r6.ebuild,v 1.1 2012/03/10 16:34:06 pacho Exp $
+
+EAPI="4"
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit base gnome.org eutils mono mozextension autotools
+
+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 eds firefox gtk +pdf +inotify +ole thunderbird +google +xscreensaver"
+
+#See bug 248331 for blocker reason.
+RDEPEND="!!sci-libs/beagle
+ >dev-lang/mono-2.4
+ >=app-shells/bash-3.2
+ app-arch/zip
+ >=dev-db/sqlite-3.3.1
+ >=dev-dotnet/ndesk-dbus-0.6.0
+ >=dev-dotnet/ndesk-dbus-glib-0.4.1
+ >=dev-dotnet/taglib-sharp-2.0
+ gtk? (
+ x11-libs/libX11
+ >=gnome-base/librsvg-2.22.0:2
+ sys-devel/gettext
+ >=dev-dotnet/gtk-sharp-2.12.6:2
+ >=dev-dotnet/gconf-sharp-2.24.0:2
+ >=dev-dotnet/glade-sharp-2.12.6:2
+ >=dev-dotnet/gnome-sharp-2.24.0:2
+ >=dev-dotnet/gnomevfs-sharp-2.24.0:2
+ x11-misc/xdg-utils
+ >=x11-libs/gtk+-2.14.0:2
+ >=dev-libs/atk-1.22.0
+ )
+ eds? (
+ >=dev-dotnet/evolution-sharp-0.18.1
+ >=dev-dotnet/gconf-sharp-2.24.0:2
+ >=dev-dotnet/glib-sharp-2.12.6:2
+ )
+ 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:2
+ dev-libs/gmime:2.4[mono]
+ chm? ( dev-libs/chmlib )
+ pdf? ( >=app-text/poppler-0.12.3-r3[utils] )
+ thunderbird? (
+ || (
+ >=mail-client/thunderbird-1.5
+ >=mail-client/thunderbird-bin-1.5
+ )
+ )
+ firefox? (
+ || (
+ >=www-client/firefox-1.5
+ >=www-client/firefox-bin-1.5
+ )
+ )
+ 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 the inotify use-flag."
+ fi
+ fi
+}
+
+src_prepare() {
+ # 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"
+
+ # Fix when using firefox 3.6
+ epatch "${FILESDIR}/${P}-firefox-3.6.patch"
+
+ # Fix building against gmime-2.4, bug #311499
+ epatch "${FILESDIR}/${P}-gmime24.patch"
+
+ # Remove bogus open check
+ epatch "${FILESDIR}/${P}-openfix.patch"
+
+ # Port to mono-2.6
+ epatch "${FILESDIR}/${P}-mono2.6.patch"
+
+ # Grow/shrink the number beagle-search results based on window size
+ epatch "${FILESDIR}/${P}-grow-shrink.patch"
+
+ # Update tileIndex when removing a tile
+ epatch "${FILESDIR}/${P}-update-tileindex.patch"
+
+ # Support mono-2.8, bug #341195
+ epatch "${FILESDIR}/${P}-mono2.8.patch"
+
+ # Fix crash on second search, bug #353533
+ epatch "${FILESDIR}/${P}-UnixConnectionHandler-exceptions.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static \
+ --disable-dependency-tracking \
+ --disable-epiphany-extension \
+ $(use_enable debug xml-dump) \
+ $(use_enable doc docs) \
+ $(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
+ 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/firefox-1.5'; then
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
+ xpi_install "${WORKDIR}"/firefox-beagle \
+ || die "xpi install for firefox failed!"
+ fi
+ if has_version '>=www-client/firefox-bin-1.5'; then
+ MOZILLA_FIVE_HOME="/opt/firefox"
+ xpi_install "${WORKDIR}"/firefox-beagle \
+ || die "xpi install for 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/thunderbird-1.5'; then
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
+ xpi_install "${WORKDIR}"/thunderbird-beagle \
+ || die "xpi install for thunderbird failed!"
+ fi
+ if has_version '>=mail-client/thunderbird-bin-1.5'; then
+ MOZILLA_FIVE_HOME="/opt/thunderbird"
+ xpi_install "${WORKDIR}"/thunderbird-beagle \
+ || die "xpi install for thunderbird-bin failed!"
+ fi
+ fi
+
+ sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \
+ "${ED}"/etc/beagle/crawl-rules/crawl-* || die
+
+ 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"
+
+ find "${D}" -name "*.la" -delete || die "remove of la files failed"
+}
+
+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"
+}