[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer. |
Date: |
Sun, 24 Apr 2022 23:55:46 -0400 |
* gnu/packages/fontutils.scm (opentype-sanitizer): New variable.
---
gnu/packages/fontutils.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index c8c32fd5a9..16c2391179 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
@@ -65,6 +65,7 @@ (define-module (gnu packages fontutils)
#:use-module (gnu packages xorg)
#:use-module (gnu packages tex)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix svn-download)
@@ -108,6 +109,28 @@ (define-public freetype
(license license:freetype) ; some files have other licenses
(home-page "https://www.freetype.org/")))
+(define-public opentype-sanitizer
+ (package
+ (name "opentype-sanitizer")
+ (version "8.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/khaledhosny/ots"
+ "/releases/download/v" version
+ "/ots-" version ".tar.xz"))
+ (sha256
+ (base32
+ "17z8cxv48rfig5k7j3xk3bmbf7rm3kxsc3bazix96l0wws58r569"))))
+ (build-system meson-build-system)
+ (native-inputs (list googletest pkg-config))
+ (inputs (list freetype lz4 woff2 zlib))
+ (home-page "https://github.com/khaledhosny/ots")
+ (synopsis "Sanitizer for OpenType fonts")
+ (description "The OpenType Sanitizer (OTS) parses and serializes OpenType
+files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing
+them as it goes.")
+ (license license:bsd-3)))
+
(define-public ttfautohint
(package
(name "ttfautohint")
--
2.34.0
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., (continued)
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 085/232] gnu: Add python-sfdlib., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 092/232] gnu: Add python-untangle., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 024/232] gnu: Add python-unicodedata2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 027/232] gnu: Add python-fontpens-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 047/232] gnu: python-importlib-metadata: Update to 4.11.3., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 059/232] gnu: Add python-pytest-perf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 060/232] gnu: python-factory-boy: Update to 3.2.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 063/232] gnu: Add psautohint-font-data., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 065/232] gnu: Add python-ordered-set., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 050/232] gnu: Add python-types-docutils., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 067/232] gnu: Add python-ubelt., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 079/232] gnu: Add python-cffsubr., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 077/232] gnu: Add python-fonttools-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 086/232] gnu: Add font-amiri., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 089/232] gnu: Add font-gfs-ambrosia., Maxim Cournoyer, 2022/04/25