kde-extraapps/libksane
Ivailo Monev ca6ec59cc7 generic: replace macro_log_feature() with set_package_properties() calls
other changes such as syncing properties, updating some of the URLs,
adding missing feature information, removing of redundant checks and
variables and indentation were done in the process while testing if the
changes work as intended.

replacing find_package() with macro_optional_find_package() was also done
where applicable however it's usage is questionable due to the CMake
`CMAKE_DISABLE_FIND_PACKAGE_<PACKAGE>` option.

there is a lot to be done, mostly updating package properties so I am
thinking of either providing a package properties file (like the
MacroLibrary) which sets properties for packages globablly or setting
package properties from the CMake modules shipped with kdelibs. the first
solution may override properties for packages if other projects define them
however a check to ensure that is not done should suffice. the second
solution will cover only DESCRIPTION and URL meaning PURPOSE and TYPE will
still have to be specified in the build systems.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-21 05:37:28 +02:00
..
cmake/templates generic: replace installation paths with KDE4_ prefixed 2020-02-08 20:12:24 +00:00
ksaneplugin generic: replace installation paths with KDE4_ prefixed 2020-02-08 20:12:24 +00:00
libksane generic: replace installation paths with KDE4_ prefixed 2020-02-08 20:12:24 +00:00
.directory import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
.gitignore import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
AUTHORS import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
CMakeLists.txt generic: replace macro_log_feature() with set_package_properties() calls 2020-02-21 05:37:28 +02:00
COPYING import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
COPYING-CMAKE-SCRIPTS import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
COPYING.LIB import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
COPYING.twain import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
NEWS import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
README import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00
TODO import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00

SANE Library interface for KDE

This library is a part of Kipi-Plugins project (http://www.digikam.org)

-- AUTHORS ------------------------------------------------------------

See AUTHORS file for details.

-- ABOUT --------------------------------------------------------------

Libksane is a KDE interface for SANE library to control flat scanners.

This library is used by kipi-plugins, digiKam and others kipi host programs.

The library documentation is available on header files.

-- DEPENDENCIES -------------------------------------------------------

CMake      >= 2.4.x                     http://www.cmake.org
libqt      >= 4.2.x                     http://www.qtsoftware.com
libkde     >= 4.0.x                     http://www.kde.org
libsane    >= 1.0.18                    http://www.sane-project.org

-- INSTALL ------------------------------------------------------------

In order to compile, especially when QT3/Qt4 are installed at the same time, 
just use something like that:

# export VERBOSE=1
# export QTDIR=/usr/lib/qt4/  
# export PATH=$QTDIR/bin:$PATH 
# cmake .
# make

Usual CMake options:

-DCMAKE_INSTALL_PREFIX : decide where the program will be install on your computer.
-DCMAKE_BUILD_TYPE     : decide which type of build you want. You can chose between "debugfull", "debug", "profile", "relwithdebinfo" and "release". The default is "relwithdebinfo" (-O2 -g).

Compared to old KDE3 autoconf options:

"cmake . -DCMAKE_BUILD_TYPE=debugfull" is equivalent to "./configure --enable-debug=full"
"cmake . -DCMAKE_INSTALL_PREFIX=/usr"  is equivalent to "./configure --prefix=/usr"

More details can be found ata this url: http://techbase.kde.org/Development/Tutorials/CMake#Environment_Variables

Note: To know KDE install path on your computer, use 'kde-config --prefix' command line like this (with full debug object enabled):

"cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`"

-- CONTACT ------------------------------------------------------------

If you have questions, comments, suggestions to make do email at:

kde-imaging@kde.org

IRC channel from freenode.net server:

#kde-imaging

-- BUGS ---------------------------------------------------------------

IMPORTANT : the bugreports and wishlist are hosted by the KDE bugs report 
system who can be contacted by the standard Kde help menu of plugins dialog. 
A mail will be automatically sent to the Kipi mailing list.
There is no need to contact directly the Kipi mailing list for a bug report 
or a devel wish.

The current Kipi bugs and devel wish reported to the Kde bugs report can be see 
at this url :

http://bugs.kde.org/buglist.cgi?product=kipiplugins&component=libksane&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED