Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mu4e: update to 1.12.2
@ 2024-03-17  9:09 pascal-huber
  2024-03-17  9:42 ` [PR PATCH] [Updated] " pascal-huber
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17  9:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

There is a new 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: 2108 bytes --]

From 066ae8841f99b5c0a58f0b1f19a6980fcf8d827d 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/template                    |  4 ++--
 2 files changed, 6 insertions(+), 9 deletions(-)

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/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}"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] mu4e: update to 1.12.2
  2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
@ 2024-03-17  9:42 ` pascal-huber
  2024-03-17  9:46 ` pascal-huber
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17  9:42 UTC (permalink / raw)
  To: ml

[-- 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: 2793 bytes --]

From 4ff4dd554a155296768e19db6994cb09efc775a1 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 | 11 +++++++++++
 srcpkgs/mu4e/template                      |  4 ++--
 3 files changed, 17 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..2ead2a3cdf760e
--- /dev/null
+++ b/srcpkgs/mu4e/patches/mu-utils-stdout.patch
@@ -0,0 +1,11 @@
+--- 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}"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] mu4e: update to 1.12.2
  2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
  2024-03-17  9:42 ` [PR PATCH] [Updated] " pascal-huber
@ 2024-03-17  9:46 ` pascal-huber
  2024-03-17  9:49 ` pascal-huber
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17  9:46 UTC (permalink / raw)
  To: ml

[-- 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}"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] mu4e: update to 1.12.2
  2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
  2024-03-17  9:42 ` [PR PATCH] [Updated] " pascal-huber
  2024-03-17  9:46 ` pascal-huber
@ 2024-03-17  9:49 ` pascal-huber
  2024-03-17 11:12 ` pascal-huber
  2024-03-17 11:16 ` pascal-huber
  4 siblings, 0 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17  9:49 UTC (permalink / raw)
  To: ml

[-- 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 c597028e947f10a3a812e8973cc5e36b65030fbd 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}"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mu4e: update to 1.12.2
  2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
                   ` (2 preceding siblings ...)
  2024-03-17  9:49 ` pascal-huber
@ 2024-03-17 11:12 ` pascal-huber
  2024-03-17 11:16 ` pascal-huber
  4 siblings, 0 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17 11:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

New comment by pascal-huber on void-packages repository

https://github.com/void-linux/void-packages/pull/49332#issuecomment-2002412050

Comment:
This needs some further investigation. 

possible change which causes the i686 failure: https://github.com/djcb/mu/commit/c1950ae0cb2d2d8a1be6de239943379ab48c0440 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mu4e: update to 1.12.2
  2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
                   ` (3 preceding siblings ...)
  2024-03-17 11:12 ` pascal-huber
@ 2024-03-17 11:16 ` pascal-huber
  4 siblings, 0 replies; 6+ messages in thread
From: pascal-huber @ 2024-03-17 11:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

New comment by pascal-huber on void-packages repository

https://github.com/void-linux/void-packages/pull/49332#issuecomment-2002412050

Comment:
This needs some further investigation. 

The failing test: https://github.com/djcb/mu/blob/44c394316bfcbd65053b4955290966d0ba94ca09/lib/utils/tests/test-utils.cc#L69

possible change which causes the i686 failure: https://github.com/djcb/mu/commit/c1950ae0cb2d2d8a1be6de239943379ab48c0440 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-17 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-17  9:09 [PR PATCH] mu4e: update to 1.12.2 pascal-huber
2024-03-17  9:42 ` [PR PATCH] [Updated] " pascal-huber
2024-03-17  9:46 ` pascal-huber
2024-03-17  9:49 ` pascal-huber
2024-03-17 11:12 ` pascal-huber
2024-03-17 11:16 ` pascal-huber

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).