summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-02 08:03:40 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-02 08:03:40 +0200
commit0fa5c3c25e4eb9aa7b7ad87996cb9151cc11831b (patch)
treecb0003c34d3fa2945acfbeb3f1de67d6551d37ee /debian/patches
parent75a936e5054cb15a73f385874fa499735a00230a (diff)
Cherry-pick patch for Shotwell Viewer to open webp files
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0100-webp.patch21
-rw-r--r--debian/patches/series1
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0100-webp.patch b/debian/patches/0100-webp.patch
new file mode 100644
index 0000000..2686139
--- /dev/null
+++ b/debian/patches/0100-webp.patch
@@ -0,0 +1,21 @@
+Description: data: Declare support for WebP and GIF in viewer
+Author: Jens Georg <mail@jensge.org>
+Origin: upstream, https://gitlab.gnome.org/GNOME/shotwell/-/commit/82c6707284bd590c5813691d602d87d8d237ac00
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018025
+Forwarded: no
+Last-Update: 2022-10-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+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
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..f7b4a86 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0100-webp.patch