Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192376 - dev-tex/bera-20040930: updmap-sys settings for bera.map aren't preserved when a new tex package is installed
Summary: dev-tex/bera-20040930: updmap-sys settings for bera.map aren't preserved when...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 02:35 UTC by Stephan Bourduas
Modified: 2019-12-09 03:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bourduas 2007-09-13 02:35:24 UTC
When the dev-tex/bera package is installed, the ebuild does the following:

pkg_postinst() {
    latex-package_rehash
    updmap-sys --enable Map ${MY_P}.map
}

The problem with this approach is that the next time a latex package is installed/upgraded, updmap-sys is run again, at which point, the bera.map will no longer be enabled.  This occurs because updmap uses the updmap.cfg file, which is generated by concatenating the files found in /etc/texmf/updmap.d.  Since there's no entry for bera in /etc/texmf/updmap.d, bera will need to be manually enabled by running updmap-sys --enable Map bera.map.

To fix this problem, a file called "20bera.cfg" should be added to /etc/texmf/updmap.d which contains the line:

Map bera.sty

That way, the settings for bera will be preserved the next time updmap-sys is run.


Reproducible: Always

Steps to Reproduce:
1. emerge bera
2. emerge tetex
3. bera.map will no longer be enabled
4. run updmap-sys --enable Map bera.map to re-enable.


Actual Results:  
You'll see something like the following when running dvips:

kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 2+1913/(2*4000) --dpi 17913 fvsb8r
mktexpk: don't know how to create bitmap font for fvsb8r.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font fvsb8r not found, characters will be left blank.
kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+4442/(2*4000) --dpi 12442 fvsb8r
mktexpk: don't know how to create bitmap font for fvsb8r.
dvips: Font fvsb8r not found, characters will be left blank.

Expected Results:  
The bera.map should be enabled after any tex package is installed or upgraded.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-12-09 03:13:48 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128c146e9877f9e85ec9ad1b0726cc4623f145e8

commit 128c146e9877f9e85ec9ad1b0726cc4623f145e8
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2019-12-08 19:18:43 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-12-08 19:19:25 +0000

    dev-tex/*: drop last-rited pkgs
    
    Signed-off-by: Aaron Bauman <bman@gentoo.org>