1 |
commit: 341377acab7338c419f4494d29dcac44685007a4 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 20 13:55:11 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 20 14:01:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341377ac |
7 |
|
8 |
media-fonts/x11fonts-jmk: Turn into well-behaved font |
9 |
|
10 |
Lack of file /usr/share/fonts/jmk/.uuid |
11 |
causes sandbox violation issues in other packages. |
12 |
font_pkg_postinst take care of its creation now. |
13 |
Also bumped to EAPI 7 and "Unquoted Variable" warnings addressed. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/665008 |
16 |
|
17 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
18 |
|
19 |
media-fonts/x11fonts-jmk/files/gzip.patch | 4 +-- |
20 |
.../x11fonts-jmk/x11fonts-jmk-3.0-r2.ebuild | 38 ++++++++++++++++++++++ |
21 |
2 files changed, 40 insertions(+), 2 deletions(-) |
22 |
|
23 |
diff --git a/media-fonts/x11fonts-jmk/files/gzip.patch b/media-fonts/x11fonts-jmk/files/gzip.patch |
24 |
index c01c1c09394..3fb938c2f41 100644 |
25 |
--- a/media-fonts/x11fonts-jmk/files/gzip.patch |
26 |
+++ b/media-fonts/x11fonts-jmk/files/gzip.patch |
27 |
@@ -1,5 +1,5 @@ |
28 |
---- Imakefile 1999-08-24 00:09:41.000000000 -0400 |
29 |
-+++ Imakefile 2005-02-21 01:40:20.000000000 -0500 |
30 |
+--- a/Imakefile 1999-08-24 00:09:41.000000000 -0400 |
31 |
++++ b/Imakefile 2005-02-21 01:40:20.000000000 -0500 |
32 |
@@ -22,7 +22,6 @@ |
33 |
|
34 |
CAT = cat |
35 |
|
36 |
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r2.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r2.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..4a1e15c8834 |
39 |
--- /dev/null |
40 |
+++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r2.ebuild |
41 |
@@ -0,0 +1,38 @@ |
42 |
+# Copyright 1999-2018 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+FONT_PN=jmk |
47 |
+ |
48 |
+inherit font |
49 |
+ |
50 |
+MY_P=jmk-x11-fonts-${PV} |
51 |
+S=${WORKDIR}/${MY_P} |
52 |
+DESCRIPTION="This package contains character-cell fonts for use with X" |
53 |
+SRC_URI="http://www.pobox.com/~jmknoble/fonts/${MY_P}.tar.gz" |
54 |
+HOMEPAGE="http://www.jmknoble.net/fonts/" |
55 |
+LICENSE="GPL-2" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
58 |
+IUSE="" |
59 |
+ |
60 |
+DEPEND="x11-misc/imake |
61 |
+ x11-apps/mkfontdir |
62 |
+ x11-apps/bdftopcf" |
63 |
+RDEPEND="" |
64 |
+ |
65 |
+src_unpack() { |
66 |
+ unpack ${A} |
67 |
+ cd "${S}" |
68 |
+ eapply "${FILESDIR}"/gzip.patch |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ xmkmf || die |
73 |
+ emake || die |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ make install INSTALL_DIR="${D}${FONTDIR}" || die |
78 |
+ dodoc README NEWS |
79 |
+} |