From 50806140a2ef7c9f4be21f0b8b61c57c802152f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Thu, 16 Feb 2023 16:38:11 +0000
Subject: [PATCH] update-notifier: remove whoopsie and apport-gtk from
 recommended dependencies.

---
 helpers/make-update-notifier | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/helpers/make-update-notifier b/helpers/make-update-notifier
index 76cf3e0b..74329334 100644
--- a/helpers/make-update-notifier
+++ b/helpers/make-update-notifier
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=7
+VERSION=8
 COMPONENT=main
 
 . ./config
@@ -86,6 +86,26 @@ cat << EOF | patch -p1
  						G_APP_INFO_CREATE_NONE,
 EOF
 
+# Removal of whoopsie & apport
+cat << EOF | patch -p1
+--- a/debian/control	2023-02-16 10:12:29.302592910 -0600
++++ b/debian/control	2023-02-16 10:15:08.276963044 -0600
+@@ -35,11 +35,9 @@
+          ubuntu-release-upgrader-gtk,
+          gnome-shell <!s390x> | notification-daemon <!s390x>,
+          policykit-1
+-Recommends: apport-gtk (>=2.8-0ubuntu3), 
+-            python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12), 
++Recommends: python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12), 
+             software-properties-gtk, 
+-            python3-aptdaemon,
+-            whoopsie (>= 0.2.77)
++            python3-aptdaemon
+ Description: Daemon which notifies about package updates
+  Puts an icon in the user's notification area when package updates are
+  available.
+EOF
+
 changelog "Disabled hp-firmware handling and ubuntu-drivers"
 
 compile
-- 
GitLab