summaryrefslogtreecommitdiff
path: root/media-fonts/lfpfonts-fix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-fonts/lfpfonts-fix
reinit the tree, so we can have metadata
Diffstat (limited to 'media-fonts/lfpfonts-fix')
-rw-r--r--media-fonts/lfpfonts-fix/Manifest6
-rw-r--r--media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch16
-rw-r--r--media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild35
-rw-r--r--media-fonts/lfpfonts-fix/metadata.xml11
4 files changed, 68 insertions, 0 deletions
diff --git a/media-fonts/lfpfonts-fix/Manifest b/media-fonts/lfpfonts-fix/Manifest
new file mode 100644
index 000000000000..1fe3bb409e20
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/Manifest
@@ -0,0 +1,6 @@
+AUX lfpfonts-fix-0.83-noglyph.patch 523 SHA256 a2ee182c6ae0d8735b8d86c9a9d59f9a33766ea573313653198c3653a23293b2 SHA512 33a9dbd2bb9be37f91f7b3d8814c715b20f3b845aeb77eff4b10278ec53eecafa956d42663eff7fb4d9ab2b90a1aab79901367c27caa2b07b6d69333875b76fb WHIRLPOOL 2ce2235565584a8a269bb3bf336d97711766098119ebac8deadd8fd64323450a581c93c3505feab07f8d3961b0edb34c2f56ab3582816d5cc24fc4d21ff22670
+DIST lfpfonts-fix-src-0.83.tar.bz2 172461 SHA256 f501e45ee105eb006515747178c2872cc4bdd29c4ec8fc39d01d3ce25de6d71f SHA512 154f36eca48e2869e6e5362c7d8de5511b4b7ab96466f147c21a792016d9065c8216dabfdda0b8763a6119510b3c4eebbe40ceb093ab89a308431b059716a23d WHIRLPOOL fe3722e3fb638828de893d206e6541f574d979df82550206b4308015ccb75ade5a81c319517cf85549cdc7208ffe3df80c6eb2c10ec6798467dad0e1f561c527
+EBUILD lfpfonts-fix-0.83-r2.ebuild 746 SHA256 0c1cf26210f7d30dbc04f34d1d86c9d174b09ffde299026c804f307b3873f4d5 SHA512 7642b0c7e460b3673a1959e1ebe82a87d80c8cb217bb691b3d05c72c9776c79fc55565dd07c1414774b5868aae1a71e52283b5836c539a69cdfe130f14f84985 WHIRLPOOL 15ce1a86f53a2b4e1603e9b6f8126a8ce4730a58d0d866d92a5d8d46b1359cff5e38c3fbfd220185cdca7fd9fd1655d809d81f7ff1d9469a696ef072b2a7d4f8
+MISC ChangeLog 2610 SHA256 fce32a1a439343efa64ff45ce586c967d01956b1d28e80690b8742f266fc3b25 SHA512 905ff05a43551feaaf8f8823a3f9df9410e987e554d7e6525a21e7323becbc1b983546ac06c7e5cc159f5ae5a6ff2cf237c1cc9a78296690b2cb445977f63403 WHIRLPOOL 1dac3320beaf678a24987d80fe60640946c71a9aaa3afdb80cc137eb9f61a6e3b7577d33515e8b357134d255aafbaaf77ca090ab265db2413c1355ace1e35c20
+MISC ChangeLog-2015 3713 SHA256 b55268a31e299676b25abf5a6394bce11e611abecf88691b1ff6c1cb006bc469 SHA512 923135b02ad39c6761fab4ca5a1a988623115b655e79b73b1b16aa73c989a7c3abe6a5f18d5f2b4892309a68127f4f9579e3067d092f36f288f7d49a2d4a9748 WHIRLPOOL 3dafdba459a54c75552670a295e15d03cc307441a14e412e819bbf4a8c0df67a709caa9639ea1df72801d621eac91ebb358a44b60078ca0444b65ed7a13ab3f0
+MISC metadata.xml 314 SHA256 5a578dee2dd7e932b2e7348045233ed453c1eab2bcfb185cf21821fad9b703a5 SHA512 2932237b59ba528da0dcbc4083b633e5abbcce3ae633b9115f3dc2c8f022e7d348254104215023b432accdfc646b9cd98d53eb89967bfa7522664ee68f31b498 WHIRLPOOL 77ae5699c63c84b2fc3081cc3dae3bd866fe4912d198c1ded7e817a7d7694835db9a44ed77c64073771f3bd74c0ef1f45226691c4fbca5eff53b65e414837df7
diff --git a/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch b/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch
new file mode 100644
index 000000000000..77cf7a5fe5f4
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/files/lfpfonts-fix-0.83-noglyph.patch
@@ -0,0 +1,16 @@
+--- src/ucs2any.agriffis 2001-02-17 12:34:50.000000000 -0500
++++ src/ucs2any 2006-01-11 10:53:15.000000000 -0500
+@@ -225,12 +225,7 @@
+ if (!is_control($ucs)) {
+ if ($startchar{$ucs}) {
+ $map{$target} = $ucs;
+- } else {
+- printf STDERR "No glyph for character U+%04X " .
+- "(0x%02x) available.\n", $ucs, $target
+- unless (is_blockgraphics($ucs) && $slant ne "R") ||
+- ($ucs >= 0x200e && $ucs <= 0x200f);
+- }
++ }
+ }
+ } else {
+ printf STDERR "Unrecognized line in '$fmap':\n$_";
diff --git a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild
new file mode 100644
index 000000000000..723573a672db
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit font eutils font-ebdftopcf
+
+DESCRIPTION="Linux Font Project fixed-width fonts"
+SRC_URI="mirror://sourceforge/xfonts/${PN}-src-${PV}.tar.bz2"
+HOMEPAGE="https://sourceforge.net/projects/xfonts/"
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${PN}-src"
+
+FONT_S="${S}/src"
+
+DOCS="${S}/doc/*"
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/${PN}-0.83-noglyph.patch
+}
+
+src_compile() {
+ cd "${FONT_S}"
+ sed -i -e '/^FONT /s/\(.*-\)C*-/\1C-/' *.bdf || die "sed failed"
+
+ font-ebdftopcf_src_compile
+}
diff --git a/media-fonts/lfpfonts-fix/metadata.xml b/media-fonts/lfpfonts-fix/metadata.xml
new file mode 100644
index 000000000000..5cf64606d493
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>fonts@gentoo.org</email>
+ <name>Fonts</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">xfonts</remote-id>
+ </upstream>
+</pkgmetadata>