[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/strigi/src/streamanalyzer
From: Evgeny Egorochkin <phreedom.stdin () gmail ! com>
Date: 2009-07-10 18:48:35
Message-ID: 1247251715.174154.7079.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 994573 by evgeny:
CCMAIL: trueg@kde.org
This makes all core properties emitted by libstreamanalyzer Nepomuk-compliant
M +1 -1 endanalyzers/pngendanalyzer.cpp
M +1 -1 endanalyzers/rpmendanalyzer.cpp
M +1 -1 endplugins/jpegendanalyzer.cpp
M +2 -2 fieldtypes.cpp
M +1 -1 lineplugins/deblineanalyzer.cpp
M +1 -1 lineplugins/xpmlineanalyzer.cpp
M +1 -1 throughplugins/icothroughanalyzer.cpp
--- trunk/kdesupport/strigi/src/streamanalyzer/endanalyzers/pngendanalyzer.cpp \
#994572:994573 @@ -92,7 +92,7 @@
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#comment");
// PNG spec says Source is Device used to create the image
sourceField = reg.registerField(
- "http://freedesktop.org/standards/xesam/1.0/core#cameraModel");
+ "http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#model");
commentField = reg.registerField(
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#comment");
typeField = reg.typeField;
--- trunk/kdesupport/strigi/src/streamanalyzer/endanalyzers/rpmendanalyzer.cpp \
#994572:994573 @@ -83,7 +83,7 @@
} else {
m_error.resize(0);
}
- idx.addValue(factory->typeField, \
"http://freedesktop.org/standards/xesam/1.0/core#SoftwarePackage"); + \
idx.addValue(factory->typeField, \
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"); return 0;
}
--- trunk/kdesupport/strigi/src/streamanalyzer/endplugins/jpegendanalyzer.cpp \
#994572:994573 @@ -124,7 +124,7 @@
const string creationDateFieldName("http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentCreated");
const string widthFieldName("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#width");
const string heightFieldName("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#height");
-const string orientationFieldName("http://freedesktop.org/standards/xesam/1.0/core#orientation");
+const string orientationFieldName(NEXIF "orientation");
const string colorModeFieldName("http://freedesktop.org/standards/xesam/1.0/core#colorSpace");
const string flashUsedFieldName(NEXIF "flash");
const string focalLengthFieldName(NEXIF "focalLength");
--- trunk/kdesupport/strigi/src/streamanalyzer/fieldtypes.cpp #994572:994573
@@ -47,7 +47,7 @@
const string FieldRegister::stringType = "string";
const string FieldRegister::datetimeType = "datetime";
-const string FieldRegister::pathFieldName = \
"http://freedesktop.org/standards/xesam/1.0/core#url"; +const string \
FieldRegister::pathFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileUrl"; const string \
FieldRegister::parentLocationFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf"; const string \
FieldRegister::encodingFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#characterSet"; const \
string FieldRegister::mimetypeFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#mimeType"; @@ -55,7 +55,7 \
@@ const string FieldRegister::contentFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#plainTextContent"; const \
string FieldRegister::extensionFieldName = \
"http://freedesktop.org/standards/xesam/1.0/core#fileExtension"; const string \
FieldRegister::embeddepthFieldName = \
"http://strigi.sf.net/ontologies/0.9#depth";
-const string FieldRegister::mtimeFieldName = \
"http://freedesktop.org/standards/xesam/1.0/core#sourceModified"; +const string \
FieldRegister::mtimeFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileLastModified"; const \
string FieldRegister::sizeFieldName = \
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentSize"; const string \
FieldRegister::typeFieldName = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type";
--- trunk/kdesupport/strigi/src/streamanalyzer/lineplugins/deblineanalyzer.cpp \
#994572:994573 @@ -69,7 +69,7 @@
// it is .deb file after all
result=res;
finished=0;
- result->addValue(factory->typeField, \
"http://freedesktop.org/standards/xesam/1.0/core#SoftwarePackage"); + \
result->addValue(factory->typeField, \
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"); }
void
DebLineAnalyzer::endAnalysis(bool complete) {
--- trunk/kdesupport/strigi/src/streamanalyzer/lineplugins/xpmlineanalyzer.cpp \
#994572:994573 @@ -35,7 +35,7 @@
heightField = reg.registerField(
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#height");
numberOfColorsField = reg.registerField(
- "http://freedesktop.org/standards/xesam/1.0/core#colorCount");
+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#colorCount");
typeField = reg.typeField;
addField(widthField);
--- trunk/kdesupport/strigi/src/streamanalyzer/throughplugins/icothroughanalyzer.cpp \
#994572:994573 @@ -43,7 +43,7 @@
bitsPerPixelField = reg.registerField(
"http://www.semanticdesktop.org/ontologies/nfo#colorDepth");
colorCountField = reg.registerField(
- "http://freedesktop.org/standards/xesam/1.0/core#colorCount");
+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#colorCount");
addField(widthField);
addField(heightField);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic