[SCM] giada/master: Allow setting of DATE in about-dialog

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Fri Nov 6 21:39:08 UTC 2015


The following commit has been merged in the master branch:
commit a18cc99af0c07c9929374e1106215bfe423764fc
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Fri Nov 6 21:38:27 2015 +0100

    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

-- 
giada packaging



More information about the pkg-multimedia-commits mailing list