File buildtime.patch of Package sqliteman
--- sqliteman-1.9.1/Sqliteman/sqliteman/CMakeLists.txt.orig 2025-10-05 01:28:41.405157037 +0200
+++ sqliteman-1.9.1/Sqliteman/sqliteman/CMakeLists.txt 2025-10-05 01:29:18.832496304 +0200
@@ -361,7 +361,7 @@
# assume Linux
ADD_CUSTOM_COMMAND(OUTPUT buildtime.h COMMAND echo 'static const char * ' `date '+buildtime = \"Built %c from branch '` `git branch --show-current`'\"\;' > buildtime.h DEPENDS ${SQLITEMAN_SRC} ${SQLITEMAN_MOC_SRC} ${SQLITEMAN_UI_HDRS} ${SQLITEMAN_RC_RCS} COMMENT "Creating timestamp in buildtime.h")
ENDIF (WIN32)
-SET_PROPERTY(SOURCE litemanwindow.cpp PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/buildtime.h)
+#SET_PROPERTY(SOURCE litemanwindow.cpp PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/buildtime.h)
set_property(TARGET sqliteman APPEND PROPERTY
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
/usr/include/${QTVERSION}/
--- sqliteman-1.9.1/Sqliteman/sqliteman/litemanwindow.cpp.orig 2025-10-05 01:20:14.329242582 +0200
+++ sqliteman-1.9.1/Sqliteman/sqliteman/litemanwindow.cpp 2025-10-05 01:21:03.203771452 +0200
@@ -33,7 +33,7 @@
#include "altertriggerdialog.h"
#include "alterviewdialog.h"
#include "analyzedialog.h"
-#include "buildtime.h"
+//#include "buildtime.h"
#include "constraintsdialog.h"
#include "createindexdialog.h"
#include "createtabledialog.h"
@@ -766,7 +766,7 @@
dataViewer->removeErrorMessage();
dataViewer->setStatusText(
tr("sqliteman Version ")
- + SQLITEMAN_VERSION + " " + buildtime + "<br/>"
+ + SQLITEMAN_VERSION + /*" " + buildtime +*/ "<br/>"
+ m_sqliteVersionLabel->text() + "<br/>"
+ "Qt " + tr("Version ") + qVersion() + "<br/>"
+ getOSName()