summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2016-11-07 20:23:12 +0000
committerMattia Rizzolo <mattia@mapreri.org>2016-11-07 20:23:12 +0000
commit7f1268617b2cdcff5f54dce879213160e478a48e (patch)
tree5d3cd424584b8239646c0c01370254ba581d5e0b /src
parent1639832 Blend and blur unspected results (diff)
downloadinkscape-7f1268617b2cdcff5f54dce879213160e478a48e.tar.gz
inkscape-7f1268617b2cdcff5f54dce879213160e478a48e.zip
Remove embedded build date, to allow reproducible building.
Reproducible Builds is a ongoing project which aims at having "packages" "build" (as in, every build step, be it code compilation, doc generation, etc) be bit-by-bit reproducible regardless of the build environment. With this commit inkscape can be built reproducibly. See https://reproducible-builds.org for more info about the project. (bzr r15222.1.1)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-print.cpp2
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index d4c5d95a3..7f62fd1d7 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -205,7 +205,7 @@ unsigned int PrintEmf::begin(Inkscape::Extension::Print *mod, SPDocument *doc)
} 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/src/main.cpp b/src/main.cpp
index 95764aea9..fb627a020 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2159,7 +2159,7 @@ sp_process_args(poptContext ctx)
}
#endif // WITH_YAML
case SP_ARG_VERSION: {
- printf("Inkscape %s (%s)\n", Inkscape::version_string, __DATE__);
+ printf("Inkscape %s\n", Inkscape::version_string);
exit(0);
break;
}