summaryrefslogtreecommitdiffstats
path: root/media-fonts
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-fonts
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/ds-fonts/Manifest6
-rw-r--r--media-fonts/ds-fonts/ds-fonts-1.0-r2.ebuild114
-rw-r--r--media-fonts/ds-fonts/files/aliases.tar.bz2bin0 -> 533 bytes
3 files changed, 120 insertions, 0 deletions
diff --git a/media-fonts/ds-fonts/Manifest b/media-fonts/ds-fonts/Manifest
new file mode 100644
index 0000000..fc7b4c5
--- /dev/null
+++ b/media-fonts/ds-fonts/Manifest
@@ -0,0 +1,6 @@
+AUX aliases.tar.bz2 533 SHA256 2d5902763740b99c52e2fddf00782d25b10573c666d1b3a79ba59057846f08b5 SHA512 028ef8f60d5dabc8add600b82169b28fbe7aa2a59453323fa34a279ba547da10e2646d1d2cb007c32f811353dc629c895e9c325d0127970d55397a9969aae51f WHIRLPOOL 79c2f05f3c1127b0ac07f272bbbc76738045273ffdd717b6c7b62c02dc86863055cc51fb259704ab5b6b62b50960b084cc341a9e8337779314909e3c18704e13
+DIST ds-ttffonts.tar.bz2 4985872 SHA256 206b1604bed432dd96042d9b420410eea56476f7f1725a1c582c3b9bf4acbb7c SHA512 1972e1e6e9e931e98bd509374eb1f3fe922fac2bc318966728bb50d182602b9605b4b24d4bd2e34095662762e3c97a15b24f55fd2be502e3c25a0c19a014cf05 WHIRLPOOL e6188b0bfb07d3112e08c491daa25d6c4e0967e129b21fdaea422a79486cf242e1b2d3ea6f438af5852dd6471b260e99d6595d85bfa2a88fd6845b89c5f3da6e
+DIST ds-type1fonts.tar.bz2 3966546 SHA256 4032b6b6c964eac184da7665e5dfda4ada3bf1c25fa252376d4144bf8fd49882 SHA512 e992070edec1f5e1fcbc16ed4decd2adc786f130460e2d1cab016cee56cff95e132acc8f6575bc2557111dc1add96963b1d667538375ab0a00493c0a1f9a694f WHIRLPOOL ea640a5fa600a66eb14a893f37d66cfd164b4af73bd18a3f9ff0628814e0cf9062404e698ea23cb1cccf1324348d5b549a5625b1672d023cf592f20dcab93ebd
+DIST ds-xfonts.tar.bz2 3998317 SHA256 40d52e0f3ece5dad83961ff4ad7c51f692b7da98dc32cb099418dbcbe1f4d5e7 SHA512 f21fb6a3c3fc27664cd71e5db2e799e2e50d3bfff8278020d007d26062d7c3adf1cae3e9e42722fc05b53bc5800f6438fff7215cdfed33c9ff4749f380c315df WHIRLPOOL a972c42bc0d84c549ff4d76135f4724353d2839287746b099b26c28e85521e464c60976778b0de90f889775d03c3fbb7720acaafb741b846830bfc2751d4725c
+DIST uming.ttf.bz2 10845163 SHA256 34362c2ed6d08909abb5fdb54a9d2fa26bb5400c682f70dc0596001f05880d41 SHA512 2bc8c5ba1934fb20a3a91ae84203b4dc786f960ce9765305749e89843474d7d47419fed307396e423d38763cd48ff538c03c96d796afdf0be2275d7a3a29891d WHIRLPOOL 471e6f5a87a8e028da8ae079cd2cfd074ea0962f948db3675179d2c0b91637c7ed9057dcaf08695fea0308b6c211c896bd9deadd5e7748a39ed4371b0a410c88
+EBUILD ds-fonts-1.0-r2.ebuild 3126 SHA256 a9eee1deb22540f45c53f369120de73e2901a7267143ab0a3c0b212156983596 SHA512 b1671798d8bb5a29e3f20bf90285b42a8d16b28df1e3dfe334d189272bd1e54c54b861e2b37c264312f42732095c1748c7420029bff7160843a5146e283c6b29 WHIRLPOOL 3d268f99cc3cb53008df6b72592f83bf2d1a4e9d6c03caf144739053265f0fc79424da11a62d9157da31085c9116795673250f4ded6b9181122280af35100bdd
diff --git a/media-fonts/ds-fonts/ds-fonts-1.0-r2.ebuild b/media-fonts/ds-fonts/ds-fonts-1.0-r2.ebuild
new file mode 100644
index 0000000..1d2660e
--- /dev/null
+++ b/media-fonts/ds-fonts/ds-fonts-1.0-r2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+EAPI=5
+inherit font eutils
+
+DESCRIPTION="DarkSoft Fonts (Bitmap,Type1,TrueType)"
+SLOT="0"
+SRC_URI="http://darksoft.org/files/darklin/ds-xfonts.tar.bz2
+ http://darksoft.org/files/darklin/ds-ttffonts.tar.bz2
+ http://darksoft.org/files/darklin/ds-type1fonts.tar.bz2
+ http://darksoft.org/files/darklin/uming.ttf.bz2"
+KEYWORDS="alpha amd64 ppc sparc x86"
+DEPEND="dev-lang/perl
+ x11-base/xorg-x11"
+
+# Old crap
+FONT_ROOT=/usr/share/fonts/DarkLin
+# This we need
+FONT_DIR=/usr/share/fonts/ds-fonts
+
+S="${WORKDIR}"
+
+src_unpack() {
+ einfo "Unpacking sources..."
+ unpack uming.ttf.bz2
+}
+
+src_install() {
+ GS_VER=`gs -v | perl -pe '$_ =~ m/([7-9]\.\d{1,3})(.\d{1,3})?/;print $1;s/.*\n//'`
+
+ mkdir -p ${D}/${FONT_ROOT}
+ tar xjf ${DISTDIR}/ds-xfonts.tar.bz2 -C ${D}/${FONT_ROOT}
+ tar xjf ${DISTDIR}/ds-ttffonts.tar.bz2 -C ${D}/${FONT_ROOT}
+ tar xjf ${DISTDIR}/ds-type1fonts.tar.bz2 -C ${D}/${FONT_ROOT}
+ tar xjf ${FILESDIR}/aliases.tar.bz2 -C ${D}/${FONT_ROOT}/Type1
+
+ chmod 0755 `find ${D}/${FONT_ROOT} -type d`
+ chmod 0644 `find ${D}/${FONT_ROOT} -type f`
+
+ for name in `find ${D}/${FONT_ROOT} -type f -name *.Z`; do
+ gunzip $name
+ (
+ cd `dirname $name`
+ gzip `basename $name .Z`
+ )
+ done
+
+ mkdir -p ${D}/${FONT_DIR} || die
+ mv *.ttf ${D}/${FONT_DIR} || die
+ chmod 0755 `find ${D}/${FONT_DIR} -type d` || die
+ chmod 0644 `find ${D}/${FONT_DIR} -type f` || die
+}
+
+
+rebuild_fontfiles() {
+ einfo "Refreshing fonts.scale and fonts.dir..."
+
+ (
+ cd ${FONT_ROOT}/TrueType/win
+ mkfontscale
+ mkfontdir
+ )
+
+ (
+ cd ${FONT_ROOT}/TrueType/misc
+ mkfontscale
+ mkfontdir
+ )
+
+ (
+ cd ${FONT_ROOT}/Russian
+ for name in `find . -type d`; do
+ (
+ cd $name || die
+ mkfontdir
+ )
+ done
+ )
+
+ (
+ cd ${FONT_DIR}
+ mkfontscale
+ mkfontdir
+ )
+}
+
+pkg_postinst() {
+ rebuild_fontfiles
+
+ einfo "In order to make X see the fonts, you need to add the"
+ einfo "following lines to the files section of your "
+ einfo "/etc/X11/XF86Config (or the XOrg equivalent):"
+ einfo " FontPath \"${FONT_ROOT}/TrueType/win:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/TrueType/misc:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Russian/misc:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Russian/100dpi:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Russian/75dpi:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Russian/AltIsoKoi:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Russian/Win:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Unicode:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Type1/All:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Type1/ER-KOI8:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Type1/ER-CP1251:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Type1/KOI8:unscaled\""
+ einfo " FontPath \"${FONT_ROOT}/Type1/Misc-KOI8:unscaled\""
+
+ einfo ""
+ einfo "In order to make them accessible to your current X"
+ einfo "session, run:"
+ einfo " xset fp+ ${FONT_DIR}"
+ einfo " xset fp rehash"
+}
diff --git a/media-fonts/ds-fonts/files/aliases.tar.bz2 b/media-fonts/ds-fonts/files/aliases.tar.bz2
new file mode 100644
index 0000000..9bbd1d3
--- /dev/null
+++ b/media-fonts/ds-fonts/files/aliases.tar.bz2
Binary files differ