Commit Graph

37 Commits

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