* LaTeX packaging policy
@ 2022-12-24 12:03 Josselin Poiret
2023-01-03 9:05 ` Ludovic Courtès
2023-01-06 16:30 ` Simon Tournier
0 siblings, 2 replies; 8+ messages in thread
From: Josselin Poiret @ 2022-12-24 12:03 UTC (permalink / raw)
To: guix-devel
Hi everyone,
While using a bit of LaTeX recently, I've noticed some packages don't
work "out-of-the-box", at least on LuaLaTeX, and need some additional
propagated inputs. Examples would be babel-french needing scalefnt,
fontspec needing luaotfload, or hyperref needing stringenc. Is there
any established policy for what propagated-inputs need to be included in
package definitions? Should we add some LaTeX specific packaging
guidelines in the manual, like for Python or Rust (the former is
outdated by the way, mentioning Python 2 packages).
I can work on those if there's some sort of consensus, but just need
some advice from more experienced LaTeX packagers.
Best,
--
Josselin Poiret
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2022-12-24 12:03 LaTeX packaging policy Josselin Poiret
@ 2023-01-03 9:05 ` Ludovic Courtès
2023-01-03 9:13 ` Nguyễn Gia Phong
2023-01-06 16:30 ` Simon Tournier
1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2023-01-03 9:05 UTC (permalink / raw)
To: Josselin Poiret; +Cc: guix-devel
Hello!
Josselin Poiret <dev@jpoiret.xyz> skribis:
> While using a bit of LaTeX recently, I've noticed some packages don't
> work "out-of-the-box", at least on LuaLaTeX, and need some additional
> propagated inputs. Examples would be babel-french needing scalefnt,
> fontspec needing luaotfload, or hyperref needing stringenc. Is there
> any established policy for what propagated-inputs need to be included in
> package definitions? Should we add some LaTeX specific packaging
> guidelines in the manual, like for Python or Rust (the former is
> outdated by the way, mentioning Python 2 packages).
I noticed the lack of propagated inputs for some packages.
I don’t think there’s an established policy. Ideally, to mimic what’s
done with other languages and to make things work out of the box, we’d
propagate anything that’s needed. But how difficult would it be to
identify what needs to be propagated?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2023-01-03 9:05 ` Ludovic Courtès
@ 2023-01-03 9:13 ` Nguyễn Gia Phong
2023-01-03 21:11 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Nguyễn Gia Phong @ 2023-01-03 9:13 UTC (permalink / raw)
To: Ludovic Courtès, Josselin Poiret; +Cc: guix-devel
On 2023-01-03 at 10:05+01:00, Ludovic Courtès wrote:
> But how difficult would it be to identify what needs to be propagated?
Is there any practical reasons to not propagate all TeX packages?
For other language I suppose we need to avoid version clashing,
but in my experience TeX packages usually maintain a stable API.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2023-01-03 9:13 ` Nguyễn Gia Phong
@ 2023-01-03 21:11 ` Ludovic Courtès
2023-01-04 7:11 ` Reza Housseini
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2023-01-03 21:11 UTC (permalink / raw)
To: Nguyễn Gia Phong; +Cc: Josselin Poiret, guix-devel
Nguyễn Gia Phong <mcsinyx@disroot.org> skribis:
> On 2023-01-03 at 10:05+01:00, Ludovic Courtès wrote:
>> But how difficult would it be to identify what needs to be propagated?
>
> Is there any practical reasons to not propagate all TeX packages?
> For other language I suppose we need to avoid version clashing,
> but in my experience TeX packages usually maintain a stable API.
Good question, maybe we should just do that. Thoughts?
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2023-01-03 21:11 ` Ludovic Courtès
@ 2023-01-04 7:11 ` Reza Housseini
2023-01-04 7:22 ` Nguyễn Gia Phong
0 siblings, 1 reply; 8+ messages in thread
From: Reza Housseini @ 2023-01-04 7:11 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 245 bytes --]
> Good question, maybe we should just do that. Thoughts?
What about size? Does this not bloat up profile sizes?
--
Reza Housseini
This message is signed with my GnuPG key:
C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2023-01-04 7:11 ` Reza Housseini
@ 2023-01-04 7:22 ` Nguyễn Gia Phong
2023-01-04 10:26 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Nguyễn Gia Phong @ 2023-01-04 7:22 UTC (permalink / raw)
To: Reza Housseini, guix-devel
On 2023-01-04 at 08:11+01:00, Reza Housseini wrote:
> What about size? Does [propagating all build inputs]
> not bloat up profile sizes?
I'm new to Guix, but aren't both build inputs
and propagated build inputs required at run time?
IIUC the only difference is that the propagated ones' env
is, ehm, propagated all the way up instead of just
to the direct dependee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2023-01-04 7:22 ` Nguyễn Gia Phong
@ 2023-01-04 10:26 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2023-01-04 10:26 UTC (permalink / raw)
To: Nguyễn Gia Phong; +Cc: Reza Housseini, guix-devel
Nguyễn Gia Phong <mcsinyx@disroot.org> skribis:
> On 2023-01-04 at 08:11+01:00, Reza Housseini wrote:
>> What about size? Does [propagating all build inputs]
>> not bloat up profile sizes?
>
> I'm new to Guix, but aren't both build inputs
> and propagated build inputs required at run time?
> IIUC the only difference is that the propagated ones' env
> is, ehm, propagated all the way up instead of just
> to the direct dependee.
No, inputs are not necessarily available at run time. An input is kept
at run time (as a “reference”) if and only if guix-daemon finds a
reference to it in the build product.
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LaTeX packaging policy
2022-12-24 12:03 LaTeX packaging policy Josselin Poiret
2023-01-03 9:05 ` Ludovic Courtès
@ 2023-01-06 16:30 ` Simon Tournier
1 sibling, 0 replies; 8+ messages in thread
From: Simon Tournier @ 2023-01-06 16:30 UTC (permalink / raw)
To: Josselin Poiret, guix-devel
Hi,
On Sat, 24 Dec 2022 at 13:03, Josselin Poiret <dev@jpoiret.xyz> wrote:
> While using a bit of LaTeX recently, I've noticed some packages don't
> work "out-of-the-box", at least on LuaLaTeX, and need some additional
> propagated inputs. Examples would be babel-french needing scalefnt,
> fontspec needing luaotfload, or hyperref needing stringenc. Is there
> any established policy for what propagated-inputs need to be included in
> package definitions? Should we add some LaTeX specific packaging
> guidelines in the manual, like for Python or Rust (the former is
> outdated by the way, mentioning Python 2 packages).
All the inputs are they required as propagated-inputs? Or only some?
Maybe it could be worth to fix the broken packages (the examples above)
and see if a pattern emerge for writing down a policy.
Or maybe, we could propagate all the inputs since TeX can be considered
as stable enough for minimizing the clash of versions.
Cheers,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-01-06 16:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24 12:03 LaTeX packaging policy Josselin Poiret
2023-01-03 9:05 ` Ludovic Courtès
2023-01-03 9:13 ` Nguyễn Gia Phong
2023-01-03 21:11 ` Ludovic Courtès
2023-01-04 7:11 ` Reza Housseini
2023-01-04 7:22 ` Nguyễn Gia Phong
2023-01-04 10:26 ` Ludovic Courtès
2023-01-06 16:30 ` Simon Tournier
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).