Re: [Tracker] Fwd: tracker & nautilus integration += metatags
- From: "Michele Mattioni" <mattions gmail com>
- To: yelo_3 <yelo_3 yahoo it>
- Cc: Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] Fwd: tracker & nautilus integration += metatags
- Date: Fri, 25 Jul 2008 12:24:14 +0100
On Wed, Jul 23, 2008 at 8:05 PM, yelo_3 <yelo_3 yahoo it> wrote:
Hello, sorry for the delay. I have the extension ready! (ok it has not
been tested deeply, but I'm sure you'll help me)
The tar.gz contains a few files:
nautilus-metadata-attribute.h (a definition of a struct)
nautilus-metadata-columns-interface.* (the part that is directly
linked to nautilus: the column extension interface implementation)
nautilus-metadata-info-interface.* (the part that is directly linked
to nautilus: the fileinfo extension interface implementation)
nautilus-metadata-columns.* (the generic fonction that returns the
list of coulmns, which calls an abstract function to be implemented)
nautilus-metadata-info.* (these files contain the implementation of
the functions that nautilus calls to gather attributes for files: they
simply create a thread, extract the result calling an abstract
function, save and cache the result).
the following files are the implementation of the abstract function
defined in nautilus-metadata-extractor.h
nautilus-metadata-dummy.*
nautilus-metadata-tracker.*
you can run ./install.sh to compile and install the extension (works in ubuntu)
Tell me what do you think
Hi,
I've tried to compile this extension but I've got this error:
cc -I /usr/include/dbus-1.0 -I /usr/lib/dbus-1.0/include -I
/usr/lib/glib-2.0/include -I /usr/include/glib-2.0 -I
/usr/include/nautilus/ -I /usr/include/gstreamer-0.10 -I
/usr/include/libxml2 -fPIC -Wall -c nautilus-metadata-info-interface.c
nautilus-metadata-info-interface.c:1:58: error:
libnautilus-extension/nautilus-info-provider.h: No such file or
directory
In file included from nautilus-metadata-info-interface.c:2:
nautilus-metadata-info.h:20: error: expected specifier-qualifier-list
before 'GClosure'
nautilus-metadata-info.h:32: error: expected specifier-qualifier-list
before 'GData'
nautilus-metadata-info.h:35: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'MetadataForeachFunc'
nautilus-metadata-info.h:39: error: expected declaration specifiers or
'...' before 'MetadataForeachFunc'
nautilus-metadata-info.h:39: error: expected declaration specifiers or
'...' before 'gpointer'
In file included from nautilus-metadata-info-interface.c:3:
nautilus-metadata-extractor.h:46: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
nautilus-metadata-info-interface.c:5: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'metadata_info_update_file_info'
nautilus-metadata-info-interface.c:7: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'tpp_type'
nautilus-metadata-info-interface.c:9: error: expected ')' before '*' token
nautilus-metadata-info-interface.c:15: error: expected ')' before '*' token
nautilus-metadata-info-interface.c:21: error: expected ')' before '*' token
nautilus-metadata-info-interface.c:51: error: expected ')' before '*' token
nautilus-metadata-info-interface.c:62: warning: type defaults to 'int'
in declaration of 'GType'
nautilus-metadata-info-interface.c:62: error: expected ';', ',' or ')'
before '*' token
make: *** [nautilus-metadata-info.o] Error 1
Any ideas?
Cheers,
Michele
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]