me
/
guix
Archived
1
0
Fork 0
Commit Graph

118292 Commits (2b09b6a8fd22a629a951a7f8faf2eaf14adff9cc)

Author SHA1 Message Date
Nicolas Goaziou 75677daa83
guix: import: texlive importer handles more licenses.
* guix/import/texlive.scm (string->license): Handle CC0 and ISC licenses.
2023-07-18 18:16:55 +02:00
Nicolas Goaziou 765c92c27a
gnu: texlive-trimspaces: Fix build.
* gnu/packages/tex.scm (texlive-trimspaces)[native-inputs]: Add TEXLIVE-FILCONTENTS.
2023-07-18 18:16:55 +02:00
Christopher Baines c1f7156d55
svn-download: Handle the single file case when downloading a nar.
Delete the output so that download-nar doesn't error when trying to restore.

* guix/svn-download.scm (svn-multi-fetch): Delete the output if it exists
prior to calling download-nar.
2023-07-18 18:16:55 +02:00
Christopher Baines 32e48b8b43
svn-download: Use download-nar in svn-multi-fetch.
This should help if there are issues fetching from the source repository.

* guix/svn-download.scm (svn-multi-fetch): Use download-nar and adjust
accordingly.
2023-07-18 18:16:54 +02:00
Christopher Baines a8d937d1bb
svn-download: Use download-nar.
This should help if there are issues fetching from the source repository.

* guix/svn-download.scm (svn-fetch): Use download-nar and adjust accordingly.
2023-07-18 18:16:54 +02:00
Nicolas Goaziou 129f033b07
gnu: Add texlive-epspdf.
* gnu/packages/tex.scm (texlive-epspdf): New variable.
2023-07-18 18:16:54 +02:00
Nicolas Goaziou 026ed35ddb
guix: import: Handle texlua and TCL scripts.
* guix/import/texlive.scm (linked-scripts): Also generate scripts from files
with ".tlu" and ".tcl" extensions.
(tlpdb->package): Add appropriate inputs when providing a TCL script.
2023-07-18 18:16:53 +02:00
Nicolas Goaziou 22c752fde1
gnu: yubico-piv-tool: Use texlive-updmap.cfg in native inputs.
* gnu/packages/security-token.scm (yubico-piv-tool)[native-inputs]: Replace
TEXLIVE-BIN with TEXLIVE-UPDMAP.CFG.  Re-order inputs alphabetically.
2023-07-18 18:16:53 +02:00
Nicolas Goaziou 07c2b5bcfe
gnu: xournalpp: Remove texlive-bin as an input.
* gnu/packages/pdf.scm (xournalpp)[inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:16:53 +02:00
Nicolas Goaziou d742dc8e33
gnu: python-numpy-documentation: Fix build.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Use TEXLIVE-UPDMAP.CFG.  Add TEXLIVE-LATEXMK and TEXLIVE-XETEX.
2023-07-18 18:16:52 +02:00
Nicolas Goaziou 7ceb23113d
gnu: python-ipython-documentation: Fix build.
* gnu/packages/python-xyz.scm (python-ipython-documentation)[native-inputs]:
Use TEXLIVE-UPDMAP.CFG.  Add TEXLIVE-LATEXMK and TEXLIVE-XETEX.
2023-07-18 18:16:52 +02:00
Nicolas Goaziou 6870b0a326
gnu: texlive-luacas: Add missing files.
* gnu/packages/tex.scm (texlive-luacas)[source]: Fix locations to include all files.
2023-07-18 18:16:52 +02:00
Nicolas Goaziou 0d8b95dea3
gnu: texlive-biblatex: Add missing files.
* gnu/packages/tex.scm (texlive-biblatex)[source]: Fix locations to include all files.
2023-07-18 18:16:51 +02:00
Nicolas Goaziou f34a654206
gnu: emacs-auctex: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-auctex)[arguments]: Use G-expressions.
<#:include>: Use %DEFAULT-INCLUDE.
<#:exclude>: Use %DEFAULT-EXCLUDE.
2023-07-18 18:16:51 +02:00
Nicolas Goaziou 3729c3adf7
gnu: emacs-auctex: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-auctex)[arguments]<#phases>: Use "dvipng"
and "dvips" from cache.  Fix destination for refcard.
[native-inputs]: Add TEXLIVE-UPDMAP.CFG.
2023-07-18 18:16:50 +02:00
Nicolas Goaziou e7b08e13fa
gnu: texlive-media9: Add missing files.
* gnu/packages/tex.scm (texlive-media9)[source]: Fix locations to include all files.
2023-07-18 18:16:50 +02:00
Nicolas Goaziou 074abeb4f4
gnu: ocaml-bibtex2html: Fix build.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Add TEXLIVE-PREPRINT.
2023-07-18 18:16:49 +02:00
Nicolas Goaziou 29cc6b1cd6
gnu: Deprecate `texlive-tiny'.
At this point, there are three equivalent TeX Live sub-systems:
texlive-scheme-basic, texlive-tiny, and (texlive-updmap.cfg).  It is confusing
to keep so many around.

* doc/contributing.texi (Submitting Patches): Remove reference to
TEXLIVE-TINY.
* gnu/packages/algebra.scm (pari-gp)[native-inputs]:
(giac)[native-inputs]:
* gnu/packages/chez.scm (chez-sockets)[native-inputs]:
* gnu/packages/engineering.scm (fastcap)[native-inputs]:
* gnu/packages/gettext.scm (po4a)[native-inputs]:
* gnu/packages/maths.scm (cddlib)[native-inputs]:
(gnuplot)[native-inputs]:
(itpp)[native-inputs]:
* gnu/packages/ocaml.scm (unison)[native-inputs]:
* gnu/packages/pdf.scm (extractpdfmark)[native-inputs]:
* gnu/packages/photo.scm (enblend-enfuse): Replace TEXLIVE-TINY with a call to TEXLIVE-UPDMAP.CFG.
* gnu/packages/radio.scm (gnuradio)[native-inputs]: Remove unnecessary
TEXLIVE-TINY.
* gnu/packages/tex.scm (texlive-tiny): Deprecate it in favor of TEXLIVE-SCHEME-BASIC.
(texlive-makecmds)[native-inputs]:  Replace TEXLIVE-TINY with a call to TEXLIVE-UPDMAP.CFG.
* guix/lint.scm (check-inputs-should-be-native): Check only for
"texlive-updmap.cfg" input name.
2023-07-18 18:16:49 +02:00
Nicolas Goaziou 582ec648c9
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Add TEXLIVE-HYPDOC.
2023-07-18 18:16:49 +02:00
Nicolas Goaziou c9efffe3d0
gnu: chez-web: Fix build.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Add TEXLIVE-CHARTER,
TEXLIVE-CWEB, remove TEXLIVE-EPSF.
[arguments]<#:phases>: Add phases to fix ".tex" issues.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou e6fc11ae07
gnu: discrover: Fix build.
* gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Add
TEXLIVE-FORLOOP, TEXLIVE-LISTOFITEMS, TEXLIVE-READARRAY.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou 8734aa7b0a
gnu: Add texlive-forloop.
* gnu/packages/tex.scm (texlive-forloop): New variable.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou 213cde14e3
guix: Add linter warning about texlive-updmap.cfg and texlive-tiny.
* guix/lint.scm (check-inputs-should-be-native): Warn when TEXLIVE-UPDMAP.CFG
and TEXLIVE-TINY are not native inputs.
2023-07-18 18:16:47 +02:00
Nicolas Goaziou 7a18bd9e74
gnu: Rationalize texlive-updmap.cfg and texlive-tiny inputs.
TEXLIVE-UPDMAP.CFG and TEXLIVE-TINY should only be used as native inputs.
Also remove texlive packages already provided by them.

* doc/build.scm (pdf-manual):
* gnu/packages/algebra.scm (pari-gp):
* gnu/packages/bioinformatics.scm (discrover):
(phyml):
(velvet):
* gnu/packages/chemistry.scm (yaehmop):
* gnu/packages/chez.scm (stex-bootstrap):
(chez-web):
(chez-sockets):
* gnu/packages/cran.scm (r-prereg):
* gnu/packages/docbook.scm (dblatex):
* gnu/packages/emacs-xyz.scm (emacs-auctex):
* gnu/packages/engineering.scm (fastcap):
* gnu/packages/fsf.scm (book-faif):
* gnu/packages/graphviz.scm (dot2tex):
* gnu/packages/maths.scm (hypre):
* gnu/packages/ocaml.scm (unison):
(ocaml-bibtex2html):
* gnu/packages/plotutils.scm (asymptote):
* gnu/packages/python-xyz.scm (python-nbconvert):
(python-pypandoc):
* gnu/packages/radio.scm (gnuradio):
(libosmo-dsp):
* gnu/packages/statistics.scm (r-with-tests):
* gnu/packages/tex.scm (texlive-makecmds):
(texlive-innerscript):
(teximpatient):
(texlive-xkeyval): Remove texlive packages already provided by
TEXLIVE-UPDMAP.CFG.  Don't add TEXLIVE-TINY or TEXLIVE-UPDMAP.CFG as inputs.
2023-07-18 18:16:47 +02:00
Nicolas Goaziou f37146969a
gnu: texlive-updmap.cfg: Provide basic scheme.
Packages have to be moved around in the module because they need to be defined
in a particular order : TEXLIVE-SCHEME-BASIC < TEXLIVE-UPDMAP.CFG < any
texlive package making use of TEXLIVE-UPDMAP.CFG.

* gnu/packages/tex.scm (texlive-updmap.cfg): Provide TEXLIVE-SCHEME-BASIC.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou d5abbf48a4
gnu: Add texlive-cweb.
* gnu/packages/tex.scm (texlive-cweb): New variable.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou 32f9cb3e6b
gnu: texlive-context: Fix package.
* gnu/packages/tex.scm (texlive-context)[source]: Do not fetch third-party Lua
scripts.
[arguments]<#:phases>: Create additional symlinks.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou 7e30fd530e
gnu: texlive-mptopdf: Fix package.
* gnu/packages/tex.scm (texlive-mptopdf)[source]: Only grab specific
"mptopdf.pl" scripts, not all other scripts in the same directory.
[arguments]<#:phases>: Add a phase to use provided Perl.
[inputs]: Add PERL.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou 2e189e8863
guix: texlive importer: Do not pull all "scripts/context/" files.
* guix/import/texlive.scm (texlive-generic-locations): Add "scripts/context/"
since this location is split across multiple packages.
* guix/import/texlive.scm (files->locations): Only single out files from
generic locations, not their sub-directories.  E.g., generic location
"scripts/context/lua/" should not fetch "scripts/context/lua/third/" files.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou 88a3b237f5
gnu: phyml: Fix build.
* gnu/packages/bioinformatics.scm (phyml)[native-inputs]: Add
TEXLIVE-INFWARERR, TEXLIVE-KVOPTIONS and TEXLIVE-PDFTEXCMDS.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou 9eb02049b8
gnu: dot2tex: Fix failing tests.
TeX Live packages needed to build tests are moved to native inputs because
propagating them may not be a good thing.  Use might already be using
monolithic TeX Live, or would may have their TeX Live installation on another system.

* gnu/packages/graphviz.scm (dot2tex)[native-inputs]: Add TeX Live packages
necessary to build documents generated during tests.
[propagated-inputs]: Remove them.
2023-07-18 18:16:44 +02:00
Nicolas Goaziou df2e9dedba
gnu: texlive-context: Add missing files.
* gnu/packages/tex.scm (texlive-context)[source]: Fix locations to include all
files, including man pages.
2023-07-18 18:16:44 +02:00
Nicolas Goaziou ca4e92e794
gnu: texlive-pgf: Add missing files.
* gnu/packages/tex.scm (texlive-pgf)[source]: Fix locations.  Previous ones
would not include "tikz.sty" file, among others.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou 944ace7194
guix: Fix sub-directories in texlive importer locations.
* guix/import/texlive.scm (files->locations): When removing a sub-directory,
make sure to actually remove the sub-directory and not the parent.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou fc91998274
gnu: ocaml-bibtex2html: Improve package style.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[origin]<uri>: Re-use version.
[arguments]: Use G-expressions.  Remove trailing #T from phases.
[native-inputs]: Remove labels.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou 97a59bbef9
gnu: ocaml-bibtex2html: Fix build.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Add
TEXLIVE-INFWARERR, TEXLIVE-KVOPTINOS, TEXLIVE-PDFTEXCMDS.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou e8f3b8bdc7
gnu: hypre: Fix error when building documentation.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add TEXLIVE-LATEXMK.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou 1e92db8927
gnu: velvet: Improve package style.
* gnu/packages/bioinformatics.scm (velvet)[arguments]: Use G-expressions.
[native-inputs]: Remove label.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou 42500f1aad
gnu: velvet: Fix error when building documentation.
* gnu/packages/bioinformatics.scm (velvet)[native-inputs]: Add TEXLIVE-GRFEXT,
TEXLIVE-INFWARERR, TEXLIVE-KVOPTIONS and TEXLIVE-KPDFTEXCMDS.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou fdf09bcd31
gnu: yaehmop: Fix build due to missing TeX Live scripts.
* gnu/packages/chemistry.scm (yaehmop)[native-inputs]: Add missing "latexmk"
and "repstopdf" scripts.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou 169edc0503
gnu: Add propagated packages to texlive-updmap.cfg.
These packages belong to TeX Live's "basic" collection; they are often
expected when building a ".tex" file.  They were silently propagated in the
previous definition of the function.  Note : their definition has to be moved before
TEXLIVE-UPDMAP.CFG in the module.

* gnu/packages/tex.scm (texlive-updmap.cfg): Add TEXLIVE-CM, TEXLIVE-EC,
TEXLIVE-EPSTOPDF-PKG, TEXLIVE-ETEX, TEXLIVE-ETEX-PKG, TEXLIVE-IFPLATFORM,
TEXLIVE-IFTEX, TEXLIVE-TEX.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou 0bdaff9313
gnu: texlive-epstopdf: Add missing "repstopdf" symlink.
* gnu/packages/tex.scm (texlive-epstopdf)[arguments]<#:phases>: Add missing
"repstopdf" symlink.
2023-07-18 18:16:40 +02:00
Nicolas Goaziou d61cd4aebe
gnu: tex: Comment about the Guix-specific packages in the module.
* gnu/packages/tex.scm: Comment about the Guix-specific packages in the module.
2023-07-18 18:16:40 +02:00
Nicolas Goaziou 350562e9f4
doc: Update TeX Live related documentation.
* doc/guix.texi (Invoking guix import): "texlive.tlpdb" is located in
TEXLIVE-SCRIPTS package.
(Using TeX and LaTeX): Mention collections and schemes as a starting point.
Illustrate it with an updated example.  Update tiny TODO list.  Fix call to
"tlmgr".
2023-07-18 18:16:40 +02:00
Nicolas Goaziou 81ccfeb928
gnu: Add texlive-collection-luatex.
* gnu/packages/tex.scm (texlive-collection-luatex): New variable.
2023-07-18 18:16:39 +02:00
Nicolas Goaziou bbf868fcdb
gnu: Add texlive-yamlvars.
* gnu/packages/tex.scm (texlive-yamlvars): New variable.
2023-07-18 18:16:39 +02:00
Nicolas Goaziou 40d46e6522
gnu: Add texlive-uninormalize.
* gnu/packages/tex.scm (texlive-uninormalize): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou 4ee871537b
gnu: Add texlive-typewriter.
* gnu/packages/tex.scm (texlive-typewriter): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou e331b87317
gnu: Add texlive-tsvtemplate.
* gnu/packages/tex.scm (texlive-tsvtemplate): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou 71f2166aab
gnu: Add texlive-truthtable.
* gnu/packages/tex.scm (texlive-truthtable): New variable.
2023-07-18 18:16:37 +02:00