summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/openfontlibrary/ChangeLog8
-rw-r--r--media-fonts/openfontlibrary/Manifest25
-rw-r--r--media-fonts/openfontlibrary/metadata.xml14
-rw-r--r--media-fonts/openfontlibrary/openfontlibrary-20110916.ebuild85
4 files changed, 132 insertions, 0 deletions
diff --git a/media-fonts/openfontlibrary/ChangeLog b/media-fonts/openfontlibrary/ChangeLog
new file mode 100644
index 000000000..a8283cc69
--- /dev/null
+++ b/media-fonts/openfontlibrary/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-fonts/openfontlibrary
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 16 Sep 2011; Thomas Fischer (f15h) <fischer@unix-ag.uni-kl.de>
+ +openfontlibrary-20110916.ebuild, +metadata.xml:
+ New Ebuild for bug 383279: installing fonts from OpenFontLibrary
+
diff --git a/media-fonts/openfontlibrary/Manifest b/media-fonts/openfontlibrary/Manifest
new file mode 100644
index 000000000..894796136
--- /dev/null
+++ b/media-fonts/openfontlibrary/Manifest
@@ -0,0 +1,25 @@
+DIST acknowledgement.zip 82602 RMD160 c48f8a530d9974abb2010d00ebdc03979bfb0567 SHA1 57d1e5a45b29203f15df79e1a505bea57eccdf9e SHA256 6600266daf4bca657b65193f7f21366a9cda0568c11255f932b13723a10fb3ad
+DIST alfphabet.zip 26914 RMD160 38f4e00975a6a5d10f1698ea36aa239ebbd2c196 SHA1 d733657e3518eaea8cac295873dc8d90e6295405 SHA256 c6839ed7642515f656cf552f5bece53e4fe348bd8a75f0e7a662dead61c335f5
+DIST crimson.zip 321065 RMD160 27d5c3deb9f92bd13abb42f8a868a96dbd65d33a SHA1 17beecd20265151e130bdcfaa56a11b5f2405417 SHA256 cf2d7b0c48139f20d77021c91365cb404f2946aa4d061290588d83c9d23f126d
+DIST designosaur.zip 241808 RMD160 ff69e08b0b94d3e6b4264ce2eec7f344ba5d7307 SHA1 616678ceb078ace4ee4bf97dcdb911045abec847 SHA256 2fb4243ffee4227b72273b8ee6c97a7de3798de14e4dc3a60ccb52e3de720e48
+DIST didact-gothic.zip 383321 RMD160 af7e5dad1c85f102816f388148f773d33b2348c3 SHA1 079c59f4905b50d071ebb333352251dfe46442b2 SHA256 496c8202e1cde29e9268057e6167d0af80bfa6076d56f4f74b40948170a83614
+DIST douar-outline.zip 61439 RMD160 8f40aba00bb23ec94116a9c873ed440f3bdbdc44 SHA1 6514eb8b78684edb3732d1a3ea5d6a97d9871156 SHA256 0470443827ff46d9475a880009355307a95dce532e051909f4659e54255607b3
+DIST freeuniversal.zip 73810 RMD160 0cd176aa65b28ef124c16332fe80ea0025d70ad8 SHA1 35c5a8a255df6f2f85ca0029377ed9119ecf1d9a SHA256 66c43699e2d7b31a2d3e0c98dcb9483aa97c53824832f2e203104c25ea4a37b5
+DIST graziano.zip 46196 RMD160 f9fbce5deb5ddbb8e3e0be211031fa97ee32adc0 SHA1 46f1e588627cd3e81a7cb225f7d3f8a438bfe13f SHA256 df5ca200c16f1c0f4730c9a834c3d0365554e3a54f4fbf57c8a53d96a2a56db4
+DIST intuitive.zip 30614 RMD160 4b9039983b6a452bcf0ebe189a0eaa4a9d45fcf2 SHA1 f1d6e85cbdee02b19c9bde3f8d33ed970d6b49c3 SHA256 b861c88a754ef6bc5db21da1ef63e683c873f0377b8750f8de37e364ba9386ba
+DIST judson.zip 807509 RMD160 1b9bcf28cf73ea215823cfcd1349c6c456b0bc3d SHA1 41c1c532ff830ccc75db826d67a6a1cab396d527 SHA256 704b068a0b15e575e22e0bc6d19b6d2bdfa7622329657e97683db8af58c525b6
+DIST junction.zip 131258 RMD160 77cc20d8d594725d62aa92a61fad9f0efb4b1628 SHA1 bd8e55960d89b000d8c81c4ed4cbaa3dbf7e0def SHA256 8085b4b45cba481f1404d447b509fd9ecbd41ffc97309223c93c072e2d7fcd75
+DIST jura.zip 855069 RMD160 cbf1a8df733b593e6e8dcecff87000431f9d347a SHA1 452bb036c281a526ccdf9e18dda4f6013b7ea3b8 SHA256 f1d640337b1b5b88b51681b5785ddbc09e0187366c9006d2ba6a84b8a74d9f1c
+DIST klaudia-and-berenika.zip 1533845 RMD160 fcf6aa8a3ce80ccdd1f8078124824e3c0eb7f85f SHA1 8caec6a56b13741e48c9e0255e2638221d455423 SHA256 f345336c8d12c4b9849f30b75b0b9796993deb5d2a8c26f63c39c72b9ab052d0
+DIST libertinage.zip 7421087 RMD160 a870f6daa818e6bead80de4db5b34ebb715b8a75 SHA1 7fdbff96783e6b8c2412a8729b2718e9fdd7e2e2 SHA256 93b5dd7e8e65c568425f1ff7b49e27c6f6c19c7c7aeb61a26fdac1fc4efb9f72
+DIST notcouriersans.zip 1626882 RMD160 7cd888dd2834405e8c1215e8f71daaed96002453 SHA1 8d86a731ec4a4e6935ba53b56e6db38591f65435 SHA256 045124dd201965089952d78891ea45b58b0b793ca739d8025d1ac460f81c9055
+DIST old-standard.zip 3750330 RMD160 64eb2cf9d30265274d72a0b20f74d7e0dc257489 SHA1 b528f2806a5a533be491c1bc85340b8e1dd3066f SHA256 d720596ef802ff0192491c0cce73afdc276d9198a388456fd4f0621729d3af9c
+DIST open-baskerville.zip 1904441 RMD160 643d228486e704ccc9f768bede1becc65ca347d5 SHA1 3678ce66b60fd9c3ed4fadd5d459baee2d53aa8f SHA256 d95575182da7b30874ac2a4966692e75e693833054ef65e11ba4dad488b74f08
+DIST osp-din.zip 5052196 RMD160 e1432457ab4043cab0295979b8e318e83f0c3593 SHA1 477a53b4cdb5459e21c719e735b1bd78624fea45 SHA256 d16b3375ac39ede414d47d4c6f0970fd4171ada67e834822814528adcb4eec99
+DIST pfennig.zip 789904 RMD160 e8a346bb979a5eadbdcee7f24a65f624acd1b846 SHA1 3426bf7acd9736e8d02299b8bd3ad246ee0bf029 SHA256 9f53ddc84e75b8f954b1857779ba21c60741a9d3033616fba051defb5c0b83b2
+DIST sansus-webissimo.zip 156514 RMD160 0932d264b426e929bf3b4b4c1f399e57c4701c77 SHA1 78b1db360a561739236b3de5240fba0fc58b2818 SHA256 bb9d6e365c33b87476ab1da8a726202dc061d41980b54ecda1d9f7cf0f4905dc
+DIST squareantiqua.zip 726060 RMD160 88f79ec00cfeb6684a5c27cf056b2d8dab16cb9e SHA1 30d68bde8bc0f1baec73dae82b395e71b5c3ee33 SHA256 884193d31b990fbeceacb3553fc7d22f1538718d4616944302f89057f5d98fb9
+DIST vds.zip 89489 RMD160 8691bd86d79f77904dfe31477e7d5b9282290f3c SHA1 cac01f77abdff1ec35ff72279f8c20a473896fbe SHA256 75c55c4ef34fc8b61982970a5d33f63ea76bf1bd4b2858826d0b384199650d64
+EBUILD openfontlibrary-20110916.ebuild 4841 RMD160 768265dfec0d2a2ed8e315a444fca5572df163f5 SHA1 7a316cbbe7206b16f1918a4a7ad4ff850a9aacb4 SHA256 794127634e0a5016a34fede3b42cb3d628f5e5b0e54dc96aaa92f664c2e2f195
+MISC ChangeLog 312 RMD160 278e315d61f447563429e7c63ff6f213b64fc272 SHA1 cb1c2b729d25a1af1a5108dd8190f45489227a99 SHA256 6281f0df46e88292270b6e2b57252b09ad95bcfa56dc9f4e321cb09285dfd0b0
+MISC metadata.xml 472 RMD160 4f824a897836010c705733d78abe2b2228348008 SHA1 0f4d3116ac78496387a6313c5772d9f6c68ed0a9 SHA256 722a94fd250d64666bdfcf971e987c214a4af70f5e115605d41cc71eab6696ab
diff --git a/media-fonts/openfontlibrary/metadata.xml b/media-fonts/openfontlibrary/metadata.xml
new file mode 100644
index 000000000..a16559938
--- /dev/null
+++ b/media-fonts/openfontlibrary/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>fischer@unix-ag.uni-kl.de</email>
+</maintainer>
+<use>
+ <flag name='handwriting'>Install handwriting-like fonts</flag>
+ <flag name='monospaced'>Install mono-spaced fonts</flag>
+ <flag name='sansserif'>Install sans-serif fonts</flag>
+ <flag name='serif'>Install serif fonts</flag>
+</use>
+</pkgmetadata>
diff --git a/media-fonts/openfontlibrary/openfontlibrary-20110916.ebuild b/media-fonts/openfontlibrary/openfontlibrary-20110916.ebuild
new file mode 100644
index 000000000..28ff611c4
--- /dev/null
+++ b/media-fonts/openfontlibrary/openfontlibrary-20110916.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils font
+
+# Structure of this variable:
+# - in each line, encode one font from OpenFontLibrary
+# - fields are separated by |
+# - fields are as follows:
+# - use flagg (see IUSE below)
+# - download url (from OpenFontLibrary's page for font)
+# - pattern which files to be installed
+# (.otf files are preferred over .ttf)
+# - license (Open Font License in most cases,
+# see OpenFontLibrary's page for font)
+FONTLIST="handwriting|http://openfontlibrary.org/assets/downloads/graziano/493b3e1535054a8f076d02ba9f945ad1/graziano.zip|Graziano.ttf|OFL
+ handwriting|http://openfontlibrary.org/assets/downloads/intuitive/71763f72bef454e1fc6ac6ddc2fd8e7f/intuitive.zip|intuitive.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/douar-outline/08717079a1f176808971879f24d44f39/douar-outline.zip|DouarOutline.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/junction/f99fa7793abd572cc4e202f8cafa1a28/junction.zip|junction_OFL/Junction*.otf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/alfphabet/55201027210b27c9c647eb66918f3abe/alfphabet.zip|OSP_Alfphabet/Alfphabet-IV.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/osp-din/fa3d08bd4b819d71da421ae73c1bd1d1/osp-din.zip|OSP-foundry_DIN/OSP-DIN.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/freeuniversal/5077bdf47767ac210dd15ea83870df66/freeuniversal.zip|FreeUniversal-*.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/vds/e04696b834661151239f2123b9ca9ef9/vds.zip|TTF/VDS*.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/pfennig/bfe495172cefc2388a81ee630281d8e5/pfennig.zip|Pfennig*.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/jura/514421954ac740cb72effbd2aa7c477e/jura.zip|Jura-*.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/didact-gothic/e12a3678deb5791ac79cf0e3f0569663/didact-gothic.zip|DidactGothic.ttf|OFL
+ sansserif|http://openfontlibrary.org/assets/downloads/sansus-webissimo/9e7ef959f7aeef22383039a04e56def9/sansus-webissimo.zip|Sansus*.otf|CCPL-Attribution-3.0
+ sansserif|http://openfontlibrary.org/assets/downloads/designosaur/20b76920b181bc400c45166473687ed6/designosaur.zip|OT-ps/Designosaur-*.otf|CCPL-Attribution-3.0
+ sansserif|http://openfontlibrary.org/assets/downloads/klaudia-and-berenika/0a3b87bd1a161792058e644854ee7b9b/klaudia-and-berenika.zip|Klaudia*/*/*.ttf|OFL
+ monospaced|http://openfontlibrary.org/assets/downloads/notcouriersans/283f31e5facea102ba05ffe4d60b340f/notcouriersans.zip|OSP_NotCourierSans/NotCourierSans*.otf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/squareantiqua/9e7334002d839460e2d6cb7fe9f217b0/squareantiqua.zip|*Antiqua/SquareAntiqua*.ttf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/old-standard/8f7616da5d24d2c54ec2d8e734320ac1/old-standard.zip|oldstandard-2.0.2.otf/OldStandard-*.otf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/open-baskerville/7d908608fdbf11a2f990dee983c3ef35/open-baskerville.zip|OpenBaskerville-*/OpenBaskerville-*.otf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/libertinage/7e850a8dd5040bf3070dc8a720604844/libertinage.zip|OSP_Libertinage/Libertinage*.ttf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/acknowledgement/a5294ce75f3058111216b845e2bd2a6d/acknowledgement.zip|distribution/rendered/Acknowledgement.otf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/judson/51d83ce369280539578dd360d378d814/judson.zip|Judson-*.ttf|OFL
+ serif|http://openfontlibrary.org/assets/downloads/crimson/6feb6f6187adb04e0ea4a40f69101d98/crimson.zip|Crimson-*.otf|OFL"
+
+function get_font_src_uri {
+ for line in ${FONTLIST} ; do
+ read use url pattern license <<<${line//|/ }
+ echo "${use}? ( ${url} )"
+ done
+}
+
+function get_font_license {
+ for line in ${FONTLIST} ; do
+ read use url pattern license <<<${line//|/ }
+ echo "${use}? ( $license )"
+ done | sort -u
+}
+
+function get_font_filepattern {
+ for line in ${FONTLIST} ; do
+ read use url pattern license <<<${line//|/ }
+ if use $use ; then echo "$pattern" ; fi
+ done
+}
+
+DESCRIPTION="Fonts that come with the freedom to use, study, share and remix"
+HOMEPAGE="http://openfontlibrary.org/"
+
+SRC_URI=$(get_font_src_uri)
+LICENSE=$(get_font_license)
+
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="handwriting +monospaced +sansserif +serif"
+
+S="${WORKDIR}"
+
+src_install() {
+ # where to install font files
+ insinto /usr/share/fonts/openfontlibrary
+
+ # install all font files as listed in the pattern list
+ doins $(get_font_filepattern)
+
+ font_xfont_config
+ font_fontconfig
+}