update-notifier: fix patches changes.

This commit is contained in:
Luis Guzmán 2023-04-06 18:55:06 +00:00
parent 352d2703f0
commit 9520d95c62

View file

@ -71,7 +71,7 @@ cat << EOF | patch -p1
--- a/src/update-notifier.c 2023-01-20 13:50:39.000000000 -0500 --- a/src/update-notifier.c 2023-01-20 13:50:39.000000000 -0500
+++ b/src/update-notifier.c 2023-02-07 11:08:58.883996715 -0500 +++ b/src/update-notifier.c 2023-02-07 11:08:58.883996715 -0500
@@ -168,7 +168,13 @@ @@ -168,7 +168,13 @@
// normal launch // normal launch
context = gdk_display_get_app_launch_context (gdk_display_get_default ()); context = gdk_display_get_app_launch_context (gdk_display_get_default ());
- guint32 timestamp = gdk_x11_get_server_time (gtk_widget_get_window (w)); - guint32 timestamp = gdk_x11_get_server_time (gtk_widget_get_window (w));
@ -82,23 +82,23 @@ cat << EOF | patch -p1
+ else + else
+#endif +#endif
+ timestamp = (guint32) (g_get_monotonic_time () / 1000); + timestamp = (guint32) (g_get_monotonic_time () / 1000);
appinfo = g_app_info_create_from_commandline(cmd, appinfo = g_app_info_create_from_commandline(cmd,
cmd, cmd,
G_APP_INFO_CREATE_NONE, G_APP_INFO_CREATE_NONE,
EOF EOF
# Removal of whoopsie & apport # Removal of whoopsie & apport
cat << EOF | patch -p1 cat << EOF | patch -p1
--- a/debian/control 2023-02-16 10:12:29.302592910 -0600 --- a/debian/control 2023-04-06 12:43:17.147156435 -0600
+++ b/debian/control 2023-02-16 10:15:08.276963044 -0600 +++ b/debian/control 2023-04-06 12:46:32.883071182 -0600
@@ -35,11 +35,9 @@ @@ -34,11 +34,9 @@
ubuntu-release-upgrader-gtk, ubuntu-release-upgrader-gtk,
gnome-shell <!s390x> | notification-daemon <!s390x>, gnome-shell <!s390x> | notification-daemon <!s390x>,
policykit-1 policykit-1
-Recommends: apport-gtk (>=2.8-0ubuntu3), -Recommends: apport-gtk (>=2.8-0ubuntu3),
- python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12), - python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12),
+Recommends: python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12), +Recommends: python3-aptdaemon.gtk3widgets | synaptic (>= 0.75.12),
software-properties-gtk, software-properties-gtk,
- python3-aptdaemon, - python3-aptdaemon,
- whoopsie (>= 0.2.77) - whoopsie (>= 0.2.77)
+ python3-aptdaemon + python3-aptdaemon