public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/jisx0213-fonts/
Date: Wed, 27 Oct 2021 12:45:57 +0000 (UTC)	[thread overview]
Message-ID: <1635338723.9f2252bd47ef9e0f122513e79279ac8135e983d8.hattya@gentoo> (raw)

commit:     9f2252bd47ef9e0f122513e79279ac8135e983d8
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 12:45:23 2021 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 12:45:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2252bd

media-fonts/jisx0213-fonts: install bold and italic faces

Closes: https://bugs.gentoo.org/814770
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 .../jisx0213-fonts-20040425-r3.ebuild              | 55 ++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild
new file mode 100644
index 00000000000..6f779b1d4f1
--- /dev/null
+++ b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font font-ebdftopcf
+
+DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset"
+#HOMEPAGE="http://www12.ocn.ne.jp/~imamura/jisx0213.html"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/jiskan16-2004-1.bdf.gz
+	mirror://gentoo/jiskan16-2000-1.bdf.gz
+	mirror://gentoo/jiskan16-2000-2.bdf.gz
+	mirror://gentoo/K14-2004-1.bdf.gz
+	mirror://gentoo/K14-2000-1.bdf.gz
+	mirror://gentoo/K14-2000-2.bdf.gz
+	mirror://gentoo/K12-1.bdf.gz
+	mirror://gentoo/K12-2.bdf.gz
+	mirror://gentoo/A14.bdf.gz
+	mirror://gentoo/A12.bdf.gz
+	mirror://gentoo/jiskan24-2000-1.bdf.gz
+	mirror://gentoo/jiskan24-2000-2.bdf.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="binchecks strip"
+
+BDEPEND="media-gfx/mkbold-mkitalic"
+S="${WORKDIR}"
+
+FONT_PN="${PN/-fonts/}"
+FONTDIR="/usr/share/fonts/${FONT_PN}"
+
+src_compile() {
+	einfo "Making bold and italic faces..."
+	for bdf in *.bdf; do
+		mkbold       -r -L ${bdf} >${bdf%.bdf}b.bdf
+		mkitalic           ${bdf} >${bdf%.bdf}i.bdf
+		mkbolditalic -r -L ${bdf} >${bdf%.bdf}bi.bdf
+	done
+	font-ebdftopcf_src_compile
+}
+
+pkg_postinst() {
+	font_pkg_postinst
+	if use X; then
+		elog "You need you add following line into 'Section \"Files\"' in"
+		elog "XF86Config and reboot X Window System, to use these fonts."
+		elog ""
+		elog "\t FontPath \"${FONTDIR}\""
+		elog ""
+	fi
+}


             reply	other threads:[~2021-10-27 12:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 12:45 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03 12:43 [gentoo-commits] repo/gentoo:master commit in: media-fonts/jisx0213-fonts/ Akinori Hattori
2022-02-15 18:31 Matt Turner
2021-12-08  9:18 Sam James
2021-12-08  6:17 Sam James
2021-12-07  7:55 Sam James
2021-12-07  2:17 Sam James
2021-12-07  0:31 Sam James
2021-12-06 21:11 Jakov Smolić
2021-11-20 10:23 Arthur Zamarin
2021-11-19 11:36 Sam James
2021-11-04 17:07 Sam James
2021-10-28 15:04 Sam James
2021-03-21 19:06 Andreas Sturmlechner
2017-12-12 14:03 Akinori Hattori
2017-12-12 14:03 Akinori Hattori

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=1635338723.9f2252bd47ef9e0f122513e79279ac8135e983d8.hattya@gentoo \
    --to=hattya@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