summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2008-03-05 03:27:10 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2008-03-05 03:27:10 +0000
commit27b4c63c5e0d7ae2b4d19e30c1a0e96ae1bf0b59 (patch)
treea52139292f4b3cad119834e031cd5d2c7d9c6544 /app-misc/tracker
parentMarking openldap-2.3.41 ppc64 for bug 209677 (diff)
downloadhistorical-27b4c63c5e0d7ae2b4d19e30c1a0e96ae1bf0b59.tar.gz
historical-27b4c63c5e0d7ae2b4d19e30c1a0e96ae1bf0b59.tar.bz2
historical-27b4c63c5e0d7ae2b4d19e30c1a0e96ae1bf0b59.zip
fix up deps and use correct version of qdbm
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/ChangeLog8
-rw-r--r--app-misc/tracker/Manifest3
-rw-r--r--app-misc/tracker/tracker-0.6.6-r1.ebuild132
3 files changed, 141 insertions, 2 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 092d940a10fd..8386746be543 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.40 2008/03/04 02:53:21 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.41 2008/03/05 03:27:10 compnerd Exp $
+
+*tracker-0.6.6-r1 (05 Mar 2008)
+
+ 05 Mar 2008; Saleem Abdulrasool <compnerd@gentoo.org>
+ +tracker-0.6.6-r1.ebuild:
+ Force the use of the internal qdbm
04 Mar 2008; Saleem Abdulrasool <compnerd@gentoo.org>
-tracker-0.6.4.ebuild, -tracker-0.6.5.ebuild:
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index d40bb514182c..160d80416420 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -5,6 +5,7 @@ AUX tracker-0.6.3-tracker-extract-needs-gthread.patch 365 RMD160 5d7d778d8cb8c08
DIST tracker-0.6.3.tar.gz 1097228 RMD160 54c7a497c7322b821ae9933719220758f870d538 SHA1 94af01e350ac7844e56f7c9a327ea67406923c8f SHA256 262d98cbc7839fb11472577e70897c8a6b0e84d52821dcedf4c2697718baaa8a
DIST tracker-0.6.6.tar.gz 1260741 RMD160 f5a5ae4eecff3ec5136f6a65d44e4b09884bb0c9 SHA1 2a904a29454ec7513ac5ecb91b8bddf0cf92617b SHA256 3aac267948f6e65a8f0b8050b8c2b1147a3e8e0eec0389c41f16141c7d6ed3cb
EBUILD tracker-0.6.3.ebuild 4391 RMD160 94b18af9f3aeaf57053a068c1fc1227c2b66ea86 SHA1 f7bf5b1b42dafad48084f85a8d7db851d556ac77 SHA256 05e7ab9ac38321bf231a82b69d73d773303254bcf9092baed6a7ab9ede3b5c05
+EBUILD tracker-0.6.6-r1.ebuild 4032 RMD160 40b80a7f01d9cde3b3095e5007919e3eb20aa478 SHA1 c027423cd52bd8ea83662dbb3ba0d6296948b4ee SHA256 57c1c5b5be2864d1bf186459e7d704afdbb9a64e4af8c22a4ab985df37909367
EBUILD tracker-0.6.6.ebuild 4049 RMD160 e8e652907d44876d54ab1c1058b788dedbf298aa SHA1 c57239df80dbd2a1338e088777a7e38b2264e179 SHA256 80236104f2dba9005e20b503f43d7195716d319afde847663346b883f776cbd2
-MISC ChangeLog 7364 RMD160 9133c28529563ffa0978095d98f7e51ef41c2869 SHA1 52362a0a55cf1d4ddd3fddbfa49ab672b09c272e SHA256 3e3d394ef074fbd7dcd4af3c612f83baf3eb8c962bd2b02b931aee3918c5209e
+MISC ChangeLog 7519 RMD160 3c8526325b1c2af2bff220dc8b30c3961b66d446 SHA1 70d249cd786439fda9fb7850d9a3c395ec316483 SHA256 e3f7882d067ee9b82334f178532c939b1eb78502f7c03860edfe23152a24913a
MISC metadata.xml 311 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 SHA1 0e56da7be32af7c553c07179c574cd7837298702 SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a
diff --git a/app-misc/tracker/tracker-0.6.6-r1.ebuild b/app-misc/tracker/tracker-0.6.6-r1.ebuild
new file mode 100644
index 000000000000..ca7b7b1fda47
--- /dev/null
+++ b/app-misc/tracker/tracker-0.6.6-r1.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.6.6-r1.ebuild,v 1.1 2008/03/05 03:27:10 compnerd Exp $
+
+inherit autotools eutils flag-o-matic linux-info
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://www.tracker-project.org/"
+SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="applet debug deskbar gnome gsf gstreamer gtk hal jpeg pdf xine kernel_linux"
+
+RDEPEND=">=dev-libs/glib-2.14.0
+ >=x11-libs/pango-1.0.0
+ >=dev-libs/gmime-2.1.0
+ >=dev-libs/dbus-glib-0.71
+ >=media-libs/libpng-1.2
+ >=dev-libs/libxml2-2.6
+ >=dev-db/sqlite-3.4
+ >=media-gfx/imagemagick-5.2.1
+ applet? ( >=x11-libs/libnotify-0.4.3 )
+ deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
+ gnome? (
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/libgnomeui-2.14
+ >=gnome-base/gnome-vfs-2.10
+ >=gnome-base/gnome-desktop-2.14
+ >=gnome-base/libglade-2.5
+ )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? ( >=media-libs/gstreamer-0.10 )
+ !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
+ gtk? ( >=x11-libs/gtk+-2.8.20 )
+ hal? ( >=sys-apps/hal-0.5 )
+ jpeg? ( >=media-gfx/exif-0.6 )
+ !kernel_linux? ( >=app-admin/gamin-0.1.7 )
+ pdf? (
+ >=x11-libs/cairo-1.0
+ >=app-text/poppler-bindings-0.5.0
+ )
+ xine? ( >=media-libs/xine-lib-1.0 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.14
+ >=dev-util/pkgconfig-0.20"
+
+function notify_inotify() {
+ ewarn
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify file change notification support' under the"
+ ewarn "'File systems' option. It is marked as CONFIG_INOTIFY in the config"
+ ewarn "Also enable 'Inotify support for userland' in under the previous"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config."
+ ewarn
+ die 'missing CONFIG_INOTIFY'
+}
+
+function inotify_enabled() {
+ linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if built_with_use --missing false 'dev-db/sqlite' 'nothreadsafe' ||
+ ! built_with_use --missing true 'dev-db/sqlite' 'threadsafe' ; then
+ eerror "You must build sqlite with threading support"
+ die "dev-db/sqlite built without thread safety"
+ fi
+
+ if ! built_with_use 'media-gfx/imagemagick' 'png' ; then
+ ewarn "You must build imagemagick with png"
+ die "imagemagick needs png support"
+ fi
+
+ if use pdf && ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
+ ewarn "You must build poppler-bindings with gtk to get support for PDFs"
+ die "poppler-bindings needs gtk support"
+ fi
+
+ if use jpeg && ! built_with_use 'media-gfx/imagemagick' 'jpeg' ; then
+ ewarn "You must build imagemagick with jpeg to get support for JPEG"
+ die "imagemagick needs jpeg support"
+ fi
+
+ if use kernel_linux ; then
+ inotify_enabled || notify_inotify
+ fi
+}
+
+src_compile() {
+ local myconf=
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-video-extractor=gstreamer"
+ elif use xine ; then
+ myconf="${myconf} --enable-video-extractor=xine"
+ else
+ myconf="${myconf} --enable-video-extractor=external"
+ fi
+
+ if use kernel_linux ; then
+ myconf="${myconf} --enable-file-monitoring=inotify"
+ else
+ myconf="${myconf} --enable-file-monitoring=fam"
+ fi
+
+ econf ${myconf} \
+ --disable-xmp --disable-unac \
+ --enable-preferences --disable-external-qdbm \
+ $(use_enable applet trackerapplet) \
+ $(use_enable deskbar deskbar-applet auto) \
+ $(use_enable debug debug-code) \
+ $(use_enable gnome gui) \
+ $(use_enable gsf) \
+ $(use_enable gtk libtrackergtk) \
+ $(use_enable hal) \
+ $(use_enable jpeg exif) \
+ $(use_enable pdf) \
+ || die "configure failed"
+
+ emake || die "build failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}