Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1bdd2746f8
)
r14.1.x
parent
3f622f151a
commit
029784cdc7
@ -1,3 +0,0 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
@ -1,24 +0,0 @@
|
||||
SUBDIRS = kernel doc
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
pkgconfigdir = ${libdir}/pkgconfig
|
||||
pkgconfig_DATA = ksquirrellibs.pc
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
EXTRA_DIST = examples/w3.bmp examples/qtapp/main.cpp examples/qtapp/myqt.cpp examples/qtapp/myqt.h examples/qtapp/qtapp.pro \
|
||||
examples/qtgl/main.cpp examples/qtgl/myqgl.cpp examples/qtgl/myqgl.h examples/qtgl/qtgl.pro ksquirrellibs.pc.in required-etch \
|
||||
description-pak admin/acinclude.m4.in admin/config.guess admin/config.sub admin/depcomp admin/Doxyfile.global admin/ltmain.sh admin/mkinstalldirs \
|
||||
admin/am_edit admin/compile admin/config.pl admin/configure.in.bot.end admin/cvs.sh admin/install-sh admin/Makefile.common admin/nmcheck \
|
||||
admin/bcheck.pl admin/conf.change.pl admin/configure.in.min admin/debianrules admin/Doxyfile.am admin/libtool.m4.in admin/missing admin/ylwrap ChangeLog admin/config.rpath
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
Subproject commit 02e3ce6281bd1fd1bed8da7ef6d0a2dc2acc90f0
|
@ -1,929 +0,0 @@
|
||||
AC_INIT([ksquirrel-libs], [0.8.0], [ksquirrel.iv@gmail.com])
|
||||
#AC_GNU_SOURCE
|
||||
#AC_CONFIG_SRCDIR([config.h.in])
|
||||
#AM_INIT_AUTOMAKE([foreign])
|
||||
#AC_CONFIG_HEADER([config.h])
|
||||
|
||||
AC_CONFIG_AUX_DIR([admin])
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
AM_INIT_AUTOMAKE(ksquirrel-libs, 0.8.0)
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
# AC_PROG_CXX
|
||||
# AC_PROG_CC
|
||||
# AC_PROG_CPP
|
||||
# AC_PROG_INSTALL
|
||||
# AC_PROG_LN_S
|
||||
# AC_PROG_MAKE_SET
|
||||
# AC_PROG_RANLIB
|
||||
|
||||
# AM_PROG_CC_C_O
|
||||
|
||||
KDE_USE_TQT(3.1)
|
||||
AC_PATH_KDE
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
AC_C_CONST
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
# Checks for library functions.
|
||||
#AC_FUNC_ERROR_AT_LINE
|
||||
AC_FUNC_REALLOC
|
||||
AC_FUNC_STAT
|
||||
|
||||
AC_CHECK_HEADER([zlib.h], [
|
||||
AC_CHECK_LIB([z], [inflate], [
|
||||
sq_have_zlib_ff="yes"],
|
||||
[ AC_MSG_ERROR([zlib library not found])])
|
||||
], [ AC_MSG_ERROR([zlib header files not found])])
|
||||
|
||||
AC_CHECK_HEADER([math.h], [
|
||||
AC_CHECK_LIB([m], [pow], [
|
||||
sq_have_zlib_ff="yes"],
|
||||
[ AC_MSG_ERROR([math library not found])])
|
||||
], [ AC_MSG_ERROR([<math.h> header files not found])])
|
||||
|
||||
sq_dev="no"
|
||||
|
||||
AC_ARG_ENABLE(devel,
|
||||
[AS_HELP_STRING([--enable-devel], [Enable buggy codecs (for developers only) [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_dev="yes" ;;
|
||||
no) sq_dev="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_camera="yes"
|
||||
|
||||
AC_ARG_ENABLE(camera,
|
||||
[AS_HELP_STRING([--disable-camera], [don't compile camera codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_camera="yes" ;;
|
||||
no) sq_codec_camera="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_gif="yes"
|
||||
sq_have_gif="no"
|
||||
|
||||
AC_ARG_ENABLE(gif,
|
||||
[AS_HELP_STRING([--disable-gif], [don't compile gif codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_gif="yes" ;;
|
||||
no) sq_codec_gif="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_eps="yes"
|
||||
sq_have_eps="no"
|
||||
|
||||
AC_ARG_ENABLE(eps,
|
||||
[AS_HELP_STRING([--disable-eps], [don't compile eps codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_eps="yes" ;;
|
||||
no) sq_codec_eps="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_svg="yes"
|
||||
sq_have_svg="no"
|
||||
|
||||
AC_ARG_ENABLE(svg,
|
||||
[AS_HELP_STRING([--disable-svg], [don't compile svg codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_svg="yes" ;;
|
||||
no) sq_codec_svg="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_dicom="yes"
|
||||
sq_have_dicom="no"
|
||||
|
||||
AC_ARG_ENABLE(dicom,
|
||||
[AS_HELP_STRING([--disable-dicom], [don't compile dicom codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_dicom="yes" ;;
|
||||
no) sq_codec_dicom="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_openexr="yes"
|
||||
sq_have_openexr="no"
|
||||
|
||||
AC_ARG_ENABLE(openexr,
|
||||
[AS_HELP_STRING([--disable-openexr], [don't compile openexr codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_openexr="yes" ;;
|
||||
no) sq_codec_openexr="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_jpeg2000="yes"
|
||||
sq_have_jpeg2000="no"
|
||||
|
||||
AC_ARG_ENABLE(jpeg2000,
|
||||
[AS_HELP_STRING([--disable-jpeg2000], [don't compile jpeg2000 codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_jpeg2000="yes" ;;
|
||||
no) sq_codec_jpeg2000="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_wmf="yes"
|
||||
sq_have_wmf="no"
|
||||
|
||||
AC_ARG_ENABLE(wmf,
|
||||
[AS_HELP_STRING([--disable-wmf], [don't compile wmf codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_wmf="yes" ;;
|
||||
no) sq_codec_wmf="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_ttf="yes"
|
||||
sq_have_ttf="no"
|
||||
|
||||
AC_ARG_ENABLE(ttf,
|
||||
[AS_HELP_STRING([--disable-ttf], [don't compile ttf codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_ttf="yes" ;;
|
||||
no) sq_codec_ttf="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_mng="yes"
|
||||
sq_have_mng="no"
|
||||
|
||||
AC_ARG_ENABLE(mng,
|
||||
[AS_HELP_STRING([--disable-mng], [don't compile mng codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_mng="yes" ;;
|
||||
no) sq_codec_mng="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_mng="yes"
|
||||
sq_have_mng="no"
|
||||
|
||||
AC_ARG_ENABLE(mng,
|
||||
[AS_HELP_STRING([--disable-mng], [don't compile mng codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_mng="yes" ;;
|
||||
no) sq_codec_mng="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_djvu="yes"
|
||||
sq_have_djvu="no"
|
||||
|
||||
AC_ARG_ENABLE(djvu,
|
||||
[AS_HELP_STRING([--disable-djvu], [don't compile djvu codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_djvu="yes" ;;
|
||||
no) sq_codec_djvu="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_dxf="yes"
|
||||
sq_have_dxf="no"
|
||||
|
||||
AC_ARG_ENABLE(dxf,
|
||||
[AS_HELP_STRING([--disable-dxf], [don't compile dxf codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_dxf="yes" ;;
|
||||
no) sq_codec_dxf="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_fig="yes"
|
||||
sq_have_fig="no"
|
||||
|
||||
AC_ARG_ENABLE(fig,
|
||||
[AS_HELP_STRING([--disable-fig], [don't compile fig codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_fig="yes" ;;
|
||||
no) sq_codec_fig="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_xcf="yes"
|
||||
|
||||
AC_ARG_ENABLE(xcf,
|
||||
[AS_HELP_STRING([--disable-xcf], [don't compile xcf codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_xcf="yes" ;;
|
||||
no) sq_codec_xcf="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
sq_codec_ljpeg="yes"
|
||||
|
||||
AC_ARG_ENABLE(ljpeg,
|
||||
[AS_HELP_STRING([--disable-ljpeg], [don't compile ljpeg codec [default=no]])],
|
||||
[ case "${enableval}" in
|
||||
yes) sq_codec_ljpeg="yes" ;;
|
||||
no) sq_codec_ljpeg="no" ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
missing()
|
||||
{
|
||||
echo
|
||||
echo "*****************************************************"
|
||||
echo " $2 library or headers were not found."
|
||||
echo " $1 codec will be disabled."
|
||||
echo " To add support of $1 codec please install"
|
||||
echo " $2 libraries and headers."
|
||||
echo "*****************************************************"
|
||||
echo
|
||||
}
|
||||
|
||||
missing_prog()
|
||||
{
|
||||
echo
|
||||
echo "*****************************************************"
|
||||
echo " $2 program was not found."
|
||||
echo " $1 codec will be disabled."
|
||||
echo " To add support of $1 codec please install"
|
||||
echo " $2 binary program or package."
|
||||
echo "*****************************************************"
|
||||
echo
|
||||
}
|
||||
|
||||
AC_CHECK_HEADERS([ksquirrel-libs/error.h], [sq_have_ksqlibs="yes"],
|
||||
[sq_have_ksqlibs="no"])
|
||||
|
||||
|
||||
# JPEG
|
||||
AC_CHECK_HEADERS([jpeglib.h], [
|
||||
AC_CHECK_LIB([jpeg], [main], [sq_have_jpeg="yes"], [sq_have_jpeg="no" missing JPEG libjpeg])
|
||||
],
|
||||
[sq_have_jpeg="no" missing JPEG libjpeg])
|
||||
|
||||
# TIFF
|
||||
AC_CHECK_HEADERS([tiff.h], [
|
||||
AC_CHECK_LIB([tiff], [TIFFOpen], [sq_have_tiff="yes"], [sq_have_tiff="no" missing TIFF libtiff])
|
||||
],
|
||||
[sq_have_tiff="no" missing TIFF libtiff
|
||||
])
|
||||
|
||||
# MNG
|
||||
|
||||
if test $sq_codec_mng = yes; then
|
||||
AC_CHECK_HEADERS([libmng.h], [
|
||||
AC_CHECK_LIB([mng], [mng_get_totallayers], [sq_have_mng="yes"], [sq_have_mng="no" missing MNG libmng])
|
||||
],
|
||||
[sq_have_mng="no" missing MNG libmng])
|
||||
fi
|
||||
|
||||
# SVG
|
||||
if test $sq_codec_svg = yes; then
|
||||
|
||||
AC_PATH_PROG(RSVG, rsvg-convert)
|
||||
|
||||
if [ test -n "$RSVG" ]; then
|
||||
sq_have_svg="yes"
|
||||
AC_SUBST(RSVG)
|
||||
else missing_prog SVG rsvg-convert
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# EPS
|
||||
if test $sq_codec_eps = yes; then
|
||||
|
||||
AC_PATH_PROG(EPS2PPM, gs)
|
||||
|
||||
if [ test -n "$EPS2PPM" ]; then
|
||||
sq_have_eps="yes"
|
||||
AC_SUBST(EPS2PPM)
|
||||
else missing_prog EPS gs
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# DICOM
|
||||
if test $sq_codec_dicom = yes; then
|
||||
|
||||
AC_PATH_PROG(MEDCON, medcon)
|
||||
|
||||
if [ test -n "$MEDCON" ]; then
|
||||
sq_have_dicom="yes"
|
||||
AC_SUBST(MEDCON)
|
||||
else missing_prog DICOM medcon
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test $sq_codec_camera = yes; then
|
||||
|
||||
PKG_CHECK_MODULES([lcms], lcms, [sq_have_cms="yes"], [sq_have_cms="no"])
|
||||
|
||||
fi
|
||||
|
||||
# JPEG2000
|
||||
if test $sq_codec_jpeg2000 = yes; then
|
||||
|
||||
AC_CHECK_HEADERS([jasper/jasper.h], [
|
||||
AC_CHECK_LIB([jasper], [jas_init], [sq_have_jpeg2000="yes"], [sq_have_jpeg2000="no" missing JPEG2000 jasper])
|
||||
],
|
||||
[sq_have_jpeg2000="no" missing JPEG2000 jasper])
|
||||
|
||||
fi
|
||||
|
||||
# WMF
|
||||
if test $sq_codec_wmf = yes; then
|
||||
|
||||
AC_PATH_PROG(WMF_CONFIG, libwmf-config)
|
||||
|
||||
if [ test -n "$WMF_CONFIG" ]; then
|
||||
|
||||
SQ_WMF_CFLAGS=`$WMF_CONFIG --cflags`
|
||||
SQ_WMF_LDFLAGS=`$WMF_CONFIG --libs`
|
||||
|
||||
_cppflags=$CPPFLAGS
|
||||
_ldflags=$LDFLAGS
|
||||
|
||||
CPPFLAGS="$SQ_WMF_CFLAGS $CPPFLAGS"
|
||||
LDFLAGS="$LDFLAGS $SQ_WMF_LDFLAGS"
|
||||
|
||||
AC_CHECK_HEADERS([libwmf/types.h], [
|
||||
AC_CHECK_LIB([wmf], [wmf_api_create], [
|
||||
sq_have_wmf="yes"
|
||||
AC_SUBST(SQ_WMF_CFLAGS)
|
||||
AC_SUBST(SQ_WMF_LDFLAGS)
|
||||
], [sq_have_wmf="no" missing WMF libwmf])
|
||||
],
|
||||
[sq_have_wmf="no" missing WMF libwmf])
|
||||
|
||||
CPPFLAGS=$_cppflags
|
||||
LDFLAGS=$_ldflags
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
# GIF
|
||||
if test $sq_codec_gif = yes; then
|
||||
|
||||
SQ_GIFLIBS=""
|
||||
|
||||
AC_CHECK_HEADERS([gif_lib.h], [
|
||||
AC_CHECK_LIB([ungif], [DGifOpenFileName], [sq_have_gif="yes" SQ_GIFLIBS="-lungif"],
|
||||
[
|
||||
AC_CHECK_LIB([gif], [DGifOpenFileName], [sq_have_gif="yes" SQ_GIFLIBS="-lgif"], [sq_have_gif="no" missing GIF "libungif or giflib"])
|
||||
]
|
||||
)
|
||||
],
|
||||
[sq_have_gif="no"])
|
||||
|
||||
AC_SUBST(SQ_GIFLIBS)
|
||||
|
||||
fi
|
||||
|
||||
# OPENEXR
|
||||
if test $sq_codec_openexr = yes; then
|
||||
|
||||
PKG_CHECK_MODULES([OpenEXR], OpenEXR,
|
||||
[
|
||||
SQ_EXR_CFLAGS=$OpenEXR_CFLAGS
|
||||
SQ_EXR_LDFLAGS=$OpenEXR_LIBS
|
||||
|
||||
_cppflags=$CPPFLAGS
|
||||
_ldflags=$LDFLAGS
|
||||
|
||||
CPPFLAGS="$SQ_EXR_CFLAGS $CPPFLAGS $USE_EXCEPTIONS"
|
||||
LDFLAGS="$LDFLAGS $SQ_EXR_LDFLAGS"
|
||||
BASE_CPPFLAGS="$CPPFLAGS"
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_CHECK_HEADERS([OpenEXR/ImfRgbaFile.h],
|
||||
[sq_have_openexr_headers="yes"],
|
||||
[
|
||||
for CXX_STD_TEST in 11 14 17; do
|
||||
AC_MSG_CHECKING([OpenEXR build with C++$CXX_STD_TEST])
|
||||
CPPFLAGS="$BASE_CPPFLAGS -std=c++$CXX_STD_TEST"
|
||||
$as_unset ac_cv_header_OpenEXR_ImfRgbaFile_h
|
||||
AC_CHECK_HEADERS([OpenEXR/ImfRgbaFile.h],
|
||||
[
|
||||
sq_have_openexr_headers="yes"
|
||||
SQ_EXR_CFLAGS+=" -std=c++$CXX_STD_TEST"
|
||||
],
|
||||
[sq_have_openexr="no" missing OpenEXR libopenexr])
|
||||
if test x$sq_have_openexr_headers = xyes; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
])
|
||||
if test x$sq_have_openexr_headers = xyes; then
|
||||
AC_CHECK_LIB([OpenEXR], [ImfInputFileName],
|
||||
[
|
||||
sq_have_openexr="yes"
|
||||
AC_SUBST(SQ_EXR_CFLAGS)
|
||||
AC_SUBST(SQ_EXR_LDFLAGS)
|
||||
],
|
||||
[
|
||||
AC_CHECK_LIB([IlmImf], [ImfInputFileName],
|
||||
[
|
||||
sq_have_openexr="yes"
|
||||
AC_SUBST(SQ_EXR_CFLAGS)
|
||||
AC_SUBST(SQ_EXR_LDFLAGS)
|
||||
],
|
||||
[sq_have_openexr="no" missing OpenEXR libopenexr])
|
||||
])
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
|
||||
CPPFLAGS=$_cppflags
|
||||
LDFLAGS=$_ldflags
|
||||
],
|
||||
[sq_have_openexr="no" missing OpenEXR libopenexr])
|
||||
fi
|
||||
|
||||
_cppflags=$CPPFLAGS
|
||||
_ldflags=$LDFLAGS
|
||||
|
||||
# TTF
|
||||
if test $sq_codec_ttf = yes; then
|
||||
|
||||
if test -z "$PKGCONFIG"; then
|
||||
KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
|
||||
AC_MSG_WARN([Could not find pkg-config ])
|
||||
])
|
||||
fi
|
||||
|
||||
if test -n "$PKGCONFIG"; then
|
||||
AC_MSG_CHECKING([for freetype >= 5.0])
|
||||
vers=`$PKGCONFIG freetype2 --modversion 2>/dev/null | $SED -e 's/libfontconfig //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
|
||||
if test -n "$vers" && test "$vers" -ge 5000000; then
|
||||
freetype_libs="`$PKGCONFIG freetype2 --libs`"
|
||||
freetype_cflags="`$PKGCONFIG freetype2 --cflags`"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$freetype_libs"; then
|
||||
AC_PATH_PROG(FREETYPE_CONFIG, freetype-config)
|
||||
if test -n "$FREETYPE_CONFIG"; then
|
||||
freetype_cflags=`$FREETYPE_CONFIG --cflags`
|
||||
freetype_libs=`$FREETYPE_CONFIG --libs`
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$freetype_libs"; then
|
||||
CPPFLAGS="$freetype_cflags $CPPFLAGS"
|
||||
LDFLAGS="$LDFLAGS $freetype_libs"
|
||||
|
||||
AC_CHECK_HEADER([ft2build.h], [
|
||||
AC_CHECK_HEADER([freetype/ftbitmap.h], [
|
||||
AC_CHECK_LIB([freetype], [FTC_ImageCache_New], [
|
||||
AC_CHECK_LIB([freetype], [FTC_SBitCache_New], [
|
||||
AC_CHECK_LIB([freetype], [FTC_CMapCache_New], [
|
||||
AC_CHECK_LIB([freetype], [FTC_Manager_New], [
|
||||
AC_CHECK_LIB([freetype], [FT_Get_Kerning], [
|
||||
AC_CHECK_LIB([freetype], [FT_Get_Track_Kerning], [
|
||||
|
||||
SQ_FT_LDFLAGS="$freetype_libs"
|
||||
SQ_FT_CFLAGS="$freetype_cflags"
|
||||
sq_have_ttf="yes"
|
||||
AC_SUBST(SQ_FT_CFLAGS)
|
||||
AC_SUBST(SQ_FT_LDFLAGS)
|
||||
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
],[ sq_have_ttf="no" missing TTF freetype])
|
||||
fi
|
||||
|
||||
CPPFLAGS=$_cppflags
|
||||
LDFLAGS=$_ldflags
|
||||
|
||||
fi
|
||||
|
||||
if test $sq_codec_djvu = yes; then
|
||||
|
||||
AC_PATH_PROG(DJVU, ddjvu)
|
||||
|
||||
if [ test -n "$DJVU" ]; then
|
||||
sq_have_djvu="yes"
|
||||
AC_SUBST(DJVU)
|
||||
else missing_prog DJVU ddjvu
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test $sq_codec_fig = yes; then
|
||||
|
||||
AC_PATH_PROG(XFIG, fig2dev)
|
||||
|
||||
if [ test -n "$XFIG" ]; then
|
||||
sq_have_fig="yes"
|
||||
AC_SUBST(XFIG)
|
||||
else missing_prog XFIG fig2dev
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test $sq_codec_dxf = yes; then
|
||||
|
||||
AC_PATH_PROG(VEC2WEB, vec2web)
|
||||
|
||||
if [ test -n "$VEC2WEB" ]; then
|
||||
sq_have_dxf="yes"
|
||||
AC_SUBST(VEC2WEB)
|
||||
else missing_prog DXF vec2web
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS([X11/XWDFile.h], [sq_have_xwd="yes"], [sq_have_xwd="no" missing XWD])
|
||||
|
||||
############### NetPBM binaries ###############
|
||||
|
||||
AC_MSG_CHECKING([netpbm binary programs])
|
||||
$ECHO
|
||||
|
||||
sq_codec_neo="yes"
|
||||
sq_have_neo="no"
|
||||
if test $sq_codec_neo = yes; then
|
||||
AC_PATH_PROG(NEOTOPPM, neotoppm)
|
||||
if [ test -n "$NEOTOPPM" ]; then sq_have_neo="yes" AC_SUBST(NEOTOPPM)
|
||||
else missing_prog NEO netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_leaf="yes"
|
||||
sq_have_leaf="no"
|
||||
if test $sq_codec_leaf = yes; then
|
||||
AC_PATH_PROG(LEAFTOPPM, leaftoppm)
|
||||
if [ test -n "$LEAFTOPPM" ]; then sq_have_leaf="yes" AC_SUBST(LEAFTOPPM)
|
||||
else missing_prog LEAF netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_pi1="yes"
|
||||
sq_have_pi1="no"
|
||||
if test $sq_codec_pi1 = yes; then
|
||||
AC_PATH_PROG(PI1TOPPM, pi1toppm)
|
||||
if [ test -n "$PI1TOPPM" ]; then sq_have_pi1="yes" AC_SUBST(PI1TOPPM)
|
||||
else missing_prog PI1 netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_pi3="yes"
|
||||
sq_have_pi3="no"
|
||||
if test $sq_codec_pi3 = yes; then
|
||||
AC_PATH_PROG(PI3TOPPM, pi3topbm)
|
||||
if [ test -n "$PI3TOPPM" ]; then sq_have_pi3="yes" AC_SUBST(PI3TOPPM)
|
||||
else missing_prog PI3 netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_xim="yes"
|
||||
sq_have_xim="no"
|
||||
if test $sq_codec_xim = yes; then
|
||||
AC_PATH_PROG(XIMTOPPM, ximtoppm)
|
||||
if [ test -n "$XIMTOPPM" ]; then sq_have_xim="yes" AC_SUBST(XIMTOPPM)
|
||||
else missing_prog XIM netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_utah="yes"
|
||||
sq_have_utah="no"
|
||||
if test $sq_codec_utah = yes; then
|
||||
AC_PATH_PROG(UTAHTOPNM, rletopnm)
|
||||
if [ test -n "$UTAHTOPNM" ]; then sq_have_utah="yes" AC_SUBST(UTAHTOPNM)
|
||||
else missing_prog UTAH netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_pict="yes"
|
||||
sq_have_pict="no"
|
||||
if test $sq_codec_pict = yes; then
|
||||
AC_PATH_PROG(PICTTOPPM, picttoppm)
|
||||
if [ test -n "$PICTTOPPM" ]; then sq_have_pict="yes" AC_SUBST(PICTTOPPM)
|
||||
else missing_prog PICT netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_mac="yes"
|
||||
sq_have_mac="no"
|
||||
if test $sq_codec_mac = yes; then
|
||||
AC_PATH_PROG(MACTOPBM, macptopbm)
|
||||
if [ test -n "$MACTOPBM" ]; then sq_have_mac="yes" AC_SUBST(MACTOPBM)
|
||||
else missing_prog MAC netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
sq_codec_iff="yes"
|
||||
sq_have_iff="no"
|
||||
if test $sq_codec_iff = yes; then
|
||||
AC_PATH_PROG(ILBMTOPPM, ilbmtoppm)
|
||||
if [ test -n "$ILBMTOPPM" ]; then sq_have_iff="yes" AC_SUBST(ILBMTOPPM)
|
||||
else missing_prog IFF netpbm
|
||||
fi
|
||||
fi
|
||||
|
||||
#################################################
|
||||
|
||||
|
||||
SQ_LOCAL_RPATH="-L../ksquirrel-libs -lksquirrel-libs"
|
||||
AC_SUBST(SQ_LOCAL_RPATH)
|
||||
SQ_RELEASE="-version-info 8:0:8"
|
||||
AC_SUBST(SQ_RELEASE)
|
||||
|
||||
################### for xcf codec ##############
|
||||
|
||||
AC_C_INLINE
|
||||
|
||||
if test $sq_codec_xcf = yes; then
|
||||
|
||||
case $GCC::$CFLAGS in yes::*-Wall* ) ;;
|
||||
yes::*) CFLAGS="$CFLAGS -Wall" ;;
|
||||
esac
|
||||
case $GCC::$CFLAGS in *-g* | *omit-frame-pointer* ) ;;
|
||||
yes::*) CFLAGS="$CFLAGS -fomit-frame-pointer" ;;
|
||||
esac
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
case $host_cpu in i?86 | x86_64 | powerpc)
|
||||
AC_DEFINE(CAN_DO_UNALIGNED_WORDS,1,
|
||||
[Define for CPUs that can read unaligned words without traps or faults])
|
||||
esac
|
||||
|
||||
AC_CHECK_HEADERS(inttypes.h netinet/in.h arpa/inet.h getopt.h)
|
||||
|
||||
AC_CHECK_FUNCS(getopt_long strcasecmp)
|
||||
AC_FUNC_MMAP
|
||||
AM_GNU_GETTEXT(external)
|
||||
AM_ICONV
|
||||
|
||||
fi
|
||||
|
||||
################################################
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
doc/Makefile
|
||||
doc/html/Makefile
|
||||
doc/man/Makefile
|
||||
doc/sources/Makefile
|
||||
kernel/Makefile
|
||||
kernel/kls_bmp/Makefile
|
||||
kernel/kls_dds/Makefile
|
||||
kernel/kls_gif/Makefile
|
||||
kernel/kls_pix/Makefile
|
||||
kernel/kls_xbm/Makefile
|
||||
kernel/kls_xpm/Makefile
|
||||
kernel/kls_tga/Makefile
|
||||
kernel/kls_sgi/Makefile
|
||||
kernel/kls_ras/Makefile
|
||||
kernel/kls_pnm/Makefile
|
||||
kernel/kls_pcx/Makefile
|
||||
kernel/kls_ico/Makefile
|
||||
kernel/kls_xcur/Makefile
|
||||
kernel/kls_psd/Makefile
|
||||
kernel/kls_fli/Makefile
|
||||
kernel/kls_cut/Makefile
|
||||
kernel/kls_rawrgb/Makefile
|
||||
kernel/kls_wbmp/Makefile
|
||||
kernel/kls_sun/Makefile
|
||||
kernel/kls_jpeg2000/Makefile
|
||||
kernel/kls_openexr/Makefile
|
||||
kernel/kls_koala/Makefile
|
||||
kernel/kls_wal/Makefile
|
||||
kernel/kls_mdl/Makefile
|
||||
kernel/kls_hdr/Makefile
|
||||
kernel/kls_sct/Makefile
|
||||
kernel/kls_lif/Makefile
|
||||
kernel/kls_mtv/Makefile
|
||||
kernel/kls_avs/Makefile
|
||||
kernel/kls_msp/Makefile
|
||||
kernel/kls_dicom/Makefile
|
||||
kernel/kls_dicom/ksquirrel-libs-dicom2png
|
||||
kernel/kls_svg/Makefile
|
||||
kernel/kls_svg/ksquirrel-libs-svg2png
|
||||
kernel/kls_wmf/Makefile
|
||||
kernel/kls_png/Makefile
|
||||
kernel/kls_jpeg/Makefile
|
||||
kernel/kls_xwd/Makefile
|
||||
kernel/kls_tiff/Makefile
|
||||
kernel/kls_camera/Makefile
|
||||
kernel/kls_camera/ksquirrel-libs-camera2ppm
|
||||
kernel/kls_pxr/Makefile
|
||||
kernel/kls_ttf/Makefile
|
||||
kernel/kls_ttf/ftview/Makefile
|
||||
kernel/kls_mng/Makefile
|
||||
kernel/kls_jbig/libjbig/Makefile
|
||||
kernel/kls_jbig/Makefile
|
||||
kernel/kls_djvu/Makefile
|
||||
kernel/kls_dxf/Makefile
|
||||
kernel/kls_xcf/Makefile
|
||||
kernel/kls_xcf/xcf2pnm/Makefile
|
||||
kernel/kls_fig/ksquirrel-libs-fig2ppm
|
||||
kernel/kls_fig/Makefile
|
||||
kernel/kls_mac/ksquirrel-libs-mac2ppm
|
||||
kernel/kls_mac/Makefile
|
||||
kernel/kls_iff/ksquirrel-libs-iff2ppm
|
||||
kernel/kls_iff/Makefile
|
||||
kernel/kls_neo/ksquirrel-libs-neo2ppm
|
||||
kernel/kls_neo/Makefile
|
||||
kernel/kls_pi1/ksquirrel-libs-pi12ppm
|
||||
kernel/kls_pi1/Makefile
|
||||
kernel/kls_pi3/ksquirrel-libs-pi32ppm
|
||||
kernel/kls_pi3/Makefile
|
||||
kernel/kls_xim/ksquirrel-libs-xim2ppm
|
||||
kernel/kls_xim/Makefile
|
||||
kernel/kls_leaf/ksquirrel-libs-leaf2ppm
|
||||
kernel/kls_leaf/Makefile
|
||||
kernel/kls_utah/ksquirrel-libs-utah2ppm
|
||||
kernel/kls_utah/Makefile
|
||||
kernel/kls_pict/ksquirrel-libs-pict2ppm
|
||||
kernel/kls_pict/Makefile
|
||||
kernel/kls_ljpeg/ksquirrel-libs-ljpeg2ppm-s
|
||||
kernel/kls_ljpeg/ljpeg2ppm/Makefile
|
||||
kernel/kls_ljpeg/Makefile
|
||||
kernel/kls_eps/Makefile
|
||||
kernel/kls_psp/Makefile
|
||||
kernel/ksquirrel-libs/Makefile
|
||||
kernel/ksquirrel-libs-png/Makefile
|
||||
ksquirrellibs.pc
|
||||
])
|
||||
|
||||
|
||||
AM_CONDITIONAL(SQ_DEVEL, [ test $sq_dev = yes ])
|
||||
|
||||
AM_CONDITIONAL(CAMERA_NO_CMS, [ test $sq_have_cms = no ])
|
||||
AM_CONDITIONAL(CAMERA_NO_JPEG, [ test $sq_have_jpeg = no ])
|
||||
AM_CONDITIONAL(SQ_HAVE_JPEG, [ test $sq_have_jpeg = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_XWD, [ test $sq_have_xwd = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_TIFF, [ test $sq_have_tiff = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_EPS, [ test $sq_have_eps = yes ])
|
||||
|
||||
AM_CONDITIONAL(SQ_HAVE_CAMERA, [ test $sq_codec_camera = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_SVG, [ test $sq_codec_svg = yes -a $sq_have_svg = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_DICOM, [ test $sq_codec_dicom = yes -a $sq_have_dicom = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_WMF, [ test $sq_codec_wmf = yes -a $sq_have_wmf = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_JPEG2000,[ test $sq_codec_jpeg2000 = yes -a $sq_have_jpeg2000 = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_OPENEXR, [ test $sq_codec_openexr = yes -a $sq_have_openexr = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_GIF, [ test $sq_codec_gif = yes -a $sq_have_gif = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_TTF, [ test $sq_codec_ttf = yes -a $sq_have_ttf = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_MNG, [ test $sq_codec_mng = yes -a $sq_have_mng = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_DJVU, [ test $sq_codec_djvu = yes -a $sq_have_djvu = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_DXF, [ test $sq_codec_dxf = yes -a $sq_have_dxf = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_FIG, [ test $sq_codec_fig = yes -a $sq_have_fig = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_XCF, [ test $sq_codec_xcf = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_LJPEG, [ test $sq_codec_ljpeg = yes ])
|
||||
|
||||
# NetPBM
|
||||
AM_CONDITIONAL(SQ_HAVE_NEO, [ test $sq_have_neo = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_XIM, [ test $sq_have_xim = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_PI1, [ test $sq_have_pi1 = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_PI3, [ test $sq_have_pi3 = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_UTAH, [ test $sq_have_utah = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_LEAF, [ test $sq_have_leaf = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_PICT, [ test $sq_have_pict = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_MAC, [ test $sq_have_mac = yes ])
|
||||
AM_CONDITIONAL(SQ_HAVE_IFF, [ test $sq_have_iff = yes ])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
echo "
|
||||
KSquirrel-libs configuration:
|
||||
-----------------------------
|
||||
Source code location: ${srcdir}
|
||||
ksquirrel-libs version: ${VERSION}
|
||||
C++ Compiler: ${CXX}
|
||||
C++ Compiler flags: ${CXXFLAGS}
|
||||
Local ldflags: ${SQ_LOCAL_RPATH}
|
||||
|
||||
Installation options:
|
||||
---------------------
|
||||
libdir: ${libdir} ${libdir_warn}
|
||||
|
||||
Libraries:
|
||||
----------"
|
||||
|
||||
sq_enabled=""
|
||||
sq_disabled=""
|
||||
sq_manual=""
|
||||
sq_total="31"
|
||||
sq_devel=""
|
||||
sq_devel_message=""
|
||||
|
||||
if test $sq_have_jpeg = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled jpeg `; else sq_disabled=`echo -n $sq_disabled jpeg `; fi
|
||||
if test $sq_have_xwd = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled xwd `; else sq_disabled=`echo -n $sq_disabled xwd `; fi
|
||||
if test $sq_have_tiff = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled tiff `; else sq_disabled=`echo -n $sq_disabled tiff `; fi
|
||||
if test $sq_codec_camera = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled camera `; else sq_disabled=`echo -n $sq_disabled camera `;fi
|
||||
if test $sq_codec_camera = yes; then sq_camera_sett="Additional CAMERA settings: [LCMS: $sq_have_cms, JPEG: $sq_have_jpeg]";fi
|
||||
if test $sq_have_wmf = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled wmf `; else sq_disabled=`echo -n $sq_disabled wmf `; fi
|
||||
if test $sq_have_svg = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled svg `; else sq_disabled=`echo -n $sq_disabled svg `; fi
|
||||
if test $sq_have_dicom = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled dicom `; else sq_disabled=`echo -n $sq_disabled dicom `; fi
|
||||
if test $sq_have_openexr = yes;then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled openexr `;else sq_disabled=`echo -n $sq_disabled openexr `;fi
|
||||
if test $sq_have_ttf = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled ttf `; else sq_disabled=`echo -n $sq_disabled ttf `; fi
|
||||
if test $sq_have_mng = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled mng `; else sq_disabled=`echo -n $sq_disabled mng `; fi
|
||||
if test $sq_have_gif = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled gif `; else sq_disabled=`echo -n $sq_disabled gif `; fi
|
||||
if test $sq_have_djvu = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled djvu `; else sq_disabled=`echo -n $sq_disabled djvu `; fi
|
||||
if test $sq_have_dxf = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled dxf `; else sq_disabled=`echo -n $sq_disabled dxf `; fi
|
||||
if test $sq_have_fig = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled fig `; else sq_disabled=`echo -n $sq_disabled fig `; fi
|
||||
if test $sq_codec_xcf = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled xcf `; else sq_disabled=`echo -n $sq_disabled xcf `; fi
|
||||
if test $sq_codec_eps = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled eps `; else sq_disabled=`echo -n $sq_disabled eps `; fi
|
||||
|
||||
if test $sq_have_neo = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled neo `; else sq_disabled=`echo -n $sq_disabled neo `; fi
|
||||
if test $sq_have_pi1 = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled pi1 `; else sq_disabled=`echo -n $sq_disabled pi1 `; fi
|
||||
if test $sq_have_pi3 = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled pi3 `; else sq_disabled=`echo -n $sq_disabled pi3 `; fi
|
||||
if test $sq_have_utah = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled utah `; else sq_disabled=`echo -n $sq_disabled utah `; fi
|
||||
if test $sq_have_xim = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled xim `; else sq_disabled=`echo -n $sq_disabled xim `; fi
|
||||
if test $sq_have_leaf = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled leaf `; else sq_disabled=`echo -n $sq_disabled leaf `; fi
|
||||
if test $sq_have_pict = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled pict `; else sq_disabled=`echo -n $sq_disabled pict `; fi
|
||||
if test $sq_have_iff = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled iff `; else sq_disabled=`echo -n $sq_disabled iff `; fi
|
||||
if test $sq_have_mac = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled mac `; else sq_disabled=`echo -n $sq_disabled mac `; fi
|
||||
if test $sq_codec_ljpeg = yes; then sq_total=`expr $sq_total + 1` && sq_enabled=`echo -n $sq_enabled ljpeg `; else sq_disabled=`echo -n $sq_disabled ljpeg `; fi
|
||||
|
||||
if test $sq_dev = yes; then sq_total=`expr $sq_total + 1`; else sq_devel="msp" && sq_devel_message="(use --enable-devel to enable these codecs)"; fi
|
||||
|
||||
if test $sq_codec_camera = no; then sq_manual=`echo -n $sq_manual camera`; fi
|
||||
if test $sq_codec_gif = no; then sq_manual=`echo -n $sq_manual gif`; fi
|
||||
if test $sq_codec_svg = no; then sq_manual=`echo -n $sq_manual svg`; fi
|
||||
if test $sq_codec_dicom = no; then sq_manual=`echo -n $sq_manual dicom`; fi
|
||||
if test $sq_codec_wmf = no; then sq_manual=`echo -n $sq_manual wmf`; fi
|
||||
if test $sq_codec_openexr = no; then sq_manual=`echo -n $sq_manual openexr`; fi
|
||||
if test $sq_codec_jpeg2000 = no; then sq_manual=`echo -n $sq_manual jpeg2000`; fi
|
||||
if test $sq_codec_ttf = no; then sq_manual=`echo -n $sq_manual ttf`; fi
|
||||
if test $sq_codec_mng = no; then sq_manual=`echo -n $sq_manual mng`; fi
|
||||
if test $sq_codec_djvu = no; then sq_manual=`echo -n $sq_manual djvu`; fi
|
||||
if test $sq_codec_dxf = no; then sq_manual=`echo -n $sq_manual dxf`; fi
|
||||
if test $sq_codec_xcf = no; then sq_manual=`echo -n $sq_manual xcf`; fi
|
||||
if test $sq_codec_ljpeg = no; then sq_manual=`echo -n $sq_manual ljpeg`; fi
|
||||
|
||||
# old version of ksquirrel-libs installed
|
||||
sq_have_ksqlibs_msg=""
|
||||
if test $sq_have_ksqlibs = yes;
|
||||
then sq_have_ksqlibs_msg="
|
||||
************************************************
|
||||
******************** WARNING *******************
|
||||
************************************************
|
||||
|
||||
It seemed that old version of ksquirrel-libs
|
||||
is installed on your system. It is HIGHLY
|
||||
recommended to remove old version (headers
|
||||
and libraries) before installing new one.
|
||||
|
||||
************************************************
|
||||
";
|
||||
fi
|
||||
|
||||
echo "
|
||||
Total enabled codecs : $sq_total
|
||||
Optional formats, enabled : $sq_enabled
|
||||
Optional formats, disabled: $sq_disabled
|
||||
$sq_camera_sett
|
||||
Manually disabled : $sq_manual
|
||||
Disabled as buggy : $sq_devel $sq_devel_message
|
||||
$sq_have_ksqlibs_msg
|
||||
Now run 'make' to compile ksquirrel-libs
|
||||
"
|
@ -1 +0,0 @@
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -1,22 +0,0 @@
|
||||
EXTRA_DIST = belka_bkgr.gif how_to_build_c++.png ksquirrel-libs-olibs1.html bits.html index.html ksquirrel-libs-olibs2.html Makefile.am development-highlev.html ksquirrel-libs-about.html ksquirrel-libs-olibs2.html how_to_build_arrow.png ksquirrel-libs-fio.html ksquirrel-libs-olibs3.html how_to_build_codec.png ksquirrel-libs-olibs.html styles.css how_to_build_c.png ksquirrel-libs-metainfo.html ksquirrel-libs-struct.html
|
||||
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)
|
||||
$(INSTALL_DATA) index.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/index.html
|
||||
$(INSTALL_DATA) bits.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/bits.html
|
||||
$(INSTALL_DATA) development-highlev.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/development-highlev.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-about.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-about.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-fio.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-fio.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-metainfo.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-metainfo.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-struct.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-struct.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-olibs.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-olibs.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-olibs1.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-olibs1.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-olibs2.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-olibs2.html
|
||||
$(INSTALL_DATA) ksquirrel-libs-olibs3.html $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/ksquirrel-libs-olibs3.html
|
||||
$(INSTALL_DATA) styles.css $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/styles.css
|
||||
$(INSTALL_DATA) belka_bkgr.gif $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/belka_bkgr.gif
|
||||
$(INSTALL_DATA) how_to_build_c.png $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/how_to_build_c.png
|
||||
$(INSTALL_DATA) how_to_build_c++.png $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/how_to_build_c++.png
|
||||
$(INSTALL_DATA) how_to_build_codec.png $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/how_to_build_codec.png
|
||||
$(INSTALL_DATA) how_to_build_arrow.png $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/how_to_build_arrow.png
|
@ -1,21 +0,0 @@
|
||||
EXTRA_DIST = ksquirrel-libs-camera2ppm.1 ksquirrel-libs-dcraw.1 ksquirrel-libs-dicom2png.1 ksquirrel-libs-fig2ppm.1 ksquirrel-libs-iff2ppm.1 ksquirrel-libs-leaf2ppm.1 ksquirrel-libs-ljpeg2ppm.1 ksquirrel-libs-ljpeg2ppm-s.1 ksquirrel-libs-mac2ppm.1 ksquirrel-libs-neo2ppm.1 ksquirrel-libs-pi12ppm.1 ksquirrel-libs-pi32ppm.1 ksquirrel-libs-svg2png.1 ksquirrel-libs-ttf2pnm.1 ksquirrel-libs-utah2ppm.1 ksquirrel-libs-xcf2pnm.1 ksquirrel-libs-xim2ppm.1
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/man/man1
|
||||
$(INSTALL_DATA) ksquirrel-libs-camera2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-camera2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-dcraw.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-dcraw.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-dicom2png.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-dicom2png.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-fig2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-fig2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-iff2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-iff2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-leaf2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-leaf2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-ljpeg2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-ljpeg2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-ljpeg2ppm-s.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-ljpeg2ppm-s.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-mac2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-mac2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-neo2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-neo2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-pi12ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-pi12ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-pi32ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-pi32ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-svg2png.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-svg2png.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-ttf2pnm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-ttf2pnm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-utah2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-utah2ppm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-xcf2pnm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-xcf2pnm.1
|
||||
$(INSTALL_DATA) ksquirrel-libs-xim2ppm.1 $(DESTDIR)$(datadir)/man/man1/ksquirrel-libs-xim2ppm.1
|
@ -1,24 +0,0 @@
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx
|
||||
|
||||
$(INSTALL_DATA) c/module.c $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c/module.c
|
||||
$(INSTALL_DATA) c/main.c $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c/main.c
|
||||
$(INSTALL_SCRIPT) c/compile $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c/compile
|
||||
|
||||
$(INSTALL_SCRIPT) c++/compile $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++/compile
|
||||
$(INSTALL_DATA) c++/main.cpp $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++/main.cpp
|
||||
$(INSTALL_DATA) c++/triangle.cpp $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++/triangle.cpp
|
||||
$(INSTALL_DATA) c++/polygon.h $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++/polygon.h
|
||||
$(INSTALL_DATA) c++/README $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/c++/README
|
||||
|
||||
$(INSTALL_DATA) ttx/Makefile.am $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/Makefile.am
|
||||
$(INSTALL_DATA) ttx/README $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/README
|
||||
$(INSTALL_SCRIPT) ttx/compile-c++ $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/compile-c++
|
||||
$(INSTALL_DATA) ttx/fmt_codec_ttx_defs.h $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/fmt_codec_ttx_defs.h
|
||||
$(INSTALL_DATA) ttx/fmt_codec_ttx.h $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/fmt_codec_ttx.h
|
||||
$(INSTALL_DATA) ttx/fmt_codec_ttx.cpp $(DESTDIR)$(datadir)/doc/ksquirrel-libs/$(PACKAGE_VERSION)/sources/ttx/fmt_codec_ttx.cpp
|
||||
|
||||
EXTRA_DIST = c c++ ttx
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I.. -I../include
|
||||
|
||||
lib_LTLIBRARIES = libSQ_codec_ttx.la
|
||||
|
||||
libSQ_codec_ttx_la_SOURCES = fmt_codec_ttx.cpp fmt_codec_ttx_defs.h
|
||||
|
||||
libSQ_codec_ttx_la_LDFLAGS = -release 0.1.0
|
||||
|
||||
libSQ_codec_ttx_la_LIBADD =
|
@ -1,124 +0,0 @@
|
||||
SUBDIRS = ksquirrel-libs ksquirrel-libs-png kls_avs kls_bmp kls_cut kls_dds kls_fli kls_hdr kls_ico kls_jbig kls_koala kls_lif kls_mdl kls_mtv kls_pcx kls_pix kls_pnm kls_psd kls_pxr kls_ras kls_rawrgb kls_sct kls_sgi kls_sun kls_tga kls_wal kls_wbmp kls_xbm kls_xcf kls_xcur kls_xpm kls_png kls_psp
|
||||
|
||||
EXTRA_DIST = generate link include/*.h include/ksquirrel-libs/*.h xpm/*.xpm
|
||||
|
||||
if SQ_HAVE_CAMERA
|
||||
SUBDIRS += kls_camera
|
||||
endif
|
||||
|
||||
if SQ_HAVE_JPEG
|
||||
SUBDIRS += kls_jpeg
|
||||
endif
|
||||
|
||||
if SQ_HAVE_TIFF
|
||||
SUBDIRS += kls_tiff
|
||||
endif
|
||||
|
||||
if SQ_HAVE_XWD
|
||||
SUBDIRS += kls_xwd
|
||||
endif
|
||||
|
||||
if SQ_HAVE_WMF
|
||||
SUBDIRS += kls_wmf
|
||||
endif
|
||||
|
||||
if SQ_HAVE_SVG
|
||||
SUBDIRS += kls_svg
|
||||
endif
|
||||
|
||||
if SQ_HAVE_GIF
|
||||
SUBDIRS += kls_gif
|
||||
endif
|
||||
|
||||
if SQ_HAVE_OPENEXR
|
||||
SUBDIRS += kls_openexr
|
||||
endif
|
||||
|
||||
if SQ_HAVE_JPEG2000
|
||||
SUBDIRS += kls_jpeg2000
|
||||
endif
|
||||
|
||||
if SQ_HAVE_TTF
|
||||
SUBDIRS += kls_ttf
|
||||
endif
|
||||
|
||||
if SQ_HAVE_MNG
|
||||
SUBDIRS += kls_mng
|
||||
endif
|
||||
|
||||
if SQ_HAVE_DJVU
|
||||
SUBDIRS += kls_djvu
|
||||
endif
|
||||
|
||||
if SQ_HAVE_DXF
|
||||
SUBDIRS += kls_dxf
|
||||
endif
|
||||
|
||||
if SQ_HAVE_NEO
|
||||
SUBDIRS += kls_neo
|
||||
endif
|
||||
|
||||
if SQ_HAVE_LEAF
|
||||
SUBDIRS += kls_leaf
|
||||
endif
|
||||
|
||||
if SQ_HAVE_PI1
|
||||
SUBDIRS += kls_pi1
|
||||
endif
|
||||
|
||||
if SQ_HAVE_PI3
|
||||
SUBDIRS += kls_pi3
|
||||
endif
|
||||
|
||||
if SQ_HAVE_XIM
|
||||
SUBDIRS += kls_xim
|
||||
endif
|
||||
|
||||
if SQ_HAVE_UTAH
|
||||
SUBDIRS += kls_utah
|
||||
endif
|
||||
|
||||
if SQ_HAVE_PICT
|
||||
SUBDIRS += kls_pict
|
||||
endif
|
||||
|
||||
if SQ_HAVE_MAC
|
||||
SUBDIRS += kls_mac
|
||||
endif
|
||||
|
||||
if SQ_HAVE_IFF
|
||||
SUBDIRS += kls_iff
|
||||
endif
|
||||
|
||||
if SQ_HAVE_FIG
|
||||
SUBDIRS += kls_fig
|
||||
endif
|
||||
|
||||
if SQ_HAVE_LJPEG
|
||||
SUBDIRS += kls_ljpeg
|
||||
endif
|
||||
|
||||
if SQ_HAVE_DICOM
|
||||
SUBDIRS += kls_dicom
|
||||
endif
|
||||
|
||||
if SQ_HAVE_EPS
|
||||
SUBDIRS += kls_eps
|
||||
endif
|
||||
|
||||
# unstable/buggy codecs - for developers only
|
||||
if SQ_DEVEL
|
||||
SUBDIRS += kls_msp
|
||||
endif
|
||||
|
||||
# install headers
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/fileio.h $(DESTDIR)$(pkgincludedir)/fileio.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/error.h $(DESTDIR)$(pkgincludedir)/error.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/fmt_utils.h $(DESTDIR)$(pkgincludedir)/fmt_utils.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/fmt_types.h $(DESTDIR)$(pkgincludedir)/fmt_types.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/fmt_defs.h $(DESTDIR)$(pkgincludedir)/fmt_defs.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/fmt_codec_base.h $(DESTDIR)$(pkgincludedir)/fmt_codec_base.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/ksquirrel_libs_export.h $(DESTDIR)$(pkgincludedir)/ksquirrel_libs_export.h
|
||||
$(INSTALL_HEADER) include/ksquirrel-libs/settings.h $(DESTDIR)$(pkgincludedir)/settings.h
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_avs.la
|
||||
|
||||
libkls_avs_la_SOURCES = fmt_codec_avs.cpp fmt_codec_avs_defs.h
|
||||
|
||||
libkls_avs_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_avs_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_bmp.la
|
||||
|
||||
libkls_bmp_la_SOURCES = fmt_codec_bmp.cpp fmt_codec_bmp_defs.h
|
||||
|
||||
libkls_bmp_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_bmp_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,39 +0,0 @@
|
||||
INCLUDES = -I../include
|
||||
|
||||
# shut up gcc
|
||||
CFLAGS = -O4
|
||||
|
||||
bin_PROGRAMS = ksquirrel-libs-dcraw
|
||||
bin_SCRIPTS = ksquirrel-libs-camera2ppm
|
||||
|
||||
ksquirrel_libs_dcraw_SOURCES = dcraw.c
|
||||
|
||||
if CAMERA_NO_JPEG
|
||||
camera_jpeg = -DNO_JPEG
|
||||
else
|
||||
nojpeg_opt = -ljpeg
|
||||
endif
|
||||
|
||||
if CAMERA_NO_CMS
|
||||
camera_cms = -DNO_LCMS
|
||||
else
|
||||
nocms_opt = ${lcms_LIBS}
|
||||
endif
|
||||
|
||||
ksquirrel_libs_dcraw_LDADD = ${nojpeg_opt} ${nocms_opt} -lm
|
||||
ksquirrel_libs_dcraw_CFLAGS = ${camera_jpeg} ${camera_cms} ${lcms_CFLAGS}
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_camera.la
|
||||
|
||||
libkls_camera_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_camera_la_LDFLAGS = ${SQ_RELEASE}
|
||||
libkls_camera_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = ${camera_cms} -DCAMERA_UI=\"${pkgdatadir}/libkls_camera.so.ui\" -DCODEC_CAMERA -DCODEC_ANOTHER -DKLDCRAW_S=\"${bindir}/ksquirrel-libs-camera2ppm\" -DKLDCRAW=\"${bindir}/ksquirrel-libs-dcraw\" $(all_includes)
|
||||
|
||||
EXTRA_DIST = libkls_camera.so.ui ksquirrel-libs-camera2ppm.in
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_camera.so.ui $(DESTDIR)$(pkgdatadir)/libkls_camera.so.ui
|
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
kls_camera_i=""
|
||||
kls_camera_o=""
|
||||
kls_camera_bin=""
|
||||
kls_camera_params=""
|
||||
|
||||
while [ "$1" ] ; do
|
||||
|
||||
case "$1" in
|
||||
"--input") kls_camera_i="$2" shift ;;
|
||||
"--output") kls_camera_o="$2" shift ;;
|
||||
"--binary") kls_camera_bin="$2" shift ;;
|
||||
*) kls_camera_params="$kls_camera_params $1" ;;
|
||||
esac
|
||||
|
||||
shift
|
||||
done
|
||||
|
||||
$kls_camera_bin $kls_camera_params "$kls_camera_i" > "$kls_camera_o"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_cut.la
|
||||
|
||||
libkls_cut_la_SOURCES = fmt_codec_cut.cpp fmt_codec_cut_defs.h
|
||||
|
||||
libkls_cut_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_cut_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_dds.la
|
||||
|
||||
libkls_dds_la_SOURCES = fmt_codec_dds.cpp fmt_codec_dds_defs.h dds.cpp
|
||||
|
||||
libkls_dds_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_dds_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include -I.. $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-dicom2png
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_dicom.la
|
||||
|
||||
libkls_dicom_la_SOURCES = fmt_codec_png.cpp fmt_codec_png_defs.h
|
||||
|
||||
libkls_dicom_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_dicom_la_LIBADD = ${SQ_LOCAL_RPATH} -L../ksquirrel-libs-png -lksquirrel-libs-png
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_DICOM -DDICOM=\"${bindir}/ksquirrel-libs-dicom2png\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-dicom2png.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@MEDCON@ --without-prefix -f "$1" -e 0:0 -c - png > "$2"
|
@ -1,17 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_djvu.la
|
||||
|
||||
libkls_djvu_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_djvu_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_djvu_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DDJVU_UI=\"${pkgdatadir}/libkls_djvu.so.ui\" -DCODEC_DJVU -DDJVU=\"${DJVU}\" -DCODEC_ANOTHER
|
||||
|
||||
EXTRA_DIST = libkls_djvu.so.ui
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_djvu.so.ui $(DESTDIR)$(pkgdatadir)/libkls_djvu.so.ui
|
@ -1,17 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_dxf.la
|
||||
|
||||
libkls_dxf_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_dxf_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_dxf_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DDXF_UI=\"${pkgdatadir}/libkls_dxf.so.ui\" -DCODEC_DXF -DVEC2WEB=\"${VEC2WEB}\" -DCODEC_ANOTHER
|
||||
|
||||
EXTRA_DIST = libkls_dxf.so.ui
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_dxf.so.ui $(DESTDIR)$(pkgdatadir)/libkls_dxf.so.ui
|
@ -1,11 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_eps.la
|
||||
|
||||
libkls_eps_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_eps_la_LDFLAGS = ${SQ_RELEASE} -lm
|
||||
|
||||
libkls_eps_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_EPS -DEPS2PPM=\"${EPS2PPM}\"
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-fig2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_fig.la
|
||||
|
||||
libkls_fig_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_fig_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_fig_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_FIG -DXFIG_S=\"${bindir}/ksquirrel-libs-fig2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-fig2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@XFIG@ -L ppm "$1" > "$2"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_fli.la
|
||||
|
||||
libkls_fli_la_SOURCES = fmt_codec_fli.cpp fmt_codec_fli_defs.h
|
||||
|
||||
libkls_fli_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_fli_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_gif.la
|
||||
|
||||
libkls_gif_la_SOURCES = fmt_codec_gif.cpp fmt_codec_gif_defs.h
|
||||
|
||||
libkls_gif_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_gif_la_LIBADD = ${SQ_LOCAL_RPATH} ${SQ_GIFLIBS}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_hdr.la
|
||||
|
||||
libkls_hdr_la_SOURCES = fmt_codec_hdr.cpp fmt_codec_hdr_defs.h
|
||||
|
||||
libkls_hdr_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_hdr_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_ico.la
|
||||
|
||||
libkls_ico_la_SOURCES = fmt_codec_ico.cpp fmt_codec_ico_defs.h
|
||||
|
||||
libkls_ico_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_ico_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-iff2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_iff.la
|
||||
|
||||
libkls_iff_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_iff_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_iff_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_IFF -DNETPBM_S=\"${bindir}/ksquirrel-libs-iff2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-iff2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@ILBMTOPPM@ "$1" > "$2"
|
@ -1,11 +0,0 @@
|
||||
SUBDIRS = libjbig
|
||||
|
||||
INCLUDES = -I../include -Ilibjbig $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_jbig.la
|
||||
|
||||
libkls_jbig_la_SOURCES = fmt_codec_jbig.cpp fmt_codec_jbig_defs.h jbig2mem.cpp jbig2mem.h
|
||||
|
||||
libkls_jbig_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_jbig_la_LIBADD = ${SQ_LOCAL_RPATH} -Llibjbig -ljbig
|
@ -1,5 +0,0 @@
|
||||
noinst_LTLIBRARIES = libjbig.la
|
||||
|
||||
libjbig_la_SOURCES = jbig.c jbig.h jbig_tab.c
|
||||
|
||||
EXTRA_DIST = COPYING ANNOUNCE
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_jpeg.la
|
||||
|
||||
libkls_jpeg_la_SOURCES = fmt_codec_jpeg.cpp fmt_codec_jpeg_defs.h
|
||||
|
||||
libkls_jpeg_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_jpeg_la_LIBADD = ${SQ_LOCAL_RPATH} -ljpeg
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_jpeg2000.la
|
||||
|
||||
libkls_jpeg2000_la_SOURCES = fmt_codec_jpeg2000.cpp fmt_codec_jpeg2000_defs.h
|
||||
|
||||
libkls_jpeg2000_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_jpeg2000_la_LIBADD = ${SQ_LOCAL_RPATH} -ljasper
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_koala.la
|
||||
|
||||
libkls_koala_la_SOURCES = fmt_codec_koala.cpp fmt_codec_koala_defs.h
|
||||
|
||||
libkls_koala_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_koala_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-leaf2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_leaf.la
|
||||
|
||||
libkls_leaf_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_leaf_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_leaf_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_LEAF -DNETPBM_S=\"${bindir}/ksquirrel-libs-leaf2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-leaf2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@LEAFTOPPM@ "$1" > "$2"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_lif.la
|
||||
|
||||
libkls_lif_la_SOURCES = fmt_codec_lif.cpp fmt_codec_lif_defs.h
|
||||
|
||||
libkls_lif_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_lif_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,17 +0,0 @@
|
||||
SUBDIRS = ljpeg2ppm
|
||||
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-ljpeg2ppm-s
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_ljpeg.la
|
||||
|
||||
libkls_ljpeg_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_ljpeg_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_ljpeg_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_LJPEG -DLJPEG2PPM_S=\"${bindir}/ksquirrel-libs-ljpeg2ppm-s\" -DLJPEG2PPM=\"${bindir}/ksquirrel-libs-ljpeg2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-ljpeg2ppm-s.in
|
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
kls_ljpeg_i=""
|
||||
kls_ljpeg_o=""
|
||||
kls_ljpeg_bin=""
|
||||
|
||||
while [ "$1" ] ; do
|
||||
|
||||
case "$1" in
|
||||
"--input") kls_ljpeg_i="$2" shift ;;
|
||||
"--output") kls_ljpeg_o="$2" shift ;;
|
||||
"--binary") kls_ljpeg_bin="$2" shift ;;
|
||||
esac
|
||||
|
||||
shift
|
||||
done
|
||||
|
||||
$kls_ljpeg_bin "$kls_ljpeg_i" > "$kls_ljpeg_o"
|
@ -1,5 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_PROGRAMS = ksquirrel-libs-ljpeg2ppm
|
||||
|
||||
ksquirrel_libs_ljpeg2ppm_SOURCES = huffd.c io.h jpeg.h ljpgtopnm.c mcu.c mcu.h predictor.c predictor.h proto.h read.c util.c
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-mac2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_mac.la
|
||||
|
||||
libkls_mac_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_mac_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_mac_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_MAC -DNETPBM_S=\"${bindir}/ksquirrel-libs-mac2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-mac2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@MACTOPBM@ "$1" > "$2"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_mdl.la
|
||||
|
||||
libkls_mdl_la_SOURCES = fmt_codec_mdl.cpp fmt_codec_mdl_defs.h
|
||||
|
||||
libkls_mdl_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_mdl_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_mng.la
|
||||
|
||||
libkls_mng_la_SOURCES = fmt_codec_mng.cpp fmt_codec_mng_defs.h
|
||||
|
||||
libkls_mng_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_mng_la_LIBADD = ${SQ_LOCAL_RPATH} -lmng
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_msp.la
|
||||
|
||||
libkls_msp_la_SOURCES = fmt_codec_msp.cpp fmt_codec_msp_defs.h
|
||||
|
||||
libkls_msp_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_msp_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_mtv.la
|
||||
|
||||
libkls_mtv_la_SOURCES = fmt_codec_mtv.cpp fmt_codec_mtv_defs.h
|
||||
|
||||
libkls_mtv_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_mtv_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-neo2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_neo.la
|
||||
|
||||
libkls_neo_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_neo_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_neo_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_NEO -DNETPBM_S=\"${bindir}/ksquirrel-libs-neo2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-neo2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@NEOTOPPM@ "$1" > "$2"
|
@ -1,11 +0,0 @@
|
||||
CXXFLAGS = @CXXFLAGS@ -fexceptions @SQ_EXR_CFLAGS@
|
||||
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_openexr.la
|
||||
|
||||
libkls_openexr_la_SOURCES = fmt_codec_openexr.cpp fmt_codec_openexr_defs.h
|
||||
|
||||
libkls_openexr_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_openexr_la_LIBADD = @SQ_EXR_LDFLAGS@ ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pcx.la
|
||||
|
||||
libkls_pcx_la_SOURCES = fmt_codec_pcx.cpp fmt_codec_pcx_defs.h
|
||||
|
||||
libkls_pcx_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pcx_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-pi12ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pi1.la
|
||||
|
||||
libkls_pi1_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_pi1_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pi1_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_PI1 -DNETPBM_S=\"${bindir}/ksquirrel-libs-pi12ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-pi12ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@PI1TOPPM@ "$1" > "$2"
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-pi32ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pi3.la
|
||||
|
||||
libkls_pi3_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_pi3_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pi3_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_PI3 -DNETPBM_S=\"${bindir}/ksquirrel-libs-pi32ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-pi32ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@PI3TOPPM@ "$1" > "$2"
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-pict2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pict.la
|
||||
|
||||
libkls_pict_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_pict_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pict_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_PICT -DNETPBM_S=\"${bindir}/ksquirrel-libs-pict2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-pict2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@PICTTOPPM@ "$1" > "$2"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pix.la
|
||||
|
||||
libkls_pix_la_SOURCES = fmt_codec_pix.cpp fmt_codec_pix_defs.h
|
||||
|
||||
libkls_pix_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pix_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,13 +0,0 @@
|
||||
INCLUDES = -I../include -I.. $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_png.la
|
||||
|
||||
libkls_png_la_SOURCES = fmt_codec_png.cpp fmt_codec_png_defs.h
|
||||
|
||||
libkls_png_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_png_la_LIBADD = ${SQ_LOCAL_RPATH} -L../ksquirrel-libs-png -lksquirrel-libs-png
|
||||
|
||||
EXTRA_DIST = README
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_PNG
|
@ -1,11 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pnm.la
|
||||
|
||||
libkls_pnm_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_pnm_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pnm_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_PNM
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_psd.la
|
||||
|
||||
libkls_psd_la_SOURCES = fmt_codec_psd.cpp fmt_codec_psd_defs.h
|
||||
|
||||
libkls_psd_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_psd_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_psp.la
|
||||
|
||||
libkls_psp_la_SOURCES = fmt_codec_psp.cpp fmt_codec_psp_defs.h
|
||||
|
||||
libkls_psp_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_psp_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_pxr.la
|
||||
|
||||
libkls_pxr_la_SOURCES = fmt_codec_pxr.cpp fmt_codec_pxr_defs.h
|
||||
|
||||
libkls_pxr_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_pxr_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_ras.la
|
||||
|
||||
libkls_ras_la_SOURCES = fmt_codec_ras.cpp fmt_codec_ras_defs.h
|
||||
|
||||
libkls_ras_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_ras_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_rawrgb.la
|
||||
|
||||
libkls_rawrgb_la_SOURCES = fmt_codec_rawrgb.cpp fmt_codec_rawrgb_defs.h
|
||||
|
||||
libkls_rawrgb_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_rawrgb_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_sct.la
|
||||
|
||||
libkls_sct_la_SOURCES = fmt_codec_sct.cpp fmt_codec_sct_defs.h
|
||||
|
||||
libkls_sct_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_sct_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_sgi.la
|
||||
|
||||
libkls_sgi_la_SOURCES = fmt_codec_sgi.cpp fmt_codec_sgi_defs.h
|
||||
|
||||
libkls_sgi_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_sgi_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_sun.la
|
||||
|
||||
libkls_sun_la_SOURCES = fmt_codec_sun.cpp fmt_codec_sun_defs.h
|
||||
|
||||
libkls_sun_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_sun_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,19 +0,0 @@
|
||||
INCLUDES = -I../include -I.. $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-svg2png
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_svg.la
|
||||
|
||||
libkls_svg_la_SOURCES = fmt_codec_png.cpp fmt_codec_png_defs.h
|
||||
|
||||
libkls_svg_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_svg_la_LIBADD = ${SQ_LOCAL_RPATH} -L../ksquirrel-libs-png -lksquirrel-libs-png
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_SVG -DCODEC_ANOTHER -DSVG_UI=\"${pkgdatadir}/libkls_svg.so.ui\" -DRSVG=\"${RSVG}\" -DSVG2PNG=\"${bindir}/ksquirrel-libs-svg2png\"
|
||||
|
||||
EXTRA_DIST = libkls_svg.so.ui ksquirrel-libs-svg2png.in
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_svg.so.ui $(DESTDIR)$(pkgdatadir)/libkls_svg.so.ui
|
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
kls_svg_i=""
|
||||
kls_svg_o=""
|
||||
kls_svg_bin=""
|
||||
kls_svg_params=""
|
||||
|
||||
while [ "$1" ] ; do
|
||||
|
||||
case "$1" in
|
||||
"--input") kls_svg_i="$2" shift ;;
|
||||
"--output") kls_svg_o="$2" shift ;;
|
||||
"--binary") kls_svg_bin="$2" shift ;;
|
||||
*) kls_svg_params="$kls_svg_params $1" ;;
|
||||
esac
|
||||
|
||||
shift
|
||||
done
|
||||
|
||||
$kls_svg_bin $kls_svg_params "$kls_svg_i" > "$kls_svg_o"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_tga.la
|
||||
|
||||
libkls_tga_la_SOURCES = fmt_codec_tga.cpp fmt_codec_tga_defs.h
|
||||
|
||||
libkls_tga_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_tga_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,17 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_tiff.la
|
||||
|
||||
libkls_tiff_la_SOURCES = fmt_codec_tiff.cpp fmt_codec_tiff_defs.h
|
||||
|
||||
libkls_tiff_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_tiff_la_LIBADD = ${SQ_LOCAL_RPATH} -ltiff
|
||||
|
||||
EXTRA_DIST = libkls_tiff.so.ui
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_tiff.so.ui $(DESTDIR)$(pkgdatadir)/libkls_tiff.so.ui
|
||||
|
||||
AM_CXXFLAGS = -DTIFF_UI=\"${pkgdatadir}/libkls_tiff.so.ui\"
|
@ -1,19 +0,0 @@
|
||||
SUBDIRS = ftview
|
||||
|
||||
INCLUDES = -I../include -Iftview @SQ_FT_CFLAGS@ $(all_includes)
|
||||
|
||||
bin_PROGRAMS = ksquirrel-libs-ttf2pnm
|
||||
|
||||
ksquirrel_libs_ttf2pnm_SOURCES = ttf2pnm.cpp ftcommon.cpp
|
||||
|
||||
ksquirrel_libs_ttf2pnm_LDADD = @SQ_FT_LDFLAGS@ -Lftview -lftview
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_ttf.la
|
||||
|
||||
libkls_ttf_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_ttf_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_ttf_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_TTF -DTTF2PNM=\"${bindir}/ksquirrel-libs-ttf2pnm\"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I. @SQ_FT_CFLAGS@ $(all_includes)
|
||||
|
||||
noinst_LTLIBRARIES = libftview.la
|
||||
|
||||
libftview_la_SOURCES = gblblit.cpp gblender.cpp grblit.cpp grfont.cpp grobjs.cpp
|
||||
|
||||
EXTRA_DIST = gblblit.h gblender.h gblvbgr.h grblit.cpp grevents.h grobjs.cpp \
|
||||
gblany.h gblcolor.h gblhbgr.h gblvrgb.h grblit.h grfont.cpp grobjs.h README \
|
||||
gblblit.cpp gblender.cpp gblhrgb.h graph.h grconfig.h grfont.h grtypes.h
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-utah2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_utah.la
|
||||
|
||||
libkls_utah_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_utah_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_utah_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_UTAH -DNETPBM_S=\"${bindir}/ksquirrel-libs-utah2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-utah2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@UTAHTOPNM@ "$1" > "$2"
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_wal.la
|
||||
|
||||
libkls_wal_la_SOURCES = fmt_codec_wal.cpp fmt_codec_wal_defs.h q2pal.h
|
||||
|
||||
libkls_wal_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_wal_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_wbmp.la
|
||||
|
||||
libkls_wbmp_la_SOURCES = fmt_codec_wbmp.cpp fmt_codec_wbmp_defs.h
|
||||
|
||||
libkls_wbmp_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_wbmp_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include @SQ_WMF_CFLAGS@ $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_wmf.la
|
||||
|
||||
libkls_wmf_la_SOURCES = fmt_codec_wmf.cpp wmf2mem.cpp fmt_codec_wmf_defs.h
|
||||
|
||||
libkls_wmf_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_wmf_la_LIBADD = @SQ_WMF_LDFLAGS@ ${SQ_LOCAL_RPATH}
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xbm.la
|
||||
|
||||
libkls_xbm_la_SOURCES = fmt_codec_xbm.cpp fmt_codec_xbm_defs.h
|
||||
|
||||
libkls_xbm_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_xbm_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,18 +0,0 @@
|
||||
SUBDIRS = xcf2pnm
|
||||
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xcf.la
|
||||
|
||||
libkls_xcf_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_xcf_la_LDFLAGS = ${SQ_RELEASE}
|
||||
libkls_xcf_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DXCF_UI=\"${pkgdatadir}/libkls_xcf.so.ui\" -DCODEC_XCF -DCODEC_ANOTHER -DKLXCF2PNM=\"${bindir}/ksquirrel-libs-xcf2pnm\"
|
||||
|
||||
EXTRA_DIST = libkls_xcf.so.ui
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 libkls_xcf.so.ui $(DESTDIR)$(pkgdatadir)/libkls_xcf.so.ui
|
@ -1,6 +0,0 @@
|
||||
bin_PROGRAMS = ksquirrel-libs-xcf2pnm
|
||||
|
||||
ksquirrel_libs_xcf2pnm_SOURCES = enums.c flatspec.c flatten.c io-unix.c pixels.c scaletab.c table.c utils.c xcf2pnm.c xcf-general.c
|
||||
ksquirrel_libs_xcf2pnm_LDFLAGS = $(LIBICONV)
|
||||
|
||||
EXTRA_DIST = xcf2pnm.oi
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xcur.la
|
||||
|
||||
libkls_xcur_la_SOURCES = fmt_codec_xcur.cpp fmt_codec_xcur_defs.h
|
||||
|
||||
libkls_xcur_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_xcur_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
bin_SCRIPTS = ksquirrel-libs-xim2ppm
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xim.la
|
||||
|
||||
libkls_xim_la_SOURCES = fmt_codec_pnm.cpp fmt_codec_pnm_defs.h
|
||||
|
||||
libkls_xim_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_xim_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DCODEC_NETPBM -DCODEC_XIM -DNETPBM_S=\"${bindir}/ksquirrel-libs-xim2ppm\"
|
||||
|
||||
EXTRA_DIST = ksquirrel-libs-xim2ppm.in
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
@XIMTOPPM@ "$1" > "$2"
|
@ -1,17 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xpm.la
|
||||
|
||||
libkls_xpm_la_SOURCES = fmt_codec_xpm.cpp fmt_codec_xpm_defs.h xpm_utils.h
|
||||
|
||||
libkls_xpm_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_xpm_la_LIBADD = ${SQ_LOCAL_RPATH}
|
||||
|
||||
AM_CXXFLAGS = -DSQ_RGBMAP=\"${pkgdatadir}/rgbmap\"
|
||||
|
||||
EXTRA_DIST = rgbmap
|
||||
|
||||
install-data-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
$(INSTALL) -m 0644 rgbmap $(DESTDIR)$(pkgdatadir)/rgbmap
|
@ -1,9 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
pkglib_LTLIBRARIES = libkls_xwd.la
|
||||
|
||||
libkls_xwd_la_SOURCES = fmt_codec_xwd.cpp fmt_codec_xwd_defs.h
|
||||
|
||||
libkls_xwd_la_LDFLAGS = ${SQ_RELEASE}
|
||||
|
||||
libkls_xwd_la_LIBADD = ${SQ_LOCAL_RPATH}
|
@ -1,8 +0,0 @@
|
||||
INCLUDES = -I. -I../include $(all_includes)
|
||||
|
||||
lib_LTLIBRARIES = libksquirrel-libs-png.la
|
||||
|
||||
libksquirrel_libs_png_la_SOURCES = png.cpp pngconf.h pngerror.c pnggccrd.c pngget.c png.h pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
|
||||
pngrutil.c pngset.c pngtrans.c pngvcrd.c pngwio.c pngwrite.c pngwtran.c pngwutil.c pnghack.h
|
||||
|
||||
libksquirrel_libs_png_la_LIBADD = -lz -lm
|
@ -1,8 +0,0 @@
|
||||
INCLUDES = -I../include $(all_includes)
|
||||
|
||||
# create small development library. KSquirrel will use it.
|
||||
lib_LTLIBRARIES = libksquirrel-libs.la
|
||||
|
||||
libksquirrel_libs_la_SOURCES = fileio.cpp fmt_utils.cpp
|
||||
|
||||
libksquirrel_libs_la_LDFLAGS = ${SQ_RELEASE}
|
@ -1,11 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
version=@VERSION@
|
||||
|
||||
Name: ksquirrellibs
|
||||
Description: Image codecs for KSquirrel
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lksquirrel-libs
|
||||
Cflags: -I${includedir} -DSQ_KLIBS=${libdir}/ksquirrel-libs -DSQ_KL_VER=${version}
|
Loading…
Reference in new issue