diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-04-05 01:09:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-04-05 01:09:36 +0900 |
commit | 709ee21567a86cb9c1bfcfc541b6de730ba3e279 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /qt3-tqt3/convert_qt_itself_qt3 | |
parent | 1df632a0e6e550a5a100247c6b4713078e78f413 (diff) | |
download | experimental-709ee21567a86cb9c1bfcfc541b6de730ba3e279.tar.gz experimental-709ee21567a86cb9c1bfcfc541b6de730ba3e279.zip |
Experimental scripts have been removed from non master branch.r14.0.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qt3-tqt3/convert_qt_itself_qt3')
-rwxr-xr-x | qt3-tqt3/convert_qt_itself_qt3 | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3 b/qt3-tqt3/convert_qt_itself_qt3 deleted file mode 100755 index a7c1a02..0000000 --- a/qt3-tqt3/convert_qt_itself_qt3 +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/bash - -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' {} \; - -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' {} \; - -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/Qt/TQt/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/Qt/TQt/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/Qt/TQt/g' {} \; - -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i 's/TTQ/TQ/g' {} \; - -sed -i 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' src/moc/moc.l -sed -i 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' src/moc/moc.y -sed -i 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' src/moc/moc.l -sed -i 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' src/moc/moc.y -sed -i 's/Qt/TQt/g' src/moc/moc.l -sed -i 's/Qt/TQt/g' src/moc/moc.y -sed -i 's/TTQ/TQ/g' src/moc/moc.l -sed -i 's/TTQ/TQ/g' src/moc/moc.y -sed -i 's/TTQ/TQ/g' src/moc/moc.l -sed -i 's/TTQ/TQ/g' src/moc/moc.y -sed -i 's/TTQ/TQ/g' src/moc/moc.l -sed -i 's/TTQ/TQ/g' src/moc/moc.y -sed -i 's/TTQ/TQ/g' src/moc/moc.l -sed -i 's/TTQ/TQ/g' src/moc/moc.y - -# Move the library -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qt-mt/tqt-mt/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qui/tqui/g' {} \; - -# Back out changes we did not want to make -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TQT_/QT_/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TQMAKE/QMAKE/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TQTDIR/QTDIR/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/OBLITQUE/OBLIQUE/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ATQUA/AQUA/g' {} \; - -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QUType_Q/QUType_TQ/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([ (]\)Q\#\#/\1TQ\#\#/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/STQL/SQL/g' {} \; - -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/tquiv/quiv/g' {} \; - -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)tquit/\1quit/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^tquit/quit/g' {} \; - -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/RETQUIRE/REQUIRE/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Retquire/Require/g' {} \; -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/retquire/require/g' {} \; - -# Apply changes that should have been made but were not -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/aboutQt/aboutTQt/g' {} \; - -# Back out linear alphabet string changes -find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/MNOPTQR/MNOPQR/g' {} \; - -# Apply patches -patch -p0 < ../tqt3_fixups.diff - -exit 0 |