# HG changeset patch # User Masamichi Hosoda # Date 1439654567 -32400 # Node ID 97a36ef06236e7cc2988157852aef41ebb4a6233 # Parent d68b58defe6144665941028b49febb6f559e8ae0 Add fonts `urw-core35' for `Nimbus Sans' diff -r d68b58defe61 -r 97a36ef06236 gub/specs/fonts-urw-core35.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gub/specs/fonts-urw-core35.py Sun Aug 16 01:02:47 2015 +0900 @@ -0,0 +1,14 @@ +from gub import tools +from gub import build + +class Fonts_urw_core35 (build.BinaryBuild): + source = 'git://git.ghostscript.com/urw-core35-fonts.git' + def install (self): + self.system ('mkdir -p %(install_prefix)s/share/fonts/type1/urw-core35') + self.system ('cp %(srcdir)s/*.afm %(install_prefix)s/share/fonts/type1/urw-core35/') + self.system ('cp %(srcdir)s/*.pf? %(install_prefix)s/share/fonts/type1/urw-core35/') + def package (self): + build.AutoBuild.package (self) + +class Fonts_urw_core35__tools (tools.AutoBuild, Fonts_urw_core35): + pass diff -r d68b58defe61 -r 97a36ef06236 gub/specs/lilypond-doc.py --- a/gub/specs/lilypond-doc.py Sun Aug 16 01:00:20 2015 +0900 +++ b/gub/specs/lilypond-doc.py Sun Aug 16 01:02:47 2015 +0900 @@ -16,6 +16,7 @@ 'tools::fonts-bitstream-charter', 'tools::fonts-bitstream-vera', 'tools::fonts-liberation', + 'tools::fonts-urw-core35', 'system::makeinfo', 'system::zip', ])