Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
guix/gnu
Ricardo Wurmus 805af862c6
guix: Restore profile hook for TeX Live font maps.
Long ago we had a profile hook, called “texlive-configuration”, which would
operate on the texlive-* packages that have actually been installed in the
profile, build a union directory, and then install a texmf.cnf file that
declared the prefix of the TeX Live tree to be the union directory.  It then
generated font maps based on the fonts that had actually been installed.

This approach had multiple disadvantages, the worst of which was that you
could only really have one TeX Live tree.  Commit
04a0b1e09a addressed this, where texmf.cnf was
modified *once* and for all in texlive-bin to reference the GUIX_TEXMF
variable to determine the root of the tree.  This made much of
“texlive-configuration” obsolete, because we didn’t need to have any union
directories at all, because we had no need for a customized per-profile
variant of texmf.cnf.

Unfortunately, with the loss of the profile hook we would no longer build font
maps.  This patch resurrects the profile hook: we’re again generating font
maps (such as pdftex.map) based on the contents of the profile.

* gnu/packages/tex.scm (texlive-default-updmap.cfg): New variable.
* guix/profiles.scm (texlive-configuration): Rename this...
(texlive-font-maps): ...to this; update to run updmap-sys on the contents of
the profile to generate only font maps.
(%default-profile-hooks): Add texlive-font-maps.
* guix/status.scm (hook-message): Rename unused texlive-configuration to
texlive-font-maps.
2022-02-07 21:37:04 +01:00
..
bootloader bootloader: grub: Fix serial mode. 2022-01-13 11:11:02 +01:00
build linux-container: Handle CLONE_NEWCGROUP and use it by default. 2022-01-05 23:44:18 +01:00
home home: Add redshift service. 2022-02-07 00:05:59 +01:00
installer installer: Use system-wide guix for system init. 2022-02-02 16:46:44 +01:00
machine machine: ssh: Add 'safety-checks?' field. 2022-01-16 23:56:55 +01:00
packages guix: Restore profile hook for TeX Live font maps. 2022-02-07 21:37:04 +01:00
platforms
services services: zabbix-frontend: Restore correct variable name. 2022-02-07 18:37:14 +01:00
system system: locale: Use only the current glibc. 2022-01-14 14:29:20 +01:00
tests services: guix: Add nar-herder-service-type. 2022-01-31 18:28:16 +00:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm installer: Use system-wide guix for system init. 2022-02-02 16:46:44 +01:00
local.mk gnu: webrtc-audio-processing: Fix building on powerpc architectures. 2022-02-07 22:08:19 +02:00
machine.scm
packages.scm shell: Cache profiles even when using package specs. 2022-01-11 20:34:59 +01:00
platform.scm
services.scm
system.scm
tests.scm