From 32ea25d9482a29f319f7ce2aff03fdaf28b615c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig=20=28Debian/GNU=29?= Date: Mon, 14 May 2018 09:56:35 +0200 Subject: [PATCH] Dropped build-time patch for reproducible builds the build-time is fixed via envvars to the compiler. so there's little use in carrying around a patch that is not going to be applied upstream... --- debian/patches/reproducible-date.patch | 54 -------------------------- debian/patches/series | 1 - 2 files changed, 55 deletions(-) delete mode 100644 debian/patches/reproducible-date.patch diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch deleted file mode 100644 index 89a93df4..00000000 --- a/debian/patches/reproducible-date.patch +++ /dev/null @@ -1,54 +0,0 @@ -Description: allow reproducible date/time - if BUILD_DATE is defined use that instead of __DATE__. - this allows for making reproducible build. -Author: IOhannes m zmölnig -Forwarded: https://github.com/julianstorer/JUCE/pull/124 -Last-Update: 2015-01-21 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- juce.orig/modules/juce_core/time/juce_Time.cpp -+++ juce/modules/juce_core/time/juce_Time.cpp -@@ -608,14 +608,20 @@ - return 0; - } - -+#ifndef BUILD_DATE -+# define BUILD_DATE __DATE__ -+#endif -+#ifndef BUILD_TIME -+# define BUILD_TIME __TIME__ -+#endif - Time Time::getCompilationDate() - { - StringArray dateTokens, timeTokens; - -- dateTokens.addTokens (__DATE__, true); -+ dateTokens.addTokens (BUILD_DATE, true); - dateTokens.removeEmptyStrings (true); - -- timeTokens.addTokens (__TIME__, ":", StringRef()); -+ timeTokens.addTokens (BUILD_TIME, ":", StringRef()); - - return Time (dateTokens[2].getIntValue(), - getMonthNumberForCompileDate (dateTokens[0]), ---- juce.orig/extras/Projucer/Source/Application/jucer_Application.cpp -+++ juce/extras/Projucer/Source/Application/jucer_Application.cpp -@@ -137,6 +137,9 @@ - tooltipWindow.setMillisecondsBeforeTipAppears (1200); - } - -+#ifndef BUILD_DATE -+# define BUILD_DATE __DATE__ -+#endif - bool ProjucerApplication::initialiseLogger (const char* filePrefix) - { - if (logger == nullptr) -@@ -149,7 +152,7 @@ - - logger = FileLogger::createDateStampedLogger (folder, filePrefix, ".txt", - getApplicationName() + " " + getApplicationVersion() -- + " --- Build date: " __DATE__); -+ + " --- Build date: " BUILD_DATE); - Logger::setCurrentLogger (logger); - } - diff --git a/debian/patches/series b/debian/patches/series index 9a72c8a3..7e16e095 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,4 @@ jack-client-name.patch -reproducible-date.patch LV2-audioprocessor.patch debian_fixed-defines.patch debian_gpl_variant.patch -- 2.30.2