GraphicsMagick: configure.ac: When checking for libwmf, add a te...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.21536.1659909373.1524.graphicsmagick-commit@lists.sourceforge.net>
changeset f622226c42eb in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=f622226c42eb
summary: configure.ac: When checking for libwmf, add a test for libsharpyuv.

diffstat:

 ChangeLog                              |   7 +++++-
 VisualMagick/installer/inc/version.isx |   4 +-
 configure                              |  40 ++++++++++++++++++++++++++++++++++
 configure.ac                           |   1 +
 magick/version.h                       |   4 +-
 www/Changelog.html                     |   8 ++++++
 6 files changed, 59 insertions(+), 5 deletions(-)

diffs (121 lines):

diff -r 9c564d99b50a -r f622226c42eb ChangeLog
--- a/ChangeLog	Sun Aug 07 11:48:19 2022 +0200
+++ b/ChangeLog	Sun Aug 07 16:55:55 2022 -0500
@@ -1,7 +1,12 @@
+2022-08-07  Bob Friesenhahn  <[email protected]>
+
+        * configure.ac: When checking for libwmf, add a test for
+        libsharpyuv.  Not yet tested but maybe it will work.
+
 2022-08-07    Fojtik Jaroslav  <[email protected]>
 
         * VisualMagick\configure\configure.cpp: The /MACHINE:x86
-	should never be placed to DLL dependency list.
+        should never be placed to DLL dependency list.
 
 2022-08-06  Bob Friesenhahn  <[email protected]>
 
diff -r 9c564d99b50a -r f622226c42eb VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Sun Aug 07 11:48:19 2022 +0200
+++ b/VisualMagick/installer/inc/version.isx	Sun Aug 07 16:55:55 2022 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020220806"
-#define public MagickPackageReleaseDate "snapshot-20220806"
+#define public MagickPackageVersionAddendum ".020220807"
+#define public MagickPackageReleaseDate "snapshot-20220807"
diff -r 9c564d99b50a -r f622226c42eb configure
--- a/configure	Sun Aug 07 11:48:19 2022 +0200
+++ b/configure	Sun Aug 07 16:55:55 2022 -0500
@@ -27480,6 +27480,46 @@
   LIB_WEBP="$LIB_WEBP -lwebpmux"
 fi
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SharpYuvConvert in -lsharpyuv" >&5
+$as_echo_n "checking for SharpYuvConvert in -lsharpyuv... " >&6; }
+if ${ac_cv_lib_sharpyuv_SharpYuvConvert+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsharpyuv  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char SharpYuvConvert ();
+int
+main ()
+{
+return SharpYuvConvert ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_sharpyuv_SharpYuvConvert=yes
+else
+  ac_cv_lib_sharpyuv_SharpYuvConvert=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sharpyuv_SharpYuvConvert" >&5
+$as_echo "$ac_cv_lib_sharpyuv_SharpYuvConvert" >&6; }
+if test "x$ac_cv_lib_sharpyuv_SharpYuvConvert" = xyes; then :
+  LIB_WEBP="$LIB_WEBP -lsharpyuv"
+fi
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if WEBP package is complete" >&5
 $as_echo_n "checking if WEBP package is complete... " >&6; }
     if test $passed -gt 0
diff -r 9c564d99b50a -r f622226c42eb configure.ac
--- a/configure.ac	Sun Aug 07 11:48:19 2022 +0200
+++ b/configure.ac	Sun Aug 07 16:55:55 2022 -0500
@@ -2585,6 +2585,7 @@
     AC_CHECK_HEADER([webp/encode.h],[passed=`expr $passed + 1`],[failed=`expr $failed + 1`],[])
     AC_CHECK_LIB([webp],[WebPDecodeRGB],[passed=`expr $passed + 1`; LIB_WEBP='-lwebp'],[failed=`expr $failed + 1`],[])
     AC_CHECK_LIB([webpmux],[WebPMuxSetImage],[LIB_WEBP="$LIB_WEBP -lwebpmux"],[],[-lwebp])
+    AC_CHECK_LIB([sharpyuv],[SharpYuvConvert],[LIB_WEBP="$LIB_WEBP -lsharpyuv"],[],[])
     AC_MSG_CHECKING([if WEBP package is complete])
     if test $passed -gt 0
     then
diff -r 9c564d99b50a -r f622226c42eb magick/version.h
--- a/magick/version.h	Sun Aug 07 11:48:19 2022 +0200
+++ b/magick/version.h	Sun Aug 07 16:55:55 2022 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272400
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,0
-#define MagickChangeDate   "20220806"
-#define MagickReleaseDate  "snapshot-20220806"
+#define MagickChangeDate   "20220807"
+#define MagickReleaseDate  "snapshot-20220807"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r 9c564d99b50a -r f622226c42eb www/Changelog.html
--- a/www/Changelog.html	Sun Aug 07 11:48:19 2022 +0200
+++ b/www/Changelog.html	Sun Aug 07 16:55:55 2022 -0500
@@ -35,6 +35,14 @@
 <div class="document">
 
 
+<p>2022-08-07  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
+<blockquote>
+* configure.ac: When checking for libwmf, add a test for
+libsharpyuv.  Not yet tested but maybe it will work.</blockquote>
+<p>2022-08-07    Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;yandex&#46;com">JaFojtik<span>&#64;</span>yandex<span>&#46;</span>com</a>&gt;</p>
+<blockquote>
+* VisualMagickconfigureconfigure.cpp: The /MACHINE:x86
+should never be placed to DLL dependency list.</blockquote>
 <p>2022-08-06  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 * coders/tga.c: Enhance 'coder' level trace information.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.