From bef6ef93cd898e3a7d787bb9933129ad08b2c7b6 Mon Sep 17 00:00:00 2001 From: pcworld <0188801@gmail.com> Date: Thu, 22 Jul 2021 16:30:11 +0200 Subject: [PATCH] temp/gnome-clocks: wake device after snoozing (MR 2375) Add waked for snoozing as well [ci:skip-build] already built successfully in CI --- temp/gnome-clocks/0001-waked-implementation.patch | 10 ++++++++++ temp/gnome-clocks/APKBUILD | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/temp/gnome-clocks/0001-waked-implementation.patch b/temp/gnome-clocks/0001-waked-implementation.patch index 558ce8d8c..e86254910 100644 --- a/temp/gnome-clocks/0001-waked-implementation.patch +++ b/temp/gnome-clocks/0001-waked-implementation.patch @@ -8,6 +8,8 @@ waked is notified about the update. So waked can wake the system from suspend when an alarm is fired. Fixes #100 + +Co-Authored-By: pcworld <0188801@gmail.com> --- build-aux/flatpak/org.gnome.clocks.json | 1 + src/alarm-face.vala | 2 + @@ -87,6 +89,14 @@ index 6103342..f8fa937 100644 } private void update_snooze_time (GLib.DateTime start_time) { +@@ -172,6 +181,7 @@ private class Item : Object, ContentItem { + public void snooze () { + bell.stop (); + state = State.SNOOZING; ++ WakedUtils.update_timer (id, snooze_time); + } + + public void stop () { @@ -221,6 +229,7 @@ private class Item : Object, ContentItem { update_alarm_time (); // reschedule for the next repeat } diff --git a/temp/gnome-clocks/APKBUILD b/temp/gnome-clocks/APKBUILD index a86014457..5549898bc 100644 --- a/temp/gnome-clocks/APKBUILD +++ b/temp/gnome-clocks/APKBUILD @@ -1,7 +1,7 @@ # Forked from Alpine to apply waked patch pkgname=gnome-clocks pkgver=9999_git20210323 -pkgrel=0 +pkgrel=1 _commit=13a15e8506d90b0300f9549020c66280ee4d3026 pkgdesc="Clock application designed for GNOME 3" url="https://wiki.gnome.org/Apps/Clocks" @@ -33,5 +33,5 @@ package() { } sha512sums=" ba248a5b45b4200cc08137e9510ef445f649a01481a6e934e189119edf0bab2645a8429d1396739dc8525bf65e059556c41a29a35f970a4b1a24fdacc0e5652d gnome-clocks-13a15e8506d90b0300f9549020c66280ee4d3026.tar.gz -c537f359f71aaec75406fd7055ff897b37045365742e12c14fa825154614253662a23015325a7bc571c81c0c73bd2ceccbee2b9c8b08f93d2e35d603764b3928 0001-waked-implementation.patch +50857339594ad2ab234eaaa090b1a7bfa809798cb7916149751466a7d3d583e9080e61ed1ffd4987b52f7ff4e280f2b9439eff9ad028e1bef31684d255d3ca9d 0001-waked-implementation.patch "