Commit graph

484 commits

Author SHA1 Message Date
Ludovic Courtès
6a7c4636d4
Adjust module autoloads.
In Guile < 2.9.7, autoloading a module would give you access to all its
bindings.  In future versions, autoloading a module gives access only to
the listed bindings, as per #:select (see <https://bugs.gnu.org/38895>).

This commit adjusts autoloads to the new semantics, allowing Guix to be
built with Guile 2.9.7/2.9.8.

* guix/build/download.scm <top level>: Remove call to 'module-autoload!'.
(load-gnutls): New procedure.
(tls-wrap): Call it.
* guix/git.scm <top level>: Remove call to 'module-autoload!'.
(load-git-submodules): New procedure.
(update-submodules): Call it instead of 'resolve-interface'.
* gnu/bootloader/grub.scm: Replace #:autoload with #:use-module.
* gnu/packages.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tex.scm: Likewise.
* gnu/services/cuirass.scm: Likewise.
* gnu/services/mcron.scm: Likewise.
* guix/lint.scm: Augment list of bindings in #:autoload.
* guix/scripts/build.scm: Likewise.
* guix/scripts/gc.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/publish.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/utils.scm: Remove unnecessary #:autoload clauses; replace one
of them with #:use-module.
2020-01-06 16:31:54 +01:00
Efraim Flashner
2ada1259e9
gnu: texlive-latex-pdfx: Declare source file-name.
* gnu/packages/tex.scm (texlive-latex-pdfx)[source]: Use file-name.
2019-11-13 12:49:23 +02:00
Efraim Flashner
97656fc937
gnu: texlive-latex-xmpincl: Declare source file-name.
* gnu/packages/tex.scm (texlive-latex-xmpincl)[source]: Use file-name.
2019-11-13 12:49:23 +02:00
Efraim Flashner
e34a17e410
gnu: texlive-latex-changepage: Declare source file-name.
* gnu/packages/tex.scm (texlive-latex-changepage)[source]: Use
file-name.
2019-11-13 12:49:23 +02:00
Efraim Flashner
44d0717c9b
gnu: texlive-latex-mflogo: Declare source file-name.
* gnu/packages/tex.scm (texlive-latex-mflogo)[source]: Use file-name.
2019-11-13 12:49:23 +02:00
Efraim Flashner
4c08aa5740
gnu: texlive-standalone: Declare source file-name.
* gnu/packages/tex.scm (texlive-standalone)[source]: Use file-name.
2019-11-13 12:49:22 +02:00
Efraim Flashner
dc08ede8b5
gnu: texlive-booktabs: Declare source file-name.
* gnu/packages/tex.scm (texlive-booktabs)[source]: Use file-name.
2019-11-13 12:49:22 +02:00
Efraim Flashner
04f46e5dbe
gnu: texlive-latex-xkeyval: Declare source file-name.
* gnu/packages/tex.scm (texlive-latex-xkeyval)[source]: Use file-name.
2019-11-13 12:49:22 +02:00
Tobias Geerinckx-Rice
cb72994e20
gnu: lyx: Download over HTTPS.
* gnu/packages/tex.scm (lyx)[source]: Use HTTPS.
2019-11-12 04:05:29 +01:00
Tobias Geerinckx-Rice
b3701ca198
gnu: lyx: Use Python 3.
* gnu/packages/tex.scm (lyx)[inputs, native-inputs]: Replace python-2 with default python.
2019-11-12 04:05:29 +01:00
Tobias Geerinckx-Rice
8c183d95af
gnu: lyx: Update to 2.3.3.
* gnu/packages/tex.scm (lyx): Update to 2.3.3.
[native-inputs]: Remove bc.
2019-11-12 03:33:06 +01:00
Tobias Geerinckx-Rice
3a4b8f4464
gnu: lyx: Don't use NAME in source URI.
* gnu/packages/tex.scm (lyx)[source]: Hard-code NAME.
2019-11-12 03:33:05 +01:00
Ludovic Courtès
11da634a6e
Merge branch 'master' into core-updates 2019-09-24 10:11:38 +02:00
Ricardo Wurmus
993a4fbb7c
Merge remote-tracking branch 'origin/master' into wip-texlive 2019-09-18 11:54:54 +02:00
Ludovic Courtès
9ff87bb996
Merge branch 'master' into core-updates 2019-09-17 16:27:15 +02:00
Ricardo Wurmus
63d57404b3
gnu: texlive-xypic: Install all files.
Reported by numerobis on the #guix IRC channel.

* gnu/packages/tex.scm (texlive-xypic)[source]: Install "tex/generic/xypic"
files.
[arguments]: Remove #:tex-directory.
2019-09-12 12:10:05 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Ricardo Wurmus
813ed0bd3d
gnu: texlive-union: Fix font map generation.
* gnu/packages/tex.scm (texlive-union)[arguments]: Exclude sed and coreutils
from union; add sed to the PATH; run updmap-sys twice; delete ls-R to avoid
lookup failures.
2019-09-05 22:45:48 +02:00
Ricardo Wurmus
09e2f25842
gnu: texlive-latex-base: Ensure that extra sources are installed.
* gnu/packages/tex.scm (texlive-latex-base): Use simple-texlive-package to
install additional files.
2019-09-05 22:45:48 +02:00
Ricardo Wurmus
66d2133500
gnu: Add texlive-booktabs.
* gnu/packages/tex.scm (texlive-booktabs): New variable.
2019-09-05 22:45:42 +02:00
Ricardo Wurmus
69f0c8cf55
gnu: Add texlive-siunitx.
* gnu/packages/tex.scm (texlive-siunitx): New variable.
2019-09-05 22:45:42 +02:00
Ricardo Wurmus
11ecf9f48f
gnu: Add texlive-standalone.
* gnu/packages/tex.scm (texlive-standalone): New variable.
2019-09-05 22:45:42 +02:00
Ricardo Wurmus
f16e09487b
gnu: texlive-latex-xkeyval: Fix build.
* gnu/packages/tex.scm (texlive-latex-xkeyval)[arguments]: Add various custom
build phases to fix the build.
[native-inputs]: Add texlive-latex-base, texlive-cm, texlive-lm, texlive-url,
texlive-graphics-def, texlive-xcolor, texlive-latex-footmisc,
texlive-latex-listings, texlive-iftex, texlive-pstricks, texlive-pst-text,
texlive-tools, and texlive-latex-pgf.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
99b143655b
gnu: Add texlive-tools.
* gnu/packages/tex.scm (texlive-tools): New variable.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
51bf1c5188
gnu: Add texlive-iftex.
* gnu/packages/tex.scm (texlive-iftex): New variable.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
a72d343aea
gnu: Add texlive-pst-text.
* gnu/packages/tex.scm (texlive-pst-text): New variable.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
e5c081291e
gnu: Add texlive-pstricks.
* gnu/packages/tex.scm (texlive-pstricks): New variable.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
73ce44218b
gnu: Add texlive-ydoc.
* gnu/packages/tex.scm (texlive-ydoc): New variable.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
266e07421e
gnu: Add texlive-xcolor.
* gnu/packages/tex.scm (texlive-latex-xcolor): Bind to deprecated package
pointing...
(texlive-color): ...to this variable; implement in terms of
simple-texlive-package.
[arguments]: Add phase "move-files" to install xcolor.pro to the expected
location.
2019-09-05 22:45:41 +02:00
Ricardo Wurmus
f1a46c9025
gnu: texlive-fonts-iwona: Use double spacing in description.
* gnu/packages/tex.scm (texlive-fonts-iwona)[description]: Use double spacing.
2019-09-05 22:45:41 +02:00
Marius Bakke
462ad9f56b
Merge branch 'master' into core-updates 2019-08-13 20:42:06 +02:00
Ricardo Wurmus
d350d5e714
gnu: texlive-amsfonts: Build .ins file instead of installing fonts twice.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Override build targets;
rename font build directory to avoid installing it a second time.
2019-07-24 18:25:12 +02:00
Ricardo Wurmus
a6405e0333
gnu: Rename references to obsolete "texlive-fonts-cm".
* gnu/packages/tex.scm (texlive-amsfonts, texlive-fonts-latex, texlive-etex,
texlive-hyph-utf8, texlive-base, texlive-fonts-ec,
texlive-fonts-rsfs)[native-inputs]: Rename texlive-fonts-cm to texlive-cm.
[arguments]: Adjust.
2019-07-24 12:19:54 +02:00
Ricardo Wurmus
fdb8841fa6
gnu: texlive-base: Include texlive-tetex.
* gnu/packages/tex.scm (texlive-base)[default-packages]: Add texlive-tetex.
2019-07-24 12:13:44 +02:00
Ricardo Wurmus
192ad4d16f
gnu: Add texlive-tetex.
* gnu/packages/tex.scm (texlive-tetex): New variable.
2019-07-24 12:13:23 +02:00
Ricardo Wurmus
81ca46147d
gnu: Add texlive-beamer.
* gnu/packages/tex.scm (texlive-beamer): New variable.
(texlive-latex-beamer): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
b7d779db34
gnu: Add texlive-cm.
* gnu/packages/tex.scm (texlive-cm): New variable.
(texlive-fonts-cm): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
df19dc2f86
gnu: Add texlive-zapfding.
* gnu/packages/tex.scm (texlive-zapfding): New variable.
(texlive-fonts-adobe-zapfding): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
57bee3cc91
gnu: Add texlive-palatino.
* gnu/packages/tex.scm (texlive-palatino): New variable.
(texlive-fonts-adobe-palatino): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
1aaa117c0c
gnu: Add texlive-times.
* gnu/packages/tex.scm (texlive-times): New variable.
(texlive-fonts-adobe-times): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
1f50ae6346
gnu: Add texlive-charter.
* gnu/packages/tex.scm (texlive-charter): New variable.
(texlive-fonts-charter): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
8fee5067b2
gnu: texlive-tex-plain: Simplify.
* gnu/packages/tex.scm (texlive-tex-plain): Implement with
SIMPLE-TEXLIVE-PACKAGE.
[description]: Use full sentences.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
8bc9afeb9e
gnu: Add texlive-xypic.
* gnu/packages/tex.scm (texlive-xypic): New variable.
(texlive-fonts-xypic, texlive-generic-xypic): Deprecate them.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
0901f1b042
gnu: Add texlive-txfonts.
* gnu/packages/tex.scm (texlive-txfonts): New variable.
(texlive-fonts-txfonts): Deprecate package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
6a4fe83b5e
gnu: Add texlive-ae.
* gnu/packages/tex.scm (texlive-ae): New variable.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
4253358ab0
gnu: texlive-fonts-ec: Update license URL.
* gnu/packages/tex.scm (texlive-fonts-ec)[license]: Update URL.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
f75aa97f95
gnu: Replace uses of texlive-*-amsfonts.
* gnu/packages/algebra.scm (pari-gp)[native-inputs]: Replace
texlive-fonts-amsfonts and texlive-latex-amsfonts with texlive-amsfonts in
texlive-union.
* gnu/packages/docbook.scm (dblatex)[inputs]: Same.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Same.
* gnu/packages/python-xyz.scm (python-numpy-documentation,
python-matplotlib-documentation, python-ipython-documentation)
[native-inputs]: Same.
* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Same.
* gnu/packages/tex.scm (teximpatient)[native-inputs]: Same.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
82ff725df9
gnu: Add texlive-amsfonts.
* gnu/packages/tex.scm (texlive-fonts-amsfonts, texlive-latex-amsfonts):
Deprecate and merge...
(texlive-amsfonts): ...to this new package.
2019-07-24 09:46:49 +02:00
Ricardo Wurmus
e976d3618d
gnu: texlive-latex-base: Simplify.
* gnu/packages/tex.scm (texlive-latex-base)[source]: Use TEXLIVE-ORIGIN.
[arguments]: Simplify build phase by running fmtutil-sys; adjust install
phase.
[native-inputs]: Remove texlive-generic-unicode-data,
texlive-generic-dehyph-exptl, texlive-generic-tex-ini-files,
texlive-latex-latexconfig, texlive-generic-hyphen, texlive-generic-ruhyphen,
texlive-generic-ukrhyph, texlive-generic-config, and
texlive-latex-base-support-files; add texlive-tex-ini-files, texlive-kpathsea,
and texlive-luatexconfig.
[propagated-inputs]: Add texlive-etex, texlive-hyph-utf8, texlive-hyphen-base,
texlive-hyphen-afrikaans, texlive-hyphen-ancientgreek,
texlive-hyphen-armenian, texlive-hyphen-basque, texlive-hyphen-belarusian,
texlive-hyphen-bulgarian, texlive-hyphen-catalan, texlive-hyphen-chinese,
texlive-hyphen-churchslavonic, texlive-hyphen-coptic, texlive-hyphen-croatian,
texlive-hyphen-czech, texlive-hyphen-danish, texlive-hyphen-dutch,
texlive-hyphen-english, texlive-hyphen-esperanto, texlive-hyphen-estonian,
texlive-hyphen-ethiopic, texlive-hyphen-finnish, texlive-hyphen-french,
texlive-hyphen-friulan, texlive-hyphen-galician, texlive-hyphen-georgian,
texlive-hyphen-german, texlive-hyphen-greek, texlive-hyphen-hungarian,
texlive-hyphen-icelandic, texlive-hyphen-indic, texlive-hyphen-indonesian,
texlive-hyphen-interlingua, texlive-hyphen-irish, texlive-hyphen-italian,
texlive-hyphen-kurmanji, texlive-hyphen-latin, texlive-hyphen-latvian,
texlive-hyphen-lithuanian, texlive-hyphen-mongolian, texlive-hyphen-norwegian,
texlive-hyphen-occitan, texlive-hyphen-piedmontese, texlive-hyphen-polish,
texlive-hyphen-portuguese, texlive-hyphen-romanian, texlive-hyphen-romansh,
texlive-hyphen-russian, texlive-hyphen-sanskrit, texlive-hyphen-serbian,
texlive-hyphen-slovak, texlive-hyphen-slovenian, texlive-hyphen-spanish,
texlive-hyphen-swedish, texlive-hyphen-thai, texlive-hyphen-turkish,
texlive-hyphen-turkmen, texlive-hyphen-ukrainian, texlive-hyphen-uppersorbian,
texlive-hyphen-welsh, texlive-unicode-data, texlive-ukrhyph, texlive-ruhyphen,
and texlive-latexconfig.
2019-07-24 09:46:48 +02:00
Ricardo Wurmus
b93d9dac24
gnu: texlive-dvips: Update source files.
* gnu/packages/tex.scm (texlive-dvips): Include source files from the TeX Live
SVN repository according to texlive.tlpdb.
2019-07-24 09:46:48 +02:00