summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-24 12:27:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-24 12:27:11 +0900
commit60f2efab89e5ea66261798274c5ce77e56e78da1 (patch)
tree59ce5972ac9c1c0f11b4b375c9ce8f81102611fe /src
parent6a183830e0eaa1869eeeb212c74386cd11679c0f (diff)
downloadkvirc-60f2efab89e5ea66261798274c5ce77e56e78da1.tar.gz
kvirc-60f2efab89e5ea66261798274c5ce77e56e78da1.zip
Remove build date code. The info does not add anything useful and make reproducible builds not possible
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/config.h.in3
-rw-r--r--src/kvi_configstatus.h3
-rw-r--r--src/kvilib/config/kvi_settings.h5
-rw-r--r--src/kvilib/config/kvi_wincfg.h3
-rw-r--r--src/kvirc/kernel/kvi_main.cpp1
-rw-r--r--src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp1
-rw-r--r--src/kvirc/sparser/kvi_sp_ctcp.cpp2
7 files changed, 1 insertions, 17 deletions
diff --git a/src/config.h.in b/src/config.h.in
index c19a4ad..a339fad 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -6,9 +6,6 @@
/* define this if you are on a big endian machine */
#undef BIG_ENDIAN_MACHINE_BYTE_ORDER
-/* this is the build date (configure date rather) */
-#undef BUILD_DATE
-
/* these are the build flags */
#undef BUILD_FLAGS
diff --git a/src/kvi_configstatus.h b/src/kvi_configstatus.h
index 022bf91..1ef6747 100644
--- a/src/kvi_configstatus.h
+++ b/src/kvi_configstatus.h
@@ -7,9 +7,6 @@
/* define this if you are on a big endian machine */
/* #undef BIG_ENDIAN_MACHINE_BYTE_ORDER */
-/* this is the build date (configure date rather) */
-#define BUILD_DATE "Thu Aug 18 18:45:24 UTC 2011"
-
/* these are the build flags */
#define BUILD_FLAGS "i686-bcefiopsxAGTZ"
diff --git a/src/kvilib/config/kvi_settings.h b/src/kvilib/config/kvi_settings.h
index c9baf3a..de93871 100644
--- a/src/kvilib/config/kvi_settings.h
+++ b/src/kvilib/config/kvi_settings.h
@@ -76,10 +76,6 @@
#define VERSION "?.?.?"
#endif
- #ifndef BUILD_DATE
- #define BUILD_DATE "?"
- #endif
-
#ifndef BUILD_FLAGS
#define BUILD_FLAGS "?"
#endif
@@ -88,7 +84,6 @@
#define KVI_VERSION VERSION
#define KVI_VERSION_BRANCH VERSION_BRANCH
-#define KVI_BUILD_DATE BUILD_DATE
#define KVI_BUILD_FLAGS BUILD_FLAGS
#define KVI_RELEASE_NAME "Virgo"
diff --git a/src/kvilib/config/kvi_wincfg.h b/src/kvilib/config/kvi_wincfg.h
index 062aa81..c10ad5b 100644
--- a/src/kvilib/config/kvi_wincfg.h
+++ b/src/kvilib/config/kvi_wincfg.h
@@ -85,9 +85,6 @@
/* define if you have the SIOCGIFADDR ioctl and the related headers */
/* #undef COMPILE_GET_INTERFACE_ADDRESS */
-/* this is the build date (configure date rather) */
-#define BUILD_DATE __DATE__" "__TIME__
-
/* these are the build flags */
#define BUILD_FLAGS "win32"
diff --git a/src/kvirc/kernel/kvi_main.cpp b/src/kvirc/kernel/kvi_main.cpp
index aade9ad..944f71b 100644
--- a/src/kvirc/kernel/kvi_main.cpp
+++ b/src/kvirc/kernel/kvi_main.cpp
@@ -77,7 +77,6 @@ int parseArgs(ParseArgs * a)
{
KviTQString::appendFormatted(szMessage,"KVIrc %s '%s'\n",KVI_VERSION,KVI_RELEASE_NAME);
KviTQString::appendFormatted(szMessage,"Sources date: %s\n",KVI_SOURCES_DATE);
- KviTQString::appendFormatted(szMessage,"Build date: %s\n",KVI_BUILD_DATE);
KviTQString::appendFormatted(szMessage,"Home page: http://www.kvirc.net/\n");
#ifdef COMPILE_ON_WINDOWS
diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
index 8feb7ee..b78c0be 100644
--- a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
+++ b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp
@@ -1037,7 +1037,6 @@ namespace KviKvsCoreFunctions
else {
if(szType.find('r') != -1)KVSCF_pRetBuffer->setString(KVI_RELEASE_NAME);
else if(szType.find('s') != -1)KVSCF_pRetBuffer->setString(KVI_SOURCES_DATE);
- else if(szType.find('b') != -1)KVSCF_pRetBuffer->setString(KVI_BUILD_DATE);
else KVSCF_pRetBuffer->setString(KVI_VERSION);
}
return true;
diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp
index 7ed3dc7..865f35d 100644
--- a/src/kvirc/sparser/kvi_sp_ctcp.cpp
+++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp
@@ -1143,7 +1143,7 @@ void KviServerParser::parseCtcpRequestVersion(KviCtcpMessage *msg)
{
if(!KVI_OPTION_BOOL(KviOption_boolIgnoreCtcpVersion))
{
- TQString szVersion = "KVIrc " KVI_VERSION " '" KVI_RELEASE_NAME "' " KVI_SOURCES_DATE " - build " KVI_BUILD_DATE " - " KVI_BUILD_FLAGS;
+ TQString szVersion = "KVIrc " KVI_VERSION " '" KVI_RELEASE_NAME "' " KVI_SOURCES_DATE " - " KVI_BUILD_FLAGS;
szVersion.append(TQString(" - %1 (%2)").arg(KviOsInfo::name()).arg(KviOsInfo::release()));
//szVersion.append(TQString(" - TQt Version: %1 - %2").arg(tqVersion()).arg(__tr2qs("http://www.kvirc.net/")));
if(!KVI_OPTION_STRING(KviOption_stringCtcpVersionPostfix).isEmpty())