From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gHGbBPiMHF/WNQAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 19:50:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CIh0APiMHF/zJwAAB5/wlQ (envelope-from ) for ; Sat, 25 Jul 2020 19:50:16 +0000 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 719E6940214 for ; Sat, 25 Jul 2020 19:50:15 +0000 (UTC) Received: from localhost ([::1]:36938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzQBR-0006nQ-8m for larch@yhetil.org; Sat, 25 Jul 2020 15:50:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzQBG-0006lD-Ew for guix-patches@gnu.org; Sat, 25 Jul 2020 15:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzQBG-00051B-5K for guix-patches@gnu.org; Sat, 25 Jul 2020 15:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzQBG-0001pJ-2h for guix-patches@gnu.org; Sat, 25 Jul 2020 15:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39878] gnu: add emacs-bookmarks+ Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jul 2020 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: nly@disroot.org (Amar M. Singh) Cc: 39878@debbugs.gnu.org Received: via spool by 39878-submit@debbugs.gnu.org id=B39878.15957065937000 (code B ref 39878); Sat, 25 Jul 2020 19:50:02 +0000 Received: (at 39878) by debbugs.gnu.org; 25 Jul 2020 19:49:53 +0000 Received: from localhost ([127.0.0.1]:51194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzQB7-0001oq-0l for submit@debbugs.gnu.org; Sat, 25 Jul 2020 15:49:53 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:44316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzQB2-0001ob-GI for 39878@debbugs.gnu.org; Sat, 25 Jul 2020 15:49:52 -0400 Received: by mail-lj1-f175.google.com with SMTP id g6so662818ljn.11 for <39878@debbugs.gnu.org>; Sat, 25 Jul 2020 12:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fseheYoCRxohhLwjB7AqmSTUzW/GnDLbQwLtm7dxHsk=; b=VfSVF19avPoUf/D7hIDA/7etZ84ZmSYif1Szk+ZlNJ9tMQD6HVZ48RAvaXP6cVfGLe w+bgkdoK+RiwdhNSYpJFy3gq8K07F/NyMdXOAHYtj0G86Bzu+rlbKzffHWjwn/vLNi/m r6otsiJ+8Iuw+TRaReJZnDku5W2N1udSFaHPe697Oe9nPfa0wGJM15GS5HNUvU2BGRlt i1g7YvtYw1KxMfev8V2pWidqC14AD0rojOPbnjPia81D0Nh7XnQFZ04rHeOsYvLjZ1DO igDXBPtsv3f2WYyreseC9r/2RTwqpXC1TXSQ+NnkMGbzYUctQrcFrUorEEovdQ3m0kKZ 9oVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fseheYoCRxohhLwjB7AqmSTUzW/GnDLbQwLtm7dxHsk=; b=T6HLNeK1LXST/5NixzE1tbbw5N3hw3hznFz24yKagU4okED9n0dtWkXZB7zjGuu2Rf GMzbvsUAphsgdpHYyaK395n2eeUGjQJWKcsxL9z0Z1WxmFVzIwwBHkI+lYxXU5i4BM8S 0wu3IhZ+ySIYqJyIhdyWO5scb8CesFPWBXEtsE8THxesskArH8zJlzS7avnXqQjCOSgt 0MjBIwamIHvMR4UvVFt0bPpdJ8UBf1Uu4OuQMnXoXUXeiYOgV6rz/7kMz1qaXjnF5AZp Epwmu4EkGPujQzh3elPmX9215A2eNGBOLsOBkLZWUbJewsWSFZJuB7bLFqbvPQPi/rck 3Etw== X-Gm-Message-State: AOAM530I8tD6fEh0VFzbDPBx8HJn497jnRqBBMMCzhjaD0IcVU8REYrX M/8rCco/qr48Qr5itabvMHeGaWcW X-Google-Smtp-Source: ABdhPJy3waITL2DAHjjWOD/Kk0zdllY14Rb9m1LPBjqx3VfxEPX5YsNBjJiDSv0fpwrELYpWl0p0Sw== X-Received: by 2002:a2e:9c8e:: with SMTP id x14mr6328535lji.451.1595706581931; Sat, 25 Jul 2020 12:49:41 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id j144sm1826192lfj.54.2020.07.25.12.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 12:49:41 -0700 (PDT) From: Oleg Pykhalov References: <85lfoiezni.fsf@disroot.org> Date: Sat, 25 Jul 2020 22:49:37 +0300 In-Reply-To: <85lfoiezni.fsf@disroot.org> (Amar M. Singh's message of "Tue, 03 Mar 2020 11:41:13 +0530") Message-ID: <875zabl6i6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=VfSVF19a; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.01 X-TUID: z1GsR/MNLJfh --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, So much time was passed, but maybe we could get this to work if the package still helpful for Emacs users. nly@disroot.org (Amar M. Singh) writes: [=E2=80=A6] > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index be0e6a84c2..1ac5f77bb7 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -21536,3 +21536,39 @@ Values are stored in a directory in @code{user-e= macs-directory}, using > one file per value. This makes it easy to delete or remove unused > variables.") > (license license:gpl3+))) > + > +(define-public emacs-bookmark+ > + (package > + (name "emacs-bookmark+") > + (version "2020.01.22") > + (source (origin > + (method url-fetch) > + (uri (map (lambda (x) > + (string-append > + "https://www.emacswiki.org/emacs/download/" x= )) > + `("bookmark+.el" > + "bookmark+-mac.el" > + "bookmark+-bmu.el" > + "bookmark+-key.el" > + "bookmark+-lit.el" > + "bookmark+-1.el"))) =E2=80=98bookmarks+-mac.el=E2=80=99 and other files are missing because thi= s =E2=80=98(origin ...)=E2=80=99 returns only a single file: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build --no-grafts --no-offload 'emacs-bookmark+' -S /gnu/store/p0lvca4zr1rh4bs9fd281hjh15ck28x8-bookmark+.el =2D-8<---------------cut here---------------end--------------->8--- You could use =E2=80=98(origin ...)=E2=80=99 inside =E2=80=98(inputs ...)= =E2=80=99 to fetch all the files, but in that case we could have an issue with more hashes as described bellow. To fix issue with hashes I think we could use url-fetch on https://github.com/emacsmirror/emacswiki.org/blob/f2f216389097ada0172ebbfaa= f594e397930682e/bookmark%2B.el and other files. > + (sha256 > + (base32 > + "1dkpszmflik3yhv05w8rvi6vz1mzgapncb5y231r6mwy40rphyhi"))= )) The hash was changed, even the version is the same. > + (build-system emacs-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'build 'build-mac > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (invoke "emacs" "-Q" "--batch" > + "--eval=3D'(byte-compile-file \"bookmark+-mac.el\= "'"))))))) =E2=80=98emacs-build-system=E2=80=99 provides a byte compilation AFAIK, so = don't need this =E2=80=98(arguments ...)=E2=80=99. > + (home-page "https://www.emacswiki.org/emacs/bookmark%2b.el") > + (synopsis "Bookmark+: extensions to standard library `bookmark.el'") Rather =E2=80=9C@code{bookmark}=E2=80=9D. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8cjNEACgkQFn+OpQAa +px7qw//dV9syN76PKBmqnW6EIvk3V4xcu1dXSZ9LWsrrwLa2kel7IU0xcX85pX2 XWRb85SfGczcye+iVJ4iPPawcnDxHrdIUMHpS+JFWFUyMHrkClSFwH5rOvyWATES CWs3yB5Ikl+CL8AEnA7rgAYmc0b1ZqDupRsZuO2kpgtTOQWpd4/Q9xYmSfRoL59H JD2f76bzdNCe/34pX3DjRwNf0hH8LV7kzKwNTKKNp3IbyUvBOgX8142CT2JwF18g 0tu/u9aejdOfwQL88M+V3iAr6C9CZ6098xVjlAZJAP6JvE41TJSUwBDowvK8EBeK WoyqTloAaOi4uS0eRUuZgof7or+ZSOu9P6T38fFEYK0RUuXIX4ORt9EQO0PkW7AO WYUokLsM/Y2/Am47A0qJj6lkuH7vjOZg+yRGkCsgoT7OV1Lb8aJQnfgTbRdlnOt5 ZMg7dwVmr6E0J7H4pcWoUgYhyguBGYD7yTU+qI+OCclpP3hBOrmbQM4eX9baKhEr YcJv+MKVQo4rJ/UD4y9ucyOYtWqiM2ItZPu36AOngUHOEHA3QvPnnA52y5jK/OX2 egIyqXy3Ij0M2uOYcQIo66GUjaXYQSdq6OY9vyq7yUHX8NshFpmh1UlfDpWXY5Vn Ht8J9eexv8Uge+SshpJKE9OY33ly2n1EB0hs6D8AXfNKBO0yGqM= =pc1c -----END PGP SIGNATURE----- --=-=-=--