Skip to content
Open

Fonts #155

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions classes/xorg/font.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
inherit: [autotools, "xorg::font-util"]

depends:
- graphics::xorg::utils::util-macros-dev
- name: graphics::xorg::utils::bdftopcf
tools:
target-toolchain: host-compat-toolchain
use: [tools]

buildTools: [bdftopcf]
20 changes: 20 additions & 0 deletions recipes/graphics/fonts/bitstream-vera.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
metaEnvironment:
PKG_VERSION: "1.10"
PKG_LICENSE: "Bitstream-Vera"

checkoutSCM:
scm: url
url: https://download.gnome.org/sources/ttf-bitstream-vera/${PKG_VERSION}/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2
digestSHA1: "c3e8505a58d52e198a02960a2bd295e4c7a14242"
extract: false

buildVars: [PKG_VERSION]
buildScript: |
ln -sf $1/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2

packageScript: |
mkdir -p usr/share/fonts/truetype/ttf-bitstream-vera
tar -C usr/share/fonts/truetype/ttf-bitstream-vera \
-xf $1/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2 \
--strip-components 1 \
--wildcards "*.ttf"
12 changes: 1 addition & 11 deletions recipes/graphics/fonts/xorg/alias.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit: [autotools, "xorg::font-util"]
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.5"
Expand All @@ -12,16 +12,6 @@ checkoutSCM:
digestSHA256: 9f89e217bb73e0e3636a0a493fbf8b7c995156e0c53d9a0476d201b67c2d6b6e
stripComponents: 1

depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::xorg::utils::bdftopcf

- graphics::xorg::utils::util-macros-dev

buildTools: [bdftopcf]
buildScript: |
autotoolsBuild "$1"

Expand Down
12 changes: 1 addition & 11 deletions recipes/graphics/fonts/xorg/cursor-misc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit: [autotools, "xorg::font-util"]
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.4"
Expand All @@ -12,16 +12,6 @@ checkoutSCM:
digestSHA256: 25d9c9595013cb8ca08420509993a6434c917e53ca1fec3f63acd45a19d4f982
stripComponents: 1

depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::xorg::utils::bdftopcf

- graphics::xorg::utils::util-macros-dev

buildTools: [bdftopcf]
buildScript: |
autotoolsBuild "$1"

Expand Down
16 changes: 16 additions & 0 deletions recipes/graphics/fonts/xorg/dec-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.4"
PKG_LICENSE: "LicenseRef-xorg-font-dec-misc"
PKG_LICENSE_PATH: |
xorg-font-dev-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-dec-misc-${PKG_VERSION}.tar.xz
digestSHA256: 82d968201d8ff8bec0e51dccd781bb4d4ebf17e11004944279bdc0201e161af7
stripComponents: 1

buildScript: autotoolsBuild $1
packageScript: autotoolsPackageTgt
16 changes: 16 additions & 0 deletions recipes/graphics/fonts/xorg/mutt-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.4"
PKG_LICENSE: "LicenseRef-xorg-font-mutt-misc"
PKG_LICENSE_PATH: |
xorg-font-mutt-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-mutt-misc-${PKG_VERSION}.tar.xz
digestSHA256: b12359f4e12c23bcfcb448b918297e975fa91bef5293d88d3c25343cc768bb24
stripComponents: 1

buildScript: autotoolsBuild $1
packageScript: autotoolsPackageTgt
16 changes: 16 additions & 0 deletions recipes/graphics/fonts/xorg/schumacher-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.1.3"
PKG_LICENSE: "LicenseRef-xorg-font-schumacher-misc"
PKG_LICENSE_PATH: |
xorg-font-schumacher-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-schumacher-misc-${PKG_VERSION}.tar.xz
digestSHA256: 8b849f0cdb1e55a34cc3dd8b0fb37443fabbc224d5ba44085569581244a68070
stripComponents: 1

buildScript: autotoolsBuild $1
packageScript: autotoolsPackageTgt
16 changes: 16 additions & 0 deletions recipes/graphics/fonts/xorg/sony-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.4"
PKG_LICENSE: "LicenseRef-xorg-font-sony-misc"
PKG_LICENSE_PATH: |
xorg-font-sony-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-sony-misc-${PKG_VERSION}.tar.xz
digestSHA256: e6b09f823fccb06e0bd0b2062283b6514153323bd8a7486e9c2e3f55ab84946b
stripComponents: 1

buildScript: autotoolsBuild $1
packageScript: autotoolsPackageTgt
16 changes: 16 additions & 0 deletions recipes/graphics/fonts/xorg/sun-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
inherit: ["xorg::font"]

metaEnvironment:
PKG_VERSION: "1.0.4"
PKG_LICENSE: "LicenseRef-xorg-font-sun-misc"
PKG_LICENSE_PATH: |
xorg-font-sun-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-sun-misc-${PKG_VERSION}.tar.xz
digestSHA256: dd84dd116d927affa4fa0fa29727b3ecfc0f064238817c0a1e552a0ac384db9f
stripComponents: 1

buildScript: autotoolsBuild $1
packageScript: autotoolsPackageTgt
8 changes: 8 additions & 0 deletions tests/buildall/recipes/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ depends:
- core::tz-zic

- graphics::graphviz
- graphics::fonts::bitstream-vera
- graphics::fonts::dejavu
- graphics::fonts::unicode
- graphics::fonts::xorg::alias
- graphics::fonts::xorg::cursor-misc
- graphics::fonts::xorg::dec-misc
- graphics::fonts::xorg::mutt-misc
- graphics::fonts::xorg::schumacher-misc
- graphics::fonts::xorg::sony-misc
- graphics::fonts::xorg::sun-misc
- graphics::imagemagick
- graphics::kmscube

Expand Down