Quick
index
main
eev
maths
blogme
dednat4
littlelangs
PURO
(GAC2,
λ, etc)
(Chapa 1)

emacs
lua
(la)tex
fvwm
tcl
forth
icon
debian
irc
contact

TclMagick and TkMagick

(Update, 2011jan16): The patches below are now obsolete. Bob Friesenham updated the package, and now something as simple as this

rm -Rv ~/usrc/TclMagick/
cd     ~/usrc/
cvs -d:pserver:anonymous@cvs.graphicsmagick.org:/GraphicsMagick login
cvs -d:pserver:anonymous@cvs.graphicsmagick.org:/GraphicsMagick co TclMagick 
cd     ~/usrc/TclMagick/
dpkg-buildpackage -us -uc -b -rfakeroot
sudo dpkg -i ~/usrc/tclmagick_0.45-1_i386.deb

should be enough to build and install TclMagick and TkMagick as a Debian package...


The CVS version of TclMagick and TkMagick comes with a "debian/" directory, but it doesn't work out-of-the-box... I found out how to build the .deb from it with with some trivial patches (that don't get rid of the warnings), and I sent this message to one of its authors, David Welton, in mid-dec2010:

Hello David,

how much "abandoned" is TclMagick nowadays? I tried to build a .deb
from it and things didn't work at first... so I wrote some patches.
They are at 

  http://angg.twu.net/TCL/tclmagick-patch.sh.html

and this sequence of commands does the job...

  rm -Rv ~/usrc/TclMagick/
  cd     ~/usrc/
  cvs -d:pserver:anonymous@cvs.graphicsmagick.org:/GraphicsMagick login
  cvs -d:pserver:anonymous@cvs.graphicsmagick.org:/GraphicsMagick co TclMagick 
  cd     ~/usrc/TclMagick/
  autoreconf

  wget http://angg.twu.net/TCL/tclmagick-patch.sh
  source tclmagick-patch.sh

  dpkg-buildpackage -us -uc -b -rfakeroot
  sudo dpkg -i ~/usrc/tclmagick_0.45-1_i386.deb

  cd     ~/usrc/TclMagick/tests/
  tclsh test-bmp-compare.tcl
  tclsh test-draw.tcl
  tclsh test-pixel.tcl
  tclsh test-wand.tcl
  tclsh tkmagick.tcl

What should we do now? 8-) It would be nice if you could update the
CVS, but an alternative would be for me to create a page documenting
these patches... What do you prefer?

  Cheers, 8-)
    Eduardo Ochs
    eduardoochs@gmail.com
    http://angg.twu.net/

(2011jan12) Here are some relevant links to the Tclers Wiki:

http://wiki.tcl.tk/9775  TclMagick
http://wiki.tcl.tk/13188 Building TclMagick
http://wiki.tcl.tk/_/gsearch?S=tclmagick Search for "tclmagick"

I have not updated anything there yet - David Welton told me that he hasn't played with TclMagick in a long time, and I am trying to contact another possible maintainer (Bob Friesenhahn).