diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-01-28 13:15:37 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-30 15:34:51 +0100 |
commit | 62644d351c27164ab66ae95437d19d4bdd3a97f2 (patch) | |
tree | 67bcf79ebd7ded7ba23869f79ec9d9a936d816a4 /libkdcraw | |
parent | 5674a02fa440fc588d2b7800c7ff7cd8eed871ed (diff) | |
download | libkdcraw-62644d35.tar.gz libkdcraw-62644d35.zip |
Drop automake build support.
Rework the README and INSTALL files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 733f0a554b6389432af4e042a289650e7c212464)
Diffstat (limited to 'libkdcraw')
-rw-r--r-- | libkdcraw/Makefile.am | 14 | ||||
-rw-r--r-- | libkdcraw/configure.in.bot | 25 | ||||
-rw-r--r-- | libkdcraw/configure.in.in | 134 | ||||
-rw-r--r-- | libkdcraw/dcraw/Makefile.am | 38 | ||||
-rw-r--r-- | libkdcraw/icons/Makefile.am | 1 | ||||
-rw-r--r-- | libkdcraw/libkdcraw.pc.in | 12 | ||||
-rw-r--r-- | libkdcraw/libkdcraw/Makefile.am | 19 | ||||
-rw-r--r-- | libkdcraw/libraw/Makefile.am | 14 | ||||
-rw-r--r-- | libkdcraw/test/Makefile.am | 51 |
9 files changed, 0 insertions, 308 deletions
diff --git a/libkdcraw/Makefile.am b/libkdcraw/Makefile.am deleted file mode 100644 index b8e1b88..0000000 --- a/libkdcraw/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ - -COMPILE_FIRST = libraw libkdcraw -SUBDIRS = libraw libkdcraw test icons - -libkdcrawpkgconfigdir = $(libdir)/pkgconfig -libkdcrawpkgconfig_DATA = libkdcraw.pc -EXTRA_DIST = libkdcraw.pc.in - -# i18n translation messages -messages: - LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ - if test -n "$$LIST"; then \ - $(XGETTEXT) $$LIST -o $(podir)/libkdcraw.pot; \ - fi
\ No newline at end of file diff --git a/libkdcraw/configure.in.bot b/libkdcraw/configure.in.bot deleted file mode 100644 index 7b55b15..0000000 --- a/libkdcraw/configure.in.bot +++ /dev/null @@ -1,25 +0,0 @@ -dnl Put here things to be done at the very end - telling users -dnl about additional packages to install. - -echo "" -echo "-- libkdcraw configure results -------------------" - -if test "x$have_lcms" != "xyes"; then - echo "-- lcms found..................... NO" - echo "" - echo "libkdcraw needs Lcms library. You need to install the lcms development package." - echo "Lcms website is at http://www.littlecms.com" - echo "" - all_tests=bad -else - echo "-- lcms found..................... YES" -fi - -if test "x$USING_OPENMP" != "xyes"; then - echo "-- compile with OpenMP support.... NO (Optional)" - all_tests=bad -else - echo "-- compile with OpenMP support.... YES (Optional)" -fi - - diff --git a/libkdcraw/configure.in.in b/libkdcraw/configure.in.in deleted file mode 100644 index 5d16b42..0000000 --- a/libkdcraw/configure.in.in +++ /dev/null @@ -1,134 +0,0 @@ -AC_ARG_VAR(PKGCONFIGFOUND, [Path to pkg-config]) -AC_CHECK_PROG(PKGCONFIGFOUND, pkg-config,[yes]) - -#----------------------------------------------------------------- -# Library API version -# ----------------------------------------------------------------- - -ABI_MAJOR=4 -VERSION_INFO="4:3:0" - -AC_SUBST(ABI_MAJOR) -AC_SUBST(VERSION_INFO) - -# AM_PROG_CC_C_O to avoid that automake complains for it -AM_PROG_CC_C_O - -# ----------------------------------------------------------------- -# lcms check -# ----------------------------------------------------------------- - -have_lcms_header='no' -KDE_CHECK_HEADER(lcms2.h,have_lcms2_header='yes',,) -if test "$have_lcms2_header" = 'yes'; then - AC_DEFINE(LCMS_HEADER, <lcms2.h>, [LCMS header]) -else - # Alternative! Debian does it this way... - KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,) - if test "$have_lcms_header" = 'yes'; then - AC_DEFINE(LCMS_HEADER, <lcms.h>, [LCMS header]) - else - KDE_CHECK_HEADER(lcms/lcms.h,have_lcms_header='yes',,) - if test "$have_lcms_header" = 'yes'; then - AC_DEFINE(LCMS_HEADER, <lcms/lcms.h>, [LCMS header]) - fi - fi -fi - -LCMS_LIBS='' -have_lcms='no' -saved_libs=$LIBS -saved_cflags="$CFLAGS" -saved_ldflags="$LDFLAGS" -CFLAGS="$CFLAGS $all_includes -I/usr/include/tqt" -LDFLAGS="$LDFLAGS $all_libraries" -if test "$have_lcms2_header" = 'yes'; then - LIBS="$LIBS -llcms2" - AC_TRY_LINK([ -#define inline __inline /* gcc is in ansi mode */ -#include LCMS_HEADER -#if LCMS_VERSION < 112 -choke! -#endif -], [ -cmsOpenProfileFromFile("foo", "r"); -], - [LCMS_LIBS='-llcms2'; have_lcms='yes']) -else - if test "$have_lcms_header" = 'yes'; then - LIBS="$LIBS -llcms" - AC_TRY_LINK([ -#define inline __inline /* gcc is in ansi mode */ -#include LCMS_HEADER -#if LCMS_VERSION < 112 -choke! -#endif -], [ -cmsOpenProfileFromFile("foo", "r"); -], - [LCMS_LIBS='-llcms'; have_lcms='yes']) - fi -fi -LIBS=$saved_libs -CFLAGS=$saved_cflags -LDFLAGS=$saved_ldflags - -if test -z "$LCMS_LIBS"; then - DO_NOT_COMPILE="$DO_NOT_COMPILE libkdcraw" -fi - -AC_SUBST(LCMS_LIBS) - -#AM_CONDITIONAL(compile_LIBKDCRAW, [test x$have_lcms != xyes]) - -AC_OUTPUT([ libkdcraw/libkdcraw.pc ]) - -# ----------------------------------------------------------------- -# enable hidden visibility only if kde >= 3.3.2 and tdelibs has -# been compiled with visibility enabled -# ----------------------------------------------------------------- - -AC_LANG_PUSH(C++) -libkdcraw_kdemacros_cppflags=$CPPFLAGS -CPPFLAGS="$CPPFLAGS $all_includes" -AC_MSG_CHECKING([if kdemacros.h is usable]) -AC_COMPILE_IFELSE( - [ - #include <kdemacros.h> - #include <string> - int other_func( void ) KDE_EXPORT; - int other_func( void ) - { - std::string s("KDE_EXPORT"); - return 0; - } - ], - [ AC_MSG_RESULT([yes]) - AC_DEFINE(KDEMACROS_USABLE, 1, [kdemacros.h usable]) ], - [ AC_MSG_RESULT([no]) ] -) -CPPFLAGS=$libkdcraw_kdemacros_cppflags -AC_LANG_POP(C++) - -# ----------------------------------------------------------------- -# enable OpenMP support to use parallelized code from LibRaw -# (default: disabled). this mode speed-up demosaicing operations. -# ----------------------------------------------------------------- - -AC_MSG_CHECKING(whether to enable parallel demosaicing operation from LibRaw using openmp...) -AC_ARG_ENABLE([openmp], [AC_HELP_STRING([--enable-openmp], - [enable openmp [default=disabled] ])], - if test $enableval = yes; then - [AC_MSG_RESULT(yes)] - [AC_DEFINE([USING_OPENMP], 1, [using openmp])] - USING_OPENMP=yes - [CXXFLAGS="$CXXFLAGS -fopenmp"] - [OPENMP_LDFLAGS=" -lgomp "] - fi - , - [AC_MSG_RESULT(no)] - [AC_DEFINE([USING_OPENMP], 0, [using openmp])] - USING_OPENMP=no - [OPENMP_LDFLAGS=""] - ) -AC_SUBST(OPENMP_LDFLAGS) diff --git a/libkdcraw/dcraw/Makefile.am b/libkdcraw/dcraw/Makefile.am deleted file mode 100644 index 1a5e241..0000000 --- a/libkdcraw/dcraw/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Requires by dcraw.c implementation. -KDE_OPTIONS = nofinal - -METASOURCES = AUTO - -#-- dcraw binary ------------------------------------------------- - -# libkdcraw use a dedicaced dcraw binary program to run. This is mandatory -# since dcraw author have broken the command line options -# compatibility with the 8.x serie. -# Also, dcraw is not available like a library. -# The dcraw.c source code is just a copy of official implementation, but -# this one have been completly tested with libkdcraw core. -# Note: dcraw project page is http://cybercom.net/~dcoffin - -bin_PROGRAMS = kdcraw -bindir = $(KDCRAW_DIR) - -# The manual page of binary program. (Don't install manpage of a library -# internal helper app -#man_MANS = kdcraw.1 - -# This line is require to prevent broken compilation with -std=iso9899:1990 gcc option. -# In fact, dcraw.c use lcms.h witch use the "inline" keyword witch do not exist in pure C -# implementation. The -Dinline option please compiler to see inline with this option. -# Note : using -std-c99 instead -std=iso9899:1990 is not possible because some compiler -# do not support it. -# Thanks to Andras Mantia for this tip. -kdcraw_CFLAGS = -Dinline= -w $(all_includes) - -kdcraw_SOURCES = dcraw.c - -kdcraw_LDFLAGS = $(all_libraries) $(LIBJPEG) $(LCMS_LIBS) - -# Install Camera list supported by dcraw. -cameralistdir = $(KDCRAW_DIR) -cameralist_DATA = CAMERALIST - diff --git a/libkdcraw/icons/Makefile.am b/libkdcraw/icons/Makefile.am deleted file mode 100644 index 8ab548d..0000000 --- a/libkdcraw/icons/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -KDE_ICON = kdcraw diff --git a/libkdcraw/libkdcraw.pc.in b/libkdcraw/libkdcraw.pc.in deleted file mode 100644 index 247d8e7..0000000 --- a/libkdcraw/libkdcraw.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libkdcraw -Description: A C++ wrapper around LibRaw library to decode RAW pictures. This library is used by digiKam and kipi-plugins. kipi-plugins. -URL: http://www.kipi-plugins.org -Requires: -Version: 0.1.9 -Libs: -L${libdir} -lkdcraw -Cflags: -I${includedir} diff --git a/libkdcraw/libkdcraw/Makefile.am b/libkdcraw/libkdcraw/Makefile.am deleted file mode 100644 index 63c47df..0000000 --- a/libkdcraw/libkdcraw/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ - -METASOURCES = AUTO - -INCLUDES = -I../libraw -I../../../libkdcraw/libraw $(all_includes) - -# LibRaw definitions -KDE_CXXFLAGS = $(USE_EXCEPTIONS) -DDCRAW_VERBOSE -DUSE_LCMS - -lib_LTLIBRARIES = libkdcraw.la - -libkdcraw_la_SOURCES = kdcraw.cpp kdcrawprivate.cpp dcrawsettingswidget.cpp rnuminput.cpp rcombobox.cpp -libkdcraw_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -version-info $(VERSION_INFO) -no-undefined -libkdcraw_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) $(LIB_TDEIO) ../libraw/libraw.la - -libkdcrawinclude_HEADERS = rawdecodingsettings.h kdcraw.h dcrawsettingswidget.h \ - rnuminput.h rcombobox.h dcrawinfocontainer.h rawfiles.h \ - libkdcraw_export.h version.h - -libkdcrawincludedir = $(includedir)/libkdcraw diff --git a/libkdcraw/libraw/Makefile.am b/libkdcraw/libraw/Makefile.am deleted file mode 100644 index 77ed085..0000000 --- a/libkdcraw/libraw/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ - -# LibRaw definitions -KDE_CXXFLAGS = $(USE_EXCEPTIONS) -DDCRAW_VERBOSE -DUSE_LCMS - -INCLUDES = $(all_includes) - -# Requires by dcraw implementation from libraw. -KDE_OPTIONS = nofinal - -noinst_LTLIBRARIES = libraw.la - -libraw_la_CXXFLAGS = -w -libraw_la_SOURCES = src/libraw_cxx.cpp src/libraw_c_api.cpp internal/dcraw_common.cpp internal/dcraw_fileio.cpp internal/foveon.cpp -libraw_la_LDFLAGS = $(LIBJPEG) $(LCMS_LIBS) diff --git a/libkdcraw/test/Makefile.am b/libkdcraw/test/Makefile.am deleted file mode 100644 index efb8c13..0000000 --- a/libkdcraw/test/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -KDE_OPTIONS = nofinal -METASOURCES = AUTO - -# LibRaw definitions -KDE_CXXFLAGS = $(USE_EXCEPTIONS) -DDCRAW_VERBOSE -DUSE_LCMS - -INCLUDES = -I../libraw -I../libkdcraw $(all_includes) - -check_PROGRAMS = raw2png identify simple_dcraw mem_image dcraw_emu 4channels unprocessed_raw - -# ------------------------------------------------------------- - -raw2png_CFLAGS = $(all_includes) -raw2png_SOURCES = raw2png.cpp -raw2png_LDFLAGS = $(all_libraries) ../libkdcraw/libkdcraw.la - -# ------------------------------------------------------------- - -identify_CFLAGS = $(all_includes) -identify_SOURCES = ../libraw/samples/identify.cpp -identify_LDFLAGS = $(all_libraries) ../libraw/libraw.la - -# ------------------------------------------------------------- - -simple_dcraw_CFLAGS = $(all_includes) -simple_dcraw_SOURCES = ../libraw/samples/simple_dcraw.cpp -simple_dcraw_LDFLAGS = $(all_libraries) ../libraw/libraw.la - -# ------------------------------------------------------------- - -mem_image_CFLAGS = $(all_includes) -mem_image_SOURCES = ../libraw/samples/mem_image.cpp -mem_image_LDFLAGS = $(all_libraries) ../libraw/libraw.la - -# ------------------------------------------------------------- - -dcraw_emu_CFLAGS = $(all_includes) -dcraw_emu_SOURCES = ../libraw/samples/dcraw_emu.cpp -dcraw_emu_LDFLAGS = $(all_libraries) ../libraw/libraw.la - -# ------------------------------------------------------------- - -4channels_CFLAGS = $(all_includes) -4channels_SOURCES = ../libraw/samples/4channels.cpp -4channels_LDFLAGS = $(all_libraries) ../libraw/libraw.la - -# ------------------------------------------------------------- - -unprocessed_raw_CFLAGS = $(all_includes) -unprocessed_raw_SOURCES = ../libraw/samples/unprocessed_raw.cpp -unprocessed_raw_LDFLAGS = $(all_libraries) ../libraw/libraw.la |