- This package requires libgpgme

OBS-URL: https://build.opensuse.org/package/show/server:mail/meli?expand=0&rev=5
This commit is contained in:
Soc Virnyl Estela 2024-12-20 11:04:17 +00:00 committed by Git OBS Bridge
commit 6b3105756b
10 changed files with 195 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -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

8
_service Normal file
View File

@ -0,0 +1,8 @@
<services>
<service mode="manual" name="download_files" />
<service name="cargo_vendor" mode="manual">
<param name="src">meli*.tar.gz</param>
<param name="update">false</param>
<param name="respect-lockfile">true</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.meli.delivery/meli/meli</param>
<param name="changesrevision">15ca25af73a623f15f55eba5d7d6c05a171f4364</param></service></servicedata>

3
meli-0.8.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:598479fb05196dd79f65c996b649f2fa5668ec79963d53d776c79fb84f43d172
size 1522185

44
meli.changes Normal file
View File

@ -0,0 +1,44 @@
-------------------------------------------------------------------
Fri Dec 20 11:03:51 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- This package requires libgpgme
-------------------------------------------------------------------
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>
- Update to version 0.8.10:
* Two years of changes is too long. See
https://github.com/meli/meli/blob/v0.8.10/CHANGELOG.md instead
- Use shipped source tarball instead of archiving git source
- Move from vendor.tar.xz to vendor.tar.zst
- Remove cargo_config
-------------------------------------------------------------------
Mon Mar 14 14:57:54 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Initial package of meli 0.7.2 for openSUSE

63
meli.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package meli
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: meli
Version: 0.8.10
Release: 0
Summary: Terminal email client
License: GPL-3.0-or-later
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: libgpgme-devel
BuildRequires: libopenssl-devel
BuildRequires: mandoc-bin
BuildRequires: sqlite3-devel
%description
Terminal email client with support for multiple accounts and Maildir / mbox / notmuch / IMAP / JMAP.
%prep
%autosetup -a1 -p1
%build
%{cargo_build} -F debug-tracing,imap-trace
%install
mkdir -p %{buildroot}%{_bindir}
cp target/release/meli %{buildroot}%{_bindir}
install -Dm644 meli/docs/meli.1 %{buildroot}%{_mandir}/man1/meli.1
install -Dm644 meli/docs/meli.conf.5 %{buildroot}%{_mandir}/man5/meli.conf.5
install -Dm644 meli/docs/meli-themes.5 %{buildroot}%{_mandir}/man5/meli-themes.5
%files
%license COPYING
%doc CHANGELOG.md README.md
%{_bindir}/meli
%{_mandir}/man1/meli.1%{?ext_man}
%{_mandir}/man5/meli-themes.5%{?ext_man}
%{_mandir}/man5/meli.conf.5%{?ext_man}
%changelog

10
release-profile.patch Normal file
View 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

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db9bcdbf2fd0873fd523a9d08abfc55ffb492626fe40a7e72f8aed21159d8688
size 48301574