[Typo3-debian] GraphicsMagick-Packages for Debian
Michael Stucki
mundaun at gmx.ch
Sun Jun 13 14:45:46 CEST 2004
Hi Jordan,
> SUPERB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I'm not a 100% linux guru but I
> want to see if I can get it to work onder Sarge as well.
I didn't try to use Svens binary package but did a recompile of the sources.
This worked very well on Sarge.
# apt-get install dpkg-dev fakeroot
# apt-get build-dep graphicsmagick
$ apt-get source graphicsmagick
$ cd graphicsmagick-1.1.2/
$ fakeroot dpkg-buildpackage
$ cd ..
# dpkg -i *.deb
> Okay, this I don't get. Do I have to do something after installing
> graphicsmagick or not?
TYPO3 is not designed to use GraphicsMagick yet. Since GraphicsMagick is a
fork of ImageMagick (it's just cleaner and better) the commands are still
pretty much the same.
If TYPO3 wants to convert an image, it will call something like
$ convert <source-image> <destination-image>
Now the problem is that this does not work with GraphicsMagick where all
commands have been merged into one binary:
$ gm convert <source-image> <destination-image>
Our wrapper provides some sort of compatibility so that the old commands
will still work. This way you can use TYPO3 perfectly with GraphicsMagick!
> Will it work out of the box or not? If not what do
> we have to do to make it work on Sarge for example....
# cd /usr/bin/
# ln -s graphicsmagick_wrapper.sh composite
# ln -s graphicsmagick_wrapper.sh convert
# ln -s graphicsmagick_wrapper.sh identify
Sven will create a package which will do this task for you.
After that, open localconf.php and add the lines from my text (see link in
previous mail) to the end of it. Done.
Regards, michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html
More information about the TYPO3-debian
mailing list