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