[SCM] qxgedit/master: Add patch to build reproducible. (Closes: #845010)

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Nov 20 17:19:43 UTC 2016


The following commit has been merged in the master branch:
commit 87f9cd60be9ffe6a3efa59686ba8816b060dba20
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Nov 20 18:08:05 2016 +0100

    Add patch to build reproducible. (Closes: #845010)

diff --git a/debian/patches/0004-qxgedit.patch b/debian/patches/0004-qxgedit.patch
new file mode 100644
index 0000000..c93997b
--- /dev/null
+++ b/debian/patches/0004-qxgedit.patch
@@ -0,0 +1,32 @@
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Description: Strip build date from version info to make build reproducible
+
+Index: qxgedit/src/qxgeditMainForm.cpp
+===================================================================
+--- qxgedit.orig/src/qxgeditMainForm.cpp
++++ qxgedit/src/qxgeditMainForm.cpp
+@@ -1841,7 +1841,6 @@ void qxgeditMainForm::helpAbout (void)
+ 	sText += "<b>" QXGEDIT_TITLE " - " + tr(QXGEDIT_SUBTITLE) + "</b><br />\n";
+ 	sText += "<br />\n";
+ 	sText += tr("Version") + ": <b>" CONFIG_BUILD_VERSION "</b><br />\n";
+-	sText += "<small>" + tr("Build") + ": " CONFIG_BUILD_DATE "</small><br />\n";
+ #ifdef CONFIG_DEBUG
+ 	sText += "<small><font color=\"red\">";
+ 	sText += tr("Debugging option enabled.");
+Index: qxgedit/src/qxgeditOptions.cpp
+===================================================================
+--- qxgedit.orig/src/qxgeditOptions.cpp
++++ qxgedit/src/qxgeditOptions.cpp
+@@ -215,10 +215,9 @@ bool qxgeditOptions::parse_args ( const
+ 		else if (sArg == "-v" || sArg == "--version") {
+ 			out << QObject::tr("Qt: %1\n")
+ 				.arg(qVersion());
+-			out << QObject::tr("%1: %2  (%3)\n")
++			out << QObject::tr("%1: %2\n")
+ 				.arg(QXGEDIT_TITLE)
+-				.arg(CONFIG_BUILD_VERSION)
+-				.arg(CONFIG_BUILD_DATE);
++				.arg(CONFIG_BUILD_VERSION);
+ 			return false;
+ 		}
+ 		else {
diff --git a/debian/patches/series b/debian/patches/series
index fe90ca5..bc14ba9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0002-fix_multiarch_dir.patch
+0004-qxgedit.patch

-- 
qxgedit packaging



More information about the pkg-multimedia-commits mailing list