summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-01-18 02:18:16 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-01-18 08:28:09 +0200
commit9431fc73243d4b58d3f3e07e20136e7b62874a98 (patch)
treed548075b434e709741c4ded17da0f24477a70f5e /media-fonts
parentapp-antivirus/clamav-unofficial-sigs: new revision with GLEP81 accounts. (diff)
downloadgentoo-9431fc73243d4b58d3f3e07e20136e7b62874a98.tar.gz
gentoo-9431fc73243d4b58d3f3e07e20136e7b62874a98.tar.bz2
gentoo-9431fc73243d4b58d3f3e07e20136e7b62874a98.zip
media-fonts/x11fonts-jmk: fix Updating global fontcache
Without inheritance of font.eclass the pkg_postinst() phase doesn't update the global fontcache causing media-gfx/gimp sandbox install() phase issue. Closes: https://bugs.gentoo.org/705502 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/14372 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
new file mode 100644
index 000000000000..827d1a9bf3ae
--- /dev/null
+++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit font
+
+MY_P="jmk-x11-fonts-${PV}"
+
+DESCRIPTION="This package contains character-cell fonts for use with X"
+HOMEPAGE="http://www.jmknoble.net/fonts/"
+SRC_URI="http://www.pobox.com/~jmknoble/fonts/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
+
+BDEPEND="
+ x11-misc/imake
+ >=x11-apps/mkfontscale-1.2.0
+ x11-apps/bdftopcf"
+
+DOCS=( "ChangeLog" "NEWS" "README" )
+
+PATCHES=( "${FILESDIR}"/gzip.patch )
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ xmkmf || die
+ default
+}
+
+src_install() {
+ emake install INSTALL_DIR="${ED}/usr/share/fonts/jmk"
+ einstalldocs
+}