From 37de42bdc79fa3b3adfb4144c0f26943fa6cafae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 14 Jun 2023 17:12:27 +0200 Subject: Add webp support --- debian/patches/0115-webp_part3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/patches/0115-webp_part3.patch (limited to 'debian/patches/0115-webp_part3.patch') 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 +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 { -- cgit v1.2.3