Hi, I would also try to fix this in build-compare to avoid fetchmsttfonts republished on every rebuild. Ciao, Marcus On Thu, Jul 17, 2014 at 01:29:48AM -0500, David C. Rankin wrote:
All,
When installing fonts, many people use the fetchmsttfonts package to load the public ms truetype fonts. That's fine, the only problem being is that every time the fetchmsttfonts is rebuilt (the fonts don't change, only the package version changes) the fetchmsttfonts package is downloaded again and updated.
To prevent this from happening, simply install the fetchmsttfonts package once, then make a copy of /usr/share/fonts/truetype, remove the package, then copy the fonts back to /usr/share/fonts/truetype and run fonts-config. Most may not care, but if I can avoid muli-meg downloads during each `zypper up` I'm all for it (not to mention -- there are newer versions of the fonts, that if installed, are overwritten with each zypper up)
So for those who want to avoid the repeated update of the font package, the following is a quick outline of the process:
# zypper in fetchmsttfonts # cp -a /usr/share/fonts/truetype /tmp # rpm -e fetchmsttfonts # cp -ua /tmp/truetype /usr/share/fonts # fonts-config -f -v # creates fonts.scale & fonts.dir & calls fc-cache # rm -r /tmp/truetype
...done! Just another little efficiency tweak.
-- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org