unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
@ 2019-12-26  3:40 Amar M. Singh
  2019-12-26  3:51 ` Brett Gilio
  0 siblings, 1 reply; 7+ messages in thread
From: Amar M. Singh @ 2019-12-26  3:40 UTC (permalink / raw)
  To: 38746

[-- Attachment #1: Type: text/plain, Size: 105 bytes --]


New in this release:
1. Now uses Gnu build system, aka Autotools.
2. Comes with Texinfo documentation.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-emacs-shroud-Update-to-1.105.patch --]
[-- Type: text/x-patch, Size: 2025 bytes --]

From 444fa144213999c7c37d2761b99a7ea3d7ebc5f1 Mon Sep 17 00:00:00 2001
From: Amar Singh <nly@disroot.org>
Date: Thu, 26 Dec 2019 09:01:42 +0530
Subject: [PATCH] gnu: emacs-shroud: Update to 1.105.

Now uses Gnu build system.

* gnu/packages/emacs-xyz.scm (emacs-shroud): Update to 1.105.
---
 gnu/packages/emacs-xyz.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f39e5da63e..71e8a1219c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -640,17 +640,23 @@ for editing Racket's Scribble documentation syntax in Emacs.")
 (define-public emacs-shroud
   (package
     (name "emacs-shroud")
-    (version "1.83.4")
+    (version "1.105")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/o-nly/emacs-shroud.git")
+             (url "https://git.savannah.gnu.org/git/emacs-shroud.git")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1yvdjx0kp4y8w5yz2cbqq9n6xl5splvmsyyx8ld1xv0q1c9872nf"))))
-    (build-system emacs-build-system)
+        (base32 "0q2pb3w8s833fjhkzicciw2php4lsnismad1dnwgp2lcway757ra"))))
+    (build-system gnu-build-system)
+    (native-inputs
+    `(("autoconf" ,autoconf)
+      ("automake" ,automake)
+      ("texinfo" ,texinfo)
+      ("perl" ,perl)
+      ("emacs-minimal" ,emacs-minimal)))
     (propagated-inputs
      `(("emacs-bui" ,emacs-bui)
        ("emacs-dash" ,emacs-dash)
@@ -658,7 +664,7 @@ for editing Racket's Scribble documentation syntax in Emacs.")
        ("emacs-s" ,emacs-s)
        ("gnupg" ,gnupg)
        ("shroud" ,shroud)))
-    (home-page "https://github.com/o-nly/emacs-shroud")
+    (home-page "https://www.nongnu.org/emacs-shroud")
     (synopsis "Emacs interface to the Shroud password manager")
     (description
      "This package provides an Emacs interface to the Shroud password manager,
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-26  3:40 [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105 Amar M. Singh
@ 2019-12-26  3:51 ` Brett Gilio
  2019-12-26  3:58   ` Amar M. Singh
  0 siblings, 1 reply; 7+ messages in thread
From: Brett Gilio @ 2019-12-26  3:51 UTC (permalink / raw)
  To: Amar M. Singh; +Cc: 38746



Dec 25, 2019 9:42:15 PM Amar M. Singh :

>
> New in this release:
> 1. Now uses Gnu build system, aka Autotools.
> 2. Comes with Texinfo documentation.
>

Hi Amar,

I am looking at this on my phone, so I might be wrong but it looks like the change to the gnu-build-system is not accompanied by any arguments installing any byte-compiled elc files to the emacs site-lisp. Did you test this change? Are the elc files getting installed? If so, how? Normally we have to work around this issue with mixing gnu and Emacs build system phases. Also, things like autoconf and automake are implicit in the gnu build system and are not needed.


-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
< brettg@gnu.org [mailto:brettg@gnu.org] > < brettg@posteo.net [mailto:brettg@posteo.net] >

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-26  3:51 ` Brett Gilio
@ 2019-12-26  3:58   ` Amar M. Singh
  2019-12-26  6:30     ` Efraim Flashner
  0 siblings, 1 reply; 7+ messages in thread
From: Amar M. Singh @ 2019-12-26  3:58 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 38746

Hi Brett,

I am using autoconf macro 'dist_lisp_LISP' in src/Makefile.am which will install '.el' files. Autotools are automatically detecting and installing '.elc' files from 'lisp_LISP' variable.


-------- Original Message --------
From: Brett Gilio <brettg@gnu.org>
Sent: December 26, 2019 3:51:15 AM UTC
To: "Amar M. Singh" <nly@disroot.org>
Cc: 38746@debbugs.gnu.org
Subject: Re: [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.



Dec 25, 2019 9:42:15 PM Amar M. Singh :

>
> New in this release:
> 1. Now uses Gnu build system, aka Autotools.
> 2. Comes with Texinfo documentation.
>

Hi Amar,

I am looking at this on my phone, so I might be wrong but it looks like the change to the gnu-build-system is not accompanied by any arguments installing any byte-compiled elc files to the emacs site-lisp. Did you test this change? Are the elc files getting installed? If so, how? Normally we have to work around this issue with mixing gnu and Emacs build system phases. Also, things like autoconf and automake are implicit in the gnu build system and are not needed.



Regards,
Amar Singh <nly@disroot.org>
https://o-nly.github.io

-------------------------------------------------------------
Sent from my Android device with Librem Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-26  3:58   ` Amar M. Singh
@ 2019-12-26  6:30     ` Efraim Flashner
  2019-12-26 13:49       ` Amar M. Singh
  0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2019-12-26  6:30 UTC (permalink / raw)
  To: Amar M. Singh; +Cc: 38746, Brett Gilio

[-- Attachment #1: Type: text/plain, Size: 2689 bytes --]

On Thu, Dec 26, 2019 at 03:58:19AM +0000, Amar M. Singh wrote:
> 
> Dec 25, 2019 9:42:15 PM Amar M. Singh :
> 
> >
> > New in this release:
> > 1. Now uses Gnu build system, aka Autotools.
> > 2. Comes with Texinfo documentation.
> >
> 
> Hi Amar,
> 
> I am looking at this on my phone, so I might be wrong but it looks like the change to the gnu-build-system is not accompanied by any arguments installing any byte-compiled elc files to the emacs site-lisp. Did you test this change? Are the elc files getting installed? If so, how? Normally we have to work around this issue with mixing gnu and Emacs build system phases. Also, things like autoconf and automake are implicit in the gnu build system and are not needed.
> 

tree /gnu/store/0m5irk4q5hf3pw2ral0gv9y51qic7m9x-emacs-shroud-1.83.4
/gnu/store/0m5irk4q5hf3pw2ral0gv9y51qic7m9x-emacs-shroud-1.83.4
└── share
    ├── doc
    │   └── emacs-shroud-1.83.4
    │       └── COPYING
    └── emacs
        └── site-lisp
            ├── shroud-autoloads.el
            ├── shroud-bui.el
            ├── shroud-bui.elc
            ├── shroud-cli.el
            ├── shroud-cli.elc
            ├── shroud.el
            ├── shroud.elc
            ├── shroud-el.el
            └── shroud-el.elc

tree /gnu/store/j0wmnl8gyzf4qwpxlml7hlvqpdzsw7p6-emacs-shroud-1.105
/gnu/store/j0wmnl8gyzf4qwpxlml7hlvqpdzsw7p6-emacs-shroud-1.105
└── share
    ├── doc
    │   ├── emacs-shroud
    │   │   ├── emacs-shroud.html
    │   │   └── README
    │   └── emacs-shroud-1.105
    │       └── COPYING
    ├── emacs
    │   └── site-lisp
    │       ├── shroud-bui.el
    │       ├── shroud-bui.elc
    │       ├── shroud-cli.el
    │       ├── shroud-cli.elc
    │       ├── shroud.el
    │       ├── shroud.elc
    │       ├── shroud-el.el
    │       └── shroud-el.elc
    └── info
        └── emacs-shroud.info.gz

> 
> Hi Brett,
> 
> I am using autoconf macro 'dist_lisp_LISP' in src/Makefile.am which will install '.el' files. Autotools are automatically detecting and installing '.elc' files from 'lisp_LISP' variable.
> 

I'm not an emacs user, do we need shroud-autoloads.el to be installed
also?

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-26  6:30     ` Efraim Flashner
@ 2019-12-26 13:49       ` Amar M. Singh
  2019-12-28 19:40         ` bug#38746: " Efraim Flashner
  0 siblings, 1 reply; 7+ messages in thread
From: Amar M. Singh @ 2019-12-26 13:49 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 38746, Brett Gilio

Hi Efraim,

Autoloads.el is used to lazily load an Elisp package. It causes the main commands to be available to Emacs user before the whole package is loaded.

In Guix System, if a package doesn't have autoloads it won't be automatically loaded into Emacs. One will need to add '(require 'package) to '.emacs'.

In case of my package:
(require 'shroud)

without this Emacs wouldn't load Shroud.
Regards,
Amar Singh <nly@disroot.org>
https://o-nly.github.io

-------------------------------------------------------------
Sent from my Android device with Librem Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38746: [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-26 13:49       ` Amar M. Singh
@ 2019-12-28 19:40         ` Efraim Flashner
  2019-12-28 21:34           ` [bug#38746] " Amar M. Singh
  0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2019-12-28 19:40 UTC (permalink / raw)
  To: Amar M. Singh; +Cc: 38746-done, Brett Gilio

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

Sounds good. Patch pushed.

On Thu, Dec 26, 2019 at 01:49:24PM +0000, Amar M. Singh wrote:
> Hi Efraim,
> 
> Autoloads.el is used to lazily load an Elisp package. It causes the main commands to be available to Emacs user before the whole package is loaded.
> 
> In Guix System, if a package doesn't have autoloads it won't be automatically loaded into Emacs. One will need to add '(require 'package) to '.emacs'.
> 
> In case of my package:
> (require 'shroud)
> 
> without this Emacs wouldn't load Shroud.
> Regards,
> Amar Singh <nly@disroot.org>
> https://o-nly.github.io
> 
> -------------------------------------------------------------
> Sent from my Android device with Librem Mail. Please excuse my brevity.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105.
  2019-12-28 19:40         ` bug#38746: " Efraim Flashner
@ 2019-12-28 21:34           ` Amar M. Singh
  0 siblings, 0 replies; 7+ messages in thread
From: Amar M. Singh @ 2019-12-28 21:34 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 38746-done, Brett Gilio

Thanks Efraim.
Regards,
Amar Singh <nly@disroot.org>
https://o-nly.github.io

-------------------------------------------------------------
Sent from my Android device with Librem Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-12-28 21:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26  3:40 [bug#38746] [PATCH] gnu: emacs-shroud: Update to 1.105 Amar M. Singh
2019-12-26  3:51 ` Brett Gilio
2019-12-26  3:58   ` Amar M. Singh
2019-12-26  6:30     ` Efraim Flashner
2019-12-26 13:49       ` Amar M. Singh
2019-12-28 19:40         ` bug#38746: " Efraim Flashner
2019-12-28 21:34           ` [bug#38746] " Amar M. Singh

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).