Skip to content

Commit da35f1a

Browse files
authored
Merge pull request #155 from rhubert/fonts
Fonts
2 parents 24c199e + 1490636 commit da35f1a

10 files changed

Lines changed: 120 additions & 22 deletions

File tree

classes/xorg/font.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
inherit: [autotools, "xorg::font-util"]
2+
3+
depends:
4+
- graphics::xorg::utils::util-macros-dev
5+
- name: graphics::xorg::utils::bdftopcf
6+
tools:
7+
target-toolchain: host-compat-toolchain
8+
use: [tools]
9+
10+
buildTools: [bdftopcf]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
metaEnvironment:
2+
PKG_VERSION: "1.10"
3+
PKG_LICENSE: "Bitstream-Vera"
4+
5+
checkoutSCM:
6+
scm: url
7+
url: https://download.gnome.org/sources/ttf-bitstream-vera/${PKG_VERSION}/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2
8+
digestSHA1: "c3e8505a58d52e198a02960a2bd295e4c7a14242"
9+
extract: false
10+
11+
buildVars: [PKG_VERSION]
12+
buildScript: |
13+
ln -sf $1/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2
14+
15+
packageScript: |
16+
mkdir -p usr/share/fonts/truetype/ttf-bitstream-vera
17+
tar -C usr/share/fonts/truetype/ttf-bitstream-vera \
18+
-xf $1/ttf-bitstream-vera-${PKG_VERSION}.tar.bz2 \
19+
--strip-components 1 \
20+
--wildcards "*.ttf"

recipes/graphics/fonts/xorg/alias.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
inherit: [autotools, "xorg::font-util"]
1+
inherit: ["xorg::font"]
22

33
metaEnvironment:
44
PKG_VERSION: "1.0.5"
@@ -12,16 +12,6 @@ checkoutSCM:
1212
digestSHA256: 9f89e217bb73e0e3636a0a493fbf8b7c995156e0c53d9a0476d201b67c2d6b6e
1313
stripComponents: 1
1414

15-
depends:
16-
- tools:
17-
target-toolchain: host-compat-toolchain
18-
use: [tools]
19-
depends:
20-
- graphics::xorg::utils::bdftopcf
21-
22-
- graphics::xorg::utils::util-macros-dev
23-
24-
buildTools: [bdftopcf]
2515
buildScript: |
2616
autotoolsBuild "$1"
2717

recipes/graphics/fonts/xorg/cursor-misc.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
inherit: [autotools, "xorg::font-util"]
1+
inherit: ["xorg::font"]
22

33
metaEnvironment:
44
PKG_VERSION: "1.0.4"
@@ -12,16 +12,6 @@ checkoutSCM:
1212
digestSHA256: 25d9c9595013cb8ca08420509993a6434c917e53ca1fec3f63acd45a19d4f982
1313
stripComponents: 1
1414

15-
depends:
16-
- tools:
17-
target-toolchain: host-compat-toolchain
18-
use: [tools]
19-
depends:
20-
- graphics::xorg::utils::bdftopcf
21-
22-
- graphics::xorg::utils::util-macros-dev
23-
24-
buildTools: [bdftopcf]
2515
buildScript: |
2616
autotoolsBuild "$1"
2717
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
inherit: ["xorg::font"]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "1.0.4"
5+
PKG_LICENSE: "LicenseRef-xorg-font-dec-misc"
6+
PKG_LICENSE_PATH: |
7+
xorg-font-dev-misc:COPYING
8+
9+
checkoutSCM:
10+
scm: url
11+
url: https://xorg.freedesktop.org/releases/individual/font/font-dec-misc-${PKG_VERSION}.tar.xz
12+
digestSHA256: 82d968201d8ff8bec0e51dccd781bb4d4ebf17e11004944279bdc0201e161af7
13+
stripComponents: 1
14+
15+
buildScript: autotoolsBuild $1
16+
packageScript: autotoolsPackageTgt
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
inherit: ["xorg::font"]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "1.0.4"
5+
PKG_LICENSE: "LicenseRef-xorg-font-mutt-misc"
6+
PKG_LICENSE_PATH: |
7+
xorg-font-mutt-misc:COPYING
8+
9+
checkoutSCM:
10+
scm: url
11+
url: https://xorg.freedesktop.org/releases/individual/font/font-mutt-misc-${PKG_VERSION}.tar.xz
12+
digestSHA256: b12359f4e12c23bcfcb448b918297e975fa91bef5293d88d3c25343cc768bb24
13+
stripComponents: 1
14+
15+
buildScript: autotoolsBuild $1
16+
packageScript: autotoolsPackageTgt
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
inherit: ["xorg::font"]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "1.1.3"
5+
PKG_LICENSE: "LicenseRef-xorg-font-schumacher-misc"
6+
PKG_LICENSE_PATH: |
7+
xorg-font-schumacher-misc:COPYING
8+
9+
checkoutSCM:
10+
scm: url
11+
url: https://xorg.freedesktop.org/releases/individual/font/font-schumacher-misc-${PKG_VERSION}.tar.xz
12+
digestSHA256: 8b849f0cdb1e55a34cc3dd8b0fb37443fabbc224d5ba44085569581244a68070
13+
stripComponents: 1
14+
15+
buildScript: autotoolsBuild $1
16+
packageScript: autotoolsPackageTgt
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
inherit: ["xorg::font"]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "1.0.4"
5+
PKG_LICENSE: "LicenseRef-xorg-font-sony-misc"
6+
PKG_LICENSE_PATH: |
7+
xorg-font-sony-misc:COPYING
8+
9+
checkoutSCM:
10+
scm: url
11+
url: https://xorg.freedesktop.org/releases/individual/font/font-sony-misc-${PKG_VERSION}.tar.xz
12+
digestSHA256: e6b09f823fccb06e0bd0b2062283b6514153323bd8a7486e9c2e3f55ab84946b
13+
stripComponents: 1
14+
15+
buildScript: autotoolsBuild $1
16+
packageScript: autotoolsPackageTgt
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
inherit: ["xorg::font"]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "1.0.4"
5+
PKG_LICENSE: "LicenseRef-xorg-font-sun-misc"
6+
PKG_LICENSE_PATH: |
7+
xorg-font-sun-misc:COPYING
8+
9+
checkoutSCM:
10+
scm: url
11+
url: https://xorg.freedesktop.org/releases/individual/font/font-sun-misc-${PKG_VERSION}.tar.xz
12+
digestSHA256: dd84dd116d927affa4fa0fa29727b3ecfc0f064238817c0a1e552a0ac384db9f
13+
stripComponents: 1
14+
15+
buildScript: autotoolsBuild $1
16+
packageScript: autotoolsPackageTgt

tests/buildall/recipes/all.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@ depends:
1111
- core::tz-zic
1212

1313
- graphics::graphviz
14+
- graphics::fonts::bitstream-vera
1415
- graphics::fonts::dejavu
1516
- graphics::fonts::unicode
17+
- graphics::fonts::xorg::alias
18+
- graphics::fonts::xorg::cursor-misc
19+
- graphics::fonts::xorg::dec-misc
20+
- graphics::fonts::xorg::mutt-misc
21+
- graphics::fonts::xorg::schumacher-misc
22+
- graphics::fonts::xorg::sony-misc
23+
- graphics::fonts::xorg::sun-misc
1624
- graphics::imagemagick
1725
- graphics::kmscube
1826

0 commit comments

Comments
 (0)