~ubuntu-branches/ubuntu/raring/tracker/raring

« back to all changes in this revision

Viewing changes to tests/libtracker-extract/tracker-test-xmp.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-08-26 00:26:14 UTC
  • mfrom: (4.3.17 sid)
  • Revision ID: package-import@ubuntu.com-20110826002614-4qjfs9jhh5gs4p13
Tags: 0.10.24-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
"      xmlns:x=\'adobe:ns:meta/\'" \
30
30
"      xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" \
31
31
"      xmlns:xmp=\"http://ns.adobe.com/xap/1.0/\"" \
32
 
"      xmlns:exif=\"http://ns.adobe.com/exif/1.0/\">" \
 
32
"      xmlns:exif=\"http://ns.adobe.com/exif/1.0/\"" \
 
33
"      xmlns:tiff=\"http://ns.adobe.com/tiff/1.0/\">" \
33
34
"     <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">" \
34
35
"        <rdf:Description rdf:about=\"\">"\
35
36
"         <dc:format>application/pdf</dc:format>" \
53
54
"         <exif:Artist>Artist in exif</exif:Artist>" \
54
55
"         <exif:Make>Make in exif</exif:Make>" \
55
56
"         <exif:Model>Model in exif</exif:Model>" \
56
 
"         <exif:Orientation>top - left</exif:Orientation>" \
57
57
"         <exif:Flash>0</exif:Flash>" \
58
58
"         <exif:MeteringMode>3</exif:MeteringMode>" \
59
59
"         <exif:ExposureTime>1000</exif:ExposureTime>" \
62
62
"         <exif:ISOSpeedRatings>400</exif:ISOSpeedRatings>" \
63
63
"         <exif:WhiteBalance>1</exif:WhiteBalance>" \
64
64
"         <exif:Copyright>Copyright in exif</exif:Copyright>" \
 
65
"         <tiff:Orientation>1</tiff:Orientation>" \
65
66
"         <xmp:CreateDate>2002-08-15T17:10:04Z</xmp:CreateDate>"\
66
67
"        </rdf:Description> " \
67
68
"     </rdf:RDF> " \
80
81
#define ORIENTATION_XMP \
81
82
"   <x:xmpmeta   "                            \
82
83
"      xmlns:x=\'adobe:ns:meta/\'"                              \
83
 
"      xmlns:exif=\"http://ns.adobe.com/exif/1.0/\">"           \
 
84
"      xmlns:tiff=\"http://ns.adobe.com/tiff/1.0/\">"           \
84
85
"     <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">" \
85
86
"        <rdf:Description rdf:about=\"\">"                      \
86
 
"         <exif:Orientation>%s</exif:Orientation>"              \
 
87
"         <tiff:Orientation>%s</tiff:Orientation>"              \
87
88
"        </rdf:Description>"                                    \
88
89
"     </rdf:RDF></x:xmpmeta> "
89
90
 
104
105
};
105
106
 
106
107
static ExifNepomuk ORIENTATIONS [] = {
107
 
        {"top - right", "nfo:orientation-top-mirror"},
108
 
        {"bottom - right", "nfo:orientation-bottom-mirror"},
109
 
        {"bottom - left", "nfo:orientation-bottom"},
110
 
        {"left - top", "nfo:orientation-left-mirror"},
111
 
        {"right - top", "nfo:orientation-right"},
112
 
        {"right - bottom", "nfo:orientation-right-mirror"},
113
 
        {"left - bottom", "nfo:orientation-left"},
 
108
        {"2", "nfo:orientation-top-mirror"},
 
109
        {"3", "nfo:orientation-bottom-mirror"},
 
110
        {"4", "nfo:orientation-bottom"},
 
111
        {"5", "nfo:orientation-left-mirror"},
 
112
        {"6", "nfo:orientation-right"},
 
113
        {"7", "nfo:orientation-right-mirror"},
 
114
        {"8", "nfo:orientation-left"},
114
115
        {"invalid value", "nfo:orientation-top"}
115
116
};
116
117