From f903ef2113601a7bdb0c8bb841471d6718c57077 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Thu, 4 Feb 2016 20:51:30 +0100
Subject: Hi, I'd like one bugfix release to go please!

---
 ChangeLog   | 11 +++++++++++
 man/feh.pre |  9 +++++++++
 test/feh.t  | 14 ++++++++++++--
 3 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 21db20f..af9c3f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Thu, 04 Feb 2016 20:31:38 +0100
+
+* Release v2.14.1
+    * Skip a small set of build tests on Debian and derivatives, since they
+      trigger a Debian/Imlib2 bug. See
+      <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812657> and
+      <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729> for more
+      information
+    * Fix a segfault when combining --scale-down and --thumbnails on a
+      sufficiently large directory
+
 Sun, 04 Oct 2015 10:01:20 +0200
 
 * Release v2.14
diff --git a/man/feh.pre b/man/feh.pre
index c83464a..ad23e10 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -1685,6 +1685,15 @@ section.
 .
 .Pp
 .
+On some systems with Imlib2 1.4.7,
+.Nm
+may be unable to load gif images unless they are the only image in the
+filelist. This appears to be caused by a Debian and/or Imlib2 bug. See
+.Aq https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729
+for details.
+.
+.Pp
+.
 Thumbnail mode is somewhat inefficient, and because of that not nearly as fast
 as it could be.
 .
diff --git a/test/feh.t b/test/feh.t
index a9d2a04..d8e5e3f 100644
--- a/test/feh.t
+++ b/test/feh.t
@@ -115,8 +115,18 @@ $cmd = Test::Command->new(
 	cmd => "$feh --list --recursive --sort filename test/ok" );
 
 $cmd->exit_is_num(0);
-$cmd->stdout_is_file('test/list/filename_recursive');
-$cmd->stderr_is_eq('');
+
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812657
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729
+if ( -e '/etc/debian_version' and qx{imlib2-config --version} eq "1.4.7\n" ) {
+	# dummy tests to match number of planned tests
+	$cmd->exit_is_num(0);
+	$cmd->exit_is_num(0);
+}
+else {
+	$cmd->stdout_is_file('test/list/filename_recursive');
+	$cmd->stderr_is_eq('');
+}
 
 $cmd = Test::Command->new( cmd => "$feh --customlist '%f; %h; %l; %m; %n; %p; "
 	  . "%s; %t; %u; %w' $images" );
-- 
cgit v1.2.3