From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6FgWNWogZmJ0nQAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:15:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uIQQNWogZmIX6wAA9RJhRA (envelope-from ) for ; Mon, 25 Apr 2022 06:15:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C35229E3F for ; Mon, 25 Apr 2022 06:15:38 +0200 (CEST) Received: from localhost ([::1]:34946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niq8P-0002nc-NZ for larch@yhetil.org; Mon, 25 Apr 2022 00:15:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipun-0007mr-Ml for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:49 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipuY-0001NE-GN for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipuY-00081o-Cn for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:01:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085926930666 (code B ref 55104); Mon, 25 Apr 2022 04:01:18 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:01:09 +0000 Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipuO-0007yN-LU for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:01:09 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:37414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niptI-0007iI-WD for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:08 -0400 Received: by mail-qt1-f179.google.com with SMTP id ay11so9566448qtb.4 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KI0xYJ/13MjBdrJqbiYs/JGPonimrx+AhpDnAnOFn5M=; b=P0CtwQBMj2nAPAUwvdxuEvNh/lz1wUuxFJeCFQ/c3zre8pb4ZuqEaV5bwPPsfFt10T LUOc6kKjOG9EFjblZzddb+j4C5ygw3UjfIgBBlYDe+Nc7dTgEjSi6R4IjXAz6qmMIOCI yya7PTMl8a/JgNwiyRTWpBll4quIJwPzFEkZbC8xanvE330eQqPAlPy+HZcYvAcO8tG8 33l9GiE6r2gLpjE7rifkIQDIgLEB7fDlKsvkCh5zfsGdNXV8IL8kuM1xl99XkreW1erG RR8vkJW529wP1M4qt+y+8Z+2zgSePEldppjXOFkXyg/MOl6JwePjVJlWfLsDSHFZ2UdI Prgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KI0xYJ/13MjBdrJqbiYs/JGPonimrx+AhpDnAnOFn5M=; b=okfHiRKqWUg14kaB4NetcS72G9DLefAzFZtIEuWz0Q7nc8rd8UcXCZjWGFZhaWTwKf BMPvhVgCd+DnCKKEqIDC93NXBnGxB81tPxsm6wjvURAwDFn5Lwwfsa9FjFFn1wG3mSQc tzgi1H0hff70fhuy+2lRN+2BvdfEHxMwmbCLMCVNRZuY9BwEuqGwCFQ88ohCFkW9nlwE CmNXIA0IY9KPaVvgKB8Yg7ESANKSuWFIDXyOoVscQzvCGz6K5DQ5cMTGEwguXtr/DUsd 3jkZb52WOqHhtj0ceuT578gTmHTCBOIppSSgj+iCx/6hXyNgI+iFgTMNziNZicZPs7kc YGSw== X-Gm-Message-State: AOAM531MvHVV5isC3uvt/ootXT75P/IE6YDGzppxC0phqDrI1+Offwnp d+qFEOZfIZCps0dBjCxt5LVf9VXO7XveiA== X-Google-Smtp-Source: ABdhPJxsZ/+zvQCbR2ZMXZI82AibCP+Mzq3olMOPGTicJ0SFhAdRNAdwv46OyiCaIBTy4F2L8STsPw== X-Received: by 2002:a05:622a:144:b0:2f3:3bbd:3db5 with SMTP id v4-20020a05622a014400b002f33bbd3db5mr10909981qtw.95.1650859195379; Sun, 24 Apr 2022 20:59:55 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.20.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 20:59:55 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:55:46 -0400 Message-Id: <20220425035918.25683-20-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650860138; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KI0xYJ/13MjBdrJqbiYs/JGPonimrx+AhpDnAnOFn5M=; b=I0Zu0dtOWXp79FKpRBVIHvXhz51AAgzJo9JVgMFhoabTgxPpgStCTXxYaARH/Flzn9kbtB 8akyR4Q9FtiSdCHddz5qdn/BNqmRyOcHpaCpnOyerfBUpuPjwXV3ZVotQtbkNqce7Xc//E 1K6TtzYYOwkSyn5RZpHyKpmCPaH4LTUUi7YLhkmWoE73ZPOAHUKRmElvy+1M09QehmN4ZX cxoFn6JIIPqztSQK8PYL9NRPnm+7ky+e2pjN9jZ9ECnjaK3nPmntdFC4kEq/RYyYPmfDHP 9UQVhR/UWuRM8xf6jWkN1khBPnskOBnp33keWJ+1+rKvvcxR7B03tPmCZ5oYKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860138; a=rsa-sha256; cv=none; b=LEhvNa5QGqUQyMMGVZyLlfiNLp+v6zMHvpbtkCrQG71MB+/6bJPhEkdfIvy8myIzzDJw9+ a0nZOIlQ7/Bq0CYFEbPYFYpM0g/zjsvuLIKMORGzaG0sMN2XUPNlVBu2Mk4Tetsd7Xv3yF Sr9f4xESzKcP0VT1F2wFhva9W3xFEqey+i94Sx+NBxAn0QcHfI0p4e0AHB5QICxEgtKyj6 2jTVabuD0LZHQ3sv07FmvBEb+/8uez//JsLKji8HsxaP2nArB6z0qgKJo2W+B6EjITe/Yb B4Sf9Tw3wbfKrWZYazo0/KzMIV/vqsNX1sv5Xas6t3ntU7hwVTRrE9lsKf3Ryw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=P0CtwQBM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=P0CtwQBM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8C35229E3F X-Spam-Score: 7.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: efkZtDSmBtuK * 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 ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2020, 2021 Nicolas Goaziou -;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021, 2022 Maxim Cournoyer ;;; Copyright © 2020, 2021 Nicolas Goaziou ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2022 Felipe Balbi @@ -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