0.8.3 is the last officially released version with a patch to compile with Tcl 8.6. It's a bit old and rusty and so the tdom-git may be the better choice.
Search Criteria
Package Details: tdom 0.8.3-1
Package Actions
| Package Base: | tdom |
|---|---|
| Description: | A fast XML/DOM/XPath package for Tcl written in C |
| Upstream URL: | http://tdom.github.com/ |
| Category: | devel |
| Licenses: | |
| Groups: | |
| Submitter: | cabrilo |
| Maintainer: | kolewu |
| Last Packager: | kolewu |
| Votes: | 14 |
| First Submitted: | 2009-10-10 09:54 |
| Last Updated: | 2014-11-13 21:24 |
Dependencies (1)
Required by (1)
Sources
- fix-wrong-size.patch
- https://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
- no-build-dir.patch
- tcl86-compatibility.patch
Latest Comments
Comment by kolewu
Comment by kolewu
use tdom-git at the moment until I change this package to a usable one.
Comment by kyak
What package should be used - tdom or tdom-git?
The download url for tDOM-0.8.2.tgz seems broken.
Comment by kolewu
I will soon update this package to a stable or semi-stable version that compiles with tcl 8.6. Until then, use tdom-git that seems quite stable but is not tagged so.
Comment by cabrilo
Kolewu, please take over the package. I don't have time to maintain it, and having you do it is much better then having this package abandoned.
Comment by kolewu
What do the others think?
And what about the git nature of the package? Unfortunately there is no tag in the official git that names a version declared stable for use with tcl 8.6.
I would prefer to contribute and learn -- and not getting responsible for my first package this fast. Where is the best place to discuss the PKGBUILD file before submitting it as a package?
For a start, here is a gist for the PKGBUILD: https://gist.github.com/4614862
Comment by cabrilo
Kolewu, if only github tree exists, maybe we should use your PKGBUILD here. If everybody agrees, I will abandon this package and leave it for you to maintain. Does that sound good?
Comment by kolewu
There is a proper fix for making tdom compatible with tcl 8.6 on github: https://github.com/tDOM/tdom/commit/3dd529139d2f44bb9ecfdcddd27b3d6a8df5ff41
The homepage mentioned here is dead and even the latest tagged code 0.8.3 on github https://github.com/tDOM/tdom is not compatible with the current tcl version 8.6
To use the most recent code I have made a PKGBUILD that uses the git master. Should I post it here or make a new package tdom-git?
The warning about the package containing references to $srcdir can safely be ignored because it is part of the development script pkg/usr/lib/tdomConfig.sh that can address the install location *and* the build location with different defines. Maybe the build location could be left out.
Comment by fhr
-DUSE_INTERP_ERRORLINE should be added in the Makefile to avoid "error: 'Tcl_Interp' has no member named 'errorLine'"
Comment by Decorian
I'm getting a build error.
./generic/tcldom.c:5927:47: error: 'Tcl_Interp' has no member named 'errorLine'
### removed some lines ###
make: *** [tcldom.o] Error 1
==> ERROR: A failure occurred in build().
I'm guessing this is an upstream bug, but I can't seem to access their website to find out.
Comment by kyak
There is some warning during makepkg:
==> WARNING: Package contains reference to $srcdir
Anonymous comment
Link tested. Works perfect. :)
Comment by cabrilo
Dummas, that's too bad :(
Here is a mirror, though I didn't test it: http://www.evolane.com/download/mirror/etcl/tDOM-0.8.2.tgz
I'll update the package as soon as possible to reflect this.
Anonymous comment
Link is broken. I guess, tdom.org has been boughted by some ARCHIWARE.