This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
forked from EddyPronk/gub
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from trueroad/install-required-fonts
Install required fonts
- Loading branch information
Showing
17 changed files
with
527 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_bitstream_charter (build.BinaryBuild): | ||
source = 'http://mirrors.ctan.org/fonts/charter.zip' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/type1/bitstream/charter') | ||
self.system ('cp %(srcdir)s/charter/*.afm %(install_prefix)s/share/fonts/type1/bitstream/charter/') | ||
self.system ('cp %(srcdir)s/charter/*.pf? %(install_prefix)s/share/fonts/type1/bitstream/charter/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_bitstream_charter__tools (tools.AutoBuild, Fonts_bitstream_charter): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_bitstream_vera (build.BinaryBuild): | ||
source = 'http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2' | ||
dependencies = ['tools::bzip2'] | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/truetype/bitstream/vera') | ||
self.system ('cp %(srcdir)s/*.ttf %(install_prefix)s/share/fonts/truetype/bitstream/vera/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_bitstream_vera__tools (tools.AutoBuild, Fonts_bitstream_vera): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_dejavu (build.BinaryBuild): | ||
source = 'http://sourceforge.net/projects/dejavu/files/dejavu/2.35/dejavu-fonts-ttf-2.35.tar.bz2' | ||
dependencies = ['tools::bzip2'] | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/truetype/dejavu') | ||
self.system ('cp %(srcdir)s/ttf/*.ttf %(install_prefix)s/share/fonts/truetype/dejavu/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_dejavu__tools (tools.AutoBuild, Fonts_dejavu): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_ipafont (build.BinaryBuild): | ||
source = 'http://download.forest.impress.co.jp/pub/library/i/ipafont/10483/IPAfont00303.zip' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/ipafont') | ||
self.system ('cp %(srcdir)s/IPAfont00303/*.ttf %(install_prefix)s/share/fonts/opentype/ipafont/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_ipafont__tools (tools.AutoBuild, Fonts_ipafont): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_liberation (build.BinaryBuild): | ||
source = 'https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-2.00.1.tar.gz' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/truetype/liberation') | ||
self.system ('cp %(srcdir)s/*.ttf %(install_prefix)s/share/fonts/truetype/liberation/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_liberation__tools (tools.AutoBuild, Fonts_liberation): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_libertine (build.BinaryBuild): | ||
source = 'http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineOTF_5.3.0_2012_07_02.tgz&strip=0' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/linux-libertine') | ||
self.system ('cp %(srcdir)s/*.otf %(install_prefix)s/share/fonts/opentype/linux-libertine/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_libertine__tools (tools.AutoBuild, Fonts_libertine): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_luximono (build.BinaryBuild): | ||
source = 'http://mirrors.ctan.org/fonts/LuxiMono.zip' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/type1/luximono') | ||
self.system ('cp %(srcdir)s/LuxiMono/*.afm %(install_prefix)s/share/fonts/type1/luximono/') | ||
self.system ('cp %(srcdir)s/LuxiMono/*.pf? %(install_prefix)s/share/fonts/type1/luximono/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_luximono__tools (tools.AutoBuild, Fonts_luximono): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from gub import tools | ||
from gub import build | ||
|
||
class Fonts_texgyre (build.BinaryBuild): | ||
source = 'http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip' | ||
def install (self): | ||
self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/texgyre') | ||
self.system ('cp %(srcdir)s/*.otf %(install_prefix)s/share/fonts/opentype/texgyre/') | ||
def package (self): | ||
build.AutoBuild.package (self) | ||
|
||
class Fonts_texgyre__tools (tools.AutoBuild, Fonts_texgyre): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.