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:
  Show dependency tree
 
Reported: 2012-10-30 00:25 UTC by Matthias Clasen
Modified: 2012-10-31 17:14 UTC (History)
2 users (show)

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

Note You need to log in before you can comment on or make changes to this bug.