diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2004-08-09 01:27:23 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2004-08-09 01:27:23 +0000 |
commit | fc5ddbe53a46fe000fff2538b0bd61300e7e5e43 (patch) | |
tree | 61aaf4744d390573f06ff33ecea2680b1ec7d001 /dev-tcltk/tkzinc | |
parent | added dev-tcltk/tkzinc:threads local USE flag (diff) | |
download | gentoo-2-fc5ddbe53a46fe000fff2538b0bd61300e7e5e43.tar.gz gentoo-2-fc5ddbe53a46fe000fff2538b0bd61300e7e5e43.tar.bz2 gentoo-2-fc5ddbe53a46fe000fff2538b0bd61300e7e5e43.zip |
moved TkZinc to tkzinc and corrected ebuild syntax issues
Diffstat (limited to 'dev-tcltk/tkzinc')
-rw-r--r-- | dev-tcltk/tkzinc/ChangeLog | 12 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/Manifest | 16 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/files/digest-tkzinc-3.2.100 | 1 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/files/fix-makefile.patch | 12 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/files/without-opengl.patch | 13 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/metadata.xml | 9 | ||||
-rw-r--r-- | dev-tcltk/tkzinc/tkzinc-3.2.100.ebuild | 49 |
7 files changed, 112 insertions, 0 deletions
diff --git a/dev-tcltk/tkzinc/ChangeLog b/dev-tcltk/tkzinc/ChangeLog new file mode 100644 index 000000000000..6c7766ed8b30 --- /dev/null +++ b/dev-tcltk/tkzinc/ChangeLog @@ -0,0 +1,12 @@ +# 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/09 01:27:23 cardoe Exp $ + + 08 Aug 2004; Doug Goldstein <cardoe@gentoo.org> tkzinc-3.2.100.ebuild: + Added fix for window popping up during build. + bug #56790 from Ming Zhao + + 07 Aug 2004; Doug Goldstein <cardoe@gentoo.org> 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..40a89bc3d14d --- /dev/null +++ b/dev-tcltk/tkzinc/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 d0377647ae8958b215d2cb36e2f1547a TkZinc-3.2.100.ebuild 969 +MD5 ae7d35b0e9210b59b954696dbed0ab91 metadata.xml 260 +MD5 13d8aa6013198ca43cc15c8a54c8a0c1 ChangeLog 507 +MD5 b81680a7177cf127f167222ccc677ec0 files/fix-makefile.patch 458 +MD5 9afdeb5a2ecca7f53e8af3c9afd4d64f files/digest-TkZinc-3.2.100 68 +MD5 8f62e724d25db6215c67b8e00fc02785 files/without-opengl.patch 267 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.5 (GNU/Linux) + +iD8DBQFBFj5SFhz/XBeRBtARAj7lAJ47iGf1yPbBcItpuxDpWSvn8NjGCQCfdrBW +ldAJgibl8mqaJR6RePO9kjk= +=Azid +-----END PGP SIGNATURE----- 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/fix-makefile.patch b/dev-tcltk/tkzinc/files/fix-makefile.patch new file mode 100644 index 000000000000..e58ac022506a --- /dev/null +++ b/dev-tcltk/tkzinc/files/fix-makefile.patch @@ -0,0 +1,12 @@ +--- Makefile.in~ 2004-05-07 17:31:55.000000000 +0800 ++++ Makefile.in 2004-08-08 15:51:53.233904744 +0800 +@@ -374,7 +374,7 @@ + # the configure script output the pkgIndex.tcl by editing configure.in. + +#======================================================================== + +-pkgIndex.tcl: ++pkgIndex.tcl: $($(PACKAGE)_LIB_FILE) + ( echo package require Tk \; pkg_mkIndex -verbose -load Tk . $($(PACKAGE)_LIB_FILE) \; exit ) | $(TCLSH) + + pkgIndex.tcl-hand: 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tcltk</herd> +<maintainer> + <email>tcltk@gentoo.org</email> +<description>TCL / TK Herd</description> +</maintainer> +</pkgmetadata> 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..74ca91452884 --- /dev/null +++ b/dev-tcltk/tkzinc/tkzinc-3.2.100.ebuild @@ -0,0 +1,49 @@ +# 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/09 01:27:23 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_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/without-opengl.patch + epatch ${FILESDIR}/fix-makefile.patch +} + +src_compile() { + local myconf + if use opengl ; then + myconf="--enable-gl=damage" + fi + + econf \ + $(use_enable threads) \ + ${myconf} || die + + emake || die "make failed" + if use doc ; then + make pdf || die "make pdf files failed" + fi +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + dodoc BUGS README + use doc && dodoc doc/refman.pdf +} |