fontist 3.0.36 → 3.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +10 -0
- data/.github/workflows/tebako-pack.yml +258 -45
- data/Gemfile +4 -5
- data/README.adoc +58 -0
- data/docs/.vitepress/config.ts +1 -1
- data/fontist.gemspec +2 -1
- data/lib/fontist/cli.rb +9 -1
- data/lib/fontist/font.rb +21 -3
- data/lib/fontist/font_operations/convert.rb +1 -3
- data/lib/fontist/font_operations/extract.rb +3 -3
- data/lib/fontist/font_operations/instance.rb +7 -3
- data/lib/fontist/font_operations/subset.rb +7 -11
- data/lib/fontist/scan_row_fonts.rb +82 -0
- data/lib/fontist/system_index.rb +51 -6
- data/lib/fontist/validation.rb +1 -1
- data/lib/fontist/validator.rb +65 -35
- data/lib/fontist/version.rb +1 -1
- data/lib/fontist.rb +1 -0
- data/packaging/nfpm.yaml +38 -0
- data/packaging/scripts/postinstall.sh +5 -0
- data/packaging/scripts/preremove.sh +12 -0
- data/script/tebako/entry.rb +90 -0
- data/script/tebako/git-prep.sh +25 -0
- data/script/tebako/package-smoke.sh +38 -0
- data/script/tebako/package.sh +26 -0
- data/script/tebako/press.sh +36 -0
- data/script/tebako/smoke.sh +36 -0
- data/script/tebako/stage.sh +39 -0
- metadata +29 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Build a Gemfile-rooted app around the fontist gem, the layout tebako v2
|
|
3
|
+
# presses (it refuses a root that is itself a gem source tree).
|
|
4
|
+
#
|
|
5
|
+
# script/tebako/stage.sh <stage-dir>
|
|
6
|
+
#
|
|
7
|
+
# The gem is built from this checkout, unpacked with a static gemspec (the
|
|
8
|
+
# repository gemspec lists files with `git ls-files`, which needs .git), and
|
|
9
|
+
# referenced by path, so the packed fontist is exactly this checkout's code.
|
|
10
|
+
set -euo pipefail
|
|
11
|
+
|
|
12
|
+
stage="${1:?usage: stage.sh <stage-dir>}"
|
|
13
|
+
root="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
14
|
+
|
|
15
|
+
rm -rf "$stage"
|
|
16
|
+
mkdir -p "$stage/vendor" "$stage/bin"
|
|
17
|
+
stage="$(cd "$stage" && pwd)"
|
|
18
|
+
|
|
19
|
+
(cd "$root" && gem build fontist.gemspec --output "$stage/fontist.gem" >/dev/null)
|
|
20
|
+
# Unpacked directory naming differs across rubygems versions; take the one
|
|
21
|
+
# child of a fresh directory instead of guessing it.
|
|
22
|
+
unpacked="$(mktemp -d)"
|
|
23
|
+
gem unpack "$stage/fontist.gem" --target "$unpacked" >/dev/null
|
|
24
|
+
mv "$unpacked"/*/ "$stage/vendor/fontist"
|
|
25
|
+
rmdir "$unpacked"
|
|
26
|
+
gem spec "$stage/fontist.gem" --ruby > "$stage/vendor/fontist/fontist.gemspec"
|
|
27
|
+
rm "$stage/fontist.gem"
|
|
28
|
+
|
|
29
|
+
cat > "$stage/Gemfile" <<'GEMFILE'
|
|
30
|
+
source "https://rubygems.org"
|
|
31
|
+
|
|
32
|
+
gem "fontist", path: "vendor/fontist"
|
|
33
|
+
GEMFILE
|
|
34
|
+
|
|
35
|
+
cp "$root/script/tebako/entry.rb" "$stage/bin/fontist"
|
|
36
|
+
chmod +x "$stage/bin/fontist"
|
|
37
|
+
|
|
38
|
+
(cd "$stage" && bundle lock >/dev/null)
|
|
39
|
+
echo "$stage"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fontist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.38
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: down
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
version: '0.4'
|
|
54
54
|
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: 0.4.
|
|
56
|
+
version: 0.4.48
|
|
57
57
|
type: :runtime
|
|
58
58
|
prerelease: false
|
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -63,7 +63,7 @@ dependencies:
|
|
|
63
63
|
version: '0.4'
|
|
64
64
|
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: 0.4.
|
|
66
|
+
version: 0.4.48
|
|
67
67
|
- !ruby/object:Gem::Dependency
|
|
68
68
|
name: fuzzy_match
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -232,6 +232,20 @@ dependencies:
|
|
|
232
232
|
- - "~>"
|
|
233
233
|
- !ruby/object:Gem::Version
|
|
234
234
|
version: '0.1'
|
|
235
|
+
- !ruby/object:Gem::Dependency
|
|
236
|
+
name: yeptris
|
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
|
238
|
+
requirements:
|
|
239
|
+
- - "~>"
|
|
240
|
+
- !ruby/object:Gem::Version
|
|
241
|
+
version: 0.6.55
|
|
242
|
+
type: :runtime
|
|
243
|
+
prerelease: false
|
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
245
|
+
requirements:
|
|
246
|
+
- - "~>"
|
|
247
|
+
- !ruby/object:Gem::Version
|
|
248
|
+
version: 0.6.55
|
|
235
249
|
description: Install openly-licensed fonts on Windows, Linux and Mac!
|
|
236
250
|
email:
|
|
237
251
|
- open.source@ribose.com
|
|
@@ -490,6 +504,7 @@ files:
|
|
|
490
504
|
- lib/fontist/resources/archive_resource.rb
|
|
491
505
|
- lib/fontist/resources/google_resource.rb
|
|
492
506
|
- lib/fontist/resources/windows_fod_resource.rb
|
|
507
|
+
- lib/fontist/scan_row_fonts.rb
|
|
493
508
|
- lib/fontist/sil_import_source.rb
|
|
494
509
|
- lib/fontist/style_version.rb
|
|
495
510
|
- lib/fontist/system.yml
|
|
@@ -517,9 +532,19 @@ files:
|
|
|
517
532
|
- lib/fontist/yaml/yeptris_adapter.rb
|
|
518
533
|
- lib/fontist/yaml_backend.rb
|
|
519
534
|
- lib/tasks/system_fonts.rake
|
|
535
|
+
- packaging/nfpm.yaml
|
|
536
|
+
- packaging/scripts/postinstall.sh
|
|
537
|
+
- packaging/scripts/preremove.sh
|
|
520
538
|
- script/capture_system_fonts
|
|
521
539
|
- script/download_system_indexes
|
|
522
540
|
- script/generate_windows_formulas.rb
|
|
541
|
+
- script/tebako/entry.rb
|
|
542
|
+
- script/tebako/git-prep.sh
|
|
543
|
+
- script/tebako/package-smoke.sh
|
|
544
|
+
- script/tebako/package.sh
|
|
545
|
+
- script/tebako/press.sh
|
|
546
|
+
- script/tebako/smoke.sh
|
|
547
|
+
- script/tebako/stage.sh
|
|
523
548
|
- script/validate_windows_fod_ci.rb
|
|
524
549
|
homepage: https://github.com/fontist/fontist
|
|
525
550
|
licenses:
|