Update porting scripts

This commit is contained in:
Sebastian Kügler 2013-08-27 04:28:24 +02:00
parent bcbfea3576
commit 8596b9c43b
3 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do
perl -p -i -e 's/KDE4_KIDLETIME_LIBRARY/KIdleTime_LIBRARIES/g' $FS
perl -p -i -e 's/KDE4_PLASMA_LIBS/Plasma_LIBRARIES/g' $FS
perl -p -i -e 's/KDE4_KDECORE_LIBS/KCore_LIBRARIES/g' $FS
perl -p -i -e 's/\$\{KDE4_KDECORE_LIBS\}//g' $FS
perl -p -i -e 's/KDE4_SOLID_LIBS/Solid_LIBRARIES/g' $FS
done

View File

@ -6,6 +6,7 @@ for FS in `find $PWD -name '*.h' -o -name '*.cpp'`; do
perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
perl -p -i -e 's/\#include \<kdebug\.h\>/\#include \<QDebug\>/g' $FS
perl -p -i -e 's/kDebug\(\)/qDebug()/g' $FS
perl -p -i -e 's/kWarning\(\)/qWarning()/g' $FS
perl -p -i -e 's/kDebug\(250\)/\/\/qDebug()/g' $FS
perl -p -i -e 's/kDebug\(96669\)/\/\/qDebug()/g' $FS

View File

@ -29,6 +29,7 @@ for FS in `find $PWD -name '*.qml'`; do
perl -p -i -e 's/org\.kde\.locale 0\.1/org.kde.locale 2.0/g' $FS
perl -p -i -e 's/org\.kde\.draganddrop 1\.0/org.kde.draganddrop 2.0/g' $FS
perl -p -i -e 's/theme\.defaultFont\.mSize/theme.mSize/g' $FS
done