Github messages for voidlinux
 help / color / mirror / Atom feed
From: pascal-huber <pascal-huber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mu4e: update to 1.10.3
Date: Wed, 26 Apr 2023 21:15:32 +0200	[thread overview]
Message-ID: <20230426191532.rQYU2eujIzu1xCpFxPuEJwvp9lYsrEf7Lu4ivrCm4eE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43116@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 887 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_1.10.0_1
https://github.com/void-linux/void-packages/pull/43116

mu4e: update to 1.10.3
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl  (crossbuild)
  - aarch64 (crossbuild)
  - armv7l (crossbuild)

#### Notes
 - changed build style to `meson` as it is the primary build option of `mu`
 - removed `guile` build option because it depends on `guile-3.x`.
 - users will have to re-initialize their database (`mu-init(1)`)


A patch file from https://github.com/void-linux/void-packages/pull/43116.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mu4e_1.10.0_1-43116.patch --]
[-- Type: text/x-diff, Size: 2533 bytes --]

From 88175071b1e8d98d8f82caebf921265a6d2128ea Mon Sep 17 00:00:00 2001
From: Pascal Huber <pascal.huber@resolved.ch>
Date: Thu, 30 Mar 2023 16:02:31 +0200
Subject: [PATCH] mu4e: update to 1.10.3

---
 srcpkgs/mu4e/patches/fix-root-test.patch | 20 ++++++++++++++++++++
 srcpkgs/mu4e/template                    | 16 +++++-----------
 2 files changed, 25 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/mu4e/patches/fix-root-test.patch

diff --git a/srcpkgs/mu4e/patches/fix-root-test.patch b/srcpkgs/mu4e/patches/fix-root-test.patch
new file mode 100644
index 000000000000..009a30b4b1e4
--- /dev/null
+++ b/srcpkgs/mu4e/patches/fix-root-test.patch
@@ -0,0 +1,20 @@
+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
+--- a/lib/tests/test-mu-store.cc
++++ b/lib/tests/test-mu-store.cc
+@@ -470,13 +470,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",
+-						   {}, {});
+-		g_assert_false(!!store);
+-	}
+ }
+ 
+ int
diff --git a/srcpkgs/mu4e/template b/srcpkgs/mu4e/template
index 0cf2c72e00a2..43938e2dacba 100644
--- a/srcpkgs/mu4e/template
+++ b/srcpkgs/mu4e/template
@@ -1,22 +1,16 @@
 # Template file for 'mu4e'
 pkgname=mu4e
-version=1.8.14
+version=1.10.3
 revision=1
-build_style=gnu-configure
-configure_args="--enable-mu4e $(vopt_if guile --enable-guile)"
-hostmakedepends="automake emacs libtool pkg-config texinfo glib-devel"
-makedepends="xapian-core-devel gmime3-devel libuuid-devel $(vopt_if guile guile)"
+build_style=meson
+hostmakedepends="emacs libtool pkg-config texinfo glib-devel"
+makedepends="xapian-core-devel gmime3-devel"
 short_desc="Maildir-utils indexer/searcher and associated Emacs client"
 maintainer="Benjamin Slade <slade@lambda-y.net>"
 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=1a9c5e15b5e8b67622f7e58dfadd453abf232c0b715bd5f89b955e704455219c
+checksum=c83970fcb6163c27d135c207d1a5eb6f38a5732161741a4a88da2ae894e0245f
 replaces="mu<${version}"
 provides="mu-${version}_${revision}"
-
-pre_configure() {
-	sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
-	autoreconf -fi
-}

  parent reply	other threads:[~2023-04-26 19:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 14:18 [PR PATCH] mu4e: update to 1.10.0 pascal-huber
2023-04-01 10:31 ` [PR PATCH] [Updated] " pascal-huber
2023-04-03 11:03 ` pascal-huber
2023-04-03 11:04 ` mu4e: update to 1.10.1 pascal-huber
2023-04-03 11:05 ` pascal-huber
2023-04-05 16:21 ` [PR PATCH] [Updated] " pascal-huber
2023-04-11  8:48 ` pascal-huber
2023-04-11  8:48 ` mu4e: update to 1.10.2 pascal-huber
2023-04-15 23:05 ` [PR PATCH] [Updated] " pascal-huber
2023-04-15 23:05 ` mu4e: update to 1.10.3 pascal-huber
2023-04-26 19:15 ` pascal-huber [this message]
2023-04-27 19:16 ` [PR PATCH] [Merged]: " Duncaen

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=20230426191532.rQYU2eujIzu1xCpFxPuEJwvp9lYsrEf7Lu4ivrCm4eE@z \
    --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).