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

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit 035239f5db77d17b39039b24359575be071f64d2
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Mar 15 13:53:13 2024 +0100

    test: Corrections for for libjxl-0.10
---
 test/test_load_2.cpp | 11 +++++++++++
 test/test_save.cpp   |  8 +++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/test/test_load_2.cpp b/test/test_load_2.cpp
index f1c593a..5a73a76 100644
--- a/test/test_load_2.cpp
+++ b/test/test_load_2.cpp
@@ -5,6 +5,9 @@
 #include <Imlib2.h>
 
 #include <fcntl.h>
+#ifdef BUILD_JXL_LOADER
+#include <jxl/version.h>
+#endif
 
 #include "test.h"
 
@@ -55,8 +58,16 @@ static tii_t    tii[] = {
    { "xeyes-gray.j2k",          3377113384 },
 #endif
 #ifdef BUILD_JXL_LOADER
+#if JPEGXL_NUMERIC_VERSION >= JPEGXL_COMPUTE_NUMERIC_VERSION(0, 10, 0)
+#ifdef __i386__
+   { "icon-64.jxl",             2700566991 },
+#else
+   { "icon-64.jxl",             2773434955 },
+#endif
+#else
    { "icon-64.jxl",             2534597492 },
 #endif
+#endif
 #ifdef BUILD_PNG_LOADER
    { "icon-64.png",             1153555547 },
    { "xeyes.png",               2937827957 },
diff --git a/test/test_save.cpp b/test/test_save.cpp
index d6c55ba..f488182 100644
--- a/test/test_save.cpp
+++ b/test/test_save.cpp
@@ -33,7 +33,13 @@ static const test_rec_t exts[] = {
    { "jpeg", { 2458451111, 3483232328 } },
 #endif
 #ifdef BUILD_JXL_LOADER
-#if JPEGXL_NUMERIC_VERSION >= JPEGXL_COMPUTE_NUMERIC_VERSION(0, 8, 0)
+#if JPEGXL_NUMERIC_VERSION >= JPEGXL_COMPUTE_NUMERIC_VERSION(0, 10, 0)
+#ifdef __i386__
+   { "jxl",  {  911944613, 1271262469 } },
+#else
+   { "jxl",  { 2884987131, 3285665573 } },
+#endif
+#elif JPEGXL_NUMERIC_VERSION >= JPEGXL_COMPUTE_NUMERIC_VERSION(0, 8, 0)
 #ifdef __i386__
    { "jxl",  { 4232124886, 2621968888 } },
 #else

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to