Commit Graph

268 Commits

Author SHA1 Message Date
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