[Digikam-devel] [Bug 117225] digikam requires at least libpng >= 1.2.7
Gilles Caulier
caulier.gilles at free.fr
Mon Nov 28 21:51:17 GMT 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=117225
------- Additional Comments From caulier.gilles free fr 2005-11-28 22:51 -------
SVN commit 483962 by cgilles:
patch from alfons hoogervorst: digikam 0.9.0 requires at least libpng >= 1.2.7
CCBUG: 117225
M +10 -0 configure.in.bot
M +15 -0 configure.in.in
--- trunk/extragear/graphics/digikam/configure.in.bot #483961:483962
@ -72,6 +72,16 @
echo "-- libtiff found.................. YES"
fi
+if test "x$have_png" != "xyes"; then
+ echo "-- libpng found................... NO"
+ echo ""
+ echo "digiKam needs libpng. You need to install the correct version (>= 1.2.7)."
+ echo ""
+ all_tests=bad
+else
+ echo "-- libpng found................... YES"
+fi
+
if test "x$have_lcms" != "xyes"; then
echo "-- lcms found..................... NO"
echo ""
--- trunk/extragear/graphics/digikam/configure.in.in #483961:483962
@ -251,6 +251,21 @
fi
#------------------------------------------------------------------
+# Check for libpng with png_set_add_alpha() function
+#------------------------------------------------------------------
+
+have_png=no
+KDE_CHECK_LIB(png, png_set_add_alpha,
+ have_png=yes,
+ AC_MSG_WARN([digiKam requires libpng >= 1.2.7]),
+ -lpng -lz -lm)
+
+if test "x$have_png" != "xyes"; then
+ AC_WARN([digiKam requires libpng >= 1.2.7; digiKam will not be compiled.])
+ DO_NOT_COMPILE="digikam digikamimageplugins $DO_NOT_COMPILE"
+fi
+
+#------------------------------------------------------------------
# Check for lcms (backported from krita)
#------------------------------------------------------------------
More information about the Digikam-devel
mailing list