Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549828 - media-fonts/ricty-3.2.0 fails to install with current media-fonts/inconsolata: renamed Inconsolata.otf to Inconsolata-Regular.ttf
Summary: media-fonts/ricty-3.2.0 fails to install with current media-fonts/inconsolata...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-18 17:48 UTC by S. Gilles
Modified: 2018-04-19 19:18 UTC (History)
1 user (show)

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


Attachments
Patch to ricty-3.2.0.ebuild (ricty-3.2.0.ebuild-rename-Inconsolata.patch,523 bytes, patch)
2015-05-18 17:48 UTC, S. Gilles
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description S. Gilles 2015-05-18 17:48:08 UTC
media-fonts/ricty builds itself using media-fonts/inconsolata for legal reasons.  Sometime (relatively) recently, the inconsolata package changed the name of the relevant file from Inconsolata.otf to Inconsolata-Regular.ttf.  This causes ricty to fail to build, but luckily seems to be fixable by referencing the new filename in the ebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge media-fonts/ricty
Actual Results:  
 * ERROR: media-fonts/ricty-3.2.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2049:  Called die
 * The specific snippet of code:
 *       sh ricty_generator.sh "${EPREFIX}/usr/share/fonts/inconsolata/Inconsolata.otf" "${EPREFIX}/usr/share/fonts/mix-mplus-ipa/migu-1m-regular.ttf" "${EPREFIX}/usr/share/fonts/mix-mplus-ipa/migu-1m-bold.ttf" || die



Expected Results:  
The installation should successfully complete.

I have tested the attached patch, and it seems to still work without problems.
Comment 1 S. Gilles 2015-05-18 17:48:38 UTC
Created attachment 403564 [details, diff]
Patch to ricty-3.2.0.ebuild
Comment 2 M. B. 2015-08-23 19:42:57 UTC
This fix is easy enough and works. Please merge.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2018-04-19 19:18:40 UTC
Fixed since -r1.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7aac8e1f8c791558267dc1043f25d7e4845333