unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49977: Texlive importer is outdated?
@ 2021-08-10 12:20 Xinglu Chen
  2021-08-10 12:45 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Xinglu Chen @ 2021-08-10 12:20 UTC (permalink / raw)
  To: 49977; +Cc: Ricardo Wurmus

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

[Cc Ricardo since you wrote the texlive importer]

In section "9.5 Invoking ‘guix import’" in the manual, there are two
examples of runnning the ‘texlive’ importer, but both of them result in
incomplete package definitions.

--8<---------------cut here---------------start------------->8---
~/src/guix$ ./pre-inst-env guix import texlive fontspec
following redirection to `https://ctan.org/xml/1.2/pkg/fontspec'...
command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "51265" "svn://www.tug.org/texlive/tags/texlive-2019.3/Master/texmf-dist/source/latex/fontspec" "/tmp/guix-directory.O5HIN3/svn" failed with signal 11
guix import: warning: Could not determine source location.  Please manually specify the source field.
(package
  (name "texlive-latex-fontspec")
  (version "2.7i")
  (source #f)
  (build-system texlive-build-system)
  (arguments '(#:tex-directory "latex/fontspec"))
  (home-page "http://www.ctan.org/pkg/fontspec")
  (synopsis
    "Advanced font selection in XeLaTeX and LuaLaTeX")
  (description
    "Fontspec is a package for XeLaTeX and LuaLaTeX.  It provides an automatic and unified interface to feature-rich AAT and OpenType fonts through the NFSS in LaTeX running on xetexXeTeX or luatexLuaTeX engines.  The package requires the l3kernell3kernel and xparsexparse bundles from the LaTeX3 development team.")
  (license lppl1.3c))
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
~/src/guix$ ./pre-inst-env guix import texlive --archive=generic ifxetex
following redirection to `https://ctan.org/xml/1.2/pkg/ifxetex'...
command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "51265" "svn://www.tug.org/texlive/tags/texlive-2019.3/Master/texmf-dist/source/generic/ifxetex" "/tmp/guix-directory.GjfISH/svn" failed with signal 11
guix import: warning: Could not determine source location.  Please manually specify the source field.
(package
  (name "texlive-generic-ifxetex")
  (version "0.7")
  (source #f)
  (build-system texlive-build-system)
  (arguments '(#:tex-directory "generic/ifxetex"))
  (home-page "http://www.ctan.org/pkg/ifxetex")
  (synopsis "Am I running under XeTeX?")
  (description
    "A simple package which provides an \\ifxetex conditional, so that other code can determine that it is running under XeTeX.  The package requires the etexe-TeX extensions to the TeX primitive set.  Please note, that ifxetex is now part of iftexiftex.")
  (license lppl1.3c))
--8<---------------cut here---------------end--------------->8---

When looking at the CTAN page for ‘ifxetex’[1], it says that the source
in located in /macros/generic/iftex, but I tried a few paths for the
archive, and they all result in an incomplete package (same warning as
above).

* /macros/generic/iftex
* macros/generic/iftex
* /macros/generic/iftex/ifxetex
* macros/generic/iftex/ifxetex

In general, I have rarely been able to successfully import a CTAN
package using the texlive importer, without the ‘source’ field missing,
perhaps it needs an update?


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

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

* bug#49977: Texlive importer is outdated?
  2021-08-10 12:20 bug#49977: Texlive importer is outdated? Xinglu Chen
@ 2021-08-10 12:45 ` Ricardo Wurmus
  2021-08-10 14:00   ` Xinglu Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2021-08-10 12:45 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 49977


Xinglu Chen <public@yoctocell.xyz> writes:

> [Cc Ricardo since you wrote the texlive importer]

In the future please use the X-Debbugs-Cc header instead of Cc, so 
that Debbugs can put me on Cc *after* it has assigned a bug 
number.

> In general, I have rarely been able to successfully import a 
> CTAN
> package using the texlive importer, without the ‘source’ field 
> missing,
> perhaps it needs an update?

Correct.  It’s not useful at this point.  I have worked on and off 
again on a new TeX Live importer, but it’s not quite ready yet. 
I’ll try to resume work on it soon.

-- 
Ricardo




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

* bug#49977: Texlive importer is outdated?
  2021-08-10 12:45 ` Ricardo Wurmus
@ 2021-08-10 14:00   ` Xinglu Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Xinglu Chen @ 2021-08-10 14:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 49977

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

On Tue, Aug 10 2021, Ricardo Wurmus wrote:

> Xinglu Chen <public@yoctocell.xyz> writes:
>
>> [Cc Ricardo since you wrote the texlive importer]
>
> In the future please use the X-Debbugs-Cc header instead of Cc, so 
> that Debbugs can put me on Cc *after* it has assigned a bug 
> number.

Ah, I didn’t know about that.

>> In general, I have rarely been able to successfully import a 
>> CTAN
>> package using the texlive importer, without the ‘source’ field 
>> missing,
>> perhaps it needs an update?
>
> Correct.  It’s not useful at this point.  I have worked on and off 
> again on a new TeX Live importer, but it’s not quite ready yet. 
> I’ll try to resume work on it soon.

That’s great to hear, looking forward to it.  :-)

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

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

end of thread, other threads:[~2021-08-10 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 12:20 bug#49977: Texlive importer is outdated? Xinglu Chen
2021-08-10 12:45 ` Ricardo Wurmus
2021-08-10 14:00   ` Xinglu Chen

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).