version bump for tracker
authorSaleem Abdulrasool <compnerd@gentoo.org>
Sat, 27 Jan 2007 19:42:04 +0000 (19:42 +0000)
committerSaleem Abdulrasool <compnerd@gentoo.org>
Sat, 27 Jan 2007 19:42:04 +0000 (19:42 +0000)
Package-Manager: portage-2.1.2-r4

app-misc/tracker/ChangeLog
app-misc/tracker/Manifest
app-misc/tracker/files/digest-tracker-0.5.4 [new file with mode: 0644]
app-misc/tracker/tracker-0.5.4.ebuild [new file with mode: 0644]

index 6aecf6b1ae8a0d54e731fc0d9fbab77259970718..8a51560479bfa633fd2b29ea2850df824c6ce8e6 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/tracker
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.3 2007/01/11 02:21:28 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.4 2007/01/27 19:42:04 compnerd Exp $
+
+*tracker-0.5.4 (27 Jan 2007)
+
+  27 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+  +tracker-0.5.4.ebuild:
+  Version bump from upstream with numerous enhancements
 
   11 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
   -files/tracker-0.5.2-configure.in.patch, -tracker-0.5.2.ebuild:
index 73af2ceae0292dd8d619c1dcc462e08ca14df1ae..9a9c7b06e618a1dfed28df252b9594849b907177 100644 (file)
@@ -39,14 +39,19 @@ MD5 b05deaac9085307700e8125cb7fc54b1 files/tracker-0.5.3-trackerd-test-compile-f
 RMD160 397038d2bc1f1732fb88cad078b1571d464978c4 files/tracker-0.5.3-trackerd-test-compile-fix.patch 684
 SHA256 5ae121e16f4dbc381ec67979418389460e7a2ea01207a70bb2b6ff4432098d6e files/tracker-0.5.3-trackerd-test-compile-fix.patch 684
 DIST tracker-0.5.3.tar.gz 1345485 RMD160 b9700bc590c1d20c0c58e2016693b688b10221df SHA1 ca233544ffce2335960e54e4a8957f1894af5ac6 SHA256 37f64b160b4ce4c4668494cf8198d6ad5a559c8b11120bb657a8eb132493f88f
+DIST tracker-0.5.4.tar.gz 1381786 RMD160 6e270db773e5119ba8560a25f6e8b68c5980fc0f SHA1 1688b6e936193cdf8dca8ccf01fe03b91b5d3fd5 SHA256 ad214a2692041f423d2150777c233b21cab2d108f849edc513192587ac63c9c2
 EBUILD tracker-0.5.3.ebuild 4578 RMD160 daa04aa07879555f160df38742dd200985b0bc3c SHA1 c7e6191e5c7830fea6246fc50e23b7be9acf98fa SHA256 4685275c2501178d0cf5f6b60948b3122b0ce9a9d69486094754642236e1ef7e
 MD5 b0d07e5c12231125aa0e08112e069187 tracker-0.5.3.ebuild 4578
 RMD160 daa04aa07879555f160df38742dd200985b0bc3c tracker-0.5.3.ebuild 4578
 SHA256 4685275c2501178d0cf5f6b60948b3122b0ce9a9d69486094754642236e1ef7e tracker-0.5.3.ebuild 4578
-MISC ChangeLog 1244 RMD160 5d2fbbc596b5ef3b7e8dc3b50bd181a11142c4db SHA1 1438de1592f0f5d78ccb9bbd6702e16758e33187 SHA256 378f8c2e04c8b9f16212bd155749303b8d431e010af1c564f7171a67936ea177
-MD5 5b92fa5f4e62bd076d662bc6fa1520d5 ChangeLog 1244
-RMD160 5d2fbbc596b5ef3b7e8dc3b50bd181a11142c4db ChangeLog 1244
-SHA256 378f8c2e04c8b9f16212bd155749303b8d431e010af1c564f7171a67936ea177 ChangeLog 1244
+EBUILD tracker-0.5.4.ebuild 3815 RMD160 653db957d340071ba9f82f2f6de7b97557bd5340 SHA1 8320e296d4496622d98daafe7a429700cd539014 SHA256 9c226a2eccc1d87b8a6c7e0dc2e5d606e262fd8727b5b8dd7f1c3350e0edbf92
+MD5 fceb8ab1b0dae02c8995cfd8dd6dbac1 tracker-0.5.4.ebuild 3815
+RMD160 653db957d340071ba9f82f2f6de7b97557bd5340 tracker-0.5.4.ebuild 3815
+SHA256 9c226a2eccc1d87b8a6c7e0dc2e5d606e262fd8727b5b8dd7f1c3350e0edbf92 tracker-0.5.4.ebuild 3815
+MISC ChangeLog 1412 RMD160 77d03cb0eb654a8ef990df0e45d6e22f89cc3c4f SHA1 916121ffce5e68abb41721f95c7e9c72b2fa54ce SHA256 6e0839733778881490eaebe036079395775bac6e8df686803f9d72178228e4bd
+MD5 3ed115258c2d1403cf29963f9fc6b019 ChangeLog 1412
+RMD160 77d03cb0eb654a8ef990df0e45d6e22f89cc3c4f ChangeLog 1412
+SHA256 6e0839733778881490eaebe036079395775bac6e8df686803f9d72178228e4bd ChangeLog 1412
 MISC metadata.xml 311 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 SHA1 0e56da7be32af7c553c07179c574cd7837298702 SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a
 MD5 def57195a8a8fbc9ff84bded4f4c6772 metadata.xml 311
 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 metadata.xml 311
@@ -54,3 +59,6 @@ SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a metadata
 MD5 55067c3bcd77b86d4ebe3cce7ef6b960 files/digest-tracker-0.5.3 244
 RMD160 7e5e9e8f7d734f1f8fce726aaa27353b24b755f7 files/digest-tracker-0.5.3 244
 SHA256 75bc0fd02856fa38242fec6bef69818f213e7bb4feda02c607226cb34b6000b0 files/digest-tracker-0.5.3 244
+MD5 6923b8fe6c424a51eed8e11a358ee019 files/digest-tracker-0.5.4 244
+RMD160 be95da824cad3c960aa9f86df284fbd4e07c2ec0 files/digest-tracker-0.5.4 244
+SHA256 623f808f83f3c6342904367b1b67380fa9cb7190118bd1504e06c9ab4e76d782 files/digest-tracker-0.5.4 244
diff --git a/app-misc/tracker/files/digest-tracker-0.5.4 b/app-misc/tracker/files/digest-tracker-0.5.4
new file mode 100644 (file)
index 0000000..94b82b9
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 724208e1b2d235148499672b44181298 tracker-0.5.4.tar.gz 1381786
+RMD160 6e270db773e5119ba8560a25f6e8b68c5980fc0f tracker-0.5.4.tar.gz 1381786
+SHA256 ad214a2692041f423d2150777c233b21cab2d108f849edc513192587ac63c9c2 tracker-0.5.4.tar.gz 1381786
diff --git a/app-misc/tracker/tracker-0.5.4.ebuild b/app-misc/tracker/tracker-0.5.4.ebuild
new file mode 100644 (file)
index 0000000..3f0a8ba
--- /dev/null
@@ -0,0 +1,137 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.5.4.ebuild,v 1.1 2007/01/27 19:42:04 compnerd Exp $
+
+inherit eutils flag-o-matic linux-info
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://www.gnome.org/~jamiemcc/tracker/"
+SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="applet debug fam gnome gsf gstreamer jpeg pdf test xine"
+
+RDEPEND=">=dev-libs/glib-2.12.0
+                >=x11-libs/pango-1.0.0
+                >=dev-libs/gmime-2.1.0
+                >=media-gfx/imagemagick-5.2.1
+                  sys-libs/zlib
+                || (
+                               >=dev-libs/dbus-glib-0.71
+                               ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.60 )
+                       )
+                >=dev-db/sqlite-3.2
+                >=media-libs/libpng-1.2
+                applet? ( gnome-extra/deskbar-applet )
+                fam? ( >=app-admin/gamin-0.1.7 )
+                gnome? (
+                                       >=x11-libs/gtk+-2.8
+                                       >=gnome-base/libglade-2.5
+                                       >=gnome-base/libgnome-2.14
+                                       >=gnome-base/gnome-vfs-2.10
+                                       >=gnome-base/libgnomeui-2.14
+                                       >=gnome-base/gnome-desktop-2.14
+                               )
+                gsf? ( >=gnome-extra/libgsf-1.13 )
+                gstreamer? ( >=media-libs/gstreamer-0.10 )
+                jpeg? ( >=media-gfx/exif-0.6 )
+                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.22
+               >=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
+       ebeep 5
+}
+
+function inotify_enabled() {
+       linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
+}
+
+pkg_setup() {
+       linux-info_pkg_setup
+
+       if built_with_use 'dev-db/sqlite' 'nothreadsafe' ; then
+               eerror "You must build sqlite with threading support"
+               die "dev-db/sqlite built with nothreadsafe"
+       fi
+
+       if ! 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 thumbnailing ; then
+               if ! built_with_use 'media-gfx/imagemagick' 'png' ; then
+                       ewarn "You must build imagemagick with png"
+                       die "imagemagick needs png 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
+       fi
+
+       if use fam ; then
+               ebeep 5
+               ewarn "You are selecting to build tracker with FAM support rather than"
+               ewarn "inotify. It is highly recommended that you use inotify over FAM."
+               epause 5
+       else
+               inotify_enabled || notify_inotify
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/${PN}-0.5.3-convert-pdf-thumbnailer.patch
+}
+
+src_compile() {
+       local myconf="--enable-external-sqlite"
+
+       if use gstreamer ; then
+               myconf="${myconf} --enable-video-extractor=gstreamer"
+       elif use xine ; then
+               myconf="${myconf} --enable-video-extractor=xine"
+       fi
+
+       if use fam ; then
+               myconf="${myconf} --enable-file-monitoring=fam"
+       elif inotify_enabled ; then
+               myconf="${myconf} --enable-file-monitoring=inotify"
+       else
+               myconf="${myconf} --enable-file-monitoring=polling"
+       fi
+
+       econf ${myconf} \
+                 $(use_enable debug debug-code) \
+                 $(use_enable gnome gui) \
+                 $(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
+}