Commit Graph

456 Commits

Author SHA1 Message Date
l10n daemon script
f4e8df5fe8 Upgrade KF5 version to 5.21.0. 2016-03-14 06:46:02 +00:00
David Rosca
d405378219 Remove QtScript dependency
It's not used anywhere.

REVIEW: 127312
2016-03-09 11:29:50 +01:00
l10n daemon script
48d3dbc751 Upgrade ECM and KF5 version requirements for 5.20.0 release. 2016-03-04 22:27:18 +00:00
l10n daemon script
f1b52e40f9 Upgrade KF5 version to 5.20.0. 2016-02-13 12:42:49 +00:00
l10n daemon script
5c14b30ce4 Upgrade ECM and KF5 version requirements for 5.19.0 release. 2016-02-06 09:47:16 +00:00
Aleix Pol
942f571094 Let KDE*CompilerSettings change the policies in the project
As suggested in ECM documentation.
2016-01-28 14:56:45 +01:00
l10n daemon script
9af6bec13d Upgrade KF5 version to 5.19.0. 2016-01-09 13:24:38 +00:00
l10n daemon script
532fce558d Upgrade ECM and KF5 version requirements for 5.18.0 release. 2016-01-01 20:09:36 +00:00
Martin Klapetek
f639996bec Use the SkipGrouping flag for the "widget deleted" notification
https://git.reviewboard.kde.org/r/126459/ introduced new
flag that allows to skip the grouping of notifications.

This should fix all bugs caused by checking for appName
being "plasma_workspace" which are all default notifications
from any plasmoid.

CCBUG: 356653
REVIEW: 126461

(this also needs to raise the KF5 dep to 5.18 which is
normally done at release time, but in order to use this
now, it needs to be bumped now, otherwise build failures
will ensue)
2015-12-29 15:12:05 -05:00
Marco Martin
d85c02b5bb fix build
5.18 dep will be bumped by release scripts

Change-Id: Idb9bfe6ab3267c0d4e764a706b794b0ef98c7008
2015-12-29 15:47:12 +01:00
Marco Martin
3f56e63e70 use the new KDEPackageAppTemplates ECM module
REVIEW:126557
Change-Id: Ie32644a0641d1f0d5299ba9d1b0053e3f37d2635
2015-12-29 15:41:35 +01:00
Martin Klapetek
76186339f6 [libplasma] Add categorized debug output 2015-12-15 16:56:40 -05:00
l10n daemon script
e3fdc030ec Upgrade KF5 version to 5.18.0. 2015-12-12 22:43:51 +00:00
l10n daemon script
f36e9abda6 Upgrade ECM and KF5 version requirements for 5.17.0 release. 2015-12-06 15:00:35 +00:00
l10n daemon script
74d97440cf Upgrade KF5 version to 5.17.0. 2015-12-06 08:40:00 +00:00
Alex Merry
2d814f049b Add KDETemplateMacro.cmake so I can remove it from ecm for now.
See emails on kde-commits mailing list for rationale.

CCMAIL: notmart@gmail.com
2015-12-03 10:02:12 +00:00
Marco Martin
46789eb1c8 add a couple of plasmoid templates for kapptemplate/kdevelop
this makes easier to develop a new plasmoid,
 there are two templates:
one is for a pure QML plasmoid
the othe rone has a C++ part
2015-11-30 15:02:43 +01:00
Nick Shaforostoff
c7c2980f14 qstring optimizations
REVIEW: 126148
2015-11-27 20:03:48 +00:00
l10n daemon script
712882ee5c Upgrade ECM and KF5 version requirements for 5.16.0 release. 2015-11-08 11:20:06 +00:00
l10n daemon script
54fd398698 Upgrade KF5 version to 5.16.0. 2015-10-10 10:27:10 +00:00
l10n daemon script
76eaaf61e7 Upgrade ECM and KF5 version requirements for 5.15.0 release. 2015-10-03 10:37:07 +00:00
l10n daemon script
cafbcdabc8 Upgrade KF5 version to 5.15.0. 2015-09-12 09:11:22 +00:00
l10n daemon script
c60315d7ff Upgrade ECM and KF5 version requirements for 5.14.0 release. 2015-09-04 20:22:24 +00:00
l10n daemon script
d6d18cf6e4 Upgrade KF5 version to 5.14.0. 2015-08-12 12:49:04 +00:00
David Faure
16c8f0f784 Upgrade Qt version requirement to 5.3 2015-08-01 14:41:18 +02:00
l10n daemon script
a2c52bea23 Upgrade ECM and KF5 version requirements for 5.13.0 release. 2015-08-01 12:25:52 +00:00
l10n daemon script
1b8960c382 Upgrade KF5 version to 5.13.0. 2015-07-10 10:25:06 +00:00
l10n daemon script
5cd125eb24 Upgrade ECM and KF5 version requirements for 5.12.0 release. 2015-07-04 20:45:09 +00:00
l10n daemon script
131b3ae33d Upgrade KF5 version to 5.12.0. 2015-06-12 22:40:51 +00:00
l10n daemon script
e235affc6b Upgrade ECM and KF5 version requirements for 5.11.0 release. 2015-06-06 09:35:07 +00:00
Jeremy Whiting
2fe0f77feb Add verbose message for when ECM is not found. 2015-05-13 21:02:47 -06:00
l10n daemon script
22f5b94bad Upgrade KF5 version to 5.11.0. 2015-05-08 23:39:07 +00:00
l10n daemon script
55cf2c176b Upgrade ECM and KF5 version requirements for 5.10.0 release. 2015-05-01 15:25:55 +00:00
l10n daemon script
3adabce619 Upgrade KF5 version to 5.10.0. 2015-04-10 07:44:47 +00:00
l10n daemon script
c6e1efd5f4 Upgrade ECM and KF5 version requirements for 5.9.0 release. 2015-04-04 11:51:13 +00:00
l10n daemon script
864a0ad1d1 Upgrade KF5 version to 5.9.0. 2015-04-04 08:06:18 +00:00
Marco Martin
d3dd3d58e1 Revert "don't check for X11 on OSX"
This reverts commit fd01ee364b.
2015-03-12 10:52:09 +01:00
Marco Martin
fd01ee364b don't check for X11 on OSX
patch by Hanspeter Niederstrasser
BUG:342963

Change-Id: I15e30bfc29cc4e85b912a1e3415f8e499ed11ad0
2015-03-12 10:39:45 +01:00
l10n daemon script
f752138302 Upgrade ECM and KF5 version requirements for 5.8.0 release. 2015-02-25 14:23:39 +00:00
l10n daemon script
f64424781a Upgrade KF5 version to 5.8.0. 2015-02-15 22:41:18 +00:00
l10n daemon script
a39f20cc04 Upgrade ECM and KF5 version requirements for 5.7.0 release. 2015-01-23 20:43:53 +00:00
Alex Merry
48e9c2f29e Update installation variables. 2015-01-10 17:47:31 +00:00
l10n daemon script
bf1e90d688 Upgrade KF5 version to 5.7.0. 2015-01-08 22:45:15 +00:00
l10n daemon script
0af8a156a9 Upgrade ECM and KF5 version requirements for 5.6.0 release. 2014-12-31 14:26:46 +00:00
Marco Martin
a629fe4d8f migrate to KPackage
Plasma::Package internally uses KPackage, being a pure wrapper.
old client code and old packagestructures still work using the wrapper.
old workspace code that is not directly using kpackage continues to work correctly

Change-Id: I05f95e8d05e3b67759973c4009e3753c61b1dcce
2014-12-29 13:56:52 +01:00
l10n daemon script
04e39b4fa7 Upgrade KF5 version to 5.6.0. 2014-12-17 16:29:32 +00:00
David Faure
c2f140fae7 Update version numbers for future 5.5 release 2014-12-03 10:21:09 +01:00
l10n daemon script
ee501805fa Upgrade ECM and KF5 version requirements for 5.4.0 release 2014-10-31 22:41:48 +00:00
Marco Martin
af6149c9d0 use notifications actions to undo
Change-Id: I4b9abf6047b94b4fc13aad672d1bc8e97203f502
2014-10-28 19:06:55 +01:00
David Faure
90396191cd Upgrade version number to 5.4 2014-10-26 15:45:30 +01:00
l10n daemon script
ab98c3a8c8 Upgrade ECM and KF5 version requirements for 5.3.0 release. 2014-10-03 17:57:55 +00:00
l10n daemon script
e848b73c69 Upgrade KF5 version to 5.3.0. 2014-09-12 09:14:32 +00:00
l10n daemon script
afffd6a384 Upgrade ECM and KF5 version requirements for 5.2.0 release. 2014-09-07 23:28:03 +00:00
l10n daemon script
13f6b8d592 Upgrade KF5 version for 5.2.0 release. 2014-09-05 22:25:48 +00:00
l10n daemon script
3db176041b Upgrade ECM and KF5 version requirements for 5.1.0 release. 2014-08-02 08:21:59 +00:00
l10n daemon script
6e1263c5f8 Upgrade KF5 version. 2014-08-01 17:12:11 +00:00
Àlex Fiestas
af2a44784f Add an option to build Plasma with coverage
At this moment we only add some flags to linker and compiler, lets hope
it is enough.
2014-07-26 23:18:37 +02:00
David Faure
3877ab378c Upgrade ECM version requirement to 1.0.0 after all. 2014-07-01 20:19:11 +02:00
David Faure
688a629459 Upgrade ECM and KF5 version requirements. 2014-07-01 15:34:40 +02:00
David Faure
862b226f63 Upgrade KF5 version. 2014-07-01 12:40:21 +02:00
David Edmundson
4b74e83fb2 Don't find Qt5::Widgets
It's not used explicitly
2014-06-04 18:48:00 +02:00
David Faure
caef1b9f6d Upgrade ECM and KF5 version requirements. 2014-06-01 12:43:23 +02:00
David Faure
0ba95b52f7 Upgrade KF5 version. 2014-06-01 11:50:18 +02:00
Marco Martin
fd87694c8d fix build 2014-05-19 18:29:41 +02:00
Marco Martin
924818a0ca don't link agains KConfigWidgets
not needed anymore
2014-05-19 16:58:37 +02:00
Sebastian Kügler
9b644ccdde dbusmenu-qt won't be needed here 2014-05-12 15:08:14 +02:00
Aurélien Gâteau
a5dc443b1b Install translated doc if available 2014-05-07 18:06:30 +02:00
Aurélien Gâteau
9ac249719f Install translations if available 2014-05-06 08:58:07 +02:00
David Faure
19bac3f06d Upgrade ECM and KF5 version requirements. 2014-05-04 21:03:01 +02:00
David Faure
828f7d509c Upgrade KF5 version. 2014-05-04 15:02:14 +02:00
David Edmundson
00923cf4a2 Make examples optional (default to off)
Review: 117814
2014-04-28 19:27:12 +02:00
Aurélien Gâteau
59b6373669 Move find_package() test back to autotests/CMakeLists.txt 2014-04-26 17:35:02 +02:00
David Faure
e67312837e cleanup after non-idempotent script 2014-04-26 13:31:57 +02:00
David Faure
a7bde28ad1 separate framework version from dependencies version, to be able to increase the version in two steps at release time, so CI doesn't break 2014-04-26 13:24:32 +02:00
Alex Merry
2ef3b32dcd Use KF5_INCLUDE_INSTALL_DIR and KF5_INSTALL_TARGETS_DEFAULT_ARGS
This is instead of INCLUDE_INSTALL_DIR and INSTALL_TARGETS_DEFAULT_ARGS,
which will lose the "KF5" suffix from the include path.
2014-04-26 12:14:03 +01:00
Aurélien Gâteau
d988b10870 Centralize Qt5 component loading and use same variable as other frameworks 2014-04-26 02:20:13 +02:00
Aurélien Gâteau
b3bf366efc Reorganize root CMakeLists.txt to closer match layout of other frameworks 2014-04-26 02:00:16 +02:00
Aurélien Gâteau
1f6dea159f Remove unused config-*.cmake 2014-04-26 01:50:06 +02:00
Kevin Ottens
c2aa81e2d4 All source code under src per policy 2014-04-26 01:48:37 +02:00
Kevin Ottens
30f39fafbc Should be named docs per the policy 2014-04-26 01:48:37 +02:00
Aurélien Gâteau
7e74b16595 Remove CTest files, they refer to kdelibs 2014-04-26 01:43:27 +02:00
Aurélien Gâteau
737b9b5eb3 Define TRANSLATION_DOMAIN 2014-04-25 10:40:12 +02:00
Michael Palimaka
d488420dcb Move stray tests to the root directory to be more like
other frameworks.

REVIEW: 117599
2014-04-18 02:25:50 +10:00
Michael Palimaka
fe33404fee Make documentation build. 2014-04-08 01:55:21 +10:00
Michael Palimaka
3b38d57ba3 Remove unused dependencies.
REVIEW: 117391
2014-04-08 01:42:10 +10:00
Marco Martin
5b546451ea proper find_package 2014-04-04 18:13:48 +02:00
Marco Martin
82e9bd46d0 don't depend from Qt5Declarative
That's the qt5 port of QGraphicsView-based QML
2014-03-31 18:37:28 +02:00
Marco Martin
7b8d70a348 plasma doesn't depend from kdnssd anymore 2014-03-31 16:45:16 +02:00
David Faure
ae9cd4d7a9 Upgrade ECM version requirement and KF5 version. 2014-03-29 07:52:48 +01:00
Martin Gräßlin
e2620708b8 XCB::COMPOSITE depends on XCB::XFIXES and XCB::RENDER
This fixes the not building of the ThumbnailComponent with thumbnail
support.
2014-03-27 14:36:40 +01:00
Marco Martin
a26e04f93b make documentation build 2014-03-26 15:19:50 +01:00
Aleix Pol
a3641aac25 Fix headers management in plasma-framework
Use generate headers instead of having them stored in the repository.
Figure out how relative paths are forwarded around, there were some weird
things.
Stop installing plasma header files in the KDE/ prefix.
2014-03-17 16:28:24 +01:00
Martin Gräßlin
d2452e2917 EGL/X11 backend for WindowThumbnail QQuickItem
Introduces a new optional dependency to EGL. If EGL is found the
WindowThumbnail gets compiled with EGL support. The EGL support is
unlike Qt's XCB plugin not mutual exclusive to the GLX backend, thus
it's possible to compile with EGL and GLX at the same time.
By that this implementation is prepared for the case that Qt supports
EGL or GLX through runtime selection.

In practice EGL support is only useful if Qt is compiled with GLESv2.
In that case the corebindingsplugin gets linked against Qt5::Gui_GLESv2
to get the dependency to GLES.

The implementation makes use of the EGL_KHR_image extension
(or EGL_KHR_image_base and EGL_KHR_Image_pixmap) and
the GL_OES_EGL_image extension to bind the X pixmap to an EGLImageKHR.

REVIEW: 116627
2014-03-17 09:09:23 +01:00
David Faure
4152a12390 Upgrade ECM version requirement and KF5 version. 2014-03-01 12:52:02 +01:00
Michael Palimaka
3b7bac1e78 Remove unused dependencies.
REVIEW: 116081
2014-02-26 23:40:55 +11:00
Jonathan Riddell
cd4a778948 set SOVERSION to 5 2014-02-25 20:11:28 +00:00
Martin Gräßlin
1249e5bfc1 Follow Qt's OpenGL compile flags
Only link against OpenGL if Qt links against OpenGL. This ensures
that we don't run into issues if Qt links GLES and plasma links
GL because that's found.

REVIEW: 115990
2014-02-24 09:43:13 +01:00
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Michael Palimaka
c9c4e6c3b2 Remove unused system dependencies.
- plasma_appletscript_declarative includes QtUiTools but doesn't use it
- QtPrintSupport is not used anywhere
- Xss, Xext, and SM are not used anywhere
- OpenSSL is not used anywhere

REVIEW: 115830
2014-02-18 03:12:12 +11:00
Martin Gräßlin
bada0c97ba Ensure that we can build without X11 or XCB
* X11 is optional dependency
* XCB is optional dependency
* Qt::X11Extras is only found if both X11 and XCB are found
* switch to HAVE_X11 instead of X11_FOUND in CMakeLists
* remove/fix custom added definitions
* use #if HAVE_X11 instead of #ifdef HAVE_X11 (that is always true)

REVIEW: 115698
2014-02-12 16:20:42 +01:00
Aurélien Gâteau
6a7ebaf293 Do not rely on KF5Umbrella
Should fix Jenkins
2014-02-12 15:03:29 +01:00
David Faure
515f9a352f fix compilation after 18473c9e9e which changed version.h to include plasma_version.h 2014-02-11 21:19:47 +01:00
Marco Martin
0573a47e06 tests and autotests in top level dir 2014-02-10 15:17:07 +01:00
David Faure
e76d11be9d Port to updated KActivities 2014-02-08 18:48:40 +01:00
David Faure
f9e5cc949f Update version numbers
Reorder some things to make it closer to the framework template, i.e.
easier to compare things with other frameworks.
2014-02-08 12:30:02 +01:00
Martin Gräßlin
bdc2ad2a84 Add outputOnly property to PlasmaCore.Dialog
The outputOnly property allows to specify that the dialog should not
accept any input. Thus it's an output only window which supports click
through. This is obviously platform specific and so far it is only
implemented for the X11 platform using the shape extension.

The input shape needs to be set once the window is visible and thus
the functionality is bound to the visible changed signal. The code
ensures that the required shape extension version is present and only
fetches it once.

REVIEW: 115139
2014-01-20 15:57:44 +01:00
Marco Martin
7bdee8dbd7 attica is not used anymore 2014-01-17 19:16:00 +01:00
Aurélien Gâteau
e7e2eeddc0 Plasma::Svg: Replace use of KSharedPtr with QWeakPointer and QSharedPointer
This removes the last dependency from plasma-framework on kde4support.

This change is a bit more involved than other kde4support removals because
QSharedPointer does not provide a count() method. I therefore reworked the code
to store the SharedSvgRenderer as a QWeakPointer in s_renderers, making it
possible to detect when the last one goes away by creating a QWeakPointer guard
in SvgPrivate::eraseRenderer().

REVIEW: 114912
2014-01-09 10:13:57 +01:00
Aurélien Gâteau
9fcb20fcd1 Make sure we find the Qt5-based version of KActivities 2014-01-08 13:18:19 +01:00
Alex Merry
0f1bc5e748 Add include(GenerateExportHeader) to CMakeLists.txt
We should not depend on the fact that KDECompilerSettings.cmake happens
to include it when we use generate_export_header().
2014-01-07 19:36:06 +00:00
Christophe Giboudeaux
26948d0cea Fix includes 2013-12-19 15:23:02 +01:00
Aleix Pol
1e9322500f Define DNSSD as a dependency 2013-12-18 18:30:54 +01:00
Aurélien Gâteau
02d6b37976 Renames for the KF5 prefix 2013-12-11 21:40:54 +01:00
Aurélien Gâteau
175204c453 KF5 prefix fixes 2013-12-11 21:40:54 +01:00
Aurélien Gâteau
0187f2b125 Do not list KConfigWidgets twice 2013-12-11 00:09:54 +01:00
Martin Gräßlin
718251466a Needs KGlobalAccel 2013-12-10 08:25:23 +01:00
Andrea Scarpino
9a3f028599 This is not needed; also QQmlAbstractUrlInterceptor is public again https://codereview.qt-project.org/#change,73153 2013-12-04 12:36:30 +01:00
Andrea Scarpino
2495df8b01 Allow builds with Qt 5.2
REVIEW:114239
2013-12-02 12:27:34 +01:00
Martin Gräßlin
b80cf620cf Use find_package for KActivities instead of having it in KF5 section
This is how kde-workspace is finding KActivities and it got tested to
fix the build problems on build.kde.org.
2013-11-26 08:14:43 +01:00
Aleix Pol
6b8544f9a6 KParts is a Kross dependency now 2013-11-22 13:12:49 +01:00
Aleix Pol
f187db1e86 Remove KDE4Support dependency from plasma-frameworks (almost)
Stop using classes from kde4support:
- KComponentData is deprecated, it will be using QCoreApplication::
applicationName() and QCoreApplication::applicationVersion(). Of course,
this means that the existing shells will have to be ported. I have no
problem with doing that port myself, if I'm told where to look into.
- Drop usage of KLocale, ported to QLocale
- Drop usage of KStandardDirs, ported to QStandardPaths
- Drop usage of KIcon, ported to QIcon

Furthermore, there's a module in src/declarativeimports/locale that IIUC
exposes KLocale bindings to QML. A specific plan to port it should happen
as well.

REVIEW: 113920
2013-11-22 13:03:29 +01:00
Aleix Pol
ed3e004a0d Fix build on jenkins
Don't look for QCA, it hasn't been ported to Qt5 yet, apparently
No need to use Transitional packages anymore
2013-11-11 18:40:19 +01:00
Aleix Pol
392fa639b6 Only include QCA includes where needed
There's no need to make all the framework look for the QCA includes while
they're only being used by the remote part. It could possibly be made more
specific, but I don't think those are yet being used anyway.
2013-11-11 18:29:32 +01:00
Aleix Pol
1d3da96d88 Make sure that plasma-framework is not using anything from kdelibs4
Stop finding the packages
Remove KDE4_ includes
Remove unused LIBINTL finder, provided by kdelibs
2013-11-11 18:29:32 +01:00
David Faure
b892f68e3e Fix compilation 2013-11-03 00:28:30 +01:00
David Faure
cb9013dc93 kde4support now needs kparts (I sure hope one day we won't have to do this by hand)
But this now fails looking for kactivities (which isn't in kdelibs.git?)
2013-11-03 00:15:20 +01:00
Stephen Kelly
3fde4633e6 Find the new KF5Config file, not the old FindKF5 file. 2013-11-01 12:59:27 +01:00
Hrvoje Senjan
365539cf93 Fix clean build
REVIEW: 113514
2013-10-31 11:51:58 +01:00
Stephen Kelly
8f1a1b83c9 Find ECM files from ECM. 2013-10-31 09:31:56 +01:00
Marco Martin
daa747d0a6 require kactivities 2013-10-23 15:45:54 +02:00
Kevin Ottens
ce00ca976e KDE4Attic is gone 2013-10-22 18:02:39 +02:00
Aleix Pol
af8a7bad7d Stop using Qt5Transitional in Plasma Frameworks
Removes the find_package(Qt5Transitional) and does the proper
find_package(Qt5) with the list of modules.

Most of the porting is about using the Qt5:: targets.

REVIEW: 113345
2013-10-22 00:40:17 +02:00
Martin Klapetek
4b6a02b20e The REQUIRED for XCB should be at different line
Since there's a "set_package_properties", which sets "TYPE RECOMMENDED",
the "REQUIRED" should be put here instead.
2013-10-21 15:52:48 +02:00
Martin Klapetek
8ceb7d5fa2 Make XCB required, not just recommended
Because it is, well, required.

Reviewed-by: Sebastian Kügler
2013-10-21 15:38:01 +02:00
Sebastian Kügler
c7c9e8fefc Put steve's changes back in
CCMAIL:steveire@gmail.com
2013-10-13 02:00:32 +02:00
Sebastian Kügler
c2be5b6b12 Revert bef789642e
That commit breaks the build, not finding qtest_kde.h, and cascading
errors from there.

CCMAIL:steveire@gmail.com
2013-10-12 21:47:07 +02:00
Stephen Kelly
bef789642e Remove obsolete include_directories use. 2013-10-12 15:25:19 +02:00
Kevin Ottens
449aebd314 Find Kross and not KIO 2013-10-07 17:01:12 +02:00
David Faure
0a0f0114ec Seems that order matters; kio depends on kbookmarks now rather than the other way around. 2013-10-05 12:38:09 +02:00
Sebastian Kügler
b2121c1e06 cmake fixes
- finally remove KDE4_KIO_LIBS
- change KDeclarative to KF5::KDeclarative
- add KService where needed
2013-10-04 19:18:34 +02:00
Aleix Pol
1891066fc2 Adapt to kdelibs ab56e2f. 2013-10-04 18:40:47 +02:00
Stephen Kelly
f49bef8df4 Move the use of Qt5Transitional. 2013-10-01 14:12:41 +02:00
Stephen Kelly
7b5066bdba Fix the use of ecm_setup_version. 2013-10-01 14:12:29 +02:00
Marco Martin
a7e9b1261b just use c++0x for now
gcc 4.6 and msvc still don't have -std=c++11
2013-09-11 11:15:29 +02:00
Martin Gräßlin
91d306d2e8 QQuick item for live updating window thumbnails
New qquick item in PlasmaCore to render a live updating window
thumbnail. The implementation uses XCB to redirect the specified
window using the composite extension. This means a running compositor
is not required. Through the damage extension the item tracks changes
to the window and triggers updates of the texture. Furthermore the
item tracks geometry changes of the window to recreate the window
pixmap.

If the pixmap of the window is valid, a texture is generated from it
using the glx texture from pixmap extension. For this a new optional
dependency for glx is added. On platform where glx is not available
(e.g. Windows, Linux with OpenGL ES) this will not get compiled and
the window's icon is used instead as a fallback.

REVIEW: 112142
2013-09-11 09:45:47 +02:00
Marco Martin
6f8c32fad7 Revert "add kdeqt5staging dependency"
This reverts commit 6c27cc0963.
2013-09-10 13:23:57 +02:00
Marco Martin
6c27cc0963 add kdeqt5staging dependency 2013-09-10 12:04:26 +02:00
Wojciech Kapuscinski
ea835ccdb1 remove all links to kdeqt5staging
QCommandLineParser is now in qt5

REVIEW: 112558
2013-09-10 10:13:05 +02:00
Martin Gräßlin
97ce3dc808 Rework finding of XCB
Uses the new components syntax of FindXCB. So far plasma frameworks
only need the XCB component and that one is optional just like XLib.

The find xcb is moved to the toplevel CMakeLists.txt together with
the find x11 and HAVE_X11 gets set only if both X11 and XCB are found.

REVIEW: 112499
2013-09-09 06:14:35 +02:00
David Edmundson
dac6f34963 Add KBookmarks to list of needed modules to fix build 2013-09-05 19:09:18 +01:00
Marco Martin
8f74e67f9d old test applets live now in examples 2013-09-04 11:57:46 +02:00
Marco Martin
9a9ac9f9e5 containment actions config ui fully working 2013-08-26 21:22:06 +02:00
Kevin Ottens
4058e1da66 Make it build
KI18n and KGuiAddons have to come before KConfigWidgets
2013-08-20 10:56:02 +02:00
Kevin Ottens
037277da3c KWidgets is gone 2013-08-06 18:59:47 +02:00
Sebastian Kügler
186fa2c181 Merge branch 'master' into sebas/kplugins 2013-07-28 13:28:57 +02:00
David Faure
07f7fa328c Nothing seems to use libdbusmenu-qt in this module. 2013-07-26 18:01:10 +02:00
Sebastian Kügler
d3b9cf5f35 merge 2013-07-25 14:45:49 +02:00
Kevin Ottens
c42406cabc Pull in the KDE4Attic dependency 2013-07-25 11:54:15 +02:00
Kevin Ottens
39cd64fc68 Revert "Revert "Enabling C++11 flags for clang and gcc""
This reverts commit 597397b41f.

Reverting my own revert now that we have proper consensus on what one
can use of C++11 in KF5. For reference:
http://community.kde.org/Frameworks/Policies#Frameworks_compiler_requirements_and_C.2B.2B11

We probably want that properly done within CMake or E-C-M though.

CCMAIL: plasma-devel@kde.org
CCMAIL: kde-frameworks-devel@kde.org
2013-07-23 10:33:46 +02:00
Sebastian Kügler
06925637a7 Merge branch 'master' into sebas/kplugins 2013-07-18 11:59:42 +02:00
Benjamin Port
9d6dacddc0 Kio was finally renamed KIO 2013-07-17 10:26:22 +02:00
Benjamin Port
9105b715f8 KJS instead of kjs 2013-07-17 10:19:31 +02:00
Sebastian Kügler
668a1bc05e Merge branch 'master' into sebas/kplugins 2013-07-16 17:49:21 +02:00
Benjamin Port
95870ffae2 Rename kio to Kio 2013-07-16 15:37:03 +02:00
Benjamin Port
d5aeff71e1 Use KTextWidgets instead of ktextwidgets 2013-07-16 13:31:52 +02:00
Benjamin Port
bf2402d3a3 Use KCrash target 2013-07-16 12:32:07 +02:00
Benjamin Port
43d7cc1f9c remove find old ki18n 2013-07-15 15:36:03 +02:00
Benjamin Port
3a1e6afb42 Rename targets accordingly to their new name in framework 2013-07-15 15:24:25 +02:00
Kevin Ottens
9135b8c161 kguiaddons -> KGuiAddons 2013-07-15 10:20:40 +02:00
Benjamin Port
9f13125a6e Update CMakeLists in order to take in consideration KDE Frameworks target name change. 2013-07-14 18:17:30 +02:00
Sebastian Kügler
0236f2657f Merge branch 'master' into sebas/kplugins 2013-07-12 10:47:00 +02:00
Sebastian Kügler
ffe01a6b5f Add KCrash framework
Needed to build against latest kdelibs.
2013-07-12 10:46:15 +02:00
Sebastian Kügler
84cd704368 Merge branch 'master' into sebas/kplugins 2013-07-12 10:35:09 +02:00
Alex Neundorf
454bf83be3 -adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have

Alex
2013-07-11 22:57:04 +02:00
Sebastian Kügler
63212c0fa6 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-10 03:55:12 +02:00
Sebastian Kügler
718298fa2c Fix indentation 2013-07-10 03:54:37 +02:00
Sebastian Kügler
20e67f4db6 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-10 03:48:15 +02:00
Sebastian Kügler
dcc5b79aba Adapt to latest buildsystem changes 2013-07-10 00:12:26 +02:00
Sebastian Kügler
f770f2903c ktextwidgets is gone 2013-07-10 00:12:26 +02:00
Alex Neundorf
a99fb9d901 -require cmake 2.8.11
plasma-frameworks doesn't seem to build with 2.8.10.1:
qt5/include/QtCore/qglobal.h:975:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."

This is most probably related to all the target-property related work from Stephen in CMake 2.8.11.

Alex
2013-07-09 23:12:35 +02:00
Sebastian Kügler
21c04fd3d3 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-09 02:34:36 +02:00
Sebastian Kügler
d61e2a44b2 Adapt to latest buildsystem changes 2013-07-09 02:29:57 +02:00
Sebastian Kügler
4fffde0547 ktextwidgets is gone 2013-07-08 01:39:55 +02:00
Sebastian Kügler
1894bec012 Add disabled option to not show warnings
When reading the build output, this can help a bit to find the actual
error while porting.
2013-07-08 00:15:37 +02:00
Aleix Pol
b66943c9c5 fix compilation
Those components are required by some libraries. It seems to me that
this should be fixed elsewhere, but also it's not acceptable to have
modules that aren't compiling.
2013-07-03 19:19:30 +02:00
Sebastian Kügler
07c17812ca Merge branch 'master' into plugins
Conflicts:
	CMakeLists.txt
2013-07-01 04:17:09 +02:00
Sebastian Kügler
dac60f8ab8 Load the time engine and get data out of it. 2013-06-29 05:50:59 +02:00
Ivan Čukić
ef11741bbf Enabling C++11 flags for clang and gcc 2013-06-29 05:50:59 +02:00
Kevin Ottens
597397b41f Revert "Enabling C++11 flags for clang and gcc"
This reverts commit 7c5e2e49ae.

In KF5, C++11 is not to be assumed on all our platforms. So don't force
it from cmake. That said we have to make sure our code builds in both
case (C++11 available or not). I'll get in touch with the build.kde.org
admins to sort that out.

CCMAIL: ivan.cukic@kde.org
2013-06-28 10:07:49 +02:00
Kevin Ottens
f9f11653ee KIconThemes have to come first 2013-06-28 07:54:08 +02:00
Ivan Čukić
7c5e2e49ae Enabling C++11 flags for clang and gcc 2013-06-23 10:37:36 +02:00
Sebastian Kügler
66e8c5aee8 KWallet has moved out of kdeui 2013-06-21 02:22:42 +02:00
Sebastian Kügler
fae07da91c Bump required Qt version to a more realistic 5.2.0 2013-06-21 01:38:58 +02:00
Sebastian Kügler
9e6295d6b3 update comment accordingly 2013-06-19 02:53:49 +02:00
Sebastian Kügler
1fa0ab960b kguiaddons and KDE4_DEFINITIONS are not needed anymore
Also add a comment to the KDE4Libs find
2013-06-19 01:15:28 +02:00
Sebastian Kügler
22d261759b Fix up library finding
* Generate and install and include PlasmaTargets.cmake file
* set Plasma_LIBRARIES to KF5::plasma

-> kde-workspace build works for me.
2013-06-13 16:01:06 +02:00
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
Marco Martin
2b45de0e96 try to add CMAKE_PREFIX_PATH to CMAKE_MODULE_PATH 2013-02-04 21:34:04 +01:00
Marco Martin
fef1e3f0e7 use installPackage 2013-02-04 16:48:37 +01:00
Marco Martin
60b37cff34 reenable build of declarative scriptengine
just builds, is still pretty broken
2013-02-04 16:10:53 +01:00
Sebastian Kügler
b252fb847e cmake stuff to enabled the core plugin for porting 2013-02-01 17:03:51 +01:00