~ubuntu-branches/ubuntu/oneiric/kdesdk/oneiric-updates

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers, Modestas Vainius, George Kiagiadakis, José Manuel Santamaría Lema, Pino Toscano
  • Date: 2011-04-27 12:23:44 UTC
  • mfrom: (1.1.58 upstream) (0.5.7 squeeze)
  • mto: (0.5.8 sid)
  • mto: This revision was merged to the branch mainline in revision 120.
  • Revision ID: james.westby@ubuntu.com-20110427122344-t9d1jf4lfnrl6hyv
Tags: 4:4.6.2-1
* New upstream release:
  - fixes plugin loading in kate sessions (Closes: #525853)
  - updates kate man page with respect to instance creation defaults
    (Closes: #598443)
  - fixes cursor position with static word-wrap in Kate (Closes: #570409)
  - xml2pot creates .pot files with the correct mimetype (Closes: #326060)
* Update installed files.
* Update lintian overrides.

[ Modestas Vainius ]
* Point debian/control Vcs fields to the new Git repository.
* Strip sequence numbers from debian/patches.
* Strip trailing whitespace in debian/copyright.
* Add kdeutils-dbg (<< 4:4.6) to kdesdk-dbg Breaks/Replaces (due to moved
  okteta).
* Add ${perl:Depends} to Depends of cervisia and kdesdk-kio-plugins.

[ George Kiagiadakis ]
* Add myself to uploaders.
* Refresh patch 02_append_kde.diff.
* Drop patch 03_kmtrace_compile.diff; fixed upstream in a better way.
* Add libkonq5-dev, libantlr-dev and antlr to build depends.
  (Closes: #505425)
* Bump kdepimlibs5-dev build dependency to version 4:4.6.
* Add new package: kdesdk-dolphin-plugins.

[ José Manuel Santamaría Lema ]
* Remove package kbugbuster.
* Enable DebianABIManager:
  - include DebianABIManager.cmake at the bottom of the main CMakeLists.txt
    (patch enable_debianabimanager.diff).
  - debian/control: managing all non-local unstable-BC libraries.
* Add packages for okteta:
  - okteta
  - okteta-dev
  - libkastencontrollers4
  - libkastencore4
  - libkastengui4
  - liboktetacore4
  - liboktetagui4
  - liboktetakastencontrollers4
  - liboktetakastencore4
  - liboktetakastengui4
* Add symbols files for new library packages.
* Bump kde-sc-dev-latest build dependency to 4:4.6.2.
* Bump pkg-kde-tools build dependency to 0.12.
* Switch debian/rules engine to dhmk based qt-kde-team/2/*
  - and remove cdbs from Build-Depends.
* Bump S-V to 3.9.1; update Replaces/Breaks/Conflicts.
* Add myself to Uploaders.

[ Pino Toscano ]
* Add build dependency on libqca2-dev.
* Do not ship kdesrc-build with kdesdk-scripts, it is packaged separately.
* Small updates to descriptions.
* Clean up Replaces/Breaks from the pre-squeeze era whenever possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
include(CheckIncludeFile)
12
12
include(CheckIncludeFileCXX)
13
13
include(CheckLibraryExists)
 
14
include(CheckCSourceCompiles)
14
15
 
15
16
macro_optional_find_package(KdepimLibs)
16
17
 
32
33
macro_optional_find_package(HUNSPELL)
33
34
macro_log_feature(HUNSPELL_FOUND "HUNSPELL" "Library used for stemming" "http://hunspell.sourceforge.net/" FALSE "" "Required to build Lokalize.")
34
35
 
 
36
macro_optional_find_package( QCA2 )
 
37
macro_log_feature( QCA2_FOUND "QCA2" "Qt Cryptographic Architecture" "http://delta.affinix.com/qca" FALSE "2.0.0" "Needed for most of the algorithms of the checksum tool in Okteta." )
 
38
 
 
39
macro_optional_find_package(LibKonq)
 
40
macro_log_feature(LIBKONQ_FOUND "KDE-Base/LibKonq" "Provides high-level file management functions." "http://dolphin.kde.org/" FALSE "" "Required to build the Dolphin version control plugins.")
 
41
 
35
42
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
36
43
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIR})
37
44
 
43
50
endif(HUNSPELL_FOUND OR WIN32)
44
51
 
45
52
if(KDEPIMLIBS_FOUND)
46
 
  macro_optional_add_subdirectory(kbugbuster)
47
53
  macro_optional_add_subdirectory(kdeaccounts-plugin)
48
54
endif(KDEPIMLIBS_FOUND)
49
55
 
 
56
if(LIBKONQ_FOUND)
 
57
  macro_optional_add_subdirectory(dolphin-plugins/svn)
 
58
  macro_optional_add_subdirectory(dolphin-plugins/git)
 
59
endif(LIBKONQ_FOUND)
 
60
 
50
61
# kcachegrind is usable on Windows for XDebug etc.
51
62
macro_optional_add_subdirectory(kcachegrind)
52
63
macro_optional_add_subdirectory(kate)
54
65
macro_optional_add_subdirectory(kpartloader)
55
66
macro_optional_add_subdirectory(strigi-analyzer)
56
67
macro_optional_add_subdirectory(kioslave)
57
 
 
58
 
if (CMAKE_SYSTEM_NAME MATCHES Linux)
59
 
  #kmtrace is highly non-portable and requires glibc
60
 
  #TODO: replace with a check for glibc
 
68
macro_optional_add_subdirectory(okteta)
 
69
 
 
70
check_c_source_compiles("
 
71
#include <stdlib.h>
 
72
 
 
73
int main() {
 
74
#ifndef __GLIBC__
 
75
  choke me
 
76
#endif
 
77
  return 0;
 
78
}" LIBC_IS_GLIBC)
 
79
if (LIBC_IS_GLIBC)
61
80
  macro_optional_add_subdirectory(kmtrace)
62
 
endif (CMAKE_SYSTEM_NAME MATCHES Linux)
 
81
endif ()
63
82
 
64
83
macro_optional_add_subdirectory(kompare)
65
84
macro_optional_add_subdirectory(kprofilemethod)
87
106
 
88
107
macro_optional_add_subdirectory(doc)
89
108
macro_display_feature_log()
 
109
 
 
110
# Add support for DebianABIManager
 
111
include(/usr/share/pkg-kde-tools/cmake/DebianABIManager.cmake)