diff --git a/cmake/modules/COPYING-CMAKE-SCRIPTS b/cmake/modules/COPYING-CMAKE-SCRIPTS new file mode 100644 index 000000000..4b417765f --- /dev/null +++ b/cmake/modules/COPYING-CMAKE-SCRIPTS @@ -0,0 +1,22 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/cmake/modules/FindFreeType2.cmake b/cmake/modules/FindFreeType2.cmake index e1fb95f76..457b6db18 100644 --- a/cmake/modules/FindFreeType2.cmake +++ b/cmake/modules/FindFreeType2.cmake @@ -5,7 +5,12 @@ # FreeType2_LIBRARIES - Link these to use FreeType2 # # TODO: This script should use the program + +# Copyright (c) 2006, Stefan Kebekus, # +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + IF(UNIX) FIND_PATH(FreeType2_INCLUDE_DIR diff --git a/cmake/modules/FindGphoto2.cmake b/cmake/modules/FindGphoto2.cmake index a5d5b3f2a..aee94273f 100644 --- a/cmake/modules/FindGphoto2.cmake +++ b/cmake/modules/FindGphoto2.cmake @@ -1,9 +1,13 @@ +# cmake macro to test if we use gphoto2 # GPHOTO2_FOUND - system has the GPHOTO2 library # GPHOTO2_INCLUDE_DIR - the GPHOTO2 include directory # GPHOTO2_LIBRARIES - The libraries needed to use GPHOTO2 -# Laurent Montel 2006 -# cmake macro to test if we use gphoto2 +# Copyright (c) 2006, Laurent Montel, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + option(KDE4_GPHOTO2 "do not build kamera (gphoto2 required)") if (KDE4_GPHOTO2 ) diff --git a/cmake/modules/FindIMLIB.cmake b/cmake/modules/FindIMLIB.cmake index d8859dbdb..4a18bca65 100644 --- a/cmake/modules/FindIMLIB.cmake +++ b/cmake/modules/FindIMLIB.cmake @@ -5,7 +5,12 @@ # IMLIB_INCLUDE_DIR - the IMLIB include directory # IMLIB_LIBRARIES - Link these to use IMLIB # IMLIB_DEFINITIONS - Compiler switches required for using IMLIB + +# Copyright (c) 2006, Dirk Mueller, # +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + IF (DEFINED CACHED_IMLIB) diff --git a/cmake/modules/FindKadmos.cmake b/cmake/modules/FindKadmos.cmake index 27b25f277..d513277cb 100644 --- a/cmake/modules/FindKadmos.cmake +++ b/cmake/modules/FindKadmos.cmake @@ -3,6 +3,11 @@ # KADMOS_INCLUDE_DIR - the KADMOS include directory # KADMOS_LIBRARIES - The libraries needed to use KADMOS +# Copyright (c) 2006, Laurent Montel, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (KADMOS_INCLUDE_DIR) # Already in cache, be silent set(KADMOS_FIND_QUIETLY TRUE) diff --git a/cmake/modules/FindPOPPLER.cmake b/cmake/modules/FindPOPPLER.cmake new file mode 100644 index 000000000..460bb2e51 --- /dev/null +++ b/cmake/modules/FindPOPPLER.cmake @@ -0,0 +1,9 @@ +# cmake macro to test if we use poppler + +# Copyright (c) 2006, Laurent Montel, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + +option(KDE4_POPPLER "Enable PDF support through poppler ") + diff --git a/cmake/modules/FindPopplerQt4.cmake b/cmake/modules/FindPopplerQt4.cmake index 3024563db..e21afa6e1 100644 --- a/cmake/modules/FindPopplerQt4.cmake +++ b/cmake/modules/FindPopplerQt4.cmake @@ -9,6 +9,13 @@ # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls + +# Copyright (c) 2006, Wilfried Huss, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + INCLUDE(UsePkgConfig) PKGCONFIG(poppler-qt4 _PopplerQt4IncDir _PopplerQt4LinkDir _PopplerQt4LinkFlags _PopplerQt4Cflags) diff --git a/cmake/modules/FindSane.cmake b/cmake/modules/FindSane.cmake index cf315dc80..b7714e7a7 100644 --- a/cmake/modules/FindSane.cmake +++ b/cmake/modules/FindSane.cmake @@ -1,10 +1,14 @@ -# Marcus Hufgard 2006 # cmake macro to test if we use sane # # SANE_FOUND - system has SANE libs # SANE_INCLUDE_DIR - the SANE include directory # SANE_LIBRARIES - The libraries needed to use SANE +# Copyright (c) 2006, Marcus Hufgard 2006 +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + if (SANE_INCLUDE_DIR) # Already in cache, be silent set(SANE_FIND_QUIETLY TRUE)