Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147470 - [REQUEST] app-misc/tracker-0.0.4
Summary: [REQUEST] app-misc/tracker-0.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
: 151904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-13 09:18 UTC by Henrique Ferreiro
Modified: 2007-03-14 00:49 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
failed ebuild (tracker-0.0.4.ebuild,778 bytes, text/plain)
2006-09-13 10:54 UTC, Henrique Ferreiro
Details
tracker cvs ebuild (tracker-9999.ebuild,1.62 KB, application/octet-stream)
2006-10-19 12:35 UTC, Erlend Davidson
Details
An updated ebuild that uses fam and inotify always. (tracker-9999.ebuild,1012 bytes, application/octet-stream)
2006-10-23 10:51 UTC, Erlend Davidson
Details
app-misc/tracker/tracker-9999.ebuild (tracker-9999.ebuild,2.37 KB, text/plain)
2006-10-30 03:59 UTC, Gergan Penkov
Details
app-misc/tracker/files/inotify.patch (inotify.patch,5.46 KB, patch)
2006-10-30 04:04 UTC, Gergan Penkov
Details | Diff
An update of Gergan's ebuild. Ammended the dependencies. (tracker-9999.ebuild,2.27 KB, text/plain)
2006-11-01 14:35 UTC, Erlend Davidson
Details
tracker-9999.ebuild (tracker-9999.ebuild,2.65 KB, text/plain)
2006-11-13 12:03 UTC, Gergan Penkov
Details
thunar.patch (thunar.patch,712 bytes, patch)
2006-11-13 13:47 UTC, Gergan Penkov
Details | Diff
updated ebuild (tracker-0.5.2.ebuild,2.59 KB, text/plain)
2006-11-21 10:51 UTC, Joonas Henriksson
Details
tracker-0.5.2.ebuild (tracker-0.5.2.ebuild,2.58 KB, text/plain)
2006-11-21 12:11 UTC, Joonas Henriksson
Details
tracker-0.5.3-parallel-make.patch (tracker-0.5.3-parallel-make.patch,1.48 KB, patch)
2007-01-15 19:49 UTC, Daniel Fullmer
Details | Diff
tracker-0.5.3.ebuild.patch (tracker-0.5.3.ebuild.patch,721 bytes, patch)
2007-01-15 19:50 UTC, Daniel Fullmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Ferreiro 2006-09-13 09:18:00 UTC
Meta Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer.

It is intended as a c-based beagle replacement.

A tracker-enabled nautilus ebuild would be great, also.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 09:21:04 UTC
Great, how about posting a link? ;)
Comment 2 Henrique Ferreiro 2006-09-13 10:52:15 UTC
Sorry, I really wanted somebody to provide the ebuild. I tried one but it does not work. It stops building with this error:

make[2]: *** No rule to make target `../../src/libtracker/libtracker.la', needed by `tracker-search'.  Stop.
make[2]: *** Waiting for unfinished jobs....

When trying to compile it by hand, it worked.
Comment 3 Henrique Ferreiro 2006-09-13 10:54:48 UTC
Created attachment 96886 [details]
failed ebuild
Comment 4 Erlend Davidson 2006-10-14 08:17:07 UTC
(In reply to comment #1)
> Great, how about posting a link? ;)
> 
http://freedesktop.org/wiki/Software/Tracker
http://www.gnome.org/~jamiemcc/tracker/

You'll find the mailing-list archives at
http://mail.gnome.org/archives/tracker-list/
Apparently 0.0.5 is coming out this weekend.  The dependencies will be different from 0.0.4, as they've changed to sqlite (away from mysql) and a few other things.  I've been trying to write an updated ebuild for the current cvs version (based on http://forums.gentoo.org/viewtopic-p-3626023-highlight-beagle.html?sid=b6466a1e3b14961d96cd8b028ea7da0f#3626023)
but so far it doesn't compile: (configure: error: conditional "GCONF_SCHEMAS_INSTALL" was never defined.
Usually this means the macro was only invoked conditionally.)
Comment 5 Erlend Davidson 2006-10-19 12:35:26 UTC
Created attachment 100042 [details]
tracker cvs ebuild

A working (on my machine) ebuild for tracker cvs.  I haven't tested the "fam" use flag, this was inherited from the original ebuild I updated.
Comment 6 Erlend Davidson 2006-10-23 10:51:20 UTC
Created attachment 100297 [details]
An updated ebuild that uses fam and inotify always.
Comment 7 Gergan Penkov 2006-10-30 03:59:21 UTC
Created attachment 100782 [details]
app-misc/tracker/tracker-9999.ebuild

ebuild, note that this package is still not ready for the portage - it has automatic dependancies - ie the gnome-part could not be really disabled or enabled - if the needed packages are present, the gnome-search application will always be build, I simply don't have time ATM to make patches for the configure.in and post them upstream...
the ebuild still needs some more USE-flags - ie poppler, vorbis and so on...
and probably some more dependancies
for best experience kernel>=2.6.13, and USE=-fam -mysql
Comment 8 Gergan Penkov 2006-10-30 04:04:29 UTC
Created attachment 100783 [details, diff]
app-misc/tracker/files/inotify.patch

this patch is needed for people, not having headers>=2.6.13 (in fact 2.6.16 as .13 .14 .15 were not in portage as long as I remember) - the configuration looks in two places glibc and linux-headers for inotify support - but glibc built on top of headers earlier than 2.6.13 will have only stub for inotify support and will fail silently. Also this one worked for me earlier, I could not test it anymore...
Comment 9 Gergan Penkov 2006-10-30 04:10:24 UTC
ah and feel free to correct the ebuild, the patch (if still needed) and so on ...
Comment 10 Erlend Davidson 2006-11-01 14:35:22 UTC
Created attachment 101009 [details]
An update of Gergan's ebuild.  Ammended the dependencies.

I've changed the gui useflag to gnome - because tracker currently builds the gnome gui, there will be more (e.g. a qt gui) in the future.

I've removed a lot of the gnome-dependencies - they weren't needed, even to build the gui (the only ones needed to build the gui are gconf, gnome-desktop, gnome-vfs; http://mail.gnome.org/archives/tracker-list/2006-October/msg00154.html).

I wasn't sure about the mysql flag - I thought that was completely removed as of 0.5.0?

Also I think the fam flag should actually be nofam (i.e. enabled by default) since tracker uses it by default?
Comment 11 Gergan Penkov 2006-11-01 15:12:10 UTC
(In reply to comment #10)
> Created an attachment (id=101009) [edit]
> An update of Gergan's ebuild.  Ammended the dependencies.
> 
> I've changed the gui useflag to gnome - because tracker currently builds the
> gnome gui, there will be more (e.g. a qt gui) in the future.
> 
Yes gui was a little bit retarded :)
> I've removed a lot of the gnome-dependencies - they weren't needed, even to
> build the gui (the only ones needed to build the gui are gconf, gnome-desktop,
> gnome-vfs;
> http://mail.gnome.org/archives/tracker-list/2006-October/msg00154.html).
well I don't know - in fact most of it there should not be needed anyway, but look the configure.in at least these were in it last time I checked...
> 
> I wasn't sure about the mysql flag - I thought that was completely removed as
> of 0.5.0?
It is still there and I think you could still build tracker against mysql, but sqlite is now the default and mysql has only problems, so better if it stays unused...  
> 
> Also I think the fam flag should actually be nofam (i.e. enabled by default)
> since tracker uses it by default?
well this is a little bit complex, fam should not be enabled if you want really good performance - there are three backends polling, fam/gamin, inotify. One could use inotify/polling (as inotify has limits) or gamin, which is really heavy on resources.
The best way is to look at the messages after configure is ready - to see what will be built.
also I personally use inotify, sqlite with all the gnome stuff...
Comment 12 Gergan Penkov 2006-11-12 08:11:51 UTC
Well, I'll be looking at updating the cvs ebuild today, correcting dependancies and such.
For now the people building from cvs, please change eautoreconf to ${S}/autogen.sh, you'll need gnome-commons for this, this will resolve the intltool problems.
Comment 13 Gergan Penkov 2006-11-13 12:03:59 UTC
Created attachment 101864 [details]
tracker-9999.ebuild

intermediate ebuild mostly corrected dependancies, gnome USE-flag instead gui (all the dependancies are checked in configure), mysql is no more, video extraction through gstreamer or xine and so on.
I haven't tested the xine backend yet.
sqlite should be built without the nothreadsafeflag (is there function, which does the opposite of built_with_use?).
There are still some RDEPENDS to be done, tracker-search-tool needs nautilus to start the correspondent application (I have a small patch to use thunar instead). For some of the email indexers you need the correspondent mail-programs, I should look through the files to gather all of them.
If you use gstreamer, you'll need to emerge the needed plugins...
Comment 14 Erlend Davidson 2006-11-13 13:20:39 UTC
> sqlite should be built without the nothreadsafeflag
sqlite is no longer a dependency AFAIK.  It is statically compiled into tracker in the latest CVS versions.
(http://jamiemcc.livejournal.com/3903.html)

> does the opposite of built_with_use?).
> There are still some RDEPENDS to be done, tracker-search-tool needs nautilus to
> start the correspondent application (I have a small patch to use thunar
> instead).
Cool, does it use exo-open or xdg or something cross-desktop?  You could e-mail your patch to the tracker mailing list.

The ebuild failed, looking for the thunar.patch.

> For some of the email indexers you need the correspondent
Are the e-mail indexers actually working yet?  Pretty cool if they are!

> mail-programs, I should look through the files to gather all of them.
> If you use gstreamer, you'll need to emerge the needed plugins...
> 

Comment 15 Gergan Penkov 2006-11-13 13:45:46 UTC
ok, uff I see that I uploaded the ebuild I use (this means that the thunar epatch line is there), I wanted to ask Jamie to export this as a gconf entry (I'll upload the thunar patch - it just calls thunar, the same way, nautilus is called :) )

so for the people, who use nautilus - just remove the following line:
epatch ${FILESDIR}/thunar.patch

as to the sqlite, yes tracker could use the embedded one, but I think that gentoo is flexible enough to not allow building against the static version, as we (the users) could control the way sqlite is build (there is a check for the threadsafe option). Embedded libs and such things are very bad imho, as they could turn in a security nightmare for example...

As to the email extractors, I haven't tested them yet, as I have sylpheed-claws and it is not supported, you could define, which of the email-clients boxes should be indexed in the tracker.cfg.
Comment 16 Gergan Penkov 2006-11-13 13:47:39 UTC
Created attachment 101869 [details, diff]
thunar.patch
Comment 17 Joonas Henriksson 2006-11-21 10:50:30 UTC
tracker 0.5.2 got released some time ago and here's ebuild for it.
It's basically the same as cvs-ebuild but I added some dependencies according to this page: http://live.gnome.org/Tracker/SupportedFormats
Comment 18 Joonas Henriksson 2006-11-21 10:51:38 UTC
Created attachment 102483 [details]
updated ebuild
Comment 19 Joonas Henriksson 2006-11-21 12:11:18 UTC
Created attachment 102485 [details]
tracker-0.5.2.ebuild

Oops. I had commented out the nothreadsafe-checking part when I wast testing the ebuild, but forgot to uncomment it.

Sorry for inconvenience.
Comment 20 Daniel Fullmer 2006-11-21 15:13:44 UTC
tracker-0.5.2 fails to compile with MAKEOPTS="-j3":

make[3]: *** No rule to make target `../../src/libtracker/libtrackerclient.la', needed by `tracker-search'.  Stop.

Likely the same problem as reported in comment #1
Also, tracker compiles and runs great on amd64 when not using parallel make
Comment 21 Fredrik Blom 2006-11-22 04:56:51 UTC
(In reply to comment #20)
> tracker-0.5.2 fails to compile with MAKEOPTS="-j3":
> 
> make[3]: *** No rule to make target `../../src/libtracker/libtrackerclient.la',
> needed by `tracker-search'.  Stop.
> 
> Likely the same problem as reported in comment #1
> Also, tracker compiles and runs great on amd64 when not using parallel make
> 

I too have the same problem, but I'm running Hardened Gentoo i586 with GCC 3.3.6-r1.
Comment 22 Joonas Henriksson 2006-11-22 08:38:32 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > tracker-0.5.2 fails to compile with MAKEOPTS="-j3":
> > 
> > make[3]: *** No rule to make target `../../src/libtracker/libtrackerclient.la',
> > needed by `tracker-search'.  Stop.
> > 
> > Likely the same problem as reported in comment #1
> > Also, tracker compiles and runs great on amd64 when not using parallel make
> > 
> 
> I too have the same problem, but I'm running Hardened Gentoo i586 with GCC
> 3.3.6-r1.
> 

Same here, x86 GCC 4.1.1 MAKEOPTS="-j2"
Weird thing is that only the ebuild in portage failed. The one I attached here worked just fine.
Comment 23 Fredrik Blom 2006-11-22 10:07:09 UTC
(In reply to comment #21)
> I too have the same problem, but I'm running Hardened Gentoo i586 with GCC
> 3.3.6-r1.
> 

Meant 3.4.6-r1. :P
Comment 24 Fredrik Blom 2006-11-25 05:58:28 UTC
By the way, if it's of any help, these are the use flags I'm trying to use for Tracker: app-misc/tracker-0.5.2  USE="gnome gsf gstreamer jpeg pdf png -fam -xine"
Comment 25 Hiram 2006-12-21 05:03:38 UTC
i have had this error also
make[2]: *** No rule to make target `../../src/libtracker/libtracker.la',
needed by `tracker-search'.  Stop.
make[2]: *** Waiting for unfinished jobs....

however when compiling with MAKEOPTS="=-j1" it works
Comment 26 Radek Podgorny 2007-01-05 16:58:40 UTC
...just in case you didn't know, 0.5.3 is out...
Comment 27 Steen Eugen "Miravlix" Poulsen 2007-01-10 00:32:49 UTC
Tracker 0.5.x builds has a race condition when using make -j2+ it's simply a matter of make not detecting the lib dependency and trying to make stuff that depend on the lib before the lib is build.

This is not a Gentoo bug, but upstream error, using the upstream source of 0.5.3 with make -j2+ and it breaks on the same dependency error.
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 23:23:20 UTC
*** Bug 151904 has been marked as a duplicate of this bug. ***
Comment 29 Daniel Fullmer 2007-01-15 19:49:03 UTC
Created attachment 107088 [details, diff]
tracker-0.5.3-parallel-make.patch

My fix for the parallel make problem.  I'm an automake noob so I hope this is correct.  I just sent this upstream as well.
Comment 30 Daniel Fullmer 2007-01-15 19:50:03 UTC
Created attachment 107089 [details, diff]
tracker-0.5.3.ebuild.patch

Patch for tracker-0.5.3.ebuild.  Includes the new epatch and an updated homepage.
Comment 31 Sebastian Spaeth 2007-01-21 09:45:50 UTC
I searched the upstream bugzilla and could not find anything so I filed a bug upstream: http://bugzilla.gnome.org/show_bug.cgi?id=398967
which points to this bug. Let hope it gets resolved quickly.
Comment 32 Daniel Fullmer 2007-01-22 03:46:04 UTC
Sorry I didn't mention this earlier.  I had actually sent my patch to their mailing list instead of bugzilla.  He just committed it to svn about an hour ago so it should work in the next version hopefully!
Comment 33 Marcello Laganà 2007-01-28 11:32:59 UTC
0.5.4 is out and compile fine without any patch

I've found an encoding problem in the deskbar plugin (/usr/lib/deskbar-applet/handlers/tracker-handler.py:184) that stops handler's loading. But that line is a comment...

When i started trackerd for the first time, it has spammed a lot of glib-assertion failed on lookup/insetion in an hashmap (?) but it seems working
Comment 34 Erlend Davidson 2007-01-28 17:23:29 UTC
There is a bug in the 0.5.4 ebuild in portage:

---
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
---

there is no thumbnailing use flag, so the above piece of code never runs.
Comment 35 Stephan Weller 2007-01-31 22:15:13 UTC
I tried the 0.5.4-ebuild from portage on amd64. It compiles and seems to work fine. So the ebuild should contain ~amd64 as a keyword.
Comment 36 Jakub Moc (RETIRED) gentoo-dev 2007-03-14 00:49:08 UTC
No idea why is this still open; been in the tree since Nov 2006.

FIXED, closing.