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 sHSyLdjRIF9efgAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 01:33:12 +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 8AGPKdjRIF8LWwAAB5/wlQ (envelope-from ) for ; Wed, 29 Jul 2020 01:33:12 +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 D735794005D for ; Wed, 29 Jul 2020 01:33:11 +0000 (UTC) Received: from localhost ([::1]:54714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0axx-0004hw-8s for larch@yhetil.org; Tue, 28 Jul 2020 21:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0axq-0004hl-QE for guix-patches@gnu.org; Tue, 28 Jul 2020 21:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0axq-0006xr-Gr for guix-patches@gnu.org; Tue, 28 Jul 2020 21:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0axq-0001Tx-Dd for guix-patches@gnu.org; Tue, 28 Jul 2020 21:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39878] gnu: add emacs-bookmarks+ Resent-From: "Amar M. Singh" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jul 2020 01:33: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: "Oleg Pykhalov" Cc: 39878@debbugs.gnu.org Received: via spool by 39878-submit@debbugs.gnu.org id=B39878.15959863625668 (code B ref 39878); Wed, 29 Jul 2020 01:33:02 +0000 Received: (at 39878) by debbugs.gnu.org; 29 Jul 2020 01:32:42 +0000 Received: from localhost ([127.0.0.1]:59520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0axW-0001TM-7p for submit@debbugs.gnu.org; Tue, 28 Jul 2020 21:32:42 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0axU-0001TC-Au for 39878@debbugs.gnu.org; Tue, 28 Jul 2020 21:32:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ACA55528C3; Wed, 29 Jul 2020 03:32:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lB52Ghy7DYmI; Wed, 29 Jul 2020 03:32:37 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1595986357; bh=9Q5n1DijsEv4jpnfBnYywxXiWaP4uMle4JW0PHpPb/g=; h=Date:From:Subject:To:Cc:In-Reply-To:References; b=dMAGH7EWWyc08s/zssG/HtlrSj7WdAeyoddVnBxsNwA45CUaBgpAar0NsLGG+tTu1 UMf0KVElOMSbJFn4ksTP25kyf40/O4zxbOi1FS3UUB48aOIC0nQhj9Edo+1Q3VJ+QN ok4Z/pBs65Wtr6qhg4UG/QE7l1ecB0jIRzTeYGskvc2ufXhKHjm8hQ1ckByAnxpwF8 qZp9tt68JnTndOiqLSUpA/flq3/SuNYwOFJG7nSpDoON2zlhgo2QC6JpzdcEo9hWMk cccYGL9TjYsUGcqhVJR34NjUbZmrhUiAXVmAOiXhnJj7qy0baUZXiJHPvGfzv3wU0m 2iiobU5fqTDgQ== Date: Wed, 29 Jul 2020 01:32:36 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Amar M. Singh" Message-ID: <4c54a3e5a802883004c08274a711f396@disroot.org> In-Reply-To: <875zabl6i6.fsf@gmail.com> References: <85lfoiezni.fsf@disroot.org> <875zabl6i6.fsf@gmail.com> 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=disroot.org header.s=mail header.b=dMAGH7EW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (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: 0.59 X-TUID: mt6qOf9UUgZ+ On July 25, 2020 7:49:37 PM UTC, Oleg Pykhalov wrot= e:=0A=0A> Hi,=0A> =0A> So much time was passed, but maybe we could get th= is to work if the=0A> package still helpful for Emacs users.=0A> =0A> nly= @disroot.org (Amar M. Singh) writes:=0A> =0A> [=E2=80=A6]=0A> =0A>> diff = --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm=0A>> inde= x be0e6a84c2..1ac5f77bb7 100644=0A>> --- a/gnu/packages/emacs-xyz.scm=0A>= > +++ b/gnu/packages/emacs-xyz.scm=0A>> @@ -21536,3 +21536,39 @@ Values a= re stored in a directory in=0A> =0A> @code{user-emacs-directory}, using= =0A>> one file per value. This makes it easy to delete or remove unused= =0A>> variables.")=0A>> (license license:gpl3+)))=0A>> +=0A>> +(define-pu= blic emacs-bookmark+=0A>> + (package=0A>> + (name "emacs-bookmark+")=0A>>= + (version "2020.01.22")=0A>> + (source (origin=0A>> + (method url-fetch= )=0A>> + (uri (map (lambda (x)=0A>> + (string-append=0A>> +=0A> =0A> "htt= ps://www.emacswiki.org/emacs/download" x))=0A>> + `("bookmark+.el"=0A>> += "bookmark+-mac.el"=0A>> + "bookmark+-bmu.el"=0A>> + "bookmark+-key.el"= =0A>> + "bookmark+-lit.el"=0A>> + "bookmark+-1.el")))=0A> =0A> =E2=80=98b= ookmarks+-mac.el=E2=80=99 and other files are missing because this =E2=80= =98(origin=0A> ...)=E2=80=99 returns only a single file:=0A> --8<--------= -------cut here---------------start------------->8---=0A> $ ./pre-inst-en= v guix build --no-grafts --no-offload 'emacs-bookmark+'=0A> -S=0A> /gnu/s= tore/p0lvca4zr1rh4bs9fd281hjh15ck28x8-bookmark+.el=0A> --8<--------------= -cut here---------------end--------------->8---=0A> =0A> You could use = =E2=80=98(origin ...)=E2=80=99 inside =E2=80=98(inputs ...)=E2=80=99 to f= etch all the=0A> files, but in that case we could have an issue with more= hashes as=0A> described bellow.=0A> =0A> To fix issue with hashes I thin= k we could use url-fetch on=0A> https://github.com/emacsmirror/emacswiki.= org/blob/f2f216389097ada0172ebbfaaf594e397930682e/bookmark+=0A> el=0A> an= d other files.=0A> =0A>> + (sha256=0A>> + (base32=0A>> +=0A> =0A> "1dkpsz= mflik3yhv05w8rvi6vz1mzgapncb5y231r6mwy40rphyhi"))))=0A> =0A> The hash was= changed, even the version is the same.=0A> =0A>> + (build-system emacs-b= uild-system)=0A>> + (arguments=0A>> + `(#:phases=0A>> + (modify-phases %s= tandard-phases=0A>> + (add-before 'build 'build-mac=0A>> + (lambda* (#:ke= y outputs #:allow-other-keys)=0A>> + (let ((out (assoc-ref outputs "out")= ))=0A>> + (invoke "emacs" "-Q" "--batch"=0A>> + "--eval=3D'(byte-compile-= file=0A> =0A> \"bookmark+-mac.el\"'")))))))=0A> =0A> =E2=80=98emacs-build= -system=E2=80=99 provides a byte compilation AFAIK, so don't need=0A> thi= s =E2=80=98(arguments ...)=E2=80=99.=0A> =0A>> + (home-page "https://www.= emacswiki.org/emacs/bookmark+.el")=0A>> + (synopsis "Bookmark+: extension= s to standard library=0A> =0A> `bookmark.el'")=0A> =0A> Rather =E2=80=9C@= code{bookmark}=E2=80=9D.=0A> =0A> Oleg.=0A=0Ahello Oleg,=0A=0AThanks, gre= at pointers. Clearly, a guix expert unlike me. But I don't think this nee= ds to be=0Apackaged. Don't want it.=0AYou can close the issue.=0A=0ASorry= , thanks.=0AAmar