summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tclxml/ChangeLog10
-rw-r--r--dev-tcltk/tclxml/Manifest5
-rw-r--r--dev-tcltk/tclxml/files/tclxml-3.2-fix-implicit-declarations.patch12
-rw-r--r--dev-tcltk/tclxml/tclxml-3.2.ebuild67
4 files changed, 91 insertions, 3 deletions
diff --git a/dev-tcltk/tclxml/ChangeLog b/dev-tcltk/tclxml/ChangeLog
index 3353b40e5fb3..272ccf27afe0 100644
--- a/dev-tcltk/tclxml/ChangeLog
+++ b/dev-tcltk/tclxml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tcltk/tclxml
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/ChangeLog,v 1.31 2007/12/28 17:22:03 mr_bones_ Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/ChangeLog,v 1.32 2009/06/08 11:13:44 mescalinum Exp $
+
+*tclxml-3.2 (08 Jun 2009)
+
+ 08 Jun 2009; Federico Ferri <mescalinum@gentoo.org>
+ +files/tclxml-3.2-fix-implicit-declarations.patch, +tclxml-3.2.ebuild:
+ bump to version 3.2, bug 273112
28 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org> +tclxml-2.4.ebuild:
resurrect tclxml-2.4.ebuild which is still in use
diff --git a/dev-tcltk/tclxml/Manifest b/dev-tcltk/tclxml/Manifest
index c9d5d0bff25b..37d5c5b6db83 100644
--- a/dev-tcltk/tclxml/Manifest
+++ b/dev-tcltk/tclxml/Manifest
@@ -1,12 +1,15 @@
AUX tclxml-3.1-test.patch 1639 RMD160 71568fde07e9fdb1186362b121f66ddee9579e00 SHA1 4cc17600e8c8bd5279e32092b2a34795dac83dc4 SHA256 1c944940f0ad72be30641221a0fb08ad540b42eb5c84ada8ae988178d40db252
+AUX tclxml-3.2-fix-implicit-declarations.patch 488 RMD160 164aca393ecb1aee3a472cc1b47346184ed5eb1a SHA1 337669a1b1a6a1734b568ab7990332e1aa5a948f SHA256 13028681e6a4a272f0fb579c744189b95ca6ae56ab39869421af27e9282f8eec
AUX tclxml-3_configure.patch 2939 RMD160 5b1c865b214c09545c6c6502cfe6a89396233320 SHA1 478a9faf3b2982431b3f9c4324c62b39d8deffef SHA256 99e5bfc332973a666183f60d6839084da49e9082fe4bcc4134b763e7b9e8b07e
AUX tclxml-3_include_path.patch 329 RMD160 797f2f7db5c0000b641ada16e77910e42a7ea2cd SHA1 992ca51a5b7ba6d5fe450d85bd474be3efc6d0aa SHA256 7b2496096b0813f91275ca3c69cdd6ff6819945be6b7b7d8a59664c7ae6147fc
DIST tclxml-2.4.tar.gz 405119 RMD160 46d0ca8ade99d6072a30a005c377c4f84feec34f SHA1 e9f483f552cf3e3f10782e50fa171c2ddf92dea8 SHA256 eaf6850bb29eeab6958e09f3b0649b0b9b3bce874177d8ef56d4345f4bbffba1
DIST tclxml-3.0.tar.gz 480461 RMD160 0147850065e29229e77d12c0589e4d3980cfaf6e SHA1 6dcb1aa0a77c8e79b7b09beebaef9d0bae0b3389 SHA256 0bc233e1e4de333c9235ea541da0f7c087f9989f446551c81a1d8c4eeef411bc
DIST tclxml-3.1.tar.gz 489568 RMD160 91a5025bf555a5ade5cb13be5ce746e015b2463b SHA1 d850ab7cd0457d60acbbfc4ab6be7f68827cdb1b SHA256 9b017f29c7a06fa1a57d1658bd1d3867297c26013604bdcc4d7b0ca2333552c9
+DIST tclxml-3.2.tar.gz 757594 RMD160 618d19c83159e85b1f95e4e8a173280d9ecb647c SHA1 bb6a551785b12162ae977f66d7ad3d70e094e122 SHA256 f4116b6680b249ce74b856a121762361ca09e6256f0c8ad578d1c661b822cb39
EBUILD tclxml-2.4.ebuild 793 RMD160 019634adc2aa238eac0732cc52c35bec627aa4bf SHA1 89abad33053bb620b225526c037866c2baa623bb SHA256 4e2e07265e07bc03f9974d9437631b180071bbd08a82a2da35b7970a2f0be14e
EBUILD tclxml-3.0-r1.ebuild 1379 RMD160 769db9068835fe72ee49a7e927b2af4656f2f8e8 SHA1 e2a3e159ea6d31afee33eddd00200d1c59edb516 SHA256 338f88519187edc8cf9e426b027d162f0499ed4592d86952ee5c2fa94f2c3744
EBUILD tclxml-3.1-r1.ebuild 1491 RMD160 730b36eacde10e17f673a9b4b35c546b4029cd83 SHA1 38e0a4d060ce3cc68176df79cf5e825f10d84cbd SHA256 e3d5281c75029fabc297ce8165f3ec5290cd384ae2c886e49903af0c9c1cd149
EBUILD tclxml-3.1.ebuild 1380 RMD160 0c66a6a6fc25a20ca30b2271a01802d4334e01bc SHA1 8e283c430f1f9f9c62e98702e5508363aef21d33 SHA256 ec9b478298827d06e295b194705904a8454ce83bd578fc612fb657e17f37cf86
-MISC ChangeLog 3528 RMD160 2a97d7c322fa31ed1a47a72668cbbe6702696edb SHA1 d21c04cf6619fe1f5a0e7036b0827d3846997783 SHA256 d4ba976f9af432975a98a559d06b9e2cd0779451c5b1605df9c3135812bb28f7
+EBUILD tclxml-3.2.ebuild 1380 RMD160 8fb2473fded01fe4eee01abb3201e1b0d3c25445 SHA1 031880fcbbeab6661edbf370116e09c4fdd40f00 SHA256 52df61f253a99ac42f70da50f3b99c6007748252bbfba49ccf34498546dd6bfe
+MISC ChangeLog 3718 RMD160 9ada39f37e36a3756272c4fe2820755aad80badc SHA1 c5c07cf172bd984bdcb632c6f34bc90157150a15 SHA256 76d9ff8434197d6a3f5984ff554da94b05b5ee790ec21918ea3d1aea4e102016
MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290
diff --git a/dev-tcltk/tclxml/files/tclxml-3.2-fix-implicit-declarations.patch b/dev-tcltk/tclxml/files/tclxml-3.2-fix-implicit-declarations.patch
new file mode 100644
index 000000000000..b463306abf1e
--- /dev/null
+++ b/dev-tcltk/tclxml/files/tclxml-3.2-fix-implicit-declarations.patch
@@ -0,0 +1,12 @@
+diff -urpN tclxml-3.2.orig/tclxml.c tclxml-3.2/tclxml.c
+--- tclxml-3.2.orig/tclxml.c 2009-06-08 12:56:10.000000000 +0200
++++ tclxml-3.2/tclxml.c 2009-06-08 12:57:24.000000000 +0200
+@@ -20,6 +20,8 @@
+ #include <tclxslt/tclxslt.h>
+ #include <string.h>
+
++int Tcldom_libxml2_Init ( Tcl_Interp *interp );
++
+ #define TCL_DOES_STUBS \
+ (TCL_MAJOR_VERSION > 8 || TCL_MAJOR_VERSION == 8 && (TCL_MINOR_VERSION > 1 || \
+ (TCL_MINOR_VERSION == 1 && TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE)))
diff --git a/dev-tcltk/tclxml/tclxml-3.2.ebuild b/dev-tcltk/tclxml/tclxml-3.2.ebuild
new file mode 100644
index 000000000000..5903da0c7d6e
--- /dev/null
+++ b/dev-tcltk/tclxml/tclxml-3.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/tclxml-3.2.ebuild,v 1.1 2009/06/08 11:13:44 mescalinum Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Pure Tcl implementation of an XML parser."
+HOMEPAGE="http://tclxml.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tclxml/${P}.tar.gz"
+
+IUSE="expat threads xml"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=dev-lang/tcl-8.2
+ >=dev-tcltk/tcllib-1.2
+ xml? ( >=dev-libs/libxml2-2.6.9 )
+ expat? ( dev-libs/expat )
+ !dev-tcltk/tclxml-expat"
+# test? ( dev-tcltk/tclparser )
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${P}"-fix-implicit-declarations.patch
+}
+
+src_compile() {
+ local myconf=""
+
+ use threads && myconf="${myconf} --enable-threads"
+
+ econf ${myconf} || die
+ emake || die
+
+ if use xml ; then
+ cd "${S}"/libxml2
+ econf ${myconf} --with-Tclxml=.. || die
+ emake || die
+ fi
+ if use expat ; then
+ cd "${S}"/expat
+ econf ${myconf} --with-Tclxml=.. || die
+ emake || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use xml ; then
+ cd "${S}"/libxml2
+ emake DESTDIR="${D}" install || die
+ fi
+ if use expat ; then
+ cd "${S}"/expat
+ emake DESTDIR="${D}" install || die
+ fi
+
+ cd "${S}"
+ dodoc ANNOUNCE ChangeLog
+ dohtml doc/*.html
+}