From: =?utf-8?q?Sandro_Knau=C3=9F?= <hefee@debian.org>
Date: Mon, 19 Apr 2021 18:54:56 +0200
Subject: timestamps_from_cpp_macros

Origin: Debian
Last-Update: 2015-08-22

The C pre-processor macros `__DATE__`, `__TIME__`, and `__TIMESTAMP__`
captures the current time, and thus will obviously make a build
unreproducible.

In debian we don't build owncloud from a random git hash, so we can remove
the line, of which git hash we create the software and when can be removed
completely.
Last-Update: 2015-08-22
---
 src/libsync/theme.cpp | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp
index 0256b9d..799e5b5 100644
--- a/src/libsync/theme.cpp
+++ b/src/libsync/theme.cpp
@@ -387,24 +387,7 @@ bool Theme::wizardHideFolderSizeLimitCheckbox() const
 
 QString Theme::gitSHA1(VersionFormat format) const
 {
-#ifdef GIT_SHA1
-    const auto gitSha = QStringLiteral(GIT_SHA1);
-    const auto gitShahSort = gitSha.left(6);
-    if (!aboutShowCopyright()) {
-        return gitShahSort;
-    }
-    const auto gitUrl = QStringLiteral("https://github.com/owncloud/client/commit/%1").arg(gitSha);
-    switch (format) {
-    case Theme::VersionFormat::OneLiner:
-        Q_FALLTHROUGH();
-    case Theme::VersionFormat::Plain:
-        return gitShahSort;
-    case Theme::VersionFormat::Url:
-        return gitUrl;
-    case Theme::VersionFormat::RichText:
-        return QStringLiteral("<a href=\"%1\">%3</a>").arg(gitUrl, gitShahSort);
-    }
-#endif
+    // On Debian we don't want the line build from git line in about dialog
     return QString();
 }
 
