all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* texlive-fetch instead of svn-fetch
@ 2019-03-01 14:50 Ricardo Wurmus
  2019-03-01 14:58 ` Pierre Neidhardt
  2019-03-06 14:55 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2019-03-01 14:50 UTC (permalink / raw)
  To: guix-devel

Hey Guix,

Tex Live packages often have a complicated source file layout.  They
don’t usually come in a nice self-contained tarball.  Instead they are a
mosaic of files that are sourced from different parts of the Tex Live
SVN tree.  For many Tex Live packages the “source” field is
insufficient, so we add lots of additional origins as native inputs.
This makes for very ugly package definitions.  (See
texlive-fonts-txfonts for an example.)

What do you think about adding a new procedure that can fetch sources
from different locations?  This might be done by extending SVN-FETCH or
by adding a special TEXLIVE-FETCH that fetches sources from different
directories in the source tree, returning them as *one* origin with one
simple hash.

--
Ricardo

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

* Re: texlive-fetch instead of svn-fetch
  2019-03-01 14:50 texlive-fetch instead of svn-fetch Ricardo Wurmus
@ 2019-03-01 14:58 ` Pierre Neidhardt
  2019-03-01 15:27   ` Ricardo Wurmus
  2019-03-06 14:55 ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2019-03-01 14:58 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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

Hi,

Would that still be needed if we implement a tlpdb-based importer?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* Re: texlive-fetch instead of svn-fetch
  2019-03-01 14:58 ` Pierre Neidhardt
@ 2019-03-01 15:27   ` Ricardo Wurmus
  2019-03-01 15:32     ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2019-03-01 15:27 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Would that still be needed if we implement a tlpdb-based importer?

The importer only helps you generate the initial package definition.

A tlpdb-based importer cannot do magic.  The tlpdb file tells it what
files are expected to be provided by the package and what files are
considered sources, but this doesn’t change the fact that these files
come from different parts of the TeX Live SVN tree and somehow have to
be added as inputs.  The importer can automate this by adding the
various native inputs, but you still end up with an ugly package
definition.  Think of all of the native inputs you’ll have to update
when updating an existing package definition…

Changing the way the input sources are represented is independent from
the way this representation is generated.

--
Ricardo

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

* Re: texlive-fetch instead of svn-fetch
  2019-03-01 15:27   ` Ricardo Wurmus
@ 2019-03-01 15:32     ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2019-03-01 15:32 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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

Thanks for clarifying this.
Then I 100% agree with your approach.

I should have a little bit more free time in the coming days, so I'll (finally)
get down to write the tlpdb importer :)

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* Re: texlive-fetch instead of svn-fetch
  2019-03-01 14:50 texlive-fetch instead of svn-fetch Ricardo Wurmus
  2019-03-01 14:58 ` Pierre Neidhardt
@ 2019-03-06 14:55 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-03-06 14:55 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Hey Ricardo!

Ricardo Wurmus <rekado@elephly.net> skribis:

> Tex Live packages often have a complicated source file layout.  They
> don’t usually come in a nice self-contained tarball.  Instead they are a
> mosaic of files that are sourced from different parts of the Tex Live
> SVN tree.  For many Tex Live packages the “source” field is
> insufficient, so we add lots of additional origins as native inputs.
> This makes for very ugly package definitions.  (See
> texlive-fonts-txfonts for an example.)
>
> What do you think about adding a new procedure that can fetch sources
> from different locations?  This might be done by extending SVN-FETCH or
> by adding a special TEXLIVE-FETCH that fetches sources from different
> directories in the source tree, returning them as *one* origin with one
> simple hash.

I don’t know much about the source file layout in TeX Live, but from
what you describe, a ‘texlive-fetch’ procedure that gathers files sounds
like the right approach.

Thanks,
Ludo’.

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

end of thread, other threads:[~2019-03-06 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-01 14:50 texlive-fetch instead of svn-fetch Ricardo Wurmus
2019-03-01 14:58 ` Pierre Neidhardt
2019-03-01 15:27   ` Ricardo Wurmus
2019-03-01 15:32     ` Pierre Neidhardt
2019-03-06 14:55 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.