Commit Graph

16 Commits

Author SHA1 Message Date
Alexander Lohnau
784f530af5 KF5PlasmaMacros: Only include ECM manually if config vars are missing 2021-06-22 13:11:13 +00:00
Alexander Lohnau
6e53dcc2d2
KF5PlasmaMacros: Only try to install desktop files if they exist
The mechanism was used to make those files accessible to
KServiceTypeTrader, but that is not used anymore by KPackage.

KPackage can already handle JSON files for all its functionality,
consequently there is no reason to enforce having desktop files.
2021-06-08 21:46:43 +02:00
Christophe Giboudeaux
ac9562606c Revert "Fix build errors if PREFIX is different from ECM's PREFIX."
This change breaks the build for applications that have no dependency
on ECM (eg: ikona).

A similar change was also reverted in kpackage for the same reason.

This reverts commit ff5ed26f21.
2021-02-01 12:03:22 +01:00
Hartmut Goebel
ff5ed26f21 Fix build errors if PREFIX is different from ECM's PREFIX.
See <https://bugs.kde.org/424483> for details
2020-09-22 10:23:28 +00:00
Marco Martin
dc5c609e54 new macro plasma_install_bundled_package
more clear than an optional paramenter (there alre already 2)
and avoids the boolean trap
2018-03-20 16:52:18 +01:00
Marco Martin
7af1892632 use kpackage_install_bundled_package
Summary:
use the new package install macro to install them as
as rcc files

Test Plan:
plasmashell starts and most plasmoids seem to work,
still needed a more thorough test

Reviewers: #plasma

Subscribers: davidedmundson, apol, plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D9400
2018-03-20 14:56:59 +01:00
Friedrich W. H. Kossebau
dd0fcc3b73 Disable deprecation warning from kpackage_install_package for now
Summary:
Using a private flag just added for plasma_install_package, until
there is a new official replacement for kpackage_install_package for
its needs

Test Plan: kdeplasma-addons & Co still build and now have clean cmake log again.

Reviewers: mart, apol

Reviewed By: mart

Subscribers: #frameworks

Tags: #frameworks, #plasma

Differential Revision: https://phabricator.kde.org/D11130
2018-03-08 23:04:31 +01:00
Jonathan Riddell
5ff92e33ff fix include even if load path isn't set 2017-04-28 11:44:40 +01:00
Aleix Pol
c07851470a Remove unavailable ServiceTypes
Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D4169
2017-01-17 14:57:46 +01:00
Friedrich W. H. Kossebau
eb9c0bbdf8 Make plasma_install_package work with KDE_INSTALL_DIRS_NO_DEPRECATED
Summary:
Currently plasma_install_package fails if KDE_INSTALL_DIRS_NO_DEPRECATED
is set to TRUE, because the macro is still using the deprecated vars
DATA_INSTALL_DIR & SERVICES_INSTALL_DIR.
It should be fine to bump the min version of ECM required to needed ECM 1.6.0,
as someone using KF5 5.26 very surely also has a similar recent ECM.

Reviewers: #plasma, sebas, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2633
2016-09-02 13:56:03 +02:00
Aleix Pol
333bdd7fb3 Use KPackage to install Plasma Packages
Plasma packages are essentially kpackages, so use the macros from KPackage
to install Plasma packages.
This allows to reuse the facilities set up there.

REVIEW: 128579
2016-08-03 13:05:58 +02:00
David Edmundson
565cc50ca2 Remove rather outdated .svn install exclusion
Change-Id: Ia5c5fca18e3ca0d18a272cd641569d5ed50594a4
2014-09-25 13:16:28 +02:00
David Edmundson
71e9de7ce4 Don't install developer notes in plasma_install_package
In the SDDM theme (and a few other places) I leave some notes for other
developers; I need to add one to the workspace components too.

As plasma_package blindly copies everything it seems to annoy packagers.

Change-Id: I77765f96f1a5fb24a7788f69eae1bbffaf14210b
2014-09-25 13:15:04 +02:00
David Edmundson
111ef0b18e Don't install dummydata folders with plasma_install_package 2014-06-12 16:42:43 +02:00
Aleix Pol
e6f1fec0c7 Install all plasma files in a prefix/share/plasma directory
At the moment, we could say that plasma is co-installable by chance,
it's only working because KF5 dropped the apps relative directory.
This change introduces a PLASMA_RELATIVE_DATA_INSTALL_DIR that will
be available to know where in share the components are and
PLASMA_DATA_INSTALL_DIR to know where data has to be installed to.

Reviewed by David Edmundson

CCMAIL: plasma-devel@kde.org
2014-04-27 17:14:22 +02:00
Martin Klapetek
3214bd8132 Add KF5 prefix to plasma framework
This changes the lib name and package names to follow other frameworks

libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)

REVIEW: 114389
2013-12-11 21:40:54 +01:00