From 869c6d7ab6d98cd64ccb7d882d3d9066a4225968 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sun, 14 Jan 2024 23:45:22 -0500 Subject: [PATCH] Resurrect media-fonts/urw-fonts-2.4.9. This version works with xpdf, current versions don't. --- media-fonts/urw-fonts/Manifest | 2 + media-fonts/urw-fonts/urw-fonts-2.4.9.ebuild | 53 ++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 media-fonts/urw-fonts/Manifest create mode 100644 media-fonts/urw-fonts/urw-fonts-2.4.9.ebuild diff --git a/media-fonts/urw-fonts/Manifest b/media-fonts/urw-fonts/Manifest new file mode 100644 index 0000000..0420237 --- /dev/null +++ b/media-fonts/urw-fonts/Manifest @@ -0,0 +1,2 @@ +DIST urw-fonts-2.4-9.fc13.src.rpm 3198315 BLAKE2B 9f4c026af2ee6b472454be43b4e1d11616770cb63841fe022762f18a7c71abc37e442102a3d54b880a6a34117442cf45b2d65133ef9cca564e55a26ac1179824 SHA512 cd8c9eb9e56480e70129c14cc744b944fe51fc616b8b5da46b7251520c84486c6c4354afdd7517569ba7874255c00b755aace076dc2cf1a1d8bdd30e41322d4b +EBUILD urw-fonts-2.4.9.ebuild 1888 BLAKE2B 82ee73a1701d792c325b45f93dfec63a05ee1c0d524fafa267917d4830a9c94757a18b54722b7b05437e7cd57ed3783723cf4805d49c610a6aac70ec946fe464 SHA512 da2d97c4d1642c41e011dc452058e5fd43d04a07cae6d4c76d3c46737840387245de67e504772c1da76a03c5599e1fb1a4b11717d49810c4e85d2ad8c7b19eee diff --git a/media-fonts/urw-fonts/urw-fonts-2.4.9.ebuild b/media-fonts/urw-fonts/urw-fonts-2.4.9.ebuild new file mode 100644 index 0000000..7ee816d --- /dev/null +++ b/media-fonts/urw-fonts/urw-fonts-2.4.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# At some point URW++ released fonts under GPL license. After that they were took +# and improved by Valek Filippov and this work was somehow related with AFPL... +# At least it can be found on their svn server: +# http://svn.ghostscript.com/ghostscript/trunk/urw-fonts/ + +# Also, some time ago, sources where published on sf.net: +# https://sourceforge.net/projects/gs-fonts/files/ +# At this point this package was published on a nuber of other sites +# (gimp.org/cups.org) and media-fonts/gnu-gs-fonts-std was added to the tree. +# But nobody use that old releases any mover and everybody syncs with +# svn.ghostscript.com. The most recent tag there is: +# http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/ + +# But note that version we have is different from upstream tag. This happened +# because we started to use redhat versions and followed their versioning. It's +# hard to say why they use such strange version since they also sync with +# svn.ghostscript.com. Redhat's ChangeLog states: +# Tue Jan 8 23:00:00 2008 Than Ngo 2.4-2 +# - update to 1.0.7pre44 + +inherit estack rpm font + +MY_PV=$(ver_rs 2 -) + +DESCRIPTION="free good quality fonts gpl'd by URW++" +HOMEPAGE="http://www.urwpp.de/" +SRC_URI="mirror://gentoo/${PN}-${MY_PV}.fc13.src.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !media-fonts/gnu-gs-fonts-std + !media-fonts/gnu-gs-fonts-other" + +S="${WORKDIR}" + +DOCS="ChangeLog README*" +FONT_S="${S}" +FONT_SUFFIX="afm pfb pfm" + +pkg_postinst() { + font_pkg_postinst + + elog "If you upgraded from ${PN}-2.1-r2 some fonts will look a bit" + elog "different. Take a look at bug #208990 if interested." +} -- 2.43.2