mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/dvipng: cleanup old
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST dvipng-1.15.tar.gz 171529 BLAKE2B 0653e1b6cace30cd510c0a4f7a5ac4c88d3e17a6283693b93202529b1453dcc1617ed5906112206bfb872af093d871163cc6a117be13575211712901ac541070 SHA512 54647526a9d3a26d2ba9c7ef17f285a426d9df06ffb1d5336a1da95cbf24cd17505ba7f6b1ffd14a0beb7f91ab3e519612ce3d3ea3f30c278733127dfbf07c5c
|
||||
DIST dvipng-1.17.tar.gz 171049 BLAKE2B 7165135d818aa399d051977908bf7865774803127312fec515284bd72c4f9e88ffd7f1f7c3c8f1b5adf324fdbb9ac8d039582ede2398123db6ee7655500ac32a SHA512 b56faa6f2b24572233e1f0d9b74122b3bb7fed22cf47c9c05f5530691854dffc9a1953b51803f7d539f9a9de364160d557560c68c369820212837bdbacfb80c7
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Translate DVI files into PNG or GIF graphics"
|
||||
HOMEPAGE="http://dvipng.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+ Texinfo-manual"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="truetype test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/kpathsea-6.2.1:=
|
||||
media-libs/gd:2=[jpeg,png]
|
||||
media-libs/libpng:0=
|
||||
virtual/latex-base
|
||||
sys-libs/zlib
|
||||
truetype? ( >=media-libs/freetype-2.1.5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/texi2dvi
|
||||
virtual/pkgconfig
|
||||
test? ( dev-texlive/texlive-fontsrecommended )"
|
||||
|
||||
DOCS="ChangeLog README RELEASE"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-freetype-config.patch
|
||||
eapply_user
|
||||
|
||||
# save local macros, since we regenerate aclocal.m4 below
|
||||
mv aclocal.m4 acinclude.m4 || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
if ! use truetype; then
|
||||
sed -i -e 's/\(--exists.*\)freetype2/\1dIsAbLe/' configure \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
econf
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
--- dvipng-1.15-orig/configure.ac
|
||||
+++ dvipng-1.15/configure.ac
|
||||
@@ -78,7 +78,8 @@
|
||||
AC_CHECK_HEADERS([libgen.h])
|
||||
PSFONTS_O=""
|
||||
AC_SUBST(PSFONTS_O)
|
||||
-AC_CHECK_FT2(,[CFLAGS="$FT2_CFLAGS $CFLAGS"
|
||||
+PKG_CHECK_MODULES([FT2], [freetype2 >= 6.1.0],
|
||||
+ [CFLAGS="$FT2_CFLAGS $CFLAGS"
|
||||
LIBS="$FT2_LIBS $LIBS"
|
||||
PSFONTS_O="sfd.o ft.o enc.o fontmap.o tfm.o"
|
||||
AC_DEFINE(HAVE_FT2, 1, [Define to 1 if you have freetype2])
|
||||
Reference in New Issue
Block a user