public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/urw-fonts/
Date: Tue, 10 Oct 2023 10:41:11 +0000 (UTC)	[thread overview]
Message-ID: <1696934428.4c2dfaefb04ef3949ab96bb8a85977c4abd75d06.pacho@gentoo> (raw)

commit:     4c2dfaefb04ef3949ab96bb8a85977c4abd75d06
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 10:40:28 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> 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 <pacho <AT> 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
+}


             reply	other threads:[~2023-10-10 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10 10:41 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-01  0:11 [gentoo-commits] repo/gentoo:master commit in: media-fonts/urw-fonts/ Matt Turner
2023-10-27 19:32 Sam James
2023-09-27  4:50 Sam James
2023-07-29 10:13 Pacho Ramos
2023-07-29 10:13 Pacho Ramos
2022-05-14 10:30 WANG Xuerui
2021-12-07  8:48 Sam James
2021-01-06 14:01 Fabian Groffen
2020-12-27 17:41 Fabian Groffen
2019-10-19 19:48 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696934428.4c2dfaefb04ef3949ab96bb8a85977c4abd75d06.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox