media-fonts/urw-fonts: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2023-11-30 19:02:32 -05:00
parent c25716a7af
commit 21df76a80d
3 changed files with 0 additions and 104 deletions

View File

@@ -1,2 +1 @@
DIST urw-fonts-2.4-9.fc13.src.rpm 3198315 BLAKE2B 9f4c026af2ee6b472454be43b4e1d11616770cb63841fe022762f18a7c71abc37e442102a3d54b880a6a34117442cf45b2d65133ef9cca564e55a26ac1179824 SHA512 cd8c9eb9e56480e70129c14cc744b944fe51fc616b8b5da46b7251520c84486c6c4354afdd7517569ba7874255c00b755aace076dc2cf1a1d8bdd30e41322d4b
DIST urw-fonts-20230503.tar.gz 11194541 BLAKE2B 552de1079ef2dbce3e7fe352ef9f81a5f55fb34d71a11bc25895174804e0ef5b4424981204d46753cf83e014d786c27625ef3389745126e55b7ca1df9d01bc46 SHA512 0d192664a2371a0746b10d639a9140d8620cc99058ff7930b94a8b9bd22a5c858e5315d40dd310de07d1c5eb5015f8132b772682b544ac3cadee56c7de2e7386

View File

@@ -1,53 +0,0 @@
# 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."
}

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="(URW)++ base 35 font set"
HOMEPAGE="https://github.com/ArtifexSoftware/urw-base35-fonts"
COMMIT="3c0ba3b5687632dfc66526544a4e811fe0ec0cd9"
SRC_URI="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3"
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"
S="${WORKDIR}/urw-base35-fonts-${COMMIT}"
FONT_S="${S}/fonts"
FONT_SUFFIX="afm otf ttf"
FONT_PRIORITY="61" # Same as in Fedora
FONT_CONF=(
fontconfig/${FONT_PRIORITY}-urw-bookman.conf
fontconfig/${FONT_PRIORITY}-urw-c059.conf
fontconfig/${FONT_PRIORITY}-urw-d050000l.conf
fontconfig/${FONT_PRIORITY}-urw-fallback-backwards.conf
fontconfig/${FONT_PRIORITY}-urw-fallback-generics.conf
fontconfig/${FONT_PRIORITY}-urw-fallback-specifics.conf
fontconfig/${FONT_PRIORITY}-urw-gothic.conf
fontconfig/${FONT_PRIORITY}-urw-nimbus-mono-ps.conf
fontconfig/${FONT_PRIORITY}-urw-nimbus-roman.conf
fontconfig/${FONT_PRIORITY}-urw-nimbus-sans-narrow.conf
fontconfig/${FONT_PRIORITY}-urw-nimbus-sans.conf
fontconfig/${FONT_PRIORITY}-urw-p052.conf
fontconfig/${FONT_PRIORITY}-urw-standard-symbols-ps.conf
fontconfig/${FONT_PRIORITY}-urw-z003.conf
)
src_prepare() {
default
cd "${S}"/fontconfig
for f in *.conf ; do
mv "${f}" "${FONT_PRIORITY}-${f}"
done
}
src_install() {
font_src_install
insinto /usr/share/metainfo
doins appstream/*.xml
}