summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-05-15 03:40:13 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-05-15 03:40:13 +0000
commit5698461d1eee94cf73deaf495381b34ac345757e (patch)
treeb6a67b7185c6874e37621de6288f907af31da5b6 /app-text
parentstable amd64; bug 177348 (diff)
downloadgentoo-2-5698461d1eee94cf73deaf495381b34ac345757e.tar.gz
gentoo-2-5698461d1eee94cf73deaf495381b34ac345757e.tar.bz2
gentoo-2-5698461d1eee94cf73deaf495381b34ac345757e.zip
added check for jpeg and png USE flags enabled in media-libs/gd; added emacs team to metadata.xml
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dvipng/ChangeLog7
-rw-r--r--app-text/dvipng/dvipng-1.8.ebuild11
-rw-r--r--app-text/dvipng/dvipng-1.9.ebuild11
-rw-r--r--app-text/dvipng/metadata.xml1
4 files changed, 27 insertions, 3 deletions
diff --git a/app-text/dvipng/ChangeLog b/app-text/dvipng/ChangeLog
index 2c848198a7dc..b431a5999b8f 100644
--- a/app-text/dvipng/ChangeLog
+++ b/app-text/dvipng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/dvipng
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/ChangeLog,v 1.15 2007/05/06 20:04:32 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/ChangeLog,v 1.16 2007/05/15 03:40:13 opfer Exp $
+
+ 15 May 2007; Christian Faulhammer <opfer@gentoo.org> metadata.xml,
+ dvipng-1.8.ebuild, dvipng-1.9.ebuild:
+ added check for jpeg and png USE flags enabled in media-libs/gd; added emacs
+ team to metadata.xml
06 May 2007; Markus Rothe <corsair@gentoo.org> dvipng-1.8.ebuild:
Stable on ppc64; bug #177348
diff --git a/app-text/dvipng/dvipng-1.8.ebuild b/app-text/dvipng/dvipng-1.8.ebuild
index addcdbead1c3..d16808c301ca 100644
--- a/app-text/dvipng/dvipng-1.8.ebuild
+++ b/app-text/dvipng/dvipng-1.8.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.8.ebuild,v 1.9 2007/05/06 20:04:32 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.8.ebuild,v 1.10 2007/05/15 03:40:13 opfer Exp $
+
+inherit eutils
IUSE="truetype"
DESCRIPTION="A program to translate a DVI (DeVice Independent) files into PNG (Portable Network Graphics) bitmaps"
@@ -18,6 +20,13 @@ RDEPEND="media-libs/gd
DEPEND="${RDEPEND}
sys-apps/texinfo"
+pkg_setup() {
+ if ! built_with_use media-libs/gd jpeg png; then
+ eerror "You must rebuild media-libs/gd with USE=\"jpeg png\""
+ die "You must rebuild media-libs/gd with USE=\"jpeg png\""
+ fi
+}
+
src_compile() {
econf $(use_with truetype freetype) || die "Configure failed"
emake || die "Compile failed"
diff --git a/app-text/dvipng/dvipng-1.9.ebuild b/app-text/dvipng/dvipng-1.9.ebuild
index 40d878fd631d..d5040b2bf307 100644
--- a/app-text/dvipng/dvipng-1.9.ebuild
+++ b/app-text/dvipng/dvipng-1.9.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.9.ebuild,v 1.1 2007/02/08 23:16:34 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.9.ebuild,v 1.2 2007/05/15 03:40:13 opfer Exp $
+
+inherit eutils
IUSE="truetype"
DESCRIPTION="A program to translate a DVI (DeVice Independent) files into PNG (Portable Network Graphics) bitmaps"
@@ -18,6 +20,13 @@ RDEPEND="media-libs/gd
DEPEND="${RDEPEND}
sys-apps/texinfo"
+pkg_setup() {
+ if ! built_with_use media-libs/gd jpeg png; then
+ eerror "You must rebuild media-libs/gd with USE=\"jpeg png\""
+ die "You must rebuild media-libs/gd with USE=\"jpeg png\""
+ fi
+}
+
src_compile() {
econf $(use_with truetype freetype) || die "Configure failed"
emake || die "Compile failed"
diff --git a/app-text/dvipng/metadata.xml b/app-text/dvipng/metadata.xml
index ba6a8a8800d5..66a1b49a9afe 100644
--- a/app-text/dvipng/metadata.xml
+++ b/app-text/dvipng/metadata.xml
@@ -2,4 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>tex</herd>
+<herd>emacs</herd>
</pkgmetadata>