From: IOhannes m zmölnig Date: Fri, 6 Nov 2015 20:38:27 +0000 (+0100) Subject: Allow setting of DATE in about-dialog X-Git-Tag: archive/raspbian/0.15.4+ds1-1+rpi1^2~186 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a18cc99af0c07c9929374e1106215bfe423764fc;p=giada.git Allow setting of DATE in about-dialog --- 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