summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-fonts/lfpfonts-fix
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-fonts/lfpfonts-fix')
-rw-r--r--media-fonts/lfpfonts-fix/Manifest1
-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.ebuild36
-rw-r--r--media-fonts/lfpfonts-fix/metadata.xml8
4 files changed, 61 insertions, 0 deletions
diff --git a/media-fonts/lfpfonts-fix/Manifest b/media-fonts/lfpfonts-fix/Manifest
new file mode 100644
index 000000000000..9f5d6d51265c
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/Manifest
@@ -0,0 +1 @@
+DIST lfpfonts-fix-src-0.83.tar.bz2 172461 SHA256 f501e45ee105eb006515747178c2872cc4bdd29c4ec8fc39d01d3ce25de6d71f
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..2166c5a7ee4b
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit font eutils font-ebdftopcf
+
+DESCRIPTION="Linux Font Project fixed-width fonts"
+SRC_URI="mirror://sourceforge/xfonts/${PN}-src-${PV}.tar.bz2"
+HOMEPAGE="http://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..bfe82106acd5
--- /dev/null
+++ b/media-fonts/lfpfonts-fix/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <upstream>
+ <remote-id type="sourceforge">xfonts</remote-id>
+ </upstream>
+</pkgmetadata>