diff --git a/0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch b/0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch new file mode 100644 index 0000000..11a2ff0 --- /dev/null +++ b/0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch @@ -0,0 +1,36 @@ +From 525bae71e5ad671934980bed9c4514302be31d06 Mon Sep 17 00:00:00 2001 +From: Soc Virnyl Estela +Date: Sat, 14 Dec 2024 21:25:10 +0800 +Subject: [PATCH] Revert "accounts: cancel any previous mailbox fetches" + +This reverts commit 53b0d035e46d0178adb3c6620a5d5af02cc892de. + +Signed-off-by: Soc Virnyl Estela +--- + meli/src/accounts.rs | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/meli/src/accounts.rs b/meli/src/accounts.rs +index 7557da4c..0560b5ea 100644 +--- a/meli/src/accounts.rs ++++ b/meli/src/accounts.rs +@@ -912,16 +912,6 @@ impl Account { + } + MailboxStatus::None => { + if force && !self.active_jobs.values().any(|j| j.is_fetch(mailbox_hash)) { +- for ev in self.active_jobs.values().filter_map(|j| { +- if j.is_any_fetch() && !j.is_fetch(mailbox_hash) { +- j.cancel() +- } else { +- None +- } +- }) { +- self.main_loop_handler +- .send(ThreadEvent::UIEvent(UIEvent::StatusEvent(ev))); +- } + self.mailbox_entries + .entry(mailbox_hash) + .and_modify(|entry| { +-- +2.47.1 + diff --git a/_service b/_service index 12f7414..1dceae4 100644 --- a/_service +++ b/_service @@ -2,6 +2,7 @@ meli*.tar.gz - true + false + true diff --git a/meli.changes b/meli.changes index 4eeffba..7c696b1 100644 --- a/meli.changes +++ b/meli.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Dec 14 13:28:10 UTC 2024 - Soc Virnyl Estela + +- Add patch 0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch + +------------------------------------------------------------------- +Fri Dec 13 12:02:40 UTC 2024 - Soc Virnyl Estela + +- Enable feature imap-trace. + +------------------------------------------------------------------- +Fri Dec 13 11:51:24 UTC 2024 - Soc Virnyl Estela + +- Enable feature debug-tracing. + +------------------------------------------------------------------- +Fri Dec 13 11:32:28 UTC 2024 - Soc Virnyl Estela + +- Add release-profile.patch + +------------------------------------------------------------------- +Thu Dec 12 11:35:30 UTC 2024 - Soc Virnyl Estela + +- Use locked and un-updated versions of crate dependencies + ------------------------------------------------------------------- Sat Dec 7 23:05:51 UTC 2024 - Soc Virnyl Estela diff --git a/meli.spec b/meli.spec index 1c3ede2..6dd965a 100644 --- a/meli.spec +++ b/meli.spec @@ -1,7 +1,7 @@ # # spec file for package meli # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,11 +25,13 @@ Group: Productivity/Networking/Email/Clients URL: https://meli-email.org/ Source0: https://github.com/meli/meli/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.zst +Patch0: release-profile.patch +Patch1: 0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch BuildRequires: cargo-packaging BuildRequires: dbus-1-glib-devel BuildRequires: libopenssl-devel -BuildRequires: sqlite3-devel BuildRequires: mandoc-bin +BuildRequires: sqlite3-devel %description Terminal email client with support for multiple accounts and Maildir / mbox / notmuch / IMAP / JMAP. @@ -38,7 +40,7 @@ Terminal email client with support for multiple accounts and Maildir / mbox / no %autosetup -a1 -p1 %build -%{cargo_build} +%{cargo_build} -F debug-tracing,imap-trace %install mkdir -p %{buildroot}%{_bindir} diff --git a/release-profile.patch b/release-profile.patch new file mode 100644 index 0000000..1f60815 --- /dev/null +++ b/release-profile.patch @@ -0,0 +1,10 @@ +--- a/Cargo.toml 2024-12-13 19:30:59.062868522 +0800 ++++ b/Cargo.toml 2024-12-13 19:31:09.232899444 +0800 +@@ -10,5 +10,5 @@ + lto = "fat" + codegen-units = 1 + opt-level = "s" +-debug = false +-strip = true ++debug = true ++strip = false diff --git a/vendor.tar.zst b/vendor.tar.zst index bdde572..6eae150 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42f51a1ccc8a130ad4d5d9a9ff1d565eb5b47302952cea0eeea06188cc2c00fa -size 48825859 +oid sha256:db9bcdbf2fd0873fd523a9d08abfc55ffb492626fe40a7e72f8aed21159d8688 +size 48301574