From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E416158089 for ; Tue, 10 Oct 2023 10:41:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C406E2BC013; Tue, 10 Oct 2023 10:41:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A45B32BC013 for ; Tue, 10 Oct 2023 10:41:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABA29335C2E for ; Tue, 10 Oct 2023 10:41:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19179E90 for ; Tue, 10 Oct 2023 10:41:11 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1696934428.4c2dfaefb04ef3949ab96bb8a85977c4abd75d06.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/urw-fonts/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild X-VCS-Directories: media-fonts/urw-fonts/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 4c2dfaefb04ef3949ab96bb8a85977c4abd75d06 X-VCS-Branch: master Date: Tue, 10 Oct 2023 10:41:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7504c679-0ce7-464d-b13c-9070165d87b0 X-Archives-Hash: cf7dab9814cd52d1b7e47e9afc1744c0 commit: 4c2dfaefb04ef3949ab96bb8a85977c4abd75d06 Author: Pacho Ramos gentoo org> AuthorDate: Tue Oct 10 10:40:28 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Oct 10 10:40:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2dfaef media-fonts/urw-fonts: Install also t1 fonts As other distributions do. Thanks-to: Michelangelo Scopelliti Closes: https://bugs.gentoo.org/911934 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild b/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild new file mode 100644 index 000000000000..ed5dfbc60cec --- /dev/null +++ b/media-fonts/urw-fonts/urw-fonts-20230503-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit font + +DESCRIPTION="(URW)++ base 35 font set" +HOMEPAGE="https://github.com/ArtifexSoftware/urw-base35-fonts" +COMMIT="3c0ba3b5687632dfc66526544a4e811fe0ec0cd9" +SRC_URI="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +S="${WORKDIR}/urw-base35-fonts-${COMMIT}" + +FONT_S="${S}/fonts" +FONT_SUFFIX="afm otf t1 ttf" +FONT_PRIORITY="61" # Same as in Fedora +FONT_CONF=( + fontconfig/${FONT_PRIORITY}-urw-bookman.conf + fontconfig/${FONT_PRIORITY}-urw-c059.conf + fontconfig/${FONT_PRIORITY}-urw-d050000l.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-backwards.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-generics.conf + fontconfig/${FONT_PRIORITY}-urw-fallback-specifics.conf + fontconfig/${FONT_PRIORITY}-urw-gothic.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-mono-ps.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-roman.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-sans-narrow.conf + fontconfig/${FONT_PRIORITY}-urw-nimbus-sans.conf + fontconfig/${FONT_PRIORITY}-urw-p052.conf + fontconfig/${FONT_PRIORITY}-urw-standard-symbols-ps.conf + fontconfig/${FONT_PRIORITY}-urw-z003.conf +) + +src_prepare() { + default + cd "${S}"/fontconfig + for f in *.conf ; do + mv "${f}" "${FONT_PRIORITY}-${f}" + done +} + +src_install() { + font_src_install + insinto /usr/share/metainfo + doins appstream/*.xml +}