Nicolás Alvarez
123d5a6d8b
Replace #warning with #pragma message.
...
MSVC doesn't have #warning.
2014-08-30 14:46:11 -03:00
Alexander Potashev
0e4c0c8851
Improve spelling and capitalization in i18n()-d text
2014-07-06 23:50:09 +04: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
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
69f95fec24
cmake debug message--
2014-04-26 02:10:51 +02:00
Aurélien Gâteau
d0bd7f77bf
cmake warnings--
...
No need to define projects if we don't use any ${project}_* var.
2014-04-26 02:10:23 +02:00
Kevin Ottens
72ba7b4146
Apply the astyle-kdelibs script
2014-04-26 01:48:37 +02:00
Aurélien Gâteau
0efc0572af
Consolidate all plasma-framework catalogs
2014-04-25 10:40:12 +02:00
David Faure
37179fb7a0
Include ksharedconfig.h (since it will be removed from kpluginfactory.h)
2014-03-29 08:22:28 +01:00
Sebastian Kügler
71976aec92
More specific exit codes for plasmapkg2
2014-03-25 22:22:59 +01:00
Sebastian Kügler
a8e31e1593
plasmapkg2: Fix installation and listing of wallpapers
2014-02-13 14:56:10 +01:00
Hrvoje Senjan
cc34d2c17e
Rename plasmapkg to plasmapkg2
...
So it can be co-installed in the same prefix as kde-runtime(4)
REVIEW: 115605
2014-02-10 12:56:26 +01:00
Sebastian Kügler
1bfbee809e
const-ref in foreach, clean up debugging
2014-02-04 02:18:28 +01:00
Sebastian Kügler
f49c37a36c
use pluginName()
2014-02-02 02:55:25 +01:00
Sebastian Kügler
1fedbb587c
Allow package deinstallation from package file
...
Uninstall previously only took plugin names. This is unfortunate, since
it made uninstallation from a package file impossible, leaving it to the
user to figure out the plugin name before a package can be uninstalled.
So let's read the plugin name from the zip prior to uninstalling.
2014-02-02 02:33:47 +01:00
Sebastian Kügler
0f3c51e859
Fix theme listing and installation
2014-01-31 03:38:43 +01:00
Sebastian Kügler
ac1aba0f2a
Add -t shorthand to plasmapkg
...
This restores backwards compatibility in arguments for theme
installation.
2014-01-31 01:51:31 +01:00
Aurélien Gâteau
02d6b37976
Renames for the KF5 prefix
2013-12-11 21:40:54 +01: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
Àlex Fiestas
9afa18b8a6
Use org.kde.kded5 instead of org.kde.kded
2013-12-09 18:08:27 +01:00
Aleix Pol
6c82a1ee86
Reduce compiler warnings
...
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Sebastian Kügler
3665e3b382
Add help option to plasmapkg
2013-10-23 13:08:02 +02:00
Sebastian Kügler
d5bef21f7b
Rename target plasma to Plasma
...
This is in line with the frameworks naming policy, camelcasing. Up until
now, libplasma was the only library being KF5::plasma, that is now
KF5::Plasma.
2013-10-16 00:47:47 +02:00
Sebastian Kügler
42e0eb7f7a
lower case includes
2013-10-05 02:48:09 +02:00
Sebastian Kügler
0aa6247dd9
Use target instead of var for KF5::KI18n
2013-10-04 23:44:36 +02:00
Sebastian Kügler
47a38c5edd
Use target instead of var for KF5::KService and KCoreAddons
2013-10-04 23:42:16 +02:00
Stephen Kelly
0e8f31644b
Add some missing links.
...
The
2013-10-01 14:12:29 +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
Marco Martin
68a693af67
adapt to api change
2013-08-28 21:08:23 +02:00
Sebastian Kügler
4cd608d09d
Use QTextStream for output
2013-08-24 00:29:48 +02:00
Martin Gräßlin
531e6c3db5
Fix linking
...
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
Sebastian Kügler
fd3f1eaa35
Reduce KDE4 usage in cmake setup
2013-08-09 05:22:20 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
66bcd2ba95
Process arguments -- unbreaks plasmapkg
2013-07-29 16:40:11 +02:00
Aleix Pol
80bf4d66da
Adapt to changes in QCommandLine
2013-07-03 19:16:19 +02:00
David Faure
3355360444
Ported to QCommandLineParser
...
(mostly because linking to kde4support doesn't actually work...)
2013-05-24 02:04:08 +02:00
Sebastian Kügler
992587bb8c
Move show package info after parsing -t flag
...
This makes showing the contents of all package types possible.
2013-04-27 03:38:47 +02:00
Sebastian Kügler
43812710d5
plasmapkg: Add type argument to --list-types output
...
It's a bit silly to list the types, but don't tell the user which
argument the -t flag expects, so add those to the --list-types output
2013-04-27 02:39:13 +02:00
Sebastian Kügler
fe71859688
Add Shell and Look and Feel package types to plasmapkg
2013-04-27 02:26:35 +02:00
Sebastian Kügler
a426264037
fix package root for wallpapers, makes it find the metadata, add debug
2013-04-26 23:48:50 +02:00
Sebastian Kügler
f9ec377f6e
disable fs-based listing for wallpapers, works with kservice now
2013-04-25 03:23:35 +02:00
Sebastian Kügler
e660246b2b
more output polishing
2013-04-12 02:59:31 +02:00
Sebastian Kügler
03472443ec
Remove special handling for Plasma/PopupApplet
...
This servicetype has gone, since popups are entirely managed by the
applets compactRepresentation property and minimum size. The service
type has already gone, so don't look for them anymore.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
2ece64af93
fix race, improve feedback
...
- return after starting the install job instead of exiting. This only
works accidentally, since the start of the job happens inside this
event loop cycle, it will leave installation in a random state for
larger payloads. The fix is easy: only exit after installing.
- improve output: report installation, deinstallation and upgrade
consistently to cout.
- Now all operations correctly exit with either 0 or 1, so plasmapkg
will work fine in scripts.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
70b303fde6
support generic packages in plasmapkg
2013-04-10 02:22:25 +02:00
Sebastian Kügler
40ac6a5f0c
Make upgrading wallpapers work
...
We were previously accessing an invalid metadata, because wallpapers
aren't necessarily found as plugins: Take care of this case.
2013-03-28 03:50:06 +01:00
Sebastian Kügler
b19f4fe01d
also consider KServices in plasmapkg wallpaper listing
2013-03-28 01:38:43 +01:00
Sebastian Kügler
1dfab488e0
const&ness
2013-03-28 01:16:42 +01:00
Sebastian Kügler
ce6919b424
tighten up a bit
2013-03-28 01:12:42 +01:00
Sebastian Kügler
c12ecd0f51
plasmapkg: make listing wallpapers work
2013-03-28 01:11:44 +01:00