Package: owncloud-client / 2.5.1.10973+dfsg-1

0008-make-reproducable.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: timestamps_from_cpp_macros
 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.
Author: Sandro Knauß <hefee@debian.org>
Origin: Debian
Last-Update: 2015-08-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/libsync/theme.cpp
+++ b/src/libsync/theme.cpp
@@ -313,22 +313,8 @@ bool Theme::wizardHideFolderSizeLimitChe
 
 QString Theme::gitSHA1() const
 {
-    QString devString;
-#ifdef GIT_SHA1
-    const QString githubPrefix(QLatin1String(
-        "https://github.com/owncloud/client/commit/"));
-    const QString gitSha1(QLatin1String(GIT_SHA1));
-    devString = QCoreApplication::translate("ownCloudTheme::about()",
-        "<p><small>Built from Git revision <a href=\"%1\">%2</a>"
-        " on %3, %4 using Qt %5, %6</small></p>")
-                    .arg(githubPrefix + gitSha1)
-                    .arg(gitSha1.left(6))
-                    .arg(__DATE__)
-                    .arg(__TIME__)
-                    .arg(qVersion())
-                    .arg(QSslSocket::sslLibraryVersionString());
-#endif
-    return devString;
+    // On Debian we don't want the line build from git line in about dialog
+    return QString();
 }
 
 QString Theme::about() const