patch for admin/

Michael Ritzert kde at ritzert.de
Thu Feb 20 15:43:44 GMT 2003


Hi all,

the newly released JasPer 1.700 is not compatible with the current JPEG2000 
kimgio we have. I'm trying to make them work together.
As it may take some time, could somebody with the necessary permissions please 
check in the attached patch to require JasPer 1.600 at configure time rather 
than dying with a compile error for kdelib/kimgio/jp2.cpp?

Thanks,
Michael

Index: acinclude.m4.in
===================================================================
RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
retrieving revision 2.340
diff -u -3 -p -r2.340 acinclude.m4.in
--- acinclude.m4.in	19 Feb 2003 15:32:08 -0000	2.340
+++ acinclude.m4.in	20 Feb 2003 15:37:34 -0000
@@ -2575,7 +2575,7 @@ AC_DEFUN(AC_FIND_JASPER,
 [
 AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
 AC_REQUIRE([AC_FIND_JPEG])
-AC_MSG_CHECKING([for jasper])
+AC_MSG_CHECKING([for jasper 1.600])
 AC_CACHE_VAL(ac_cv_jasper,
 [
 kde_save_LIBS="$LIBS"
@@ -2588,7 +2588,7 @@ AC_TRY_LINK(dnl
     #include<jasper/jasper.h>
     ],
     [
-    return( jas_init() );
+    return( jas_init() && JAS_IMAGE_CS_RGB );
     ],
     eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
     eval "ac_cv_jasper=no"





More information about the kde-core-devel mailing list