After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687160 - support XPS documents
support XPS documents
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
0.14.x
Other Linux
: Normal normal
: ---
Assigned To: tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2012-10-30 00:25 UTC by Matthias Clasen
Modified: 2012-10-31 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker-extract: add a simple extractor for XPS (6.60 KB, patch)
2012-10-30 04:04 UTC, Cosimo Cecchi
committed Details | Review

Description Matthias Clasen 2012-10-30 00:25:42 UTC
These are clearly also 'documents', and evince can view them just fine. Documents should too.
Comment 1 Cosimo Cecchi 2012-10-30 04:04:21 UTC
-> tracker
Comment 2 Cosimo Cecchi 2012-10-30 04:04:57 UTC
Created attachment 227609 [details] [review]
tracker-extract: add a simple extractor for XPS
Comment 3 Martyn Russell 2012-10-31 17:13:47 UTC
Comment on attachment 227609 [details] [review]
tracker-extract: add a simple extractor for XPS

Hello Cosimo,

>+G_MODULE_EXPORT gboolean
>+tracker_extract_get_metadata (TrackerExtractInfo *info)
>+{
>+  TrackerSparqlBuilder *metadata;
>+  GXPSDocument *document;
>+  GXPSFile *xps_file;
>+  GFile *file;
>+  gchar *filename;
>+  GError *error = NULL;
>+
>+  g_type_init ();

...

Again, I've fixed up some coding style issues, but nothing else. Thanks again for the great patch here.