diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-23 22:10:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-23 22:10:01 +0900 |
commit | 70d5d96c3b4c61e39af2258dacebcf24310001d5 (patch) | |
tree | 850f6d705f268f32d7fa60cae0b2634346a70ea0 | |
parent | 09da29792fa97588d71481f66ea80d0159c65cec (diff) | |
download | scripts-70d5d96c3b4c61e39af2258dacebcf24310001d5.tar.gz scripts-70d5d96c3b4c61e39af2258dacebcf24310001d5.zip |
Add kapp --> tdeApp to conversion scripts and to r14.1.x backporting script
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-x | conversions/kde-tde/convert_existing_kde3_app_to_tde | 9 | ||||
-rwxr-xr-x | misc/patch-update-for-r14-1-x | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/conversions/kde-tde/convert_existing_kde3_app_to_tde b/conversions/kde-tde/convert_existing_kde3_app_to_tde index f2363c6..bcf3e00 100755 --- a/conversions/kde-tde/convert_existing_kde3_app_to_tde +++ b/conversions/kde-tde/convert_existing_kde3_app_to_tde @@ -104,6 +104,10 @@ KDE_UTF8_FILENAMES|\ KDESYCOCA|\ KApplication|\ KAppDCOPInterface|\ +noKApp|\ +KApp|\ +kapp|\ +TDEApplication::kApplication()|\ KUniqueApplication|\ KCmdLineArgs|\ KInstance|\ @@ -350,12 +354,17 @@ xargs -r0 sed -ri \ -e "s|([^a-zA-Z0-9]\|^)KDE_UTF8_FILENAMES|\1TDE_UTF8_FILENAMES|g" \ -e "s|([^a-zA-Z0-9]\|^)KDESYCOCA|\1TDESYCOCA|g" \ \ + -e "s|([^a-zA-Z0-9]\|^)TDEApplication::kApplication()|\1tdeApp|g" \ -e "s|([^a-zA-Z0-9]\|^)KApplication|\1TDEApplication|g" \ + -e "s|([^a-zA-Z0-9]\|^)kApplication|\1tdeApplication|g" \ -e "s|([^a-zA-Z0-9]\|^)KUniqueApplication|\1TDEUniqueApplication|g" \ -e "s|([^a-zA-Z0-9]\|^)KAppDCOPInterface|\1TDEAppDCOPInterface|g" \ -e "s|([^a-zA-Z0-9]\|^)KCmdLineArgs|\1TDECmdLineArgs|g" \ -e "s|([^a-zA-Z0-9]\|^)KInstance|\1TDEInstance|g" \ -e "s|([^a-zA-Z0-9]\|^)KAboutData|\1TDEAboutData|g" \ + -e "s|([^a-zA-Z0-9]\|^)noKApp|\1noTDEApp|g" \ + -e "s|([^a-zA-Z0-9]\|^)KApp|\1TDEApp|g" \ + -e "s|([^a-zA-Z0-9]\|^)kapp|\1tdeApp|g" \ \ -e "s|([^a-zA-Z0-9]\|^)KCModule|\1TDECModule|g" \ -e "s|([^a-zA-Z0-9]\|^)KConfig|\1TDEConfig|g" \ diff --git a/misc/patch-update-for-r14-1-x b/misc/patch-update-for-r14-1-x index bc0383b..5273daa 100755 --- a/misc/patch-update-for-r14-1-x +++ b/misc/patch-update-for-r14-1-x @@ -56,3 +56,11 @@ sed -i "$@" \ # tdecrash --> kcrash sed -i "$@" \ -e "s|tdecrash|kcrash|g" \ + +# tdeapp --> kapp +sed -i "$@" \ + -e "s|\btdeApplication\b|kApplication|g" "$1" \ + -e "s|\btdeApp\b|kapp|g" "$1" \ + -e "s|\bTDEApp\b|KApp|g" "$1" \ + -e "s|\bnoTDEApp\b|noKApp|g" "$1" \ + |