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 IF2DCQbc52JflwAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 15:58:30 +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 SGiHCQbc52IF7wAA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 15:58:30 +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 C53761FAE0 for ; Mon, 1 Aug 2022 15:58:29 +0200 (CEST) Received: from localhost ([::1]:33132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIVw8-0007lL-M9 for larch@yhetil.org; Mon, 01 Aug 2022 09:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIVkA-0003Ss-IG for guix-patches@gnu.org; Mon, 01 Aug 2022 09:46:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIVkA-0005IO-7d for guix-patches@gnu.org; Mon, 01 Aug 2022 09:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIVkA-000685-40 for guix-patches@gnu.org; Mon, 01 Aug 2022 09:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56872] [PATCH v3] 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:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56872@debbugs.gnu.org Received: via spool by 56872-submit@debbugs.gnu.org id=B56872.165936150723462 (code B ref 56872); Mon, 01 Aug 2022 13:46:02 +0000 Received: (at 56872) by debbugs.gnu.org; 1 Aug 2022 13:45:07 +0000 Received: from localhost ([127.0.0.1]:39792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIVjG-00066K-DF for submit@debbugs.gnu.org; Mon, 01 Aug 2022 09:45:06 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:35666 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIVjB-00065K-5t for 56872@debbugs.gnu.org; Mon, 01 Aug 2022 09:45:04 -0400 Received: from localhost ([127.0.0.1]:55640) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oIVif-0007n0-0h for 56872@debbugs.gnu.org; Mon, 01 Aug 2022 13:44:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=biWlONADaJj18s6Q1NhHAF99sjy8cAv26yUyxMXyJtY=; b=qLefJ65fLbhNmo3XnRMfNLJVn9 hl6eiv7kbbrnLmqOdXjiLcAqceAcnU2Y85fvFDHAwHo5MFV8IytUbCymf8HNj1NVUBhbfiY7teDSo fQtc9fAs61RAPqMo3UkIFcm6VtmOmlHAd2XD8BQVsUWs8hJ9Gi5CA/RLwZ528iWrbHY3/Y+8keJ+L Lg8wf5RPAxqWp96bXj639sNLJerYDsgjtPpDnj944KO9iB0LmAscfNiRq6XTubzPPvosxGTU9Zyix zp1/zN7nX+GBa+WNtaWwFWsEcghUF6T/z/C0JJMefSvovihy9DWhn1hBZ4pRyMY8yXDa455hkYoft Svh3VuF889PVCTEmttDkTEHsfew/QLQ0t7Ql5ZSH0Mff/kEID4qnKthbJICKlvymbrMaE1iR8Pw53 OgIoT3d1/HvIspLmq/PRK/4X8PSAlRGFvLW4Td0n1aEuKyn2UtZfiC5s2RnYLEliTE1sTY2EeZBFO bpGws7oFuGb3s4dcbDEYBOfO; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oIVj4-0006o2-34 for 56872@debbugs.gnu.org; Mon, 01 Aug 2022 16:44:54 +0300 From: muradm Date: Mon, 1 Aug 2022 16:44:54 +0300 Message-Id: <20220801134454.26158-1-mail@muradm.net> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220801131159.20007-1-mail@muradm.net> References: <20220801131159.20007-1-mail@muradm.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1659362309; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=biWlONADaJj18s6Q1NhHAF99sjy8cAv26yUyxMXyJtY=; b=Oc402MJOR0FZzJyVdC9vyGffmHNiJ1y8h7WPuQXVdCRkqmNFmx52P3y+57WEKDUz/hZPMh 574PhtdjjOTYfl5lUqshVv5OD4PcekRd3F8oSlNZb65LGdCHZ5kPM/zOi+PgR/gED0e1f7 EhFWtKfXpCEbfF6vba6ikvOJJ1k7iXq55VWhK5r91Gi2ctc3XYWciOhJ4F5vFtWoFUdTEA pwyoqlLBK3m4m1uqlEgC5TUL9xcgZaOB70itvL5uTlrQ6T4534zWW4PQZH5blVKqv+oKpE efU4CSrgojpqGQ/pdGdDD26Q+A3w+wE1GsZ5rQaeu2msXNSqSyoENBucedaVgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659362309; a=rsa-sha256; cv=none; b=LjvbcmMAfjw9NOAba/5mWAhx4orPB+52+0yBQzOs55/0S8yYTBaoGsLN5MOAMlLw3hoet9 ElhXw5b6QcQZnP3gptZ2SqIlaDTLRBdmZSOC6erXmTh8krc5nRSnrD3/bQsAv9rcF09QAx xXJjbwdpiS42Yey92TEabMNkNaA6xBo+DYA6TAKkh8qfxtzwVKPQfbdB3e6rCA+dW9LgDh ybEC9KSqWMmKvEgwKRX3LhV/hI/c8nNw3TxUEG4JdZtzqNLx5Zn0uJ3Khnz2cVpNqdbmN2 KwDxketjpCgQlsngQScLymD9qhUv1WGTGYiOsIcPK5slfatu2sVDM1WMJuK65Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=qLefJ65f; 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: 1.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=qLefJ65f; 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: C53761FAE0 X-Spam-Score: 1.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: mFL2kj7/Lwyr 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 | 66 +++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 556c5b4305..2c06a1a9ba 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2022 Thiago Jung Bauermann ;;; Copyright © 2022 Guillaume Le Vaillant +;;; Copyright © 2022 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -1161,57 +1162,42 @@ (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 emacs-minimal + gnupg ; for tests + pkg-config + texinfo)) (inputs - (list xapian guile-3.0 glib gmime)) + (list 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-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/utils/mu-utils.cc" + "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