r48287 - in /desktop/unstable/gnome-photos/debian: changelog patches/drop-jp2-gegl-check.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue Apr 19 17:44:53 UTC 2016


Author: biebl
Date: Tue Apr 19 17:44:53 2016
New Revision: 48287

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=48287
Log:
Drop jp2 gegl check which prevents gnome-photos to start if GEGL was not
compiled against libjapser. Not starting at all is worse then crashing
when trying to open a jp2 file, as JPEG-2000 files are very rare. That
said, we should fix the case anyway when gegl does not support a specific
image format.

Added:
    desktop/unstable/gnome-photos/debian/patches/drop-jp2-gegl-check.patch
Modified:
    desktop/unstable/gnome-photos/debian/changelog
    desktop/unstable/gnome-photos/debian/patches/series

Modified: desktop/unstable/gnome-photos/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-photos/debian/changelog?rev=48287&op=diff
==============================================================================
--- desktop/unstable/gnome-photos/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-photos/debian/changelog	[utf-8] Tue Apr 19 17:44:53 2016
@@ -22,6 +22,11 @@
     dh_gnome_clean.
   * Tighten Build-Depends on libpng-dev to ensure we have a version >= 1.6.
   * Fix typo in package description.
+  * Drop jp2 gegl check which prevents gnome-photos to start if GEGL was not
+    compiled against libjapser. Not starting at all is worse then crashing
+    when trying to open a jp2 file, as JPEG-2000 files are very rare. That
+    said, we should fix the case anyway when gegl does not support a specific
+    image format.
 
  -- Andreas Henriksson <andreas at fatal.se>  Sat, 02 Apr 2016 11:29:28 +0200
 

Added: desktop/unstable/gnome-photos/debian/patches/drop-jp2-gegl-check.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-photos/debian/patches/drop-jp2-gegl-check.patch?rev=48287&op=file
==============================================================================
--- desktop/unstable/gnome-photos/debian/patches/drop-jp2-gegl-check.patch	(added)
+++ desktop/unstable/gnome-photos/debian/patches/drop-jp2-gegl-check.patch	[utf-8] Tue Apr 19 17:44:53 2016
@@ -0,0 +1,29 @@
+From fabe706cac3ef461f248382e6522fe5a70c6ff84 Mon Sep 17 00:00:00 2001
+From: Michael Biebl <biebl at debian.org>
+Date: Tue, 19 Apr 2016 19:39:04 +0200
+Subject: [PATCH] drop jp2 gegl check
+
+If gegl is not compiled against libjasper, support for the JPEG-2000
+image format is missing. Not starting at all is worse then crashing when
+trying to open a jp2 file.
+That said, we should fix the case anyway when gegl does not support a
+specific image format.
+---
+ src/photos-application.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/photos-application.c b/src/photos-application.c
+index 2a0e231..626d643 100644
+--- a/src/photos-application.c
++++ b/src/photos-application.c
+@@ -152,7 +152,6 @@ static const gchar *REQUIRED_GEGL_OPS[] =
+   "gegl:scale-ratio",
+ 
+   /* Used by gegl:load */
+-  "gegl:jp2-load",
+   "gegl:jpg-load",
+   "gegl:png-load",
+   "gegl:raw-load",
+-- 
+2.8.1
+

Modified: desktop/unstable/gnome-photos/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-photos/debian/patches/series?rev=48287&op=diff
==============================================================================
--- desktop/unstable/gnome-photos/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gnome-photos/debian/patches/series	[utf-8] Tue Apr 19 17:44:53 2016
@@ -1 +1,2 @@
 90_drop-onlyshowin.patch
+drop-jp2-gegl-check.patch




More information about the pkg-gnome-commits mailing list