From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6JyCLwXW52JA9wAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 15:32:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MGGKLwXW52IxqAAA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 15:32:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B1311EE7E for ; Mon, 1 Aug 2022 15:32:53 +0200 (CEST) Received: from localhost ([::1]:48398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIVXQ-0003m7-9S for larch@yhetil.org; Mon, 01 Aug 2022 09:32:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVEE-00073C-Oh for guix-patches@gnu.org; Mon, 01 Aug 2022 09:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIVEE-0007Xb-Et for guix-patches@gnu.org; Mon, 01 Aug 2022 09:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIVEE-00031A-A2 for guix-patches@gnu.org; Mon, 01 Aug 2022 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56872] [PATCH] gnu: mu: Update to 1.8.7. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Aug 2022 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56872@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165935955011530 (code B ref -1); Mon, 01 Aug 2022 13:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Aug 2022 13:12:30 +0000 Received: from localhost ([127.0.0.1]:39691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIVDg-0002zr-H5 for submit@debbugs.gnu.org; Mon, 01 Aug 2022 09:12:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:46588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIVDS-0002zU-Ez for submit@debbugs.gnu.org; Mon, 01 Aug 2022 09:12:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVDR-0005vd-Sl for guix-patches@gnu.org; Mon, 01 Aug 2022 09:12:14 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:58526 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVDM-0007O2-MF for guix-patches@gnu.org; Mon, 01 Aug 2022 09:12:12 -0400 Received: from localhost ([127.0.0.1]:46712) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oIVCn-0007mX-2K for guix-patches@gnu.org; Mon, 01 Aug 2022 13:11:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To: From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dtE7x+2LipLAiMpev52meK4vuDSJDnJBEq6edPt2IwE=; b=hDLcZiKo8Jye0l8zDnLuz44EqK UeOKycfuHFDZGPVmBwNf3N63pWZ9rPKcFtNc2Wzmt3ET+Vp8iwf5UhnyhW1BU45k5zTfKoxv3zvgm LDKhbeHyS0hhuyaUloTCAhGCHbS9BoV4bKPQq5198QXwIh/QB/dZE3MKAOXYaq3SKAoKsGgYYNycO FcAcQZnBvUlTVxRSG3fNhYdI5Rr5RaozVWVKE1Sxkp4VL5n/8DAL1HrSwjLDC2A0S282OPuzuiMMv RWP1+xGJNbNzs9tItxnXmMFA6YS1LONA7kbJ1WOVwc/1zPzI3iIbDdF7v/V0SveBh3crnO9O+17fs nBSN2B6psvfiPLVAn5NYDYt6SxNJ+moBak4yWmcJGKxCa03Zsh2LGI28csLvKW+vmocNDbBmyjhKI kb/x4LwNwM4rBV9TjciFkn4P83hxp6vaIGsi19CvRgWJpBa7yuGYltse8Y5nldAuAlMYdLYYT34o7 VYWyg0LBWx9Hh6bjXA4QnzPF; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oIVDD-0005Cp-0j for guix-patches@gnu.org; Mon, 01 Aug 2022 16:11:59 +0300 From: muradm Date: Mon, 1 Aug 2022 16:11:59 +0300 Message-Id: <20220801131159.20007-1-mail@muradm.net> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659360773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dtE7x+2LipLAiMpev52meK4vuDSJDnJBEq6edPt2IwE=; b=TpeHmiQVtzhLVafOWsb1/T9x/vPSjCgxrLG9Slv+6k1zEgaX01Hs7bKPf0N2tzwuI/wa+8 yu1Bkn1s9EvpQ7Odee6biYSytHtoEeCTG80wJ7p3O85WriV+YCNXfVzwhqMMjo00LET7ru z040PW98YayxlTrb4z8g7+/LOcVUUdREA92EwovIZFcLSWagEK816QZNG77Aq3ITtkzwsO mK5MH7YtfTN7Db+kxutIVAD1lIdRvSruCRalwvpvVIyD8iZlfFVASx6m4dcNifX/o28AKm 06GzMrvEfP5t/55UBRE8vDw4AnzM2FGv4Qqp5/p1z+bXg8i1kk5U8D/AIV9ksw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659360773; a=rsa-sha256; cv=none; b=NY9b4qQlRlmSbRuF7JRjlBI6OfQ1QQes7/jc4MfmcFLmi1Bk/A5c+bdrbO9c+FRy9Of2+x zTom9vmrwPf2/1GV7v2Evb18GyTFEwgcrFn2I4gh6fC3uC4pzsn9DzHrMLzq2+7TnR+lrl F9VEDVY9iIMKiHep4F5kEoqkvuISMgVLN6Rd9h1FCA11NiC+fNR4T565fwgOb7nUDJezs3 lYgvCzwHeQRs0mv+oe0Q/iRO0Fj+qtMJpnr3vWEgPwZ0N7tItft84jRWsCpXcpUFOch3eM wzlV4HNd7PkXBFsVqEvk2Y+AwJQSsDmen/ofq9hnxBTzRZuVmTIKfm6jsA8ctg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=hDLcZiKo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=hDLcZiKo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8B1311EE7E X-Spam-Score: 2.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: YrhCkd4xQYeI since 1.8: * mu is built with meson build system. * guile support is deprecated. * gnu/packages/mail.scm (mu): Update to 1.8.7. [source]: Changing from release tarball to checkout. [build-system]: Changing to meson-build-system. [native-inputs]: Removed glib:bin and tzdata, added gnupg amd texinfo. [inputs]: Removed guile added coreutils (for /bin/rm command). [arguments]: Removed obsolete 'patch-configure, 'fix-ffi and 'check-tz-setup phases. Added 'patch-bin-in-sources for introduced /bin/rm command. Renamed and updated 'patch-bin-sh-in-tests to 'patch-bin-in-tests. --- gnu/packages/mail.scm | 68 ++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 40 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 556c5b4305..b57099de4d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1161,57 +1161,45 @@ (define-public emacs-mew (define-public mu (package (name "mu") - (version "1.6.11") + (version "1.8.7") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/djcb/mu/releases/" - "download/" version "/" - "mu-" version ".tar.xz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/djcb/mu") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "13gchks9znyw0axw1wlks7f7h4442rfagmj7kx0jm3qhvi0b5sk0")))) - (build-system gnu-build-system) + "0yfbw234yqnqfnsn5bj1hqwpy78pkxn05vl18z8nvsqdmpzal4gx")))) + (build-system meson-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("glib" ,glib "bin") ; for gtester - ("emacs" ,emacs-minimal) - ("tzdata" ,tzdata-for-tests))) ; for mu/test/test-mu-query.c + (list pkg-config + emacs-minimal + gnupg ; for tests + texinfo)) (inputs - (list xapian guile-3.0 glib gmime)) + (list coreutils glib gmime xapian)) (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%gnu-build-system-modules + `(#:modules ((guix build meson-build-system) + (guix build emacs-utils) + (guix build utils)) + #:imported-modules (,@%meson-build-system-modules (guix build emacs-utils)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-configure - ;; By default, elisp code goes to "share/emacs/site-lisp/mu4e", - ;; so our Emacs package can't find it. Setting "--with-lispdir" - ;; configure flag doesn't help because "mu4e" will be added to - ;; the lispdir anyway, so we have to modify "configure.ac". - (lambda _ - (substitute* "configure" - (("^ +lispdir=\"\\$\\{lispdir\\}/mu4e/\".*") "")))) - (add-after 'unpack 'patch-bin-sh-in-tests + (add-after 'unpack 'patch-bin-in-sources + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "lib/utils/mu-utils.cc" + (("/bin/rm") (search-input-file inputs "/bin/rm"))))) + (add-after 'patch-bin-in-sources 'patch-bin-in-tests (lambda _ (substitute* '("guile/tests/test-mu-guile.cc" - "mu/test-mu-cmd.cc" - "mu/test-mu-cmd-cfind.cc" - "mu/test-mu-query.cc") - (("/bin/sh") (which "sh"))))) - (add-before 'install 'fix-ffi - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "guile/mu.scm" - (("\"libguile-mu\"") - (format #f "\"~a/lib/libguile-mu\"" - (assoc-ref outputs "out")))))) - (add-before 'check 'check-tz-setup - (lambda* (#:key inputs #:allow-other-keys) - ;; For mu/test/test-mu-query.c - (setenv "TZDIR" - (search-input-directory inputs "share/zoneinfo")))) + "mu/tests/test-mu-cmd.cc" + "mu/tests/test-mu-cmd-cfind.cc" + "mu/tests/test-mu-query.cc") + (("/bin/sh") (which "sh"))) + (substitute* '("lib/tests/bench-indexer.cc") + (("/bin/rm") (which "rm"))))) (add-after 'install 'install-emacs-autoloads (lambda* (#:key outputs #:allow-other-keys) (emacs-generate-autoloads -- 2.37.1