From 39df8e8efc1055aba6b6d26c642b934ad1472c28 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Thu, 23 Jun 2022 23:26:53 +0200 Subject: [PATCH] Remove svnrev everywhere --- .gitignore | 52 ++++++++++++++++++++++++++++++++ nandBinCheck/main.cpp | 4 --- nandBinCheck/nandBinCheck.pro | 10 ------ nandExtract/nandExtract.pro | 10 ------ nandExtract/nandwindow.cpp | 3 +- ohneschwanzenegger/refleurii.pro | 11 ------- 6 files changed, 53 insertions(+), 37 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..543a6b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,52 @@ +# C++ objects and libs +*.slo +*.lo +*.o +*.a +*.la +*.lai +*.so +*.so.* +*.dll +*.dylib + +# Qt-es +object_script.*.Release +object_script.*.Debug +*_plugin_import.cpp +/.qmake.cache +/.qmake.stash +*.pro.user +*.pro.user.* +*.qbs.user +*.qbs.user.* +*.moc +moc_*.cpp +moc_*.h +qrc_*.cpp +ui_*.h +*.qmlc +*.jsc +Makefile* +*build-* +*.qm +*.prl + +# Qt unit tests +target_wrapper.* + +# QtCreator +*.autosave + +# QtCreator Qml +*.qmlproject.user +*.qmlproject.user.* + +# QtCreator CMake +CMakeLists.txt.user* + +# QtCreator 4.8< compilation database +compile_commands.json + +# QtCreator local machine specific files for imported projects +*creator.user* diff --git a/nandBinCheck/main.cpp b/nandBinCheck/main.cpp index f2f1bec..fe47685 100644 --- a/nandBinCheck/main.cpp +++ b/nandBinCheck/main.cpp @@ -1,6 +1,3 @@ - -#include "svnrev.h" - #include "../WiiQt/includes.h" #include "../WiiQt/nandbin.h" #include "../WiiQt/sharedcontentmap.h" @@ -1323,7 +1320,6 @@ int main( int argc, char *argv[] ) qCritical() << "** nandBinCheck : Wii nand info tool **"; qCritical() << " from giantpune"; - qCritical() << " svn r:" << qPrintable( CleanSvnStr( SVN_REV_STR ) ); qCritical() << " built:" << __DATE__ << __TIME__; if( args.contains( "-about", Qt::CaseInsensitive ) ) diff --git a/nandBinCheck/nandBinCheck.pro b/nandBinCheck/nandBinCheck.pro index 97514bc..9a6501a 100644 --- a/nandBinCheck/nandBinCheck.pro +++ b/nandBinCheck/nandBinCheck.pro @@ -43,13 +43,3 @@ HEADERS += ../WiiQt/tiktmd.h \ FORMS += \ ../WiiQt/settingtxtdialog.ui - -# create new svnrev.h -unix { - system( chmod 755 ../tools/makesvnrev.sh ) - system( ../tools/makesvnrev.sh ) -} - -win32 { - system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" ) -} diff --git a/nandExtract/nandExtract.pro b/nandExtract/nandExtract.pro index 6a72b12..fa43919 100755 --- a/nandExtract/nandExtract.pro +++ b/nandExtract/nandExtract.pro @@ -28,13 +28,3 @@ FORMS += nandwindow.ui \ RESOURCES += \ rc.qrc - -# create new svnrev.h -unix { - system( chmod 755 ../tools/makesvnrev.sh ) - system( ../tools/makesvnrev.sh ) -} - -win32 { - system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" ) -} diff --git a/nandExtract/nandwindow.cpp b/nandExtract/nandwindow.cpp index e5e88af..4b68b14 100755 --- a/nandExtract/nandwindow.cpp +++ b/nandExtract/nandwindow.cpp @@ -1,5 +1,4 @@ #include "nandwindow.h" -#include "svnrev.h" #include "ui_nandwindow.h" #include "boot2infodialog.h" #include "../WiiQt/tools.h" @@ -8,7 +7,7 @@ NandWindow::NandWindow( QWidget *parent ) : QMainWindow( parent ), ui( new Ui::N { ui->setupUi( this ); ui->mainToolBar->setVisible( false ); - this->setWindowTitle( "NAND Extract r" + CleanSvnStr( SVN_REV_STR ) ); + this->setWindowTitle( "NAND Extract" ); //setup the block map SetUpBlockMap(); diff --git a/ohneschwanzenegger/refleurii.pro b/ohneschwanzenegger/refleurii.pro index 9b92d1f..3819063 100644 --- a/ohneschwanzenegger/refleurii.pro +++ b/ohneschwanzenegger/refleurii.pro @@ -39,14 +39,3 @@ FORMS += mainwindow.ui \ ../WiiQt/settingtxtdialog.ui \ newnandbin.ui RESOURCES += rc.qrc - - -# create new svnrev.h -unix { - system( chmod 755 ../tools/makesvnrev.sh ) - system( ../tools/makesvnrev.sh ) -} - -win32 { - system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" ) -}