Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A703D84D69 for ; Thu, 9 Nov 2023 20:10:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id TwbEnnDXZDGV for ; Thu, 9 Nov 2023 20:10:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0063D84D66 for ; Thu, 9 Nov 2023 20:10:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E7E12FA2F; Thu, 9 Nov 2023 20:10:32 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1699560632133960" MIME-Version: 1.0 Date: Thu, 9 Nov 2023 20:10:32 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/graphics/freetype2 To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20231109201032.E7E12FA2F@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1699560632133960 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Nov 9 20:10:32 UTC 2023 Modified Files: pkgsrc/graphics/freetype2: options.mk Log Message: freetype2: Make brotli support optional, but enabled by default. brotli is quite a heavy dependency compared to freetype itself on weaker systems, especially those using old C++ compilers. And it's only used for certain web fonts. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/freetype2/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1699560632133960 Content-Disposition: inline Content-Length: 991 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/freetype2/options.mk diff -u pkgsrc/graphics/freetype2/options.mk:1.5 pkgsrc/graphics/freetype2/options.mk:1.6 --- pkgsrc/graphics/freetype2/options.mk:1.5 Tue Apr 12 23:38:13 2022 +++ pkgsrc/graphics/freetype2/options.mk Thu Nov 9 20:10:32 2023 @@ -1,11 +1,20 @@ -# $NetBSD: options.mk,v 1.5 2022/04/12 23:38:13 wiz Exp $ +# $NetBSD: options.mk,v 1.6 2023/11/09 20:10:32 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2 -PKG_SUPPORTED_OPTIONS= png -PKG_SUGGESTED_OPTIONS= png +PKG_SUPPORTED_OPTIONS= brotli png +PKG_SUGGESTED_OPTIONS= brotli png .include "../../mk/bsd.options.mk" +# Support decompression of WOFF2 streams. +.if !empty(PKG_OPTIONS:Mbrotli) +CONFIGURE_ARGS+= --with-brotli=yes +.include "../../archivers/brotli/buildlink3.mk" +.else +CONFIGURE_ARGS+= --with-brotli=no +.endif + +# Support bitmaps in OpenType fonts. .if !empty(PKG_OPTIONS:Mpng) CONFIGURE_ARGS+= --with-png=yes .include "../../graphics/png/buildlink3.mk" --_----------=_1699560632133960--