From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PtCITZ2q2NJ4wAAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 23:48:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wERTIDZ2q2PfXAAAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 23:48:22 +0100 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 488412088 for ; Tue, 27 Dec 2022 23:48:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAIjt-0006Ob-1z; Tue, 27 Dec 2022 17:48:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAIjq-0006OK-UI for guix-patches@gnu.org; Tue, 27 Dec 2022 17:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAIjq-0000d9-Ct for guix-patches@gnu.org; Tue, 27 Dec 2022 17:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAIjq-0001V9-9N for guix-patches@gnu.org; Tue, 27 Dec 2022 17:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60369] [PATCH] gnu: Add eweouz. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Dec 2022 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60369 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60369@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16721812435580 (code B ref -1); Tue, 27 Dec 2022 22:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 22:47:23 +0000 Received: from localhost ([127.0.0.1]:56727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAIjD-0001Rw-62 for submit@debbugs.gnu.org; Tue, 27 Dec 2022 17:47:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:56758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAIjB-0001Rn-Pm for submit@debbugs.gnu.org; Tue, 27 Dec 2022 17:47:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAIjB-0006Ib-Km for guix-patches@gnu.org; Tue, 27 Dec 2022 17:47:21 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAIj9-0000Zj-36 for guix-patches@gnu.org; Tue, 27 Dec 2022 17:47:21 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=PZixA49SZBmsXr68IqQeCH8uBZC1BlxGDz8a+5Y+/KI=; t=1672181238; x=1673390838; b=1P6RoYKW/mo+OKof5/VG2meGTXPBrt+yGY0nO58aO9wW6Hk GdFS9RwhNf+Q7gSwgvkT4RfXDMboD2uwG0ajyAQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=PZixA49SZBmsXr68IqQeCH8uBZC1BlxGDz8a+5Y+/KI=; t=1672181238; x=1673390838; b=NhotjsCpdl47KXR1fpf9utMaOcKNcStepSSTErMeglD7/cZ rScdLqxBuLVTYfkZKNxQVd0OcU1RFadDbHxgg5dR0DFkgj2+Yz5BFTuj1SdXMMbop7z7Ty3y5ila9 nxCBTnr1vd86r7aWF0G184YjmIhI8Z6BbQX4cfo/8ZLL38OUdECIzW9cDWtpXE65lRXLYxD/Mfg5g wqdMhGozfFu6IRAfrfVIJkQtlS4Oq4RSOi8ZcRKZaKe6v1Gq47RlXeLAcfMNsPYVJ+DxlGayH5sMP IWnShiCZvWTAcsE2XVAxh6hvIUo/wfPcn6UPX3UDpWwGQhzaUuiiFdXOR1gNAuCucGFZUUHsg6Kz4 8TUbB8NryxWELy2/vNFgZVdiAi3eSDhSGHSvjyc1j4iDm/uOU/7/+V2D8NCwdc5Zd2pkGlfEZZks/ hWcAvYvDbGTaOerV7AyAxEeF; Received: from [2001:9b1:41ac:ff00:67bf:136:16d3:4a37] (port=48878 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pAIj4-006KxE-9B for guix-patches@gnu.org; Tue, 27 Dec 2022 23:47:14 +0100 X-Hashcash: 1:22:221227:guix-patches@gnu.org::ToMs607j81OkOtKm:F9L5 OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Tue, 27 Dec 2022 23:47:13 +0100 Message-ID: <871qok1n2m.fsf@josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Reply-to: Simon Josefsson X-ACL-Warn: , Simon Josefsson via Guix-patches From: Simon Josefsson via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672181302; a=rsa-sha256; cv=none; b=pjY2ZSXlq8VZOznVOX9JqkOVtxcupPe9PMfPXh204dA5zd9zhfgI4tmHkUzmMmV+FH9n9K c4h0BVqegg+uzfrEY8HjZyHixzktkrD6V3XOrYkVASa5Qgf3/9ostcOe6MAoTc10cJ+MCs Po0RXwUB2pNGWFpUU8p8Ile8ekn57+xcwWwK+S2uZ0PZWZQ+vUF8YcdDqTKWgqZ+KmW4Af eooydhj9j+1znDdYTLJMiGDbk/9uq2Asia3BnixBNK+8CzFimrg8li8FlQvGsLuknejuT7 MAudNW35l2aUVC+ClX5nl/pDGAmDrxIRH5HbpEaDCbWmRGq3ITFcu6g5uNPGDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=1P6RoYKW; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=NhotjsCp; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672181302; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature:openpgp:openpgp; bh=PZixA49SZBmsXr68IqQeCH8uBZC1BlxGDz8a+5Y+/KI=; b=T2HbqnYwBKGDYcdZ0wo7wgmptoJte8IO2vo0klt94W1fhAINYCl0kT1edQNq2h2T+evXvO 1+5tmTqqO/V+ZNdolGUMTBBYZIekqr71nupr4kpvd+3YLoPXjt3fu0XswN9i0mRAhX7q9O oIyZ0iljfQA/bHKwm2DjJy1Xgb6gJPeciyB4QViC5JGGIybugMzi6Wa05728q+Ih7mweWa aNwPQFMsfJ0xDKJaHxLBnEV2BRfnuzvVrFoFFty1RtfemHv6ql7pxvSz2WivtSylAdp266 VXFCfb0xcteg+R24uC0ChppfK4oSiAoI8LwUypfgHTGq9g5CyG+yrp4bnjfaLg== X-Spam-Score: -4.53 X-Migadu-Queue-Id: 488412088 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=1P6RoYKW; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=NhotjsCp; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.53 X-TUID: O5GOIh1INiki --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi. This adds a GNOME Evolution Data Server interface to Emacs. Test it by adding a contact to the EDS address book (e.g., through GNOME Contacts) and then do 'emacs -q' and M-x eweouz RET and search for parts of the name of the contact. While the package builds and works for me, I would appreciate a review so I can learn -- I wrote this without understanding anything of what I was doing, but merely pattern-matched things against other existing packages that looked relevant. /Simon --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=0001-gnu-Add-eweouz.patch Content-Transfer-Encoding: quoted-printable From=2052b0ad49ef0436346f53bebee4690961fba9cf90 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 27 Dec 2022 23:38:33 +0100 Subject: [PATCH] gnu: Add eweouz. * gnu/packages/emacs-xyz.scm (eweouz): New variable. =2D-- gnu/packages/emacs-xyz.scm | 66 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fb4c9b70f9..adb0689df1 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -119,6 +119,7 @@ ;;; Copyright =A9 2022 Nicolas Graves ;;; Copyright =A9 2022 Thiago Jung Bauermann ;;; Copyright =A9 2022 Joeke de Graaf +;;; Copyright =A9 2022 Simon Josefsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -3053,6 +3054,71 @@ (define-public emacs-bbdb-vcard (BBDB). Version 2.1 vCards are converted into version 3.0 on import.") (license license:gpl2+)))) =20 +(define-public eweouz + (package + (name "eweouz") + (version "0.12") + (source + (origin + (method url-fetch) + ;; README's git://git.err.no/eweouz is gone + (uri (string-append "mirror://debian/pool/main/e/eweouz/" + "eweouz_" version ".tar.xz")) + (file-name (string-append name "-" version ".tar.xz")) + (sha256 + (base32 + "192zl3dyphhvcrvn65bqsrc4h6zks8b747lp6pqbpbmsqy4g4mr8")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:modules ((guix build gnu-build-system) + ((guix build emacs-build-system) #:prefix emacs:) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-build-system) + (guix build emacs-utils)) + #:configure-flags + (list (string-append "--with-lispdir=3D" + (emacs:elpa-directory %output))) + #:phases + (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ (invoke "autoreconf" "-vif") #t)) + (add-after 'compress-documentation 'enter-lisp-dir + (lambda _ (chdir "lisp/"))) + (add-after 'enter-lisp-dir 'emacs-patch-variables + (lambda* (#:key outputs #:allow-other-keys) + (make-file-writable "eweouz.el") + (substitute* "eweouz.el" + (("\\(setq eweouz-helper-dirs '\\(") + (format #f "(setq eweouz-helper-dirs '(~s " + (string-append (assoc-ref outputs "out") + "/libexec/eweouz")))))) + (add-after 'emacs-patch-variables 'emacs-expand-load-path + (assoc-ref emacs:%standard-phases 'expand-load-path)) + (add-after 'emacs-expand-load-path 'emacs-add-install-to-native-l= oad-path + (assoc-ref emacs:%standard-phases 'add-install-to-native-load-p= ath)) + (add-after 'emacs-add-install-to-native-load-path 'emacs-install + (assoc-ref emacs:%standard-phases 'install)) + (add-after 'emacs-install 'emacs-build + (assoc-ref emacs:%standard-phases 'build)) + (add-after 'emacs-install 'emacs-make-autoloads + (assoc-ref emacs:%standard-phases 'make-autoloads))))) + (native-inputs + (list autoconf + automake + emacs-minimal + pkg-config)) + (inputs + (list evolution-data-server)) + (home-page "https://tracker.debian.org/pkg/eweouz") + (synopsis "Emacs interface to Evolution Data Server") + (description + "eweouz is an tool for looking up contacts from Evolution Data Server +from Emacs. It is similar to BBDB, except much, much simpler.") + (license license:gpl2))) + (define-public emacs-beacon (package (name "emacs-beacon") =2D-=20 2.38.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCY6t18RQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFoqrmAPsF8U5PZ/etuWm9EKDJZ/8JGa8mCSsr jZhpxqSqVsHlwAD/UwriKvfe9MkMRB7J2HlZFZ6tU9eLVrickE5Kn0Fi4AM= =PH9t -----END PGP SIGNATURE----- --==-=-=--