From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MHYNJNXoJGaqRAEAe85BDQ:P1 (envelope-from ) for ; Sun, 21 Apr 2024 12:22:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MHYNJNXoJGaqRAEAe85BDQ (envelope-from ) for ; Sun, 21 Apr 2024 12:22:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=Jam3hiI1; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713694933; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hCFvOZPc30rYXk6/dD/7THnTyfOiMZfFpSS6/4mOGog=; b=F7uxdjYzgBtYFlyqx+uhJFbJ+IFfjZMGAbe10qqr7v47t08Q/pdA8RAjFArW8qx/Gs3695 0ShcR4eNbVy9ImFLFos3m6KOkRH7eODIFWJAu2cmK63SvOxBKave2tRpxvpid6nKgW9ank PndSyCrFfL+JXRad2I1NFIZntF48Nh5eikByM+aeGo6DeFzg8kun1/nFohk5sRdlaWlrwb X5fVkahFJRoyP93RSLXyn/K0v2PZ7JMMnf/+lyYOQmOio5bPAWDABzY5RV6+I/2wgaEdBU 6MPXaEMeIdXNSOe/U8atBIwRqV4CtJMv1nTW/ncpU7oBNm6HRf4LXQIJuCfL/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=Jam3hiI1; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713694933; a=rsa-sha256; cv=none; b=e1kpIudtUb3NRpVJkvNEe22+UtjUnb7ZEaWAh3l4utytGdUbckiVq82v3U3C2f7P4NmZSW UsaSEF8vpdQEgjeZJldeQKxGXT7Jw9B0S+acXFfniRalf4k+aBwxzpVJQBNm1/fcsH0LeR iiQDCNbaxUcJn4dim8nH0sBmo6+kwg2ezSs4MV+At0gLmzq8q+s7O+proIGvztpProBwWh +p3LDEP1dxetV+QkDoyXZLtoJAoGHcFXP6cDE55tdbzs75JoEFCsbUWKv6NTomEcol/vKr s9Z0A+Zd8hB+kWQElL+OQRUCltR2JSbTQJo/LaYRBBFjGSZ9zvNK6u7NEnWvhQ== 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 40C933BEA3 for ; Sun, 21 Apr 2024 12:22:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryUKX-0006OV-9u; Sun, 21 Apr 2024 06:21:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryUKT-0006OA-4U for guix-patches@gnu.org; Sun, 21 Apr 2024 06:21:50 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryUKR-0000dS-LS for guix-patches@gnu.org; Sun, 21 Apr 2024 06:21:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryUKg-0002fk-Ht for guix-patches@gnu.org; Sun, 21 Apr 2024 06:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70496] [PATCH 00/14] Remove duplications in fonts by split outputs Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Apr 2024 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70496 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70496@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171369490310118 (code B ref -1); Sun, 21 Apr 2024 10:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2024 10:21:43 +0000 Received: from localhost ([127.0.0.1]:42080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryUKM-0002d8-Nl for submit@debbugs.gnu.org; Sun, 21 Apr 2024 06:21:43 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryUKI-0002bg-LA for submit@debbugs.gnu.org; Sun, 21 Apr 2024 06:21:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryUJx-0006Ky-Ct for guix-patches@gnu.org; Sun, 21 Apr 2024 06:21:17 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryUJu-0000bt-SP for guix-patches@gnu.org; Sun, 21 Apr 2024 06:21:16 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id AE54338A1B2D; Sun, 21 Apr 2024 10:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1713694869; bh=hCFvOZPc30rYXk6/dD/7THnTyfOiMZfFpSS6/4mOGog=; h=From:To:Cc:Subject:Date:From; b=Jam3hiI1njJVl7c20ssaXrdVpWVU2yQhiiIM7UvCDpHNrWwoptpqSejfM6EzY5Dhu sqfBVXL5ClwnQuE/w5W/CmHKx8p2/ncf7lfmC8DlJLKx38iPNbBvir4mpfNhUGvdvL nFm/PUXR6n2yjadG/kWzSWRx6fi4J9aWw8n9uYq9J6tSR2t6OVoQ/PE0LisOJ7rBwq T2uDptC/L/G/1d+AB382OYNCYqR5mCvdewc7v+NBpKmDQbtyvdoUzqnlRfDau0J21R 7L5PPh25ys0F60f6zMwmXi4SXqeEY3QrNYrXQ1UIfUQ9Ijc7p3971Qd3coQCAm8V1F AjUTl8qfm8VLwRkj+JntTmd59DKPtciIvgQr8Fq6gCrcpDQ6vLN/mdE6UAtQLaHeKe Qz/SpOAxtSlOEkuWjOI6z71ldNJk6OgcfW9WMe38BaqtA++YOjO4U+7FFoRhqinCgc bU3xfa6xrirbARHkbQdHahgj2hdg0sTyHDCc+bN/DofofGv0UPot5p1t9ARxZK/g2P dTMWBw/nrQgjS4iKGCIBbc5SaduMAQx8jV1KAQYv6o2iS8AoFE6H8w77V0apPIXM5h KQWw55E4uAUwSCOkhs74/JDg1EMbMk7O0rp2xsoli6GFaf30yQGiHE8ArYgq3BbmHR zNyvlhsorhlc42a4uKRIkneA= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id z9IydqJNszml; Sun, 21 Apr 2024 10:21:06 +0000 (UTC) Received: from localhost (unknown [36.170.58.193]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 21 Apr 2024 10:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 245048b0; Sun, 21 Apr 2024 10:22:13 +0000 (UTC) Date: Sun, 21 Apr 2024 18:22:06 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.88 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.88 X-Migadu-Queue-Id: 40C933BEA3 X-TUID: 6oLkgLGiCKVc From: 宋文武 Hello, here are some patches for font packages which updates the install phase in font-build-system for multiple outputs, and use that for some font packages. When a font family is provided in different formats (eg: both ttf and otf), font picker will list duplicated entries. To remove those duplicated entries, these patches will prefer "otf" over "ttf" files by using '("out" "ttf")) as package's outputs field, so that otf files will go into the default "out" output. I think some good defaults for "out" are: Prefer "otf" over "ttf", as the otf has better features and smaller size. Prefer "otb" over "pcf", as pango only support otb as bitmap fonts. Prefer "otc/ttc" over separated ttf/otf files, as collection has smaller size. Always use "woff" for web fonts or delete them, those are only used for serving web pages. The font-build-system change will trigger mass rebuilds due to fontconfig, so this maybe go into "core-updates" or a separated branch. Sou Bunnbu (宋文武) (14): build-system: font: Handle multiple outputs in the install phase. gnu: font-artifika: Split outputs. gnu: font-chivo: Split outputs. gnu: font-ibm-plex: Update to 6.4.0. gnu: font-ibm-plex: Split outputs. gnu: font-intel-one-mono: Remove unnecessary 'split-outputs' phase. gnu: font-canada1500: Split outputs. gnu: font-linuxlibertine: Split outputs. gnu: font-libertinus: Split outputs. gnu: font-recursive: Split outputs. gnu: font-orbitron: Split outputs. gnu: font-spleen: Remove unnecessary custom install phase. gnu: font-scientifica: Remove unnecessary custom install phase. gnu: font-cormorant: Split outputs. gnu/packages/fonts.scm | 114 ++++++------------------------- guix/build/font-build-system.scm | 32 +++++++-- 2 files changed, 48 insertions(+), 98 deletions(-) base-commit: a1d711c92e119f6b5b8e99a620cdba92a4ca3bfb -- 2.41.0