Roland0 wrote:
> ImageMagick and GraphicsMagick actually seem to have very few hard
> dependencies for what you need if you build it yourself:
> libltdl
> freetype (needs zlib)
> fontconfig (needs expat)
>
> since gmic depends on GraphicsMagick and doesn't add anything you need,
> I don't see the advantage of using it.
Thanks for the reply Roland0, the GraphicsMagick webpage make it seem
like GhostScript is an optional component but I don't think it really
is, at least I couldn't figure out how to compile it so the gm
executable wouldn't moan about it being missing. Below is one of my
many configure runs, see how there's no default option for Ghostscript?
I happened to have the GhostScript extension loaded for this run which
is why it picked up the version info I guess. I tried to compile
without GS loaded and also with a couple of different configure options,
like --with-GhostScript=no and it would just say unknown option:
Code:
--------------------
Option Configure option Configured value
-----------------------------------------------------------------
Shared libraries --enable-shared=no no
Static libraries --enable-static=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
Modules --with-modules=no no
Delegate Configuration:
BZLIB --with-bzlib=no no
DPS --with-dps=no no
FlashPIX --with-fpx=no no
FreeType 2.0 --with-ttf=yes yes
Ghostscript None gs (9.22)
Ghostscript fonts --with-gs-font-dir=default
/usr/local/share/ghostscript/fonts/
JBIG --with-jbig=no no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=no no
LCMS v2 --with-lcms2=no no
LZMA --with-lzma=no no
Magick++ --with-magick-plus-plus=no no
PERL --with-perl=no no
PNG --with-png=yes yes (-lpng16)
TIFF --with-tiff=no no
TRIO --with-trio=no no
WEBP --with-webp=no no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=no no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=no yes
--------------------
For reference, here's all the junk that gets pulled in with the
GraphicsMagick.tcz from the official repo:
Code:
--------------------
libjpeg-turbo.tcz
libtiff.tcz
libpng.tcz
giflib.tcz
libwebp.tcz
libICE.tcz
libSM.tcz
lcms2.tcz
icu.tcz
graphite2.tcz
libmount.tcz
gcc_libs.tcz
pcre.tcz
libelf.tcz
gamin.tcz
glib2.tcz
harfbuzz.tcz
GraphicsMagick.tcz
freetype.tcz
libXdmcp.tcz
libXau.tcz
libxcb.tcz
libX11.tcz
libXext.tcz
fontconfig.tcz
libtasn1.tcz
p11-kit.tcz
gmp.tcz
nettle.tcz
libidn.tcz
gnutls.tcz
dbus.tcz
libavahi.tcz
libcups.tcz
ghostscript.tcz
--------------------
I compiled 'netpbm' (http://netpbm.sourceforge.net) and have been
testing with that over the last several days. It's mostly working. I
figured I could just pick out the few tools I needed from it which would
keep the footprint down. It's just a bit slow at the moment, like 4.5
seconds to wget, copy, blur, resize and composite into a single
semi-transparent full screen image.
I keep going down rabbit holes of different tools and losing days just
jacking around with transparency and resizing. I think my wife's about
to strangle me.
------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=109694
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix