1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-21 17:50:34 +02:00
Commit Graph

582 Commits

Author SHA1 Message Date
Maxim Cournoyer
82f5f6b14c gnu: Replace all uses of texlive-union by texlive-updmap.cfg.
* doc/build.scm (pdf-manual) Replace texlive-union by texlive-updmap.cfg.
* gnu/packages/algebra.scm (pari-gp): Likewise.
* gnu/packages/bioinformatics.scm (discrover, velvet): Likewise.
* gnu/packages/chez.scm (chez-scheme, chez-web, chez-sockets): Likewise.
* gnu/packages/docbook.scm (dblatex): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Likewise.
* gnu/packages/engineering.scm (fastcap): Likewise.
* gnu/packages/guile-xyz.scm (emacsy, guile-cv): Likewise.
* gnu/packages/lisp.scm (sbcl): Likewise.
* gnu/packages/maths.scm (octave, hypre): Likewise.
* gnu/packages/music.scm (lilypond): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/python-xyz.scm (python-numpy-documentation)
(python-matplotlib-documentation, python-ipython-documentation)
(python-pypandoc): Likewise.
* gnu/packages/radio.scm (gnuradio, libosmo-dsp): Likewise.
* gnu/packages/scheme.scm (mit-scheme): Likewise.
* gnu/packages/statistics.scm (r-with-tests): Likewise.
* gnu/packages/tex.scm (simple-texlive-package)
(texlive-xmltex, texlive-tiny, texlive-jadetex, teximpatient, lyx): Likewise.
2021-01-29 13:35:47 -05:00
Maxim Cournoyer
57fad03c4f gnu: texlive-amsfonts: Adjust to build with texlive-updmap.cfg.
* gnu/packages/tex.scm (texlive-amsfonts)[phases]
{build-fonts}: Do not set SOURCE_DATE_EPOCH, already done by the build
system.  Let resources be auto-discovered by TeX Live machinery by simply
setting GUIX_TEXMF.  Remove references to the texlive-union input.  Remove
trailing #t.
{install-generated-fonts}: Remove trailing #t.
[native-inputs]: Replace texlive-union by texlive-updmap.cfg.  Remove the
texlive-cm and texlive-metafont arguments of texlive-updmap.cfg.
2021-01-29 13:35:47 -05:00
Maxim Cournoyer
04a0b1e09a gnu: texlive-bin: Enable the use of multiple TeX Live trees.
Attempting to compose multiple TeX Live trees (such as can happen when using a
texlive-union generated package) proved problematic; only the texmf.cnf
configuration file from the union would be honored, causing other TeX Live
components to be ignored.

This change does away with TeX Live unions, instead relying on the default
texmf.cnf configuration file provided by the texlive-bin package to honor
individual TeX Live trees referred to via the newly introduced GUIX_TEXMF
variable, and replacing the texlive-union procedure by texlive-updmap.cfg, to
explicit that generating the fonts map configuration is now its sole purpose.

* gnu/packages/tex.scm (texlive-bin)[phases]{customize-texmf}: New phase.
{postint}: Move the patching of the texmf.cnf file to the new above phase.
Patch the updmap.pl script to find its Perl modules.
[native-search-paths]: Rename the TEXMF variable to GUIX_TEXMF.  Remove the
TEXMFCNF variable.
* guix/profiles.scm (texlive-configuration): Remove procedure.
(%default-profile-hooks)[texlive-configuration]: Unregister hook.
(texlive-union): Alias to what has moved to...
(texlivke-updmap.cfg): ... here.  Update doc.  Do not provide a different
texmf.cnf configuration.
[inherit]: Do not inherit from texlive-base.
[build-system]: Switch to the copy-build-system.
[arguments]{install-plan}: New argument.
[phases]{regenerate-updmap.cfg}: New phase, which keeps only the fonts map
generating code from the previous builder code.
[inputs]: Remove bash, and move to ...
[propagated-inputs]: ... here.
[native-inputs]: Remove field, and move the source of the base updmap.cfg file
to...
[source]: ... here.
[synopsis]: Update.
[description]: Likewise.
[license]: Delete duplicates.
2021-01-29 13:35:47 -05:00
Maxim Cournoyer
92fd8975a1 gnu: texlive-bin: Patch shell commands in scripts.
* gnu/packages/tex.scm (texlive-bin)[phases]{patch-scripts}: New phase.
2021-01-14 09:02:12 -05:00
Maxim Cournoyer
9e78ea79f8 gnu: texlive-bin: Fix the tlmgr utility.
Previously, it would error out, not finding its Perl modules, and later not
finding config.guess.  This utility is useful to query the local TeX Live
package database (texlive.tlpdb).

(texlive-bin)[inputs]{config}: New input.
[phases]{postint}: Add a symlink to the 'config.guess' script.  Patch the
tlmgr.pl script so that it can find its Perl modules and other resources.
2021-01-14 09:02:12 -05:00
Maxim Cournoyer
ec14d5f729 gnu: texlive-bin: Unpack the texlive-scripts and texlive-extra inputs early.
This allows the sources to processed normally by the other phases such as
patch-source-shebangs.

* gnu/packages/tex.scm (texlive-bin)[arguments]: Specify #:modules.
[phases]{unpack-texlive-extra, unpack-texlive-scripts}: New phases.
{postint}: Move the unpacking of the texlive-extra and texlive-scripts inputs
to the above newly added phases.  The installation of these extra directories
now simply uses copy-recursively.
2021-01-14 09:02:12 -05:00
Maxim Cournoyer
ed4b0f78b2 gnu: texlive-bin: Fix indentation.
* gnu/packages/tex.scm (texlive-bin): Fix indentation.
2021-01-14 09:02:11 -05:00
Maxim Cournoyer
8e7c75043a gnu: texlive-bin: Replace python-2 by python.
* gnu/packages/tex.scm (texlive-bin)[inputs]: Replace python-2 by python.
2021-01-14 09:02:11 -05:00
Maxim Cournoyer
d41acb452d gnu: texlive-texmf: Replace python-2 by python.
* gnu/packages/tex.scm (texlive-texmf)[inputs]: Replace python-2 by python.
2021-01-14 09:02:11 -05:00
Maxim Cournoyer
6d3fd925bc gnu: Add texlive-jadetex.
* gnu/packages/tex.scm (texlive-jadetex): New variable.
2021-01-14 09:02:11 -05:00
Maxim Cournoyer
711d678171 gnu: Add texlive-xmltex.
* gnu/packages/tex.scm (texlive-xmltex): New variable.
2021-01-14 09:02:11 -05:00
Maxim Cournoyer
607a7f1bc0 gnu: texlive-wasysym: Update synopsis and description.
* gnu/packages/tex.scm (texlive-wasysym)[synopsis]: Refer to the font by
'wasy', not WASY2.
[description]: Likewise.  Use code ornaments for the LaTeX package names.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
0bd59dcda2 gnu: Add texlive-wasy.
* gnu/packages/tex.scm (texlive-wasy): New variable.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
788170d8e9 gnu: texlive-stmaryrd: Actually include the fonts.
* gnu/packages/tex.scm (texlive-stmaryrd): Rewrite package to inherit from a
simple-texlive-template package, so that fonts resources as listed in the
texlive.tlpdb database are retrieved and installed.
[arguments]: Adapt to use with the inherited template.
{chdir}: New phase.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
be023c00e7 gnu: Add texlive-helvetic.
* gnu/packages/tex.scm (texlive-helvetic): New variable.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
9f689bc432 gnu: Add texlive-courier.
* gnu/packages/tex.scm (texlive-courier): New variable.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
feaaabae66 gnu: Add texlive-jknappen.
* gnu/packages/tex.scm (texlive-jknappen): New variable.
2021-01-14 09:02:10 -05:00
Maxim Cournoyer
223006b5cc gnu: texlive-psnfss: Improve description.
* gnu/packages/tex.scm (texlive-psnfss): Improve description.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
60f128c20b gnu: texlive-latex-oberdiek: Rename to texlive-oberdiek.
This is done to match the package name as registered in the texlive.tlpdb
database.

* gnu/packages/tex.scm (texlive-latex-oberdiek): New deprecated package.
(texlive-oberdiek): Renamed from the above.
(texlive-pstool, texlive-latex-geometry)
(texlive-beamer): Adjust to use the renamed package variable.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
8d44bb85fe gnu: texlive-fonts-stmaryrd: Rename to texlive-stmaryrd.
* gnu/packages/tex.scm (texlive-fonts-stmaryrd): Rename to texlive-stmaryrd,
according to the texlive.tlpdb database.  Deprecate old package name.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
568729e821 gnu: texlive-latex-wasysym: Rename to texlive-wasysym.
* gnu/packages/tex.scm (texlive-latex-wasysym): Rename to texlive-wasysym,
according to the texlive.tlpdb database.  Deprecate old package name.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
8ffed451c3 gnu: Add texlive-tipa.
* gnu/packages/tex.scm (texlive-tipa): New variable.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
1f3a89be6e gnu: Add texlive-marvosym.
* gnu/packages/tex.scm (texlive-marvosym): New variable.
2021-01-14 09:02:09 -05:00
Maxim Cournoyer
01f0707207 Merge branch 'staging' into 'core-updates'.
Conflicts:

	gnu/local.mk
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/gl.scm
	gnu/packages/glib.scm
	gnu/packages/guile.scm
	gnu/packages/node.scm
	gnu/packages/openldap.scm
	gnu/packages/package-management.scm
	gnu/packages/python-xyz.scm
	gnu/packages/python.scm
	gnu/packages/tls.scm
	gnu/packages/vpn.scm
	gnu/packages/xorg.scm
2021-01-13 23:45:53 -05:00
Ricardo Wurmus
40f14e3c66 gnu: Replace texlive-latex-pdfx with texlive-pdfx.
* gnu/packages/tex.scm (texlive-latex-pdfx): Deprecate in favor of...
(texlive-pdfx): ...this variable.
2020-12-23 10:34:34 +01:00
Ricardo Wurmus
4c8e7ca01d gnu: texlive-latex-pdfx: Use simple-texlive-package.
* gnu/packages/tex.scm (texlive-latex-pdfx): Implement with
simple-texlive-package.
[native-inputs]: Remove.
[propagated-inputs]: Replace texlive-generic-pdftex with texlive-pdftex.
2020-12-23 10:34:34 +01:00
Ricardo Wurmus
c9ef13bb19 gnu: Replace texlive-latex-hyperref with texlive-hyperref.
* gnu/packages/tex.scm (texlive-latex-hyperref): Deprecate in favor of...
(texlive-hyperref): ...this new variable.
2020-12-23 10:34:27 +01:00
Ricardo Wurmus
ad5dddc610 gnu: Replace texlive-latex-fontspec with texlive-fontspec.
* gnu/packages/tex.scm (texlive-latex-fontspec): Deprecate in favor of...
(texlive-fontspec): ...this new variable.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
2fa52bbcb5 gnu: texlive-base: Update reference to texlive-babel.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-babel" with "texlive-babel".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
a8a2dcf06d gnu: Replace texlive-latex-babel with texlive-babel.
* gnu/packages/tex.scm (texlive-latex-babel): Deprecate in favor of...
(texlive-babel): ...this new variable.
[native-inputs]: Add unzip.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
bbeabb548d gnu: texlive-base: Update reference to texlive-psnfss.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-psnfss" with "texlive-psnfss".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
10b2fff98a gnu: texlive-base: Update reference to texlive-amscls.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-amscls" with "texlive-amscls".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
6056dc110f gnu: Replace texlive-latex-amscls with texlive-amscls.
* gnu/packages/tex.scm (texlive-latex-amscls): Deprecate in favor of...
(texlive-amscls): ...this new variable.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus
4c1de416b2 gnu: Replace texlive-latex-mflogo with texlive-mflogo.
* gnu/packages/tex.scm (texlive-latex-mflogo): Deprecate in favor of...
(texlive-mflogo): ...this new variable.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus
212e0360d4 gnu: Update references to texlive-knuth-lib.
* gnu/packages/tex.scm (texlive-hyph-utf8, texlive-latex-base,
teximpatient)[native-inputs]: Replace references to "texlive-fonts-knuth-lib"
with "texlive-knuth-lib".
2020-12-23 10:10:59 +01:00
Ricardo Wurmus
a2276f625a gnu: Replace texlive-fonts-knuth-lib with texlive-knuth-lib.
* gnu/packages/tex.scm (texlive-fonts-knuth-lib): Deprecate in favor of...
(texlive-knuth-lib): ...this new variable.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus
63482d6f45 gnu: teximpatient: Use new name for texlive-pdftex.
* gnu/packages/tex.scm (teximpatient)[native-inputs]: Replace
texlive-generic-pdftex with texlive-pdftex.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus
0b4d0c6db3 gnu: Replace texlive-generic-pdftex with texlive-pdftex.
* gnu/packages/tex.scm (texlive-generic-pdftex): Deprecate in favor of...
(texlive-pdftex): ...this new variable.
2020-12-23 10:10:59 +01:00
Jelle Licht
d9f733ad8b gnu: texlive-amsfonts: Only create tfm files for Euler fonts.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]<#:phases>[build-fonts]:
Invoke `afm2tfm' for only the Euler fonts.
2020-12-23 10:10:58 +01:00
Ricardo Wurmus
7899a10e8e gnu: Replace texlive-latex-lh with texlive-lh.
* gnu/packages/tex.scm (texlive-latex-lh): Deprecate in favor of...
(texlive-lh): ...this new variable.
2020-12-23 10:10:58 +01:00
Ricardo Wurmus
0ac4c0ca40 gnu: Replace texlive-metafont-base with texlive-metafont.
* gnu/packages/tex.scm (texlive-metafont-base): Deprecate this variable in
favor of...
(texlive-metafont): ...this new variable.
(texlive-cm, texlive-fonts-knuth-lib, texlive-fonts-latex, texlive-amsfonts,
texlive-etex, texlive-base, texlive-fonts-ec, texlive-fonts-rsfs): Adjust
references to texlive-metafont-base.
2020-12-23 10:10:58 +01:00
Ricardo Wurmus
e760a15d35 gnu: texlive-metafont-base: Install missing files.
* gnu/packages/tex.scm (texlive-metafont-base)[arguments]: Also install "misc"
and "config" directories.
2020-12-23 10:10:57 +01:00
Ricardo Wurmus
17aeabdd52 gnu: texlive-base: Add texlive-cm-super to default set.
This adds T1 variants of the CM fonts, avoiding the need to generate bitmap
fonts (.pk files) at runtime.

* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Add
texlive-cm-super.
2020-12-23 10:10:57 +01:00
Ricardo Wurmus
556aca82a3 gnu: texlive-luatex-luaotfload: Use TeX Live sources.
* gnu/packages/tex.scm (texlive-luatex-luaotfload): Deprecate in favor of...
(texlive-luaotfload): ...this new variable; install files from the TeX Live
repository.
2020-12-23 10:10:57 +01:00
Ricardo Wurmus
d08f54ec4c gnu: Replace texlive-latex-psnfss with texlive-psnfss.
* gnu/packages/tex.scm (texlive-psnfss): New variable.
(texlive-latex-psnfss): Deprecate in favor of texlive-psnfss.
2020-12-23 10:10:54 +01:00
Ricardo Wurmus
0a5057e7f7 gnu: Add texlive-context.
* gnu/packages/tex.scm (texlive-context): New variable.
2020-12-23 10:06:31 +01:00
Ricardo Wurmus
e988401cb3 gnu: Add texlive-l3build.
* gnu/packages/tex.scm (texlive-l3build): New variable.
2020-12-23 10:06:31 +01:00
Ricardo Wurmus
71d7702fae gnu: texlive-latex-base: Use character translation file.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Patch fmtutil.cnf to
ensure that the character translation file cp227.tcx is used during format
file generation.
2020-12-23 10:06:27 +01:00
Marius Bakke
00f34c0057 gnu: texlive-latex-hyperref: Don't use unstable tarball.
* gnu/packages/tex.scm (texlive-latex-hyperref)[source]: Switch to GIT-FETCH.
2020-12-20 23:40:45 +01:00
Marius Bakke
1345c611ba gnu: texlive: Wrap with 'bash-minimal'.
* gnu/packages/tex.scm (texlive)[inputs]: Change from BASH to BASH-MINIMAL.
2020-12-20 23:40:45 +01:00