Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/dvipng: ChangeLog dvipng-1.14.ebuild
Date: Sun, 02 Jan 2011 16:33:24
Message-Id: 20110102163314.C936120054@flycatcher.gentoo.org
1 aballier 11/01/02 16:33:14
2
3 Modified: ChangeLog
4 Added: dvipng-1.14.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.75 app-text/dvipng/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dvipng/ChangeLog?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dvipng/ChangeLog?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dvipng/ChangeLog?r1=1.74&r2=1.75
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/dvipng/ChangeLog,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- ChangeLog 2 Oct 2010 12:41:08 -0000 1.74
24 +++ ChangeLog 2 Jan 2011 16:33:14 -0000 1.75
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/dvipng
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/ChangeLog,v 1.74 2010/10/02 12:41:08 grobian Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/ChangeLog,v 1.75 2011/01/02 16:33:14 aballier Exp $
31 +
32 +*dvipng-1.14 (02 Jan 2011)
33 +
34 + 02 Jan 2011; Alexis Ballier <aballier@g.o> +dvipng-1.14.ebuild:
35 + version bump
36
37 02 Oct 2010; Fabian Groffen <grobian@g.o> dvipng-1.13.ebuild:
38 Marked ~x64-macos, bug #333981
39
40
41
42 1.1 app-text/dvipng/dvipng-1.14.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dvipng/dvipng-1.14.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/dvipng/dvipng-1.14.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dvipng-1.14.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.14.ebuild,v 1.1 2011/01/02 16:33:14 aballier Exp $
52
53 EAPI="2"
54 inherit eutils
55
56 DESCRIPTION="Translate DVI files into PNG or GIF graphics"
57 HOMEPAGE="http://dvipng.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="LGPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
63 IUSE="t1lib truetype test"
64
65 RDEPEND="media-libs/gd[jpeg,png]
66 media-libs/libpng
67 virtual/latex-base
68 sys-libs/zlib
69 t1lib? ( media-libs/t1lib )
70 truetype? ( >=media-libs/freetype-2.1.5 )"
71 DEPEND="${RDEPEND}
72 virtual/texi2dvi
73 test? ( || ( dev-texlive/texlive-fontsrecommended app-text/ptex ) )"
74
75 src_configure() {
76 if ! use t1lib; then
77 # The build system autodetects libt1. We don't want that if the
78 # USE flag is not set, so confuse it with a wrong name.
79 sed -i -e 's/T1_InitLib/dIsAbLe&/' configure || die "sed failed"
80 fi
81
82 if ! use truetype; then
83 sed -i -e 's/FT_Init_FreeType/dIsAbLe&/' configure || die "sed failed"
84 fi
85
86 export VARTEXFONTS="${T}/fonts"
87 econf
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "emake install failed"
92 dodoc ChangeLog README RELEASE || die "dodoc failed"
93 }