Patch to disable collection of usage data by default
authorIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Mon, 26 Mar 2018 15:24:39 +0000 (17:24 +0200)
committerIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Mon, 26 Mar 2018 15:25:11 +0000 (17:25 +0200)
debian/patches/debian_no-usagedata.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/debian_no-usagedata.patch b/debian/patches/debian_no-usagedata.patch
new file mode 100644 (file)
index 0000000..4972d95
--- /dev/null
@@ -0,0 +1,23 @@
+Description: default to not-sending usage-data to ROLI
+ we prefer to have privacy enabled by default...
+Author: IOhannes m zmölnig
+Forwarded: no
+Last-Update: 2018-03-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/extras/Projucer/Source/Application/Windows/jucer_ApplicationUsageDataWindowComponent.h
++++ juce/extras/Projucer/Source/Application/Windows/jucer_ApplicationUsageDataWindowComponent.h
+@@ -68,10 +68,10 @@
\r
+             auto* controller = ProjucerApplication::getApp().licenseController.get();\r
\r
+-            if (controller != nullptr && controller->getState().applicationUsageDataState == LicenseState::ApplicationUsageData::disabled)\r
+-                shareApplicationUsageDataToggle->setToggleState (false, dontSendNotification);\r
+-            else\r
++            if (controller != nullptr && controller->getState().applicationUsageDataState == LicenseState::ApplicationUsageData::enabled)\r
+                 shareApplicationUsageDataToggle->setToggleState (true, dontSendNotification);\r
++            else\r
++                shareApplicationUsageDataToggle->setToggleState (false, dontSendNotification);\r
\r
+             addAndMakeVisible (shareApplicationUsageDataLabel);\r
+             shareApplicationUsageDataLabel.setFont (Font (14.0f));\r
index 09aa0f87bed1b9c5606081b2b8f481a044c51c67..1c4e21a578fcee3422d11bf39034a8cb8dad92d9 100644 (file)
@@ -3,5 +3,6 @@ LV2-audioprocessor.patch
 debian_fixed-defines.patch
 debian_gpl_variant.patch
 debian_no-update-check.patch
+debian_no-usagedata.patch
 debian_system_modules.patch
 debian_python3.patch