- Update to version 20241212:

- Features
    * show message preview in compose view
    * add trailing commas when editing addresses
  - Bug Fixes
    * expando: fix overflow
    * Spaces can be wide
    * Remove BOM from UTF-8 text
    * Bug with wrong fingerprints in certificate_file
    * fix postponed sorting assertion failure
    * fix: save_attachment_open() when overwriting
    * add text-wrapping to compose message preview pager
    * edit_headers: cleanup temporary file on error
    * expando: fix crash on empty %[] date
    * expando: fix container formatting
    * browser: fix 'tag-' display
    * query: fix memory leak
    * fix more arrow_cursor + search
  - Changed Config
    * Config Renames:
        $pgp_sort_keys -> $pgp_key_sort
        $sidebar_sort_method -> $sidebar_sort
        $sort_alias -> $alias_sort
        $sort_browser -> $browser_sort
    * Changed Defaults:
        set alias_format = "%3i %f%t %-15a %-56A | %C%> %Y"
        set query_format = "%3i %t %-25N %-25E | %C%> %Y"
  - Translations
    * 100% German
    * 100% Lithuanian
    * 100% Serbian
    * 100% Turkish
    * 89% French
    * 39% Chinese (Traditional)
  - Docs
    * alias tags
  - Build
    * only use struct tm.tm_gmtoff if available
  - Code
    * refactor memory allocation
    * remove unused fields from ComposeSharedData
    * refactor 'sort' constants
    * add mutt_window_swap()
    * unify Menu data
    * move config to libraries
    * unify Alias/Query
    * expando factor out callbacks
    * refactor simple_dialog_new()
    * test: add TEST_CHECK_NUM_EQ()
    * fopen: tidy read-only

OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=75
This commit is contained in:
David Sterba 2024-12-18 16:01:19 +00:00 committed by Git OBS Bridge
commit 2a3c8dc188
11 changed files with 1878 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

3
20240425.tar.gz Normal file
View File

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

BIN
20240425.tar.gz.sig Normal file

Binary file not shown.

3
20241114.tar.gz Normal file
View File

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

BIN
20241114.tar.gz.sig Normal file

Binary file not shown.

3
20241212.tar.gz Normal file
View File

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

BIN
20241212.tar.gz.sig Normal file

Binary file not shown.

1630
neomutt.changes Normal file

File diff suppressed because it is too large Load Diff

41
neomutt.keyring Normal file
View File

@ -0,0 +1,41 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFcHt9oBEAChAODr8GN9Kxxzxv50jOC+5Sk1jmQsfNec8jDV7s63lpnCX2eC
6cBsyhRUNoFMQoUqLs/KUhSpBjaOSaK3ujitOX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s8PU7oaMJ1yFx1ExOBFahcowaAunr
6rUQvFaDed+TKaLAurmR3F1pKpWQ/UkT6YExPYadyhj+YrtuYgLjAyXbvh3HKgBj
UcIFKp3lX1+KDZXPHzt0Yc1sdCZcPXjvainkvRi2N1W0NJLhnTyydDcGKA==
=efml
-----END PGP PUBLIC KEY BLOCK-----

174
neomutt.spec Normal file
View File

@ -0,0 +1,174 @@
#
# spec file for package neomutt
#
# 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: neomutt
Version: 20241212
Release: 0
Summary: A command line mail reader (or MUA), a fork of Mutt with added features
License: GPL-2.0-or-later
Group: Productivity/Networking/Email/Clients
URL: https://neomutt.org
Source: https://github.com/neomutt/neomutt/archive/%{version}.tar.gz
Source2: https://github.com/neomutt/neomutt/releases/download/%{version}/%{version}.tar.gz.sig
Source3: https://flatcap.org/id/richard.russon.neomutt.asc#/%{name}.keyring
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cyrus-sasl-devel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gawk
BuildRequires: gdbm-devel
BuildRequires: gettext
BuildRequires: krb5-devel
BuildRequires: libdb-4_8-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpgme-devel
BuildRequires: libidn2-devel
BuildRequires: libkyotocabinet-devel
BuildRequires: libtool
BuildRequires: lmdb-devel
BuildRequires: lua-devel
BuildRequires: ncurses-devel
BuildRequires: notmuch-devel
BuildRequires: openssl-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: w3m
BuildRequires: xsltproc
BuildRequires: zlib-devel
Recommends: cyrus-sasl-plain
Recommends: neomutt-doc
Recommends: neomutt-lang
%description
NeoMutt is a command line mail reader based on Mutt, brings together many
new features. Can be installed in parallel with mutt.
%package contrib
Summary: Contrib scripts for Neomutt
Group: Productivity/Networking/Email/Clients
Requires: %{name} = %{version}
Recommends: perl
Recommends: python3
BuildArch: noarch
%description contrib
Examples, scripts and helpers that are distributed with Neomutt but are not
maintained by the Neomutt authors.
%package doc
Summary: Additional documentation for neomutt
Group: Documentation/Other
Requires: %{name} = %{version}
#Recommends: perl(Expect)
BuildArch: noarch
%description doc
Documentation for NeoMutt with neomuttrc examples for different environments
and requirements.
%lang_package macro
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
./configure --prefix=%{_prefix} \
--docdir=%{_docdir}/neomutt \
--with-mailpath=%{_localstatedir}/mail \
--kyotocabinet \
--lua \
--lmdb \
--gnutls \
--gpgme \
--notmuch \
--sasl \
--gss \
--idn2 \
--pcre2 \
--zlib
make %{?_smp_mflags}
%install
%make_install
%find_lang neomutt
# Remove MacOS-specific files
rm -rf %{buildroot}%{_datadir}/%{name}/account-command/macos-keychain/
# Fix Python interpreter path
# https://en.opensuse.org/openSUSE:Packaging_Python#Dependency_on_/usr/bin/python3
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/oauth2/*
%files
%config(noreplace) %{_sysconfdir}/neomuttrc
%license %{_docdir}/%{name}/LICENSE.md
%{_bindir}/neomutt
%{_mandir}/man1/neomutt.1%{?ext_man}
%{_mandir}/man5/neomuttrc.5%{?ext_man}
%if 0%{?suse_version} && 0%{?suse_version} < 1550
%dir %{_prefix}/libexec
%endif
%dir %{_prefix}/libexec/neomutt
%{_prefix}/libexec/neomutt/pgpewrap
%{_prefix}/libexec/neomutt/smime_keys
%{_mandir}/man1/pgpewrap_neomutt.1%{?ext_man}
%{_mandir}/man1/smime_keys_neomutt.1%{?ext_man}
%{_mandir}/man5/mbox_neomutt.5%{?ext_man}
%{_mandir}/man5/mmdf_neomutt.5%{?ext_man}
# this file is used from the default /etc/neomuttrc and moved from neomutt-doc
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/manual.txt
# helper scripts and instructions
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/account-command/
%dir %{_datadir}/%{name}/account-command/gpg-json/
%doc %{_datadir}/%{name}/account-command/README.md
%{_datadir}/%{name}/account-command/gpg-json/credentials.sh
%doc %{_datadir}/%{name}/account-command/gpg-json/README.md
%files contrib
%dir %{_datadir}/%{name}/oauth2/
%dir %{_datadir}/%{name}/vim-keys/
%{_datadir}/%{name}/oauth2/mutt_oauth2.py
%doc %{_datadir}/%{name}/oauth2/README.md
%doc %{_datadir}/%{name}/vim-keys/vim-keys.rc
%doc %{_datadir}/%{name}/vim-keys/README.md
%files doc
%dir %{_docdir}/%{name}/
%dir %doc %{_datadir}/%{name}/colorschemes/
%dir %doc %{_datadir}/%{name}/logo/
%doc %{_docdir}/%{name}/AUTHORS.md
%doc %{_docdir}/%{name}/ChangeLog.md
%doc %{_docdir}/%{name}/CODE_OF_CONDUCT.md
%doc %{_datadir}/%{name}/colorschemes/*.neomuttrc
%doc %{_docdir}/%{name}/CONTRIBUTING.md
%doc %{_docdir}/%{name}/*.html
%doc %{_docdir}/%{name}/INSTALL.md
%doc %{_datadir}/%{name}/logo/neomutt*
%doc %{_datadir}/%{name}/mime.types
%doc %{_docdir}/%{name}/README*
%doc %{_docdir}/%{name}/SECURITY.md
%doc %{_docdir}/%{name}/smime-notes.txt
%files lang -f %{name}.lang
%changelog