diff options
author | Ingo Meyer | 2022-03-01 13:14:28 +0100 |
---|---|---|
committer | Ingo Meyer | 2022-03-01 13:14:28 +0100 |
commit | 2705cca830a4b7ce4c9319e3700edc35f3a6c387 (patch) | |
tree | e350fff1106500c62dd438f9bc9c15509e09994c | |
parent | 8a05e4515675ce61d49e725b50607c14e3afce42 (diff) | |
download | aur-2705cca830a4b7ce4c9319e3700edc35f3a6c387.tar.gz |
Add a patch for fixing waiting time after calling the idler stop method
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | idler_fix.patch | 14 |
3 files changed, 24 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = ayatana-webmail-no-indicator-messages pkgdesc = Webmail notifications and actions for any desktop without ayatana-indicator-messages dependency pkgver = 22.2.26 - pkgrel = 2 + pkgrel = 3 url = https://tari.in/www/software/ayatana-webmail/ install = ayatana-webmail.install arch = any @@ -27,7 +27,9 @@ pkgbase = ayatana-webmail-no-indicator-messages replaces = unity-mail source = ayatana-webmail-22.2.26.tar.gz::https://github.com/AyatanaIndicators/ayatana-webmail/archive/22.2.26.tar.gz source = status_icon.patch + source = idler_fix.patch md5sums = 98ee497c3d3fa3122524c0f654163bc0 md5sums = eb8721b75b144ab35a8e18bb352799ab + md5sums = 403d6b204f455d4a7ebe3dbdec8691da pkgname = ayatana-webmail-no-indicator-messages @@ -4,7 +4,7 @@ pkgname="ayatana-webmail-no-indicator-messages" pkgver="22.2.26" -pkgrel="2" +pkgrel="3" pkgdesc="Webmail notifications and actions for any desktop without ayatana-indicator-messages dependency" arch=("any") url="https://tari.in/www/software/ayatana-webmail/" @@ -14,9 +14,11 @@ makedepends=("python-setuptools" "python-polib") optdepends=("ayatana-indicator-messages: Support for indicator messages") install="ayatana-webmail.install" source=("ayatana-webmail-${pkgver}.tar.gz::https://github.com/AyatanaIndicators/ayatana-webmail/archive/${pkgver}.tar.gz" - "status_icon.patch") + "status_icon.patch" + "idler_fix.patch") md5sums=("98ee497c3d3fa3122524c0f654163bc0" - "eb8721b75b144ab35a8e18bb352799ab") + "eb8721b75b144ab35a8e18bb352799ab" + "403d6b204f455d4a7ebe3dbdec8691da") provides=("ayatana-webmail=${pkgver}") replaces=("unity-mail") conflicts=("ayatana-webmail" "unity-mail") @@ -24,7 +26,8 @@ conflicts=("ayatana-webmail" "unity-mail") prepare() { cd ayatana-webmail-${pkgver} - patch -Np1 -i "${srcdir}/status_icon.patch" + patch -Np1 -i "${srcdir}/status_icon.patch" && \ + patch -Np1 -i "${srcdir}/idler_fix.patch" } build() diff --git a/idler_fix.patch b/idler_fix.patch new file mode 100644 index 000000000000..3cdae81e49ec --- /dev/null +++ b/idler_fix.patch @@ -0,0 +1,14 @@ +diff --git a/ayatanawebmail/idler.py b/ayatanawebmail/idler.py +index 8f956ea..3e852a1 100755 +--- a/ayatanawebmail/idler.py ++++ b/ayatanawebmail/idler.py +@@ -22,6 +22,9 @@ class Idler(object): + + def stop(self): + ++ if self.oConnection.oImap is not None: ++ # Send a NOOP command to interrupt the IDLE mode and free the blocked thread ++ self.oConnection.oImap.noop() + self.oEvent.set() + + def join(self): |