Accepting request 1232766 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1232766 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meli?expand=0&rev=2
This commit is contained in:
commit
7ae01c2dc3
@ -0,0 +1,36 @@
|
|||||||
|
From 525bae71e5ad671934980bed9c4514302be31d06 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
|
||||||
|
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 <contact@uncomfyhalomacro.pl>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
3
_service
3
_service
@ -2,6 +2,7 @@
|
|||||||
<service mode="manual" name="download_files" />
|
<service mode="manual" name="download_files" />
|
||||||
<service name="cargo_vendor" mode="manual">
|
<service name="cargo_vendor" mode="manual">
|
||||||
<param name="src">meli*.tar.gz</param>
|
<param name="src">meli*.tar.gz</param>
|
||||||
<param name="update">true</param>
|
<param name="update">false</param>
|
||||||
|
<param name="respect-lockfile">true</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
25
meli.changes
25
meli.changes
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 14 13:28:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Add patch 0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 12:02:40 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Enable feature imap-trace.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 11:51:24 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Enable feature debug-tracing.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 11:32:28 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Add release-profile.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 12 11:35:30 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Use locked and un-updated versions of crate dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 7 23:05:51 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
Sat Dec 7 23:05:51 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package meli
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,11 +25,13 @@ Group: Productivity/Networking/Email/Clients
|
|||||||
URL: https://meli-email.org/
|
URL: https://meli-email.org/
|
||||||
Source0: https://github.com/meli/meli/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/meli/meli/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: vendor.tar.zst
|
Source1: vendor.tar.zst
|
||||||
|
Patch0: release-profile.patch
|
||||||
|
Patch1: 0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: dbus-1-glib-devel
|
BuildRequires: dbus-1-glib-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: sqlite3-devel
|
|
||||||
BuildRequires: mandoc-bin
|
BuildRequires: mandoc-bin
|
||||||
|
BuildRequires: sqlite3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Terminal email client with support for multiple accounts and Maildir / mbox / notmuch / IMAP / JMAP.
|
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
|
%autosetup -a1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cargo_build}
|
%{cargo_build} -F debug-tracing,imap-trace
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
10
release-profile.patch
Normal file
10
release-profile.patch
Normal file
@ -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
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:42f51a1ccc8a130ad4d5d9a9ff1d565eb5b47302952cea0eeea06188cc2c00fa
|
oid sha256:db9bcdbf2fd0873fd523a9d08abfc55ffb492626fe40a7e72f8aed21159d8688
|
||||||
size 48825859
|
size 48301574
|
||||||
|
Loading…
Reference in New Issue
Block a user