[SCM] juce/master: Introjucer needs to be reproducible as well...

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sat Jan 30 14:57:35 UTC 2016


The following commit has been merged in the master branch:
commit 3a616fa8f29136802552973d0142b43700a19eca
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Jan 28 21:28:48 2016 +0100

    Introjucer needs to be reproducible as well...

diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch
index 6d9918e..175f857 100644
--- a/debian/patches/reproducible-date.patch
+++ b/debian/patches/reproducible-date.patch
@@ -22,3 +22,23 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
      dateTokens.removeEmptyStrings (true);
  
      return Time (dateTokens[2].getIntValue(),
+--- juce.orig/extras/Introjucer/Source/Application/jucer_Application.h
++++ juce/extras/Introjucer/Source/Application/jucer_Application.h
+@@ -101,13 +101,16 @@
+         return initialiseLogger ("log_");
+     }
+ 
++#ifndef BUILD_DATE
++# define BUILD_DATE __DATE__
++#endif
+     bool initialiseLogger (const char* filePrefix)
+     {
+         if (logger == nullptr)
+         {
+             logger = FileLogger::createDateStampedLogger (getLogFolderName(), filePrefix, ".txt",
+                                                           getApplicationName() + " " + getApplicationVersion()
+-                                                            + "  ---  Build date: " __DATE__);
++                                                            + "  ---  Build date: " BUILD_DATE);
+             Logger::setCurrentLogger (logger);
+         }
+ 

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list