* GNU Manuals in Info/HTML format via Guix?
@ 2024-12-15 22:34 Jeremy Bryant
2024-12-16 0:58 ` Suhail Singh
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jeremy Bryant @ 2024-12-15 22:34 UTC (permalink / raw)
To: guix-devel
Cc: Richard Stallman, Björn Bidar, arne_bab@web.de, Suhail Singh
Hi Guix developers,
The GNU Project's documentation format is Texinfo.
How about distributing some or many Texinfo manuals through Guix, is
this something that is consistent with previous norms in Guix?
Following a discussion on emacs-devel, several people suggested that
GNU Guix may be a a good way to contemplate this distribution mechanism,
for obvious GNU-related reasons.
We discussed both a comprehensive solution for Info manuals, as well as
specific cases such as RMS's C manual (c.info) which is not part of a
software project.
WDYT?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU Manuals in Info/HTML format via Guix?
2024-12-15 22:34 GNU Manuals in Info/HTML format via Guix? Jeremy Bryant
@ 2024-12-16 0:58 ` Suhail Singh
2024-12-16 21:36 ` Cayetano Santos
2024-12-19 19:56 ` Divya Ranjan
2 siblings, 0 replies; 6+ messages in thread
From: Suhail Singh @ 2024-12-16 0:58 UTC (permalink / raw)
To: Jeremy Bryant
Cc: guix-devel, Richard Stallman, Björn Bidar, arne_bab@web.de,
Suhail Singh
Jeremy Bryant <jb@jeremybryant.net> writes:
> The GNU Project's documentation format is Texinfo. How about
> distributing some or many Texinfo manuals through Guix, is this
> something that is consistent with previous norms in Guix?
Guix has had SICP available via Info format since 2016:
<https://packages.guix.gnu.org/packages/sicp/20180718-3.bda03f7/>. The
Info file is built directly from the Texinfo source by invoking
makeinfo:
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/scheme.scm#n626>.
Packaging becomes even easier when the Texinfo source is available as an
ELPA package. For comparison, I created a patch for the similar sicp
Emacs package (<https://github.com/webframp/sicp-info>):
<https://issues.guix.gnu.org/74906>.
The package definition is somewhat simpler since it obviates the manual
invocation of makeinfo.
> We discussed both a comprehensive solution for Info manuals, as well
> as specific cases such as RMS's C manual (c.info) which is not part of
> a software project.
>
> WDYT?
Given a standalone Texinfo source that we want to distribute as an Info
manual, creating a corresponding ELPA package repository is especially
effective. It makes packaging into Guix easier. Additionally, it makes
the generated Info manual available to users of Emacs who don't use Guix
(via package-vc-install etc).
--
Suhail
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU Manuals in Info/HTML format via Guix?
2024-12-15 22:34 GNU Manuals in Info/HTML format via Guix? Jeremy Bryant
2024-12-16 0:58 ` Suhail Singh
@ 2024-12-16 21:36 ` Cayetano Santos
2024-12-18 1:20 ` Maxim Cournoyer
2024-12-19 19:56 ` Divya Ranjan
2 siblings, 1 reply; 6+ messages in thread
From: Cayetano Santos @ 2024-12-16 21:36 UTC (permalink / raw)
To: Jeremy Bryant
Cc: guix-devel, Richard Stallman, Björn Bidar, arne_bab@web.de,
Suhail Singh
[-- Attachment #1: Type: text/plain, Size: 622 bytes --]
>dim. 15 déc. 2024 at 22:34, Jeremy Bryant <jb@jeremybryant.net> wrote:
> Following a discussion on emacs-devel, several people suggested that
> GNU Guix may be a a good way to contemplate this distribution mechanism,
> for obvious GNU-related reasons.
Remember you always have the possibility to create a dedicated guix
channel, external but complementary to guix upstream itself, to
distribute manuals. This would about any additional overload on guix
maintenance tasks.
--
Cayetano Santos
GnuPG Key: https://meta.sr.ht/~csantosb.pgp
FingerPrint: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU Manuals in Info/HTML format via Guix?
2024-12-16 21:36 ` Cayetano Santos
@ 2024-12-18 1:20 ` Maxim Cournoyer
0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2024-12-18 1:20 UTC (permalink / raw)
To: Cayetano Santos
Cc: Jeremy Bryant, guix-devel, Richard Stallman, Björn Bidar,
arne_bab@web.de, Suhail Singh
Hello,
Cayetano Santos <csantosb@inventati.org> writes:
>>dim. 15 déc. 2024 at 22:34, Jeremy Bryant <jb@jeremybryant.net> wrote:
>
>> Following a discussion on emacs-devel, several people suggested that
>> GNU Guix may be a a good way to contemplate this distribution mechanism,
>> for obvious GNU-related reasons.
>
> Remember you always have the possibility to create a dedicated guix
> channel, external but complementary to guix upstream itself, to
> distribute manuals. This would about any additional overload on guix
> maintenance tasks.
Well, the topic being GNU manuals, they'd be more than at home in GNU
Guix. Typically though they come with the packages themselves, such as
'libc.info.gz' which is shipped with glibc.
I think Guix would be a fine place to have them packaged and made
available. We already have the C manual you mentioned; it's a great
read! You can read it with
--8<---------------cut here---------------start------------->8---
$ guix shell info-reader c-intro-and-ref -- info c'
--8<---------------cut here---------------end--------------->8---
More info on this package:
--8<---------------cut here---------------start------------->8---
$ guix show c-intro-and-ref
name: c-intro-and-ref
version: 0.0.0-1.47e5a23
outputs:
+ out: tout
systems: x86_64-linux i686-linux
dependencies: texinfo@6.8
location: gnu/packages/c.scm:83:4
homepage: https://www.gnu.org/
license: FDL 1.3+
synopsis: GNU C Language Intro and Reference
description: This manual explains the C language for use with the GNU Compiler Collection (GCC) on the
+ GNU/Linux system and other systems. We refer to this dialect as GNU C. If you already know C, you can use
+ this as a reference manual.
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU Manuals in Info/HTML format via Guix?
2024-12-15 22:34 GNU Manuals in Info/HTML format via Guix? Jeremy Bryant
2024-12-16 0:58 ` Suhail Singh
2024-12-16 21:36 ` Cayetano Santos
@ 2024-12-19 19:56 ` Divya Ranjan
2024-12-19 20:56 ` Björn Bidar
2 siblings, 1 reply; 6+ messages in thread
From: Divya Ranjan @ 2024-12-19 19:56 UTC (permalink / raw)
To: Jeremy Bryant
Cc: guix-devel, Richard Stallman, Björn Bidar, arne_bab@web.de,
Suhail Singh
Hello, Jeremy,
Jeremy Bryant <jb@jeremybryant.net> writes:
> Hi Guix developers,
>
> The GNU Project's documentation format is Texinfo.
> How about distributing some or many Texinfo manuals through Guix, is
> this something that is consistent with previous norms in Guix?
I believe this is certainly feasible, and desirable. Since Guix itself relies a lot on functioning with info for its documentation requirements.
> Following a discussion on emacs-devel, several people suggested that
> GNU Guix may be a a good way to contemplate this distribution mechanism,
> for obvious GNU-related reasons.
>
> We discussed both a comprehensive solution for Info manuals, as well as
> specific cases such as RMS's C manual (c.info) which is not part of a
> software project.
As Maxim noted, the particular manual already exists. But we need to think about how exactly to package the Info manuals. Since Guix’s process of packaging is a bit differently organized, we’d have to figure out where exactly should the package definitions for these manuals live in the Guix source tree. I see that the C manual is in gnu/packages/c.scm and SICP in gnu/packages/scheme.scm, so maybe each manual could go into the relevant program/language’s guile module. Or, should we have a module just for the Info manuals? I see gnu/packages/texinfo.scm and it has mostly a few packages related to TeXinfo readers, could we put them there, or only the miscellaneous ones?
Those more knowledgeable about Guix’s source-tree management should shed light on this.
Regards,
--
Divya Ranjan,
Philosophy, Mathematics, Libre Software.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GNU Manuals in Info/HTML format via Guix?
2024-12-19 19:56 ` Divya Ranjan
@ 2024-12-19 20:56 ` Björn Bidar
0 siblings, 0 replies; 6+ messages in thread
From: Björn Bidar @ 2024-12-19 20:56 UTC (permalink / raw)
To: Divya Ranjan
Cc: Jeremy Bryant, guix-devel, Richard Stallman, arne_bab@web.de,
Suhail Singh
First of all I want to quickly write that I was staying quite as I'm not
a Guix guy but just interested in extending and improving the distribution
of info manuals.
Divya Ranjan <divya@subvertising.org> writes:
> Hello, Jeremy,
> Jeremy Bryant <jb@jeremybryant.net> writes:
>
>> Hi Guix developers,
>>
>> The GNU Project's documentation format is Texinfo.
>> How about distributing some or many Texinfo manuals through Guix, is
>> this something that is consistent with previous norms in Guix?
>
> I believe this is certainly feasible, and desirable. Since Guix itself
> relies a lot on functioning with info for its documentation
> requirements.
I think Guix could serve as the showcase project on how to best
integrate and distribute info manuals in distributions.
For my efforts that Guix has been that. If I was looking for an info
manual for something it almost all the time I found it at Guix.
The only exception was the manual of Lua but for that one there was only
one manual conversion very long time ago.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-12-19 21:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-15 22:34 GNU Manuals in Info/HTML format via Guix? Jeremy Bryant
2024-12-16 0:58 ` Suhail Singh
2024-12-16 21:36 ` Cayetano Santos
2024-12-18 1:20 ` Maxim Cournoyer
2024-12-19 19:56 ` Divya Ranjan
2024-12-19 20:56 ` Björn Bidar
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).