aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-01-04 15:39:53 +0000
committerAlexander Neundorf <neundorf@kde.org>2009-01-04 15:39:53 +0000
commit87c903a8e853eec433860818a01040da8d1c5f1a (patch)
tree9cd83f138f1689339be5733a7217cc875fad1c39
parent403060aeba469dd0dc6372ac8247ce5bf498f84b (diff)
downloadextra-cmake-modules-87c903a8e853eec433860818a01040da8d1c5f1a.tar.gz
extra-cmake-modules-87c903a8e853eec433860818a01040da8d1c5f1a.tar.bz2
-add missing copyright notices, I hope I got it right
-also a few empty lines here and there to make it look nicer Alex svn path=/trunk/KDE/kdelibs/; revision=905547
-rw-r--r--modules/FindAutomoc4.cmake26
-rw-r--r--modules/FindBlueZ.cmake5
-rw-r--r--modules/FindExiv2.cmake6
-rw-r--r--modules/FindFlex.cmake5
-rw-r--r--modules/FindGLIB2.cmake6
-rw-r--r--modules/FindGObject.cmake5
-rw-r--r--modules/FindGStreamer.cmake5
-rw-r--r--modules/FindKDE4Workspace.cmake2
-rw-r--r--modules/FindKNepomuk.cmake6
-rw-r--r--modules/FindKdcraw.cmake6
-rw-r--r--modules/FindKdepimLibs.cmake2
-rw-r--r--modules/FindKexiv2.cmake5
-rw-r--r--modules/FindKonto.cmake6
-rw-r--r--modules/FindLCMS.cmake7
-rw-r--r--modules/FindLibPython.py2
-rw-r--r--modules/FindNepomuk.cmake7
-rw-r--r--modules/FindPyKDE4.cmake1
-rw-r--r--modules/FindPyKDE4.py1
-rw-r--r--modules/FindPyQt.py1
-rw-r--r--modules/FindPythonLibrary.cmake10
-rw-r--r--modules/FindSIP.cmake9
-rw-r--r--modules/FindSIP.py1
-rw-r--r--modules/FindSoprano.cmake8
-rw-r--r--modules/FindSqlite.cmake5
-rw-r--r--modules/FindStrigi.cmake6
25 files changed, 131 insertions, 12 deletions
diff --git a/modules/FindAutomoc4.cmake b/modules/FindAutomoc4.cmake
index 1192ea01..cbe7ad1e 100644
--- a/modules/FindAutomoc4.cmake
+++ b/modules/FindAutomoc4.cmake
@@ -3,20 +3,42 @@
#
# AUTOMOC4_FOUND - automoc4 has been found
# AUTOMOC4_EXECUTABLE - the automoc4 tool
+# AUTOMOC4_VERSION - the full version of automoc4
+# AUTOMOC4_VERSION_MAJOR, AUTOMOC4_VERSION_MINOR, AUTOMOC4_VERSION_PATCH - AUTOMOC4_VERSION
+# broken into its components
#
# It also adds the following macros
# AUTOMOC4(<target> <SRCS_VAR>)
# Use this to run automoc4 on all files contained in the list <SRCS_VAR>.
#
-# AUTOMOC4_MOC_HEADERS(<target> header1.h header2.h)
+# AUTOMOC4_MOC_HEADERS(<target> header1.h header2.h ...)
# Use this to add more header files to be processed with automoc4.
+#
+# AUTOMOC4_ADD_EXECUTABLE(<target_NAME> src1 src2 ...)
+# This macro does the same as ADD_EXECUTABLE, but additionally
+# adds automoc4 handling for all source files.
+#
+# AUTOMOC4_ADD_LIBRARY(<target_NAME> src1 src2 ...)
+# This macro does the same as ADD_LIBRARY, but additionally
+# adds automoc4 handling for all source files.
+# Internal helper macro, may change or be removed anytime:
+# _ADD_AUTOMOC4_TARGET(<target_NAME> <SRCS_VAR>)
+#
+# Since version 0.9.88:
+# The following two macros are only to be used for KDE4 projects
+# and do something which makes sure automoc4 works for KDE. Don't
+# use them anywhere else.
+# _AUTOMOC4_KDE4_PRE_TARGET_HANDLING(<target_NAME> <SRCS_VAR>)
+# _AUTOMOC4_KDE4_POST_TARGET_HANDLING(<target_NAME>)
-# Copyright (c) 2008, Alexander Neundorf, <neundorf@kde.org>
+
+# Copyright (c) 2008-2009, Alexander Neundorf, <neundorf@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
# check if we are inside KDESupport and automoc is enabled
if("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
# when building this project as part of kdesupport
diff --git a/modules/FindBlueZ.cmake b/modules/FindBlueZ.cmake
index 47161868..8601b935 100644
--- a/modules/FindBlueZ.cmake
+++ b/modules/FindBlueZ.cmake
@@ -9,6 +9,11 @@
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
+# Copyright (c) 2008, Daniel Gollub, <dgollub@suse.de>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
if ( BLUEZ_INCLUDE_DIR AND BLUEZ_LIBRARIES )
# in cache already
diff --git a/modules/FindExiv2.cmake b/modules/FindExiv2.cmake
index 5bef48be..693f5465 100644
--- a/modules/FindExiv2.cmake
+++ b/modules/FindExiv2.cmake
@@ -11,6 +11,12 @@
# EXIV2_DEFINITIONS - Compiler switches required for using libexiv2
#
+# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
# in cache already
diff --git a/modules/FindFlex.cmake b/modules/FindFlex.cmake
index c69cffd0..a2db9864 100644
--- a/modules/FindFlex.cmake
+++ b/modules/FindFlex.cmake
@@ -6,6 +6,11 @@
# FLEX_VERSION - the version string, like "2.5.31"
+# Copyright (c) 2008, Jakob Petsovits, <jpetso@gmx.at>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
FIND_PROGRAM(FLEX_EXECUTABLE NAMES flex)
INCLUDE(MacroEnsureVersion)
diff --git a/modules/FindGLIB2.cmake b/modules/FindGLIB2.cmake
index 3467562a..431f2e5e 100644
--- a/modules/FindGLIB2.cmake
+++ b/modules/FindGLIB2.cmake
@@ -5,6 +5,12 @@
# GLIB2_INCLUDE_DIR - the glib2 include directory
# GLIB2_LIBRARIES - glib2 library
+# Copyright (c) 2008 Laurent Montel, <montel@kde.org>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if(GLIB2_INCLUDE_DIR AND GLIB2_LIBRARIES)
# Already in cache, be silent
set(GLIB2_FIND_QUIETLY TRUE)
diff --git a/modules/FindGObject.cmake b/modules/FindGObject.cmake
index 538cad5f..d9e8df9c 100644
--- a/modules/FindGObject.cmake
+++ b/modules/FindGObject.cmake
@@ -6,7 +6,10 @@
# GOBJECT_LIBRARIES - the libraries needed to use GObject
# GOBJECT_DEFINITIONS - Compiler switches required for using GObject
-# (c)2006, Tim Beaulen <tbscope@gmail.com>
+# Copyright (c) 2006, Tim Beaulen <tbscope@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
IF (GOBJECT_INCLUDE_DIR AND GOBJECT_LIBRARIES)
diff --git a/modules/FindGStreamer.cmake b/modules/FindGStreamer.cmake
index b87e37fd..8e98b892 100644
--- a/modules/FindGStreamer.cmake
+++ b/modules/FindGStreamer.cmake
@@ -6,7 +6,10 @@
# GSTREAMER_LIBRARIES - the libraries needed to use GStreamer
# GSTREAMER_DEFINITIONS - Compiler switches required for using GStreamer
-# (c)2006, Tim Beaulen <tbscope@gmail.com>
+# Copyright (c) 2006, Tim Beaulen <tbscope@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
# TODO: Other versions --> GSTREAMER_X_Y_FOUND (Example: GSTREAMER_0_8_FOUND and GSTREAMER_0_10_FOUND etc)
diff --git a/modules/FindKDE4Workspace.cmake b/modules/FindKDE4Workspace.cmake
index 81a3e40c..660c7b8d 100644
--- a/modules/FindKDE4Workspace.cmake
+++ b/modules/FindKDE4Workspace.cmake
@@ -60,6 +60,8 @@
# KDE4WORKSPACE_INCLUDE_DIR, and also variables for all libraries.
# See kdebase/workspace/CMakeLists.txt and kdebase/workspace/KDE4WorkspaceConfig.cmake.in
# for details. Alex
+
+
set(_KDE4Workspace_FIND_QUIETLY ${KDE4Workspace_FIND_QUIETLY})
find_package(KDE4Workspace QUIET NO_MODULE PATHS ${KDE4_LIB_DIR}/KDE4Workspace/cmake )
set(KDE4Workspace_FIND_QUIETLY ${_KDE4Workspace_FIND_QUIETLY})
diff --git a/modules/FindKNepomuk.cmake b/modules/FindKNepomuk.cmake
index dbbadfeb..655f6fe8 100644
--- a/modules/FindKNepomuk.cmake
+++ b/modules/FindKNepomuk.cmake
@@ -5,6 +5,12 @@
# KNEPOMUK_LIBRARIES - Link these to use libKNep
#
+# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if(KNEPOMUK_INCLUDES AND KNEPOMUK_LIBRARIES)
set(KNepomuk_FIND_QUIETLY TRUE)
endif(KNEPOMUK_INCLUDES AND KNEPOMUK_LIBRARIES)
diff --git a/modules/FindKdcraw.cmake b/modules/FindKdcraw.cmake
index f3b33bf8..dfd901c5 100644
--- a/modules/FindKdcraw.cmake
+++ b/modules/FindKdcraw.cmake
@@ -7,6 +7,12 @@
# KDCRAW_DEFINITIONS - Compiler switches required for using libkdcraw
#
+# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
message(STATUS "Found Kdcraw library in cache: ${KDCRAW_LIBRARIES}")
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake
index 603a27f2..3ab58e21 100644
--- a/modules/FindKdepimLibs.cmake
+++ b/modules/FindKdepimLibs.cmake
@@ -63,6 +63,8 @@
# KDEPIMLIBS_INCLUDE_DIR, and also variables for all libraries.
# See kdepimlibs/CMakeLists.txt and kdepimlibs/KdepimLibsConfig.cmake.in
# for details. Alex
+
+
set(_KdepimLibs_FIND_QUIETLY ${KdepimLibs_FIND_QUIETLY})
find_package(KdepimLibs ${KdepimLibs_FIND_VERSION} QUIET NO_MODULE PATHS ${KDE4_LIB_DIR}/KdepimLibs/cmake )
set(KdepimLibs_FIND_QUIETLY ${_KdepimLibs_FIND_QUIETLY})
diff --git a/modules/FindKexiv2.cmake b/modules/FindKexiv2.cmake
index c57ed1c2..dd62e885 100644
--- a/modules/FindKexiv2.cmake
+++ b/modules/FindKexiv2.cmake
@@ -7,6 +7,11 @@
# KEXIV2_DEFINITIONS - Compiler switches required for using libkexiv2
#
+# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
if (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES)
message(STATUS "Found Kexiv2 library in cache: ${KEXIV2_LIBRARIES}")
diff --git a/modules/FindKonto.cmake b/modules/FindKonto.cmake
index 0aeccedf..d3c3458b 100644
--- a/modules/FindKonto.cmake
+++ b/modules/FindKonto.cmake
@@ -5,6 +5,12 @@
# KONTO_LIBRARIES - Link these to use libKonto
#
+# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if(KONTO_INCLUDES AND KONTO_LIBRARIES)
# Already in cache, be silent
set(Konto_FIND_QUIETLY TRUE)
diff --git a/modules/FindLCMS.cmake b/modules/FindLCMS.cmake
index 52109933..9d162d2c 100644
--- a/modules/FindLCMS.cmake
+++ b/modules/FindLCMS.cmake
@@ -6,6 +6,13 @@
# LCMS_VERSION, The value of LCMS_VERSION defined in lcms.h
# LCMS_FOUND, If false, do not try to use LCMS.
+
+# Copyright (c) 2008, Adrian Page, <adrian@pagenet.plus.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
if(NOT WIN32)
diff --git a/modules/FindLibPython.py b/modules/FindLibPython.py
index 4deabb9e..ec21b338 100644
--- a/modules/FindLibPython.py
+++ b/modules/FindLibPython.py
@@ -1,6 +1,8 @@
+
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
import sys
import distutils.sysconfig
diff --git a/modules/FindNepomuk.cmake b/modules/FindNepomuk.cmake
index 51cd7549..deb0c8c6 100644
--- a/modules/FindNepomuk.cmake
+++ b/modules/FindNepomuk.cmake
@@ -8,6 +8,13 @@
# NEPOMUK_DEFINITIONS - Compiler switches required for using Nepomuk
#
+
+# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if (NOT DEFINED Soprano_FOUND)
macro_optional_find_package(Soprano)
macro_log_feature(Soprano_FOUND "Soprano" "Semantic Desktop Storing" "" FALSE "" "Soprano is needed for Nepomuk")
diff --git a/modules/FindPyKDE4.cmake b/modules/FindPyKDE4.cmake
index fbc34f8b..f738741e 100644
--- a/modules/FindPyKDE4.cmake
+++ b/modules/FindPyKDE4.cmake
@@ -4,6 +4,7 @@
# * PYKDE4_INSTALL_PYTHON_FILES
# * PYKDE4_ADD_UI_FILES
# * PYKDE4_ADD_EXECUTABLE
+
# By Simon Edwards <simon@simonzone.com>
# This file is in the public domain.
diff --git a/modules/FindPyKDE4.py b/modules/FindPyKDE4.py
index 23b0d831..e436c2a9 100644
--- a/modules/FindPyKDE4.py
+++ b/modules/FindPyKDE4.py
@@ -2,6 +2,7 @@
# modified by Paul Giannaros <paul@giannaros.org> to add better PyKDE4
# sip directory finding
# This file is in the public domain.
+
import sys
import os
import PyKDE4.pykdeconfig
diff --git a/modules/FindPyQt.py b/modules/FindPyQt.py
index 8e255319..5d2f9514 100644
--- a/modules/FindPyQt.py
+++ b/modules/FindPyQt.py
@@ -1,6 +1,7 @@
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
import PyQt4.pyqtconfig
pyqtcfg = PyQt4.pyqtconfig.Configuration()
diff --git a/modules/FindPythonLibrary.cmake b/modules/FindPythonLibrary.cmake
index dd33ab37..80f3f4ab 100644
--- a/modules/FindPythonLibrary.cmake
+++ b/modules/FindPythonLibrary.cmake
@@ -1,9 +1,5 @@
# Find Python
# ~~~~~~~~~~~
-# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
# Find the Python interpreter and related Python directories.
#
# This file defines the following variables:
@@ -22,6 +18,12 @@
#
# PYTHON_LIBRARY, PYTHON_LIBRARIES- Location of the Python library.
+# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
+
INCLUDE(CMakeFindFrameworks)
if(EXISTS PYTHON_LIBRARY)
diff --git a/modules/FindSIP.cmake b/modules/FindSIP.cmake
index afe8b7b1..01f3bd16 100644
--- a/modules/FindSIP.cmake
+++ b/modules/FindSIP.cmake
@@ -1,8 +1,5 @@
# Find SIP
# ~~~~~~~~
-# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# SIP website: http://www.riverbankcomputing.co.uk/sip/index.php
#
@@ -23,6 +20,12 @@
# SIP_DEFAULT_SIP_DIR - Default directory where .sip files should be installed
# into.
+# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
+
IF(SIP_VERSION)
# Already in cache, be silent
SET(SIP_FOUND TRUE)
diff --git a/modules/FindSIP.py b/modules/FindSIP.py
index 18db89b3..ecb734f2 100644
--- a/modules/FindSIP.py
+++ b/modules/FindSIP.py
@@ -3,6 +3,7 @@
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
import sys
import sipconfig
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake
index 3cc3f22f..fc00a9c9 100644
--- a/modules/FindSoprano.cmake
+++ b/modules/FindSoprano.cmake
@@ -16,11 +16,17 @@
# SOPRANO_PLUGIN_RAPTORSERIALIZER_FOUND - true if the raptorserializer plugin is found
# SOPRANO_PLUGIN_REDLANDBACKEND_FOUND - true if the redlandbackend plugin is found
# SOPRANO_PLUGIN_SESAME2BACKEND_FOUND - true if the sesame2backend plugin is found
-
+#
# Options:
# Set SOPRANO_MIN_VERSION to set the minimum required Soprano version (default: 1.99)
#
+# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
#if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_INDEX_LIBRARIES AND SOPRANO_SERVER_LIBRARIES)
# read from cache
diff --git a/modules/FindSqlite.cmake b/modules/FindSqlite.cmake
index d010719f..2fa76330 100644
--- a/modules/FindSqlite.cmake
+++ b/modules/FindSqlite.cmake
@@ -10,6 +10,11 @@
#
+# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
if ( SQLITE_INCLUDE_DIR AND SQLITE_LIBRARIES )
# in cache already
SET(Sqlite_FIND_QUIETLY TRUE)
diff --git a/modules/FindStrigi.cmake b/modules/FindStrigi.cmake
index 372cea8b..f0a3921e 100644
--- a/modules/FindStrigi.cmake
+++ b/modules/FindStrigi.cmake
@@ -8,6 +8,12 @@
# STRIGI_LINE_ANALYZER_PREFIX - strigi plugin prefix
# STRIGI_THROUGH_ANALYZER_PREFIX - strigi plugin prefix
+# Copyright (c) 2008, Jos van den Oever, <jos@vandenoever.info>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
if(NOT STRIGI_MIN_VERSION)
set(STRIGI_MIN_VERSION "0.5.9")
endif(NOT STRIGI_MIN_VERSION)