[aseprite] 01/02: Update and readd patch disable-resize_image_tests.patch.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 14:08:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit a85f4efae406855cfb768b2f26d5ab61d4ea51ef
Author: Tobias Hansen <thansen at localhost.localdomain>
Date:   Tue Mar 8 13:52:15 2016 +0000

    Update and readd patch disable-resize_image_tests.patch.
---
 debian/changelog                                |  7 +++++++
 debian/patches/disable-resize_image_tests.patch | 22 ++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f4d4dc1..7947cd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+aseprite (1.1.3+ds-2) unstable; urgency=medium
+
+  * Update and readd patch disable-resize_image_tests.patch,
+    which is still required to build on i386.
+
+ -- Tobias Hansen <thansen at debian.org>  Tue, 08 Mar 2016 13:50:24 +0000
+
 aseprite (1.1.3+ds-1) unstable; urgency=medium
 
   [ Tobias Hansen ]
diff --git a/debian/patches/disable-resize_image_tests.patch b/debian/patches/disable-resize_image_tests.patch
new file mode 100644
index 0000000..9010091
--- /dev/null
+++ b/debian/patches/disable-resize_image_tests.patch
@@ -0,0 +1,22 @@
+Description: Disable the resize image tests
+ This file currently contains only a test for the neirest neighbor
+ resize algorithm, which has a bug which makes it non-deterministic.
+ This caused the test to fail on i386 architectures. It will be disabled
+ until the algorithm is fixed.
+Author: Tobias Hansen <thansen at debian.org>
+Bug: https://github.com/aseprite/aseprite/issues/502
+Bug-Debian: https://bugs.debian.org/765291
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -181,6 +181,10 @@
+   foreach(testsourcefile ${tests})
+     get_filename_component(testname ${testsourcefile} NAME_WE)
+ 
++    if (${testname} STREQUAL "resize_image_tests")
++      continue()
++    endif()
++
+     add_executable(${testname} ${testsourcefile})
+     add_test(NAME ${testname} COMMAND ${testname})
+ 
diff --git a/debian/patches/series b/debian/patches/series
index bc2442a..1cb7ef2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ find-pixman-combine32.patch
 third_party_cmakelists.patch
 find_freetype.patch
 shared_modp_b64.patch
+disable-resize_image_tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list