Commit Graph

60 Commits

Author SHA1 Message Date
Sebastian Kügler
d492584d39 Clean up macro usage
exclusively use the installPackage definition from PlasmaMacros.cmake
2013-06-13 02:19:37 +02:00
Sebastian Kügler
1156d89fce find package plasma works now 2013-06-13 01:43:35 +02:00
Sebastian Kügler
7ca5c68ddb Merge branch 'master' into cmake-config 2013-06-13 00:56:55 +02:00
Kevin Ottens
67c901db1a Turns out order still matters... 2013-05-08 10:08:26 +02:00
Kevin Ottens
3d290decd2 Require XmlGui 2013-05-06 18:01:21 +02:00
Kevin Ottens
27266d5582 New frameworks appeared, update the list 2013-05-04 15:16:31 +02:00
Sebastian Kügler
fde2a1f709 Try a bit saner setup of the cmake foo
- Installs PlasmaConfig, FindPlasma, PlasmaMacros, etc.
- find_package Plasma works
- version set to 2.0.0, do we dare that?

This might bump into FindPlasma.cmake, which is installed by kdelibs,
and should be removed: it applies to Plasma 4.1 only and bails out,
since after that, we used the KDE4 libs find_package foo. Now we're kind
of going back to pre-4.2 times. :-)
2013-05-03 03:17:26 +02:00
Sebastian Kügler
0677747fb2 create and install PlasmaConfig.cmake 2013-05-03 01:14:19 +02:00
Sebastian Kügler
cb6fbea574 exclude CMakeLists.txt and .svn from package install 2013-04-27 03:06:58 +02:00
Sebastian Kügler
b679eb6dab Make installPackage cmake macro useful for other package types
Make it possible to install any type into any path prefix. We just add
an optional argument to also specify the type, so from now on installed
service files will not all be plasma-applet-<pluginname>.desktop, but
for example plasma-wallpaper-<pluginname>.desktop.

CCMAIL:plasma-devel@kde.org
2013-04-25 02:08:47 +02:00
Stephen Kelly
bd30cbc43f Remove some unneeded definitions and includes. 2013-04-12 11:09:43 +02:00
Sebastian Kügler
55952980b5 Move plasmapkg into src
It's not really a tool, and really belongs under src.
2013-03-13 02:44:37 +01:00
Marco Martin
f4de55af67 use KAction from kde4support
it should buld again, usingkaction as type for kactioncollection
2013-03-04 15:46:47 +01:00
Alex Neundorf
f07a425546 -fix build, find ThreadWeaver via KF5
I thin using the variables is safer, this way you are somewhat guarded against changes
in the names of targets, and a typo leads to an empty variable, instead to
"ld: cannot find -lkcoreaddons" which looks very much like a missing normal library

Alex
2013-02-27 21:45:35 +01:00
Alex Neundorf
eaed999665 -port to CamelCase KF5, ecm 0.0.8
Alex
2013-02-27 20:06:18 +01:00
Antonis Tsiapaliokas
ff0cab8fa6 Make plasma-framework able to find the include/QtQuick 2013-02-18 18:32:18 +02:00
Sebastian Kügler
7528bbba38 Fixing the typo (leading / before src) is good enough 2013-02-14 21:28:36 +01:00
Sebastian Kügler
f7b4e76e47 Fix include path for CamelCase headers 2013-02-14 21:18:34 +01:00
Marco Martin
7f368317ca add camelcase include in top level 2013-02-14 20:51:49 +01:00
Sebastian Kügler
14e3446a10 add binarydir/src to includes, for plasma_exports.h 2013-02-14 17:41:49 +01:00
Sebastian Kügler
fe528a6fea Fix up include dirs 2013-02-14 17:32:41 +01:00
Sebastian Kügler
7dfe957e66 The Big Move
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.

Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00
Sebastian Kügler
51147c9e1a Enable plasmapkg build 2013-02-13 02:09:00 +01:00
Marco Martin
8d5bb351c7 we require ecm 0.0.7 now
having the version number in the installation path may make ecm modules not retrocompatible even when the would be otherwise?
CCMAIL:neundorf@kde.org
2013-02-11 18:21:58 +01:00
Ben Cooksley
5bfba9e4d4 We use X11Extras, so require it.
For now KDELibs4/KDELibs4LibraryTargets.cmake demands the presence of KJS, so make sure we drag KJS in.
2013-02-11 11:01:53 +13:00
Alex Neundorf
943a549712 ...now also kguiaddons is needed
Not sure this is a good way of working... lots of inter-repository updating without version checking :-/

Alex
2013-02-09 14:55:12 +01:00
Alex Neundorf
1d82fffd3d -now also kauth needs to be found as KF5 component
Alex
2013-02-09 11:37:14 +01:00
Alex Neundorf
4f528dcdb3 Load kconfig as a KF5 component (needed by current kdelibs)
Alex
2013-02-08 22:33:29 +01:00
Marco Martin
392a8530ef change add_subdirectory order 2013-02-08 11:29:14 +01:00
Alex Neundorf
c60345f4e5 buildsystem: build always sharted libs, remove WINCE "support"
Alex
2013-02-08 01:06:27 +01:00
Alex Neundorf
7b7bed53d7 more buildsystem stuff: add MODULE keywords, don't search Perl and zlib
Alex
2013-02-08 01:03:29 +01:00
Alex Neundorf
45a349215e -no carbon needed here (does plasma care about apple actually ?)
Alex
2013-02-08 00:58:17 +01:00
Alex Neundorf
838baa997e buildsystem cleanup
CMAKE_AUTOMOC and CMAKE_LINK_INTERFACE_LIBRARIES are already set by
find_package(KF5 ... CMake)

Empty closing statements.

Alex
2013-02-08 00:56:43 +01:00
Alex Neundorf
2fef398999 Minor buildsystem improvements
- use find_package(KF5) to find the tier1 libs
- sort the add_definitions()/remove_definitions() calls a bit

Alex
2013-02-08 00:50:29 +01:00
Alex Neundorf
602f87ac96 buildsystem work: use the new way to use kdelibs frameworks
kdelibs frameworks now installs a KDELibs4Config.cmake, which
can be searched more or less normally using
find_package(KDELibs4 NO_MODULE)

Preparing CMAKE_MODULE_PATH is no longer necessary.
KDELibs4Config.cmake does not anymore containg compiler or cmake settings,
so must now load these settings:
find_package(KF5... CMake Compiler)

Alex
2013-02-08 00:06:27 +01:00
Marco Martin
a1f90a3675 name was changed in kdelibs.
either way they are renamed it should just be the same
2013-02-07 22:12:28 +01:00
Alex Neundorf
749fef065b minor build stuff
- on my system, the file is name KDeclarativeConfig.cmake, not kdeclarativeConfig.cmake
- no need to include FeatureSummary.cmake twice

Alex
2013-02-07 20:18:04 +01:00
Alex Neundorf
162c5a6b40 port away from old kdelibs cmake stuff
- remove usage of old macro_*() macros
- testing for kdelibs_SOURCE_DIR doesn't make sense here, this is only set inside a project(kdelibs)
- don't append a subdir to ${CMAKE_PREFIX_PATH}, this is a list of directories
- don't add ${CMAKE_SOURCE_DIR}/cmake/modules/ to CMAKE_MODULE_PATH, this directory doesn't exist

Alex
2013-02-07 20:12:47 +01:00
Alex Neundorf
cb1296eaa7 -use new kdeqt5staging_INCLUDE_DIRS variable
Alex
2013-02-07 20:11:17 +01:00
Marco Martin
6f6b25d37e add some modules explicitly
KDE4Internal still seems needed
2013-02-07 20:09:08 +01:00
Alex Neundorf
2a89688b92 build improvements
- add MODULE and NO_MODULE keywords to find_package() to make it obvious what we are looking for
- add kdeqt5staging include dir
- add plasma/includes/ to the includes dirs (why was this missing ?)

Alex
2013-02-07 18:49:15 +01:00
Marco Martin
3d493108ed go back to KDE4Internal 2013-02-07 18:39:19 +01:00
Marco Martin
edd1366c17 see if it finds KF5Transitional 2013-02-07 18:38:03 +01:00
Marco Martin
c602d21eb0 another attempt 2013-02-07 18:34:47 +01:00
Marco Martin
949a4222cb search for KF5, use KF5 namespace in linking some stuff 2013-02-07 18:27:34 +01:00
Marco Martin
78b7331238 require kdeqt5staging 2013-02-07 17:23:23 +01:00
Sebastian Kügler
5fa2686272 QCA works with Qt5 -- reenable 2013-02-05 22:17:07 +01:00
Aaron Seigo
3611d138a2 mv the knsrc file in with the plasmapkg binary
no knewstuff in the library anymore
2013-02-05 17:32:17 +01:00
Aaron Seigo
475f0a6028 temporarily remove qca2 2013-02-05 16:34:43 +01:00
Marco Martin
78689b3d40 another attempt in setting module paths 2013-02-04 21:37:07 +01:00