summaryrefslogtreecommitdiff
path: root/debian/patches/0115-webp_part3.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-14 17:12:27 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-14 17:12:27 +0200
commit37de42bdc79fa3b3adfb4144c0f26943fa6cafae (patch)
tree823bfe0457d0d41b436ad4330135b68d4d789f9e /debian/patches/0115-webp_part3.patch
parentc11ce42c49649b88f31f7a3396beb4ec488e2991 (diff)
Add webp support
Diffstat (limited to 'debian/patches/0115-webp_part3.patch')
-rw-r--r--debian/patches/0115-webp_part3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0115-webp_part3.patch b/debian/patches/0115-webp_part3.patch
new file mode 100644
index 0000000..4d992c4
--- /dev/null
+++ b/debian/patches/0115-webp_part3.patch
@@ -0,0 +1,22 @@
+From: Jens Georg <mail@jensge.org>
+Date: Sat, 9 Feb 2019 16:43:15 +0100
+Subject: Fix an issue with the WEBP meta-data writer
+
+(cherry picked from commit 57ab1628883e3fde5bb3eafc0197b4e17354d2a6)
+---
+ src/photos/WebPSupport.vala | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/photos/WebPSupport.vala b/src/photos/WebPSupport.vala
+index 093f196..2f4723c 100644
+--- a/src/photos/WebPSupport.vala
++++ b/src/photos/WebPSupport.vala
+@@ -213,7 +213,7 @@ private class WebpReader : PhotoFileReader {
+
+ private class WebpMetadataWriter : PhotoFileMetadataWriter {
+ public WebpMetadataWriter(string filepath) {
+- base (filepath, PhotoFileFormat.TIFF);
++ base (filepath, PhotoFileFormat.WEBP);
+ }
+
+ public override void write_metadata(PhotoMetadata metadata) throws Error {