From: pascal-huber <pascal-huber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mu4e: update to 1.12.2
Date: Sun, 17 Mar 2024 10:46:44 +0100 [thread overview]
Message-ID: <20240317094644.18F4F21BD9@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49332@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
There is an updated pull request by pascal-huber against master on the void-packages repository
https://github.com/pascal-huber/void-packages mu4e
https://github.com/void-linux/void-packages/pull/49332
mu4e: update to 1.12.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86-64_glibc
#### Notes
- New database schema, users will have to re-initialize their database, see `MU INIT(1)`.
A patch file from https://github.com/void-linux/void-packages/pull/49332.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mu4e-49332.patch --]
[-- Type: text/x-diff, Size: 2880 bytes --]
From cfa8eac6a5a8975cb2d82d31f8ebc97e6a1f1def Mon Sep 17 00:00:00 2001
From: Pascal Huber <pascal.huber@resolved.ch>
Date: Sun, 17 Mar 2024 09:56:19 +0100
Subject: [PATCH] mu4e: update to 1.12.2
---
srcpkgs/mu4e/patches/fix-root-test.patch | 11 ++++-------
srcpkgs/mu4e/patches/mu-utils-stdout.patch | 12 ++++++++++++
srcpkgs/mu4e/template | 4 ++--
3 files changed, 18 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/mu4e/patches/mu-utils-stdout.patch
diff --git a/srcpkgs/mu4e/patches/fix-root-test.patch b/srcpkgs/mu4e/patches/fix-root-test.patch
index 009a30b4b1e49f..4e006c41729f99 100644
--- a/srcpkgs/mu4e/patches/fix-root-test.patch
+++ b/srcpkgs/mu4e/patches/fix-root-test.patch
@@ -1,20 +1,17 @@
-Remove a test which fails when run as root.
-
diff --git a/lib/tests/test-mu-store.cc b/lib/tests/test-mu-store.cc
-index 872c56e3..c4e7eeb2 100644
+index da7f1202..7ff47b81 100644
--- a/lib/tests/test-mu-store.cc
+++ b/lib/tests/test-mu-store.cc
-@@ -470,13 +470,6 @@ test_store_fail()
+@@ -555,12 +555,6 @@ test_store_fail()
const auto store = Store::make("/root/non-existent-path/12345");
g_assert_false(!!store);
}
-
- {
- const auto store = Store::make_new("/../../root/non-existent-path/12345",
-- "/../../root/non-existent-path/54321",
-- {}, {});
+- "/../../root/non-existent-path/54321");
- g_assert_false(!!store);
- }
}
- int
+
diff --git a/srcpkgs/mu4e/patches/mu-utils-stdout.patch b/srcpkgs/mu4e/patches/mu-utils-stdout.patch
new file mode 100644
index 00000000000000..7348912e209d82
--- /dev/null
+++ b/srcpkgs/mu4e/patches/mu-utils-stdout.patch
@@ -0,0 +1,12 @@
+# source: https://git.alpinelinux.org/aports/plain/community/mu/mu-utils-stdout.patch
+--- a/lib/utils/mu-utils.hh
++++ b/lib/utils/mu-utils.hh
+@@ -265,7 +265,7 @@
+ template<typename...T>
+ static inline bool mu_print_encoded(fmt::format_string<T...> frm, T&&... args) noexcept {
+ return fputs_encoded(fmt::format(frm, std::forward<T>(args)...),
+- ::stdout);
++ stdout);
+ }
+
+ /**
diff --git a/srcpkgs/mu4e/template b/srcpkgs/mu4e/template
index 97836555b40ab1..9ef0286594c8fa 100644
--- a/srcpkgs/mu4e/template
+++ b/srcpkgs/mu4e/template
@@ -1,6 +1,6 @@
# Template file for 'mu4e'
pkgname=mu4e
-version=1.10.8
+version=1.12.2
revision=1
build_style=meson
hostmakedepends="emacs libtool pkg-config texinfo glib-devel"
@@ -11,6 +11,6 @@ license="GPL-3.0-or-later"
homepage="https://www.djcbsoftware.nl/code/mu/"
changelog="https://github.com/djcb/mu/raw/master/NEWS.org"
distfiles="https://github.com/djcb/mu/releases/download/v${version}/mu-${version}.tar.xz"
-checksum=6b11d8add2a7eeb0ebc4a5c7a6b9a9b3e1be8c5175c0c1c019a7ad8d7e363589
+checksum=7b1a1d840f120a1e777b366e6d52bda5a203dd31d831a5a285fbaef275c6b618
replaces="mu<${version}"
provides="mu-${version}_${revision}"
next prev parent reply other threads:[~2024-03-17 9:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-17 9:09 [PR PATCH] " pascal-huber
2024-03-17 9:42 ` [PR PATCH] [Updated] " pascal-huber
2024-03-17 9:46 ` pascal-huber [this message]
2024-03-17 9:49 ` pascal-huber
2024-03-17 11:12 ` pascal-huber
2024-03-17 11:16 ` pascal-huber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240317094644.18F4F21BD9@inbox.vuxu.org \
--to=pascal-huber@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).