summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-11-16 09:01:44 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-11-16 09:01:44 +0000
commit554fe25388ab781c6d94206155718758d7bfd510 (patch)
tree6a0525e972330caf9c23e6519b229a2747744772 /media-gfx/duhdraw
parentFix autotools, bug #151271 (diff)
downloadgentoo-2-554fe25388ab781c6d94206155718758d7bfd510.tar.gz
gentoo-2-554fe25388ab781c6d94206155718758d7bfd510.tar.bz2
gentoo-2-554fe25388ab781c6d94206155718758d7bfd510.zip
Version bump and prestripped fix wrt bug #137678
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'media-gfx/duhdraw')
-rw-r--r--media-gfx/duhdraw/ChangeLog12
-rw-r--r--media-gfx/duhdraw/duhdraw-2.8.12.ebuild10
-rw-r--r--media-gfx/duhdraw/duhdraw-2.8.13.ebuild32
-rw-r--r--media-gfx/duhdraw/files/digest-duhdraw-2.8.122
-rw-r--r--media-gfx/duhdraw/files/digest-duhdraw-2.8.133
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.12-prestrip.patch18
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch12
-rw-r--r--media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch18
-rw-r--r--media-gfx/duhdraw/metadata.xml8
9 files changed, 109 insertions, 6 deletions
diff --git a/media-gfx/duhdraw/ChangeLog b/media-gfx/duhdraw/ChangeLog
index 2613ff0d719e..39f470b8a8fb 100644
--- a/media-gfx/duhdraw/ChangeLog
+++ b/media-gfx/duhdraw/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/duhdraw
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/ChangeLog,v 1.8 2005/10/31 18:42:32 grobian Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/ChangeLog,v 1.9 2006/11/16 09:01:44 jokey Exp $
+
+*duhdraw-2.8.13 (16 Nov 2006)
+
+ 16 Nov 2006; Markus Ullmann <jokey@gentoo.org>
+ +files/duhdraw-2.8.12-prestrip.patch, +files/duhdraw-2.8.13-macos.patch,
+ +files/duhdraw-2.8.13-prestrip.patch, +metadata.xml,
+ duhdraw-2.8.12.ebuild, +duhdraw-2.8.13.ebuild:
+ Version bump and prestripped fix wrt bug #137678
31 Oct 2005; Fabian Groffen <grobian@gentoo.org>
+files/duhdraw-2.8.12-macos.patch, duhdraw-2.8.12.ebuild:
diff --git a/media-gfx/duhdraw/duhdraw-2.8.12.ebuild b/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
index 2d307b5f50ad..e7040695a62b 100644
--- a/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
+++ b/media-gfx/duhdraw/duhdraw-2.8.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.12.ebuild,v 1.9 2005/10/31 18:42:32 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.12.ebuild,v 1.10 2006/11/16 09:01:44 jokey Exp $
inherit toolchain-funcs eutils
@@ -14,14 +14,16 @@ KEYWORDS="ppc ~ppc-macos x86"
IUSE=""
DEPEND="sys-libs/ncurses"
+RDEPEND=${DEPEND}
src_unpack() {
- unpack "${A}"
+ unpack ${A}
epatch "${FILESDIR}/${P}"-macos.patch
+ epatch "${FILESDIR}/${P}"-prestrip.patch
}
src_compile() {
- emake CC="$(tc-getCC) -s ${CFLAGS}" || die
+ emake CC="$(tc-getCC) ${CFLAGS}" || die "emake failed"
}
src_install() {
diff --git a/media-gfx/duhdraw/duhdraw-2.8.13.ebuild b/media-gfx/duhdraw/duhdraw-2.8.13.ebuild
new file mode 100644
index 000000000000..399ed32f83de
--- /dev/null
+++ b/media-gfx/duhdraw/duhdraw-2.8.13.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.13.ebuild,v 1.1 2006/11/16 09:01:44 jokey Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="ASCII art editor"
+HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw"
+SRC_URI="http://www.cs.helsinki.fi/u/penberg/duhdraw/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~ppc-macos ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${P}"-macos.patch
+ epatch "${FILESDIR}/${P}-2.8.12"-prestrip.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC) ${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin ansi ansitoc duhdraw || die
+ dodoc CREDITS HISTORY TODO READ.ME
+}
diff --git a/media-gfx/duhdraw/files/digest-duhdraw-2.8.12 b/media-gfx/duhdraw/files/digest-duhdraw-2.8.12
index a9f298f99877..74065ef20b29 100644
--- a/media-gfx/duhdraw/files/digest-duhdraw-2.8.12
+++ b/media-gfx/duhdraw/files/digest-duhdraw-2.8.12
@@ -1 +1,3 @@
MD5 f000ac8bd467057bf40a67298db4d6ef duhdraw-2.8.12.tar.gz 44880
+RMD160 ed9452528895e49dd13f7042638e9bbd7e6f7c62 duhdraw-2.8.12.tar.gz 44880
+SHA256 e0b268858ee540bec76afdb3e0e79290b7eb5480ad04c52913089bb175516bb6 duhdraw-2.8.12.tar.gz 44880
diff --git a/media-gfx/duhdraw/files/digest-duhdraw-2.8.13 b/media-gfx/duhdraw/files/digest-duhdraw-2.8.13
new file mode 100644
index 000000000000..9b6ced5d9292
--- /dev/null
+++ b/media-gfx/duhdraw/files/digest-duhdraw-2.8.13
@@ -0,0 +1,3 @@
+MD5 70211aa3ea927704ffeb9093e4f433b9 duhdraw-2.8.13.tar.gz 51779
+RMD160 88a421eb2da0da186c7846755cf1b1bbc9647f98 duhdraw-2.8.13.tar.gz 51779
+SHA256 12a432d2874a6f0579879e3242d832139b7f2a4879b2cfcfb6ced046236b4b2c duhdraw-2.8.13.tar.gz 51779
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.12-prestrip.patch b/media-gfx/duhdraw/files/duhdraw-2.8.12-prestrip.patch
new file mode 100644
index 000000000000..2d3a701c07ce
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.12-prestrip.patch
@@ -0,0 +1,18 @@
+--- ./duhdraw-2.8.12/Makefile.orig 2003-01-17 21:35:35.000000000 +0100
++++ ./duhdraw-2.8.12/Makefile 2006-11-16 09:50:52.000000000 +0100
+@@ -12,15 +12,12 @@
+
+ ansi: cleanansi
+ $(CC) -o ansi ansi.c ansi-esc.c $(LIBS)
+- $(STRIP) ansi
+
+ duhdraw: cleandd
+ $(CC) -o duhdraw duhdraw.c ansi-esc.c $(LIBS)
+- $(STRIP) duhdraw
+
+ ansitoc: cleanansitoc
+ $(CC) -o ansitoc ansitoc.c
+- $(STRIP) ansitoc
+
+ cleanansi:
+ rm -f ansi
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
new file mode 100644
index 000000000000..30be358e46d3
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-macos.patch
@@ -0,0 +1,12 @@
+--- ./duhdraw-2.8.13/duhdraw.c.orig 2005-03-02 09:22:46.000000000 +0100
++++ ./duhdraw-2.8.13/duhdraw.c 2006-11-16 09:56:21.000000000 +0100
+@@ -12,7 +12,9 @@
+ #include <stdio.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
++#ifndef __APPLE__
+ #include <malloc.h>
++#endif
+ #include <time.h>
+ #include <curses.h>
+ #include <ctype.h>
diff --git a/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
new file mode 100644
index 000000000000..33485a075f9a
--- /dev/null
+++ b/media-gfx/duhdraw/files/duhdraw-2.8.13-prestrip.patch
@@ -0,0 +1,18 @@
+--- ./Makefile.orig 2005-03-02 09:22:46.000000000 +0100
++++ ./Makefile 2006-11-16 09:58:29.000000000 +0100
+@@ -12,15 +12,12 @@
+
+ ansi: cleanansi
+ $(CC) -o ansi ansi.c ansi-esc.c $(LIBS)
+- $(STRIP) ansi
+
+ duhdraw: cleandd
+ $(CC) -o duhdraw duhdraw.c ansi-esc.c $(LIBS)
+- $(STRIP) duhdraw
+
+ ansitoc: cleanansitoc
+ $(CC) -o ansitoc ansitoc.c
+- $(STRIP) ansitoc
+
+ cleanansi:
+ rm -f ansi
diff --git a/media-gfx/duhdraw/metadata.xml b/media-gfx/duhdraw/metadata.xml
new file mode 100644
index 000000000000..0d1814ae148a
--- /dev/null
+++ b/media-gfx/duhdraw/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+<maintainer>
+ <email>jokey@gentoo.org</email>
+</maintainer>
+</pkgmetadata>