From c47aee3d77a723fa3a17f3782102109978ba42d4 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha <jeremy.bi...@canonical.com> Date: Wed, 24 Aug 2022 07:13:37 -0400 Subject: [PATCH 1/3] Cherry-pick patch to declare that the Shotwell Viewer can open webp files
Closes: #1018025 --- debian/patches/series | 1 + debian/patches/webp.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 debian/patches/webp.patch diff --git a/debian/patches/series b/debian/patches/series index cd86938..3cd8ebe 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ #0105-gitversion.patch #0110-use_relative_lib_path.patch +webp.patch diff --git a/debian/patches/webp.patch b/debian/patches/webp.patch new file mode 100644 index 0000000..47ee522 --- /dev/null +++ b/debian/patches/webp.patch @@ -0,0 +1,22 @@ +From: Jens Georg <m...@jensge.org> +Date: Wed, 4 Mar 2020 22:28:57 +0100 +Subject: data: Declare support for WebP and GIF in viewer + +https://gitlab.gnome.org/GNOME/shotwell/-/commit/82c6707284bd590c5813691d602d87d8d237ac00 +--- + misc/shotwell-viewer.desktop.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/misc/shotwell-viewer.desktop.in b/misc/shotwell-viewer.desktop.in +index b5e41f3..20b2f6e 100644 +--- a/misc/shotwell-viewer.desktop.in ++++ b/misc/shotwell-viewer.desktop.in +@@ -8,7 +8,7 @@ Icon=shotwell + Terminal=false + NoDisplay=true + Type=Application +-MimeType=image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-3fr;image/x-adobe-dng;image/x-arw;image/x-bay;image/x-bmp;image/x-canon-cr2;image/x-canon-crw;image/x-cap;image/x-cr2;image/x-crw;image/x-dcr;image/x-dcraw;image/x-dcs;image/x-dng;image/x-drf;image/x-eip;image/x-erf;image/x-fff;image/x-fuji-raf;image/x-iiq;image/x-k25;image/x-kdc;image/x-mef;image/x-minolta-mrw;image/x-mos;image/x-mrw;image/x-nef;image/x-nikon-nef;image/x-nrw;image/x-olympus-orf;image/x-orf;image/x-panasonic-raw;image/x-pef;image/x-pentax-pef;image/x-png;image/x-ptx;image/x-pxn;image/x-r3d;image/x-raf;image/x-raw;image/x-rw2;image/x-rwl;image/x-rwz;image/x-sigma-x3f;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-sr2;image/x-srf;image/x-x3f; ++MimeType=image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-3fr;image/x-adobe-dng;image/x-arw;image/x-bay;image/x-bmp;image/x-canon-cr2;image/x-canon-crw;image/x-cap;image/x-cr2;image/x-crw;image/x-dcr;image/x-dcraw;image/x-dcs;image/x-dng;image/x-drf;image/x-eip;image/x-erf;image/x-fff;image/x-fuji-raf;image/x-iiq;image/x-k25;image/x-kdc;image/x-mef;image/x-minolta-mrw;image/x-mos;image/x-mrw;image/x-nef;image/x-nikon-nef;image/x-nrw;image/x-olympus-orf;image/x-orf;image/x-panasonic-raw;image/x-pef;image/x-pentax-pef;image/x-png;image/x-ptx;image/x-pxn;image/x-r3d;image/x-raf;image/x-raw;image/x-rw2;image/x-rwl;image/x-rwz;image/x-sigma-x3f;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-sr2;image/x-srf;image/x-x3f;image/gif;image/webp + Categories=Graphics;Viewer;Photography;GNOME;GTK; + X-GIO-NoFuse=true + X-GNOME-Gettext-Domain=shotwell -- 2.36.1