Re: building graphicsmagick 1.3.38 on Windows

Bob Friesenhahn <[email protected]> Sun, 17 Apr 2022 16:01:50 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Sun, 17 Apr 2022, LM wrote:

> On Sun, Apr 17, 2022 at 3:02 PM Bob Friesenhahn <
> [email protected]> wrote:
>
>> I have deep distrust for pkg-config.
>
> It's not perfect, but I haven't found anything better yet.  I actually use
> pkgconf https://github.com/pkgconf/pkgconf instead of pkg-config.  I also
> do a lot of editing of the .pc files to make sure they're populated
> properly especially if I'm building statically.  I put all my commands and
> modifications in scripts similar to slackbuild scripts so they're automated
> and I can replicate what I did whenever I build Free and Open Source
> software.

That sounds like a useful approach.

I like to make sure that the user is always in control.

Different Linux/FOO distributions use different names for similar 
packages.  So there may be multiple possible names for something like 
libjpeg, and sometimes even with a version number as part of the name.

>> Complete static linking is definitely a torture test.
>
> I'm finding that out.

Even linking DLLs under Windows is a torture test since normally they 
need all symbols defined in order for the link to succeed.

>> That is interesting.  Are you able to provide a list of the functions
>> which were not found?  Perhaps they are not intended to be used by
>> other software?

> Mainly just xmlFree and I believe xmlMalloc as well.

I will investigate this topic.  I like to be able to specify the 
library allocator to use so that memory limits can be enforced.

>> I have a recent MinGW32 on my system (providing GCC 9) but I forgot
>> how to start it.
>
> If you're on Windows, you run msys or msys.bat to start msys and it should
> work from there.

I used to have a helpful icon for it.  But I do not see the icon any 
more. :-(

> Will try it out.  Mainly trying to find a way to deal with svg output from
> abcm2ps and other command line programs that can generate svg.

If you have control of the SVG sources then you are able to test and 
see how well things work.

GraphicsMagick can be extended via the delegates.mgk file so it is 
possible to use an external SVG renderer.

The issue with msl.c, svg.c, and url.c should be fixed now by latest 
updates.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt