Commit Graph

89 Commits

Author SHA1 Message Date
Aleix Pol
d9a4c3e0eb Adapt scripts to changes in kdelibs 2013-12-14 16:38:48 +01:00
Aleix Pol
361a1eebbe More macros to port 2013-12-14 14:32:03 +01:00
Aleix Pol
b0f9e8c773 fix scripts
ki18n_wrap_ui now exists
make kde4_add_plugin detection more flexible
2013-12-14 13:43:04 +01:00
Aurélien Gâteau
78276bd589 Treat *Config.cmake files as well 2013-12-11 23:12:48 +01:00
Martin Klapetek
98df4984d0 Add PlasmaQuick to kf5-prefix porting script 2013-12-11 17:40:41 +01:00
Aurélien Gâteau
09b49b48e9 Fix KDESu, add KDocTools 2013-12-11 17:08:31 +01:00
Aurélien Gâteau
410292bf3e Add Style and KDE4Support 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
bb207fa68f kf5-lib-prefix-rename: replace more frameworks 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
71326a33df kf5-lib-prefix-rename: macros, and use whole words 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
acfcc7d3d1 Add test files for kf5-lib-prefix-rename 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
dae4e77d41 Rewrite in Python
I can't seem to get proper multiline search and replace with either sed or perl
-i. But I know how to do it in Python.
2013-12-11 16:33:06 +01:00
Aurélien Gâteau
4e2979bc20 Add script to fix cmake files after the KF5 prefix has been added to frameworks 2013-12-10 22:48:45 +01:00
Sebastian Kügler
7a4c678a92 This is roughly how we can port to qCDebug()
... and not lose information about the debug area.
2013-12-08 17:02:17 +01:00
Aleix Pol
1c22bb4033 Add more cmake porting rules 2013-12-05 19:32:35 +01:00
Sebastian Kügler
082e6c65e5 Small example how to dumb-port from qDebug to qCDebug 2013-11-20 04:37:47 +01:00
Aleix Pol
e2b40feef6 Add conversions for deprecated macros 2013-11-18 15:22:11 +01:00
Aleix Pol
0fa21b4af5 Iterate over the cmake scripts
Prefer using imported targets rather than cmake variables.
2013-11-15 16:46:59 +01:00
Aleix Pol
e9d7e823ef Improve porting scripts
Prefer lowercase commands
Add cmake variables translations
Disable kde4_add_ui_files translation, we don't have a good macro for this
yet.
2013-11-15 16:22:50 +01:00
Aleix Pol
7088c9eb0d Deprecate plasma_add_plugin 2013-11-14 17:42:26 +01:00
Aleix Pol
19d6fab067 Add a tool to follow KDE cmake coding style with regard to end commands
Removes the predicate from all of them, especially on else it was very
annoying.

http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2013-11-14 17:22:26 +01:00
Aleix Pol
d1171a862d Don't use KDE/ includes, they're deprecated 2013-11-11 18:29:32 +01:00
Aleix Pol
701a7d0790 Some additions to the cmake porting script 2013-10-23 14:15:41 +02:00
Aleix Pol
d44b5684ce Improve porting to Qt/KF5 scripts
Improve the porting scripts in plasma-framework (maybe they should be in
kdesdk?).
- Add a script to remove the Qt module part of an include (<QtGui/QLabel>
becomes <QLabel>).
- Add more cases when porting cmake files, adding the Qt libraries as well.

REVIEW: 113300
2013-10-19 00:33:04 +02:00
Sebastian Kügler
aa2f0c787a update porting script 2013-10-16 01:35:37 +02:00
Sebastian Kügler
588a05ab7c Add KIO libs to porting script 2013-10-10 16:05:42 +02:00
Sebastian Kügler
5e9c726191 one more include in porting script 2013-10-10 16:04:33 +02:00
Sebastian Kügler
a662db785b Improve cmake porting script 2013-10-10 16:04:33 +02:00
Sebastian Kügler
62b344680d Small addition to porting scripts 2013-10-08 13:48:37 +02:00
Sebastian Kügler
5d85d45d33 add more stuff to cmake porting 2013-10-04 23:44:57 +02:00
Sebastian Kügler
fe2e95334b Small addition for QWidget porting 2013-09-25 17:42:26 +02:00
Sebastian Kügler
6307275a33 Fix include 2013-09-18 18:09:33 +02:00
Sebastian Kügler
5fd1d5d0de Improve porting scripts 2013-08-30 00:24:23 +02:00
Sebastian Kügler
672d5e9016 Improve porting scripts
* Break out qtquick porting into own script
* Add API changes regarding Plasma::Types
* fix some more includes that might end up broken
2013-08-28 03:52:54 +02:00
Sebastian Kügler
8596b9c43b Update porting scripts 2013-08-27 04:28:24 +02:00
Sebastian Kügler
801d4ae818 Refined porting scripts 2013-08-09 04:07:59 +02:00
Sebastian Kügler
4f160dd7b0 Add s/qDebug/kDebug script 2013-07-31 23:41:26 +02:00
Sebastian Kügler
a54763b247 Add script to replace slots with Q_SLOTS 2013-07-08 00:14:51 +02:00
Sebastian Kügler
a05373595d fix some includes in porting script 2013-06-29 05:50:59 +02:00
Sebastian Kügler
8285189fe7 improve porting script 2013-03-19 05:11:20 +01:00
Sebastian Kügler
8a43fd5ab5 Script to help with porting code to Plasma2 2013-03-13 02:57:58 +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
Sebastian Kügler
a77ae27de4 ws 2013-03-06 23:21:20 +01:00
Sebastian Kügler
de312ff5d4 clean up, add myself to copyright 2013-03-06 03:40:18 +01:00
Sebastian Kügler
f35ea4b123 Port plasmapkg from KStandardDirs to QStandardPaths 2013-03-05 17:38:31 +01:00
Marco Martin
772e05749d remove qlocalizedstring include 2013-03-05 15:58:05 +01:00
Marco Martin
db22e3745f make it build
it will probably have to be converted back to qi18n asap
2013-03-05 15:54:42 +01:00
Sebastian Kügler
bc80b88c66 handle .plasmoid upgrades in plasmapkg correctly 2013-02-27 06:51:39 +01:00
Sebastian Kügler
722640d8e8 Fix upgrading
- Fix -u, where d->package is not a plugin name, but a path passed to
  uninstall
- cleanup muchos debugging
- unique lines in --list
2013-02-27 03:38:02 +01:00
Sebastian Kügler
d105b1bd3f remotewidgetshelper and plasma-remote-helper be gone 2013-02-14 15:22:30 +01:00
Sebastian Kügler
51147c9e1a Enable plasmapkg build 2013-02-13 02:09:00 +01:00