[f-spot] Drop obsolete XmpFile.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Drop obsolete XmpFile.
- Date: Thu, 8 Jul 2010 16:54:24 +0000 (UTC)
commit 930882f90c512c800811bc8eaf4a6ceff6a319a3
Author: Ruben Vermeersch <ruben savanne be>
Date: Tue Jul 6 19:00:23 2010 +0200
Drop obsolete XmpFile.
src/Imaging/Bim.cs | 6 ---
src/Imaging/Tiff.cs | 16 ---------
src/Imaging/XmpFile.cs | 82 ------------------------------------------------
src/Makefile.am | 1 -
4 files changed, 0 insertions(+), 105 deletions(-)
---
diff --git a/src/Imaging/Bim.cs b/src/Imaging/Bim.cs
index 59a496e..20ab88e 100644
--- a/src/Imaging/Bim.cs
+++ b/src/Imaging/Bim.cs
@@ -1,6 +1,5 @@
using Hyena;
-using FSpot.Imaging.Xmp;
using FSpot.Imaging.Iptc;
namespace FSpot.Imaging.Bim {
@@ -141,11 +140,6 @@ namespace FSpot.Imaging.Bim {
IptcFile iptc = new IptcFile (iptcstream);
iptc.Select (sink);
break;
- case EntryType.XMP:
- System.IO.Stream xmpstream = new System.IO.MemoryStream (e.Data);
- XmpFile xmp = new XmpFile (xmpstream);
- xmp.Select (sink);
- break;
default:
break;
}
diff --git a/src/Imaging/Tiff.cs b/src/Imaging/Tiff.cs
index f6eafbe..8debe90 100644
--- a/src/Imaging/Tiff.cs
+++ b/src/Imaging/Tiff.cs
@@ -928,11 +928,6 @@ namespace FSpot.Imaging.Tiff {
FSpot.Imaging.Bim.BimFile bim = new FSpot.Imaging.Bim.BimFile (bimstream);
bim.Select (sink);
break;
- case TagId.XMP:
- System.IO.Stream xmpstream = new System.IO.MemoryStream (e.RawData);
- FSpot.Imaging.Xmp.XmpFile xmp = new FSpot.Imaging.Xmp.XmpFile (xmpstream);
- xmp.Select (sink);
- break;
case TagId.ImageDescription:
MetadataStore.AddLiteral (sink, "dc:description", "rdf:Alt",
new SemWeb.Literal (e.ValueAsString [0], "x-default", null));
@@ -1856,17 +1851,6 @@ namespace FSpot.Imaging.Tiff {
return;
}
- /*
- * Even though Ifd0 doesn't have the full resolution image
- * it would have the XMP data so we look for it
- */
- e = Header.Directory.Lookup (TagId.XMP);
- if (e != null) {
- System.IO.Stream xmpstream = new System.IO.MemoryStream (e.RawData);
- var xmp = new FSpot.Imaging.Xmp.XmpFile (xmpstream);
- xmp.Select (sink);
- }
-
/*
* Ifd0 will also have the exif directory
*/
diff --git a/src/Makefile.am b/src/Makefile.am
index 2a07666..7d3d3de 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -93,7 +93,6 @@ SOURCES = \
Imaging/OrderedWriter.cs \
Imaging/PixelBuffer.cs \
Imaging/RafFile.cs \
- Imaging/XmpFile.cs \
Imaging/Tiff.cs \
JobStore.cs \
Jobs/SyncMetadataJob.cs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]