From a18cc99af0c07c9929374e1106215bfe423764fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 6 Nov 2015 21:38:27 +0100 Subject: [PATCH] Allow setting of DATE in about-dialog --- debian/patches/0001-reproducible.patch | 27 ++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 28 insertions(+) create mode 100644 debian/patches/0001-reproducible.patch diff --git a/debian/patches/0001-reproducible.patch b/debian/patches/0001-reproducible.patch new file mode 100644 index 0000000..02e133e --- /dev/null +++ b/debian/patches/0001-reproducible.patch @@ -0,0 +1,27 @@ +Description: allow setting of the displayed build-date + so we can make builds reproducible +Author: IOhannes m zmölnig +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- giada.orig/src/gui/dialogs/gd_about.cpp ++++ giada/src/gui/dialogs/gd_about.cpp +@@ -39,6 +39,10 @@ + + extern Conf G_Conf; + ++#ifndef BUILD_DATE ++# define BUILD_DATE __DATE__ ++#endif ++ + + gdAbout::gdAbout() + #ifdef WITH_VST +@@ -67,7 +71,7 @@ + char message[512]; + sprintf( + message, +- "Version " VERSIONE " (" __DATE__ ")\n\n" ++ "Version " VERSIONE " (" BUILD_DATE ")\n\n" + "Developed by Monocasual\n" + "Based on FLTK (%d.%d.%d), RtAudio (%s),\n" + "RtMidi (%s), libsamplerate and libsndfile\n\n" diff --git a/debian/patches/series b/debian/patches/series index dd6a725..944e3d1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ +0001-reproducible.patch 0002-spelling.patch -- 2.30.2