From 9d4570f94d9fe0489d5192b5fefcba58c6d248a0 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sun, 8 Aug 2004 00:41:06 +0000 Subject: New ebuild as per bug 56790 --- dev-tcltk/TkZinc/ChangeLog | 8 ++++++ dev-tcltk/TkZinc/Manifest | 3 ++ dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild | 42 ++++++++++++++++++++++++++++ dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 | 1 + dev-tcltk/TkZinc/files/without-opengl.patch | 13 +++++++++ dev-tcltk/TkZinc/metadata.xml | 9 ++++++ 6 files changed, 76 insertions(+) create mode 100644 dev-tcltk/TkZinc/ChangeLog create mode 100644 dev-tcltk/TkZinc/Manifest create mode 100644 dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild create mode 100644 dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 create mode 100644 dev-tcltk/TkZinc/files/without-opengl.patch create mode 100644 dev-tcltk/TkZinc/metadata.xml (limited to 'dev-tcltk') diff --git a/dev-tcltk/TkZinc/ChangeLog b/dev-tcltk/TkZinc/ChangeLog new file mode 100644 index 000000000000..9761cbff25c9 --- /dev/null +++ b/dev-tcltk/TkZinc/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-tcltk/TkZinc +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/TkZinc/ChangeLog,v 1.1 2004/08/08 00:41:06 cardoe Exp $ + + 07 Aug 2004; Doug Goldstein TkZinc-3.2.100.ebuild: + New ebuild added as per request in bug #56790 + ebuild written by Ming Zhao + diff --git a/dev-tcltk/TkZinc/Manifest b/dev-tcltk/TkZinc/Manifest new file mode 100644 index 000000000000..a69b53028d91 --- /dev/null +++ b/dev-tcltk/TkZinc/Manifest @@ -0,0 +1,3 @@ +MD5 1689106359b1d4fc1b20d2926851a28a TkZinc-3.2.100.ebuild 877 +MD5 9afdeb5a2ecca7f53e8af3c9afd4d64f files/digest-TkZinc-3.2.100 68 +MD5 8f62e724d25db6215c67b8e00fc02785 files/without-opengl.patch 267 diff --git a/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild b/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild new file mode 100644 index 000000000000..eb631ff7c63f --- /dev/null +++ b/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild,v 1.1 2004/08/08 00:41:06 cardoe Exp $ + +inherit eutils + +DESCRIPTION="A Tk widget library." +HOMEPAGE="http://www.tkzinc.org" +SRC_URI="http://www.tkzinc.org/Packages/zinc-tk_${PV}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="threads opengl doc" +DEPEND=">=dev-lang/tk-8.4 + opengl? ( virtual/opengl ) + doc? ( virtual/tetex )" + +S=${WORKDIR}/Tkzinc + +src_compile() { + epatch ${FILESDIR}/without-opengl.patch + + local myconf + if use opengl ; then + myconf="--enable-gl=damage" + fi + + econf \ + `use_enable threads` \ + ${myconf} || die +# --with-tcl=/usr/lib --with-tk=/usr/lib \ + + emake || die "make failed" + use doc && make pdf +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc BUGS Copyright README + use doc && dodoc doc/refman.pdf +} diff --git a/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 b/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 new file mode 100644 index 000000000000..f388031a8f52 --- /dev/null +++ b/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 @@ -0,0 +1 @@ +MD5 e7e43f79f8d67167a587ef85f5e86a76 zinc-tk_3.2.100.tar.gz 1151350 diff --git a/dev-tcltk/TkZinc/files/without-opengl.patch b/dev-tcltk/TkZinc/files/without-opengl.patch new file mode 100644 index 000000000000..870e13665e3f --- /dev/null +++ b/dev-tcltk/TkZinc/files/without-opengl.patch @@ -0,0 +1,13 @@ +--- generic/tkZinc.c~ 2004-07-30 15:16:33.000000000 +0800 ++++ generic/tkZinc.c 2004-08-06 16:29:51.553140552 +0800 +@@ -1450,7 +1450,9 @@ + wi->width, wi->height, Tk_Depth(wi->win)); + } + else { ++#ifdef GL + InitRendering1(wi); ++#endif + } + + #ifdef PTK + diff --git a/dev-tcltk/TkZinc/metadata.xml b/dev-tcltk/TkZinc/metadata.xml new file mode 100644 index 000000000000..17225ec3baf3 --- /dev/null +++ b/dev-tcltk/TkZinc/metadata.xml @@ -0,0 +1,9 @@ + + + +tcltk + + tcltk@gentoo.org +TCL / TK Herd + + -- cgit v1.2.3-65-gdbad