Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dvipng/, app-text/dvipng/files/
Date: Wed, 01 Feb 2017 06:40:14
Message-Id: 1485931205.3574e39d970aa291e543a78717b5b0b8db69d5e3.ulm@gentoo
1 commit: 3574e39d970aa291e543a78717b5b0b8db69d5e3
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 06:38:37 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 06:40:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3574e39d
7
8 app-text/dvipng: Remove old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-text/dvipng/Manifest | 1 -
13 app-text/dvipng/dvipng-1.14.ebuild | 49 ----------------------------
14 app-text/dvipng/files/dvipng-1.14-wait.patch | 18 ----------
15 app-text/dvipng/metadata.xml | 4 ---
16 4 files changed, 72 deletions(-)
17
18 diff --git a/app-text/dvipng/Manifest b/app-text/dvipng/Manifest
19 index 09eb08f..9ad33f7 100644
20 --- a/app-text/dvipng/Manifest
21 +++ b/app-text/dvipng/Manifest
22 @@ -1,2 +1 @@
23 -DIST dvipng-1.14.tar.gz 173686 SHA256 43f5b57d0fab29398dcec1b849e8bebbcacb0b9c06875d2ac84a049be3c5b350 SHA512 d7dda0e83ec93c0ebb9c970f2464ed1b04cdd41c178165db6da7c37b90810f3be0a513b9a43162563cb5ca15a7dec3c12a49f27abeb44fca3739090661ab53ba WHIRLPOOL 5510c41343ddc4f628eaac44b47e1e865b964d043ebf920706098f98e9f56d4557553487c15fd1931ea862350b1984f2276a37bd85ed60fb9a0b2caaa7293bc6
24 DIST dvipng-1.15.tar.gz 171529 SHA256 197e9fd0f87ede32dc4bc1d39ec2cd72fa5260856f9d0dc2d8e6895130408347 SHA512 54647526a9d3a26d2ba9c7ef17f285a426d9df06ffb1d5336a1da95cbf24cd17505ba7f6b1ffd14a0beb7f91ab3e519612ce3d3ea3f30c278733127dfbf07c5c WHIRLPOOL 4c0c5e410b107cd6cb56f9360acd556ae4336855d0624800d96e46cd29caead0467bc554d3d1c404e4564a3ce7b3732386f6af93ea98312c6b17745582f4ef92
25
26 diff --git a/app-text/dvipng/dvipng-1.14.ebuild b/app-text/dvipng/dvipng-1.14.ebuild
27 deleted file mode 100644
28 index 9b84d76..00000000
29 --- a/app-text/dvipng/dvipng-1.14.ebuild
30 +++ /dev/null
31 @@ -1,49 +0,0 @@
32 -# Copyright 1999-2014 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -
38 -inherit eutils
39 -
40 -DESCRIPTION="Translate DVI files into PNG or GIF graphics"
41 -HOMEPAGE="http://dvipng.sourceforge.net/"
42 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="LGPL-3+ Texinfo-manual"
45 -SLOT="0"
46 -KEYWORDS="alpha amd64 arm 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 ~x86-solaris"
47 -IUSE="t1lib truetype test"
48 -
49 -RDEPEND="
50 - dev-libs/kpathsea
51 - media-libs/gd[jpeg,png]
52 - media-libs/libpng
53 - virtual/latex-base
54 - sys-libs/zlib
55 - t1lib? ( media-libs/t1lib )
56 - truetype? ( >=media-libs/freetype-2.1.5 )"
57 -DEPEND="${RDEPEND}
58 - virtual/texi2dvi
59 - test? ( dev-texlive/texlive-fontsrecommended )"
60 -
61 -DOCS="ChangeLog README RELEASE"
62 -
63 -src_prepare() {
64 - epatch "${FILESDIR}"/${P}-wait.patch
65 -}
66 -
67 -src_configure() {
68 - if ! use t1lib; then
69 - # The build system autodetects libt1. We don't want that if the
70 - # USE flag is not set, so confuse it with a wrong name.
71 - sed -i -e 's/T1_InitLib/dIsAbLe&/' configure || die "sed failed"
72 - fi
73 -
74 - if ! use truetype; then
75 - sed -i -e 's/FT_Init_FreeType/dIsAbLe&/' configure || die "sed failed"
76 - fi
77 -
78 - export VARTEXFONTS="${T}/fonts"
79 - econf
80 -}
81
82 diff --git a/app-text/dvipng/files/dvipng-1.14-wait.patch b/app-text/dvipng/files/dvipng-1.14-wait.patch
83 deleted file mode 100644
84 index d7f629f..00000000
85 --- a/app-text/dvipng/files/dvipng-1.14-wait.patch
86 +++ /dev/null
87 @@ -1,18 +0,0 @@
88 -Patch by MATSUI Tetsushi to fix compilation issue on OSX
89 -
90 -sys/wait.h seems to be the man-page include for waitpid on Linux,
91 -Solaris and OSX
92 -
93 -https://bugs.gentoo.org/show_bug.cgi?id=369363
94 -
95 ---- special.c
96 -+++ special.c
97 -@@ -26,7 +26,7 @@
98 -
99 - #ifndef MIKTEX
100 - #ifndef WIN32
101 --#include <wait.h>
102 -+#include <sys/wait.h>
103 - #else /* WIN32 */
104 - #include <fcntl.h>
105 - #include <io.h>
106
107 diff --git a/app-text/dvipng/metadata.xml b/app-text/dvipng/metadata.xml
108 index c6cccf2..08df7bc 100644
109 --- a/app-text/dvipng/metadata.xml
110 +++ b/app-text/dvipng/metadata.xml
111 @@ -23,10 +23,6 @@
112 (X)Emacs. Yes, you get to see your formulas in the (X)Emacs buffer, see
113 &lt;https://www.gnu.org/software/auctex/preview-latex.html&gt;.
114 </longdescription>
115 -<use>
116 - <flag name="t1lib">Enable support for T1lib font rendering
117 - (<pkg>media-libs/t1lib</pkg>)</flag>
118 -</use>
119 <upstream>
120 <remote-id type="sourceforge">dvipng</remote-id>
121 </upstream>