Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ttf2pk2/files/, app-text/ttf2pk2/
Date: Tue, 22 Jan 2019 13:24:45
Message-Id: 1548163465.84746a174fa59b40c50fad666f19ee009e197016.zlogene@gentoo
1 commit: 84746a174fa59b40c50fad666f19ee009e197016
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 22 13:23:38 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 22 13:24:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84746a17
7
8 Revert "app-text/ttf2pk2: use pkg-config instead of freetype-config"
9
10 This reverts commit 6ee53a45f539106e4e72763503d959e1eed0f781.
11
12 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
13
14 .../ttf2pk2-2.0_p20170524-freetype2-config.patch | 23 ----------
15 app-text/ttf2pk2/ttf2pk2-2.0_p20170524-r1.ebuild | 50 ----------------------
16 2 files changed, 73 deletions(-)
17
18 diff --git a/app-text/ttf2pk2/files/ttf2pk2-2.0_p20170524-freetype2-config.patch b/app-text/ttf2pk2/files/ttf2pk2-2.0_p20170524-freetype2-config.patch
19 deleted file mode 100644
20 index d5cb45c662c..00000000000
21 --- a/app-text/ttf2pk2/files/ttf2pk2-2.0_p20170524-freetype2-config.patch
22 +++ /dev/null
23 @@ -1,23 +0,0 @@
24 ---- m4/kpse-freetype2-flags.m4 2018-09-19 10:19:06.437789178 +0100
25 -+++ m4/kpse-freetype2-flags.m4 2018-09-19 10:23:48.556050046 +0100
26 -@@ -21,17 +21,10 @@
27 -
28 - # KPSE_FREETYPE2_OPTIONS([WITH-SYSTEM])
29 - # -------------------------------------
30 --AC_DEFUN([KPSE_FREETYPE2_OPTIONS], [_KPSE_LIB_OPTIONS([freetype2], [$1], [freetype-config])])
31 -+AC_DEFUN([KPSE_FREETYPE2_OPTIONS], [_KPSE_LIB_OPTIONS([freetype2], [$1], [pkg-config])])
32 -
33 - # KPSE_FREETYPE2_SYSTEM_FLAGS
34 - # ---------------------------
35 - AC_DEFUN([KPSE_FREETYPE2_SYSTEM_FLAGS], [dnl
36 --AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
37 --AC_CHECK_TOOL([FT2_CONFIG], [freetype-config], [false])[]dnl
38 --if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
39 -- FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
40 -- FREETYPE2_LIBS=`$FT2_CONFIG --libs`
41 --elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
42 -- AC_MSG_ERROR([did not find freetype-config required for system freetype2 library])
43 --fi
44 --]) # KPSE_FREETYPE2_SYSTEM_FLAGS
45 -+_KPSE_PKG_CONFIG_FLAGS([freetype2], [freetype2])])
46 -+
47
48 diff --git a/app-text/ttf2pk2/ttf2pk2-2.0_p20170524-r1.ebuild b/app-text/ttf2pk2/ttf2pk2-2.0_p20170524-r1.ebuild
49 deleted file mode 100644
50 index 091da8ab17b..00000000000
51 --- a/app-text/ttf2pk2/ttf2pk2-2.0_p20170524-r1.ebuild
52 +++ /dev/null
53 @@ -1,50 +0,0 @@
54 -# Copyright 1999-2019 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=5
58 -
59 -inherit epatch autotools
60 -
61 -DESCRIPTION="Freetype 2 based TrueType font to TeX's PK format converter"
62 -HOMEPAGE="http://tug.org/texlive/"
63 -SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
64 -
65 -LICENSE="GPL-2"
66 -SLOT="0"
67 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
68 -IUSE=""
69 -
70 -# Note about blockers: it is a freetype2 based replacement for ttf2pk and
71 -# ttf2tfm from freetype1, so block freetype1.
72 -# It installs some data that collides with
73 -# dev-texlive/texlive-langcjk-2011[source]. Hope it'd be fixed with 2012,
74 -# meanwhile we can start dropping freetype1.
75 -RDEPEND=">=dev-libs/kpathsea-6.2.1
76 - media-libs/freetype:2
77 - sys-libs/zlib
78 - !media-libs/freetype:1
79 - !=dev-texlive/texlive-langcjk-2011*[source]"
80 -DEPEND="${RDEPEND}
81 - app-arch/xz-utils
82 - virtual/pkgconfig"
83 -
84 -S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
85 -
86 -src_prepare () {
87 - # Bug 654770
88 - cd "${WORKDIR}/texlive-${PV#*_p}-source"
89 - epatch "${FILESDIR}"/ttf2pk2-2.0_p20170524-freetype2-config.patch
90 - cd "${S}"
91 - eautoreconf
92 -}
93 -
94 -src_configure() {
95 - econf --with-system-kpathsea \
96 - --with-system-freetype2 \
97 - --with-system-zlib
98 -}
99 -
100 -src_install() {
101 - emake DESTDIR="${D}" install
102 - dodoc BUGS README TODO ChangeLog
103 -}