[SCM] inkscape/master: debian/patches/reproducible-build.patch: add to allow reproducible build.
mapreri-guest at users.alioth.debian.org
mapreri-guest at users.alioth.debian.org
Fri Jun 5 11:33:59 UTC 2015
The following commit has been merged in the master branch:
commit fa78c009ef38dd72be187528f7c200cb22368673
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Jun 5 13:33:13 2015 +0200
debian/patches/reproducible-build.patch: add to allow reproducible build.
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..718c1ad
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,29 @@
+Description: Remove embedding of the build date to allow a reproducible build.
+ https://wiki.debian.org/ReproducibleBuilds for more information
+Author: Mattia Rizzolo <mattia at mapreri.org>
+Forwarded: no
+Last-Update: 2015-06-05
+
+
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -2178,7 +2178,7 @@
+ break;
+ }
+ case SP_ARG_VERSION: {
+- printf("Inkscape %s (%s)\n", Inkscape::version_string, __DATE__);
++ printf("Inkscape %s\n", Inkscape::version_string);
+ exit(0);
+ break;
+ }
+--- a/src/extension/internal/emf-print.cpp
++++ b/src/extension/internal/emf-print.cpp
+@@ -205,7 +205,7 @@
+ } else {
+ p = ansi_uri;
+ }
+- snprintf(buff, sizeof(buff) - 1, "Inkscape %s (%s)\1%s\1", Inkscape::version_string, __DATE__, p);
++ snprintf(buff, sizeof(buff) - 1, "Inkscape %s \1%s\1", Inkscape::version_string, p);
+ uint16_t *Description = U_Utf8ToUtf16le(buff, 0, NULL);
+ int cbDesc = 2 + wchar16len(Description); // also count the final terminator
+ (void) U_Utf16leEdit(Description, '\1', '\0'); // swap the temporary \1 characters for nulls
diff --git a/debian/patches/series b/debian/patches/series
index b090f5f..68af191 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Drop_PS_and_PDF_support_in_MimeType.patch
+reproducible-build.patch
--
inkscape packaging
More information about the pkg-multimedia-commits
mailing list