File nextcloud-client-remove-datetime.patch of Package nextcloud-client
--- a/client/doc/conf.py.in
+++ b/client/doc/conf.py.in
@@ -124,7 +124,7 @@ html_static_path = ['@CMAKE_CURRENT_SOUR
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-html_last_updated_fmt = '%b %d, %Y'
+#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
--- a/client/src/libsync/owncloudtheme.cpp
+++ b/client/src/libsync/owncloudtheme.cpp
@@ -58,7 +58,6 @@ QString ownCloudTheme::about() const
Utility::escape("https://" MIRALL_STRINGIFY(APPLICATION_DOMAIN)),
Utility::escape(MIRALL_STRINGIFY(APPLICATION_DOMAIN)));
- devString += gitSHA1();
return devString;
}
--- a/client/src/libsync/theme.cpp
+++ b/client/src/libsync/theme.cpp
@@ -286,29 +286,6 @@ bool Theme::wizardHideFolderSizeLimitChe
return false;
}
-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(QString::fromAscii(qVersion()))
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
- .arg(QSslSocket::sslLibraryVersionString());
-#else
- .arg(QCoreApplication::translate("ownCloudTheme::about()", "built with %1").arg(
- QString::fromAscii(OPENSSL_VERSION_TEXT)));
-#endif
-#endif
- return devString;
-}
-
QString Theme::about() const
{
QString re;
@@ -322,7 +299,6 @@ QString Theme::about() const
"United States, other countries, or both.</p>")
.arg(APPLICATION_VENDOR).arg(APPLICATION_NAME);
- re += gitSHA1();
return re;
}
--- a/client/src/libsync/theme.h
+++ b/client/src/libsync/theme.h
@@ -182,11 +182,6 @@ public:
#endif
/**
- * The SHA sum of the released git commit
- */
- QString gitSHA1() const;
-
- /**
* About dialog contents
*/
virtual QString about() const;
--- a/nextcloudtheme/nextcloudtheme.h
+++ b/nextcloudtheme/nextcloudtheme.h
@@ -85,7 +85,6 @@ public:
"European Union, other countries, or both.</p>")
.arg(APPLICATION_VENDOR).arg(APPLICATION_NAME);
- re += gitSHA1();
return re;
}