Re: building graphicsmagick 1.3.38 on Windows
LM <[email protected]> Sun, 17 Apr 2022 16:41:47 -0400
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <CAFipMOEX0v6PB5q1O5Joov2UqS=OukVWno+A2mqVkL6vP4NmaQ@mail.gmail.com> |
--===============2671788317660982578== Content-Type: multipart/alternative; boundary="000000000000b86c4105dcdfac83" --000000000000b86c4105dcdfac83 Content-Type: text/plain; charset="UTF-8" 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. > Complete static linking is definitely a torture test. > I'm finding that out. > > 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 wonder why this has not been causing problems for me? I used to > compile with old MinGW32 regularly but most recently have found MSYS2 > to be very pleasing (although there have been some bumps in the road > due to package publisher keys changing). > As I mentioned, I have some libraries/headers that make up for missing functionality on Windows to get other libraries to work. So, most people wouldn't be pulling in all the same headers I would. > 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 just have a quick command line shortcut batch file with the following: set MSYSTEM=MINGW32 start \msys\bin\sh --login -i Just make sure the path points to where the sh.exe program is under msys on your particular system. Many FLOSS developers just build programs on Linux and use projects like https://github.com/mxe/mxe to help cross-compile libraries. I do have mingw64 around somewhere, so if you need a build tested with that, let me know. > > While ImageMagick has made sweeping changes to function names, its > fundamental properties remain similar to GraphicsMagick. This means > that it is not difficult to port code intended for ImageMagick to work > with GraphicsMagick. > Will give it a try. Will let you know if I get the patches to make sixel graphics working. > However, > GraphicsMagick has more SVG development than ImageMagick does due to a > substantial contribution from a knowledgeable volunteer. > Nice. 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. I like nanosvg much better than cairosvg or rsvg. It's also much more compact, just a header file. It's been used by SDL_image and FLTK as well because it's lightweight and has few dependencies. It handles svg pretty well considering how lightweight it is, but doesn't do too well with output from abcm2ps. > At the moment, that is primarily me. :-( > Thank you so much for doing such a wonderful job with it. If I can help out with testing on Windows or something like that, let me know. Thanks again. Sincerely, Laura > > --000000000000b86c4105dcdfac83 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Sun, Apr 17, 2022 at 3:02 PM Bob Fries= enhahn <<a href=3D"mailto:[email protected]">bfriesen@simple.= dallas.tx.us</a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">I have deep distrust for pkg-config.= =C2=A0 </blockquote><div><br></div><div>It's not perfect, but I haven&#= 39;t found anything better yet.=C2=A0 I actually use pkgconf=C2=A0<a href= =3D"https://github.com/pkgconf/pkgconf">https://github.com/pkgconf/pkgconf<= /a>=C2=A0instead of pkg-config.=C2=A0 I also do a lot of editing of the .pc= files to make sure they're populated properly especially if I'm bu= ilding statically.=C2=A0 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.</div><div><br><= /div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo= rder-left:1px solid rgb(204,204,204);padding-left:1ex"><br> Complete static linking is definitely a torture test.<br></blockquote><div>= <br></div><div>I'm finding that out.=C2=A0</div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex"> <br>That is interesting.=C2=A0 Are you able to provide a list of the functi= ons <br> which were not found?=C2=A0 Perhaps they are not intended to be used by <br= > other software?<br></blockquote><div><br></div><div>Mainly=C2=A0just xmlFre= e and I believe xmlMalloc as well.=C2=A0</div><div><br></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex">I wonder why this has not been causing = problems for me?=C2=A0 I used to <br> compile with old MinGW32 regularly but most recently have found MSYS2 <br> to be very pleasing (although there have been some bumps in the road <br> due to package publisher keys changing).<br></blockquote><div><br></div><di= v>As I mentioned, I have some libraries/headers that make up for missing fu= nctionality on Windows to get other libraries to work.=C2=A0 So, most peopl= e wouldn't be pulling in all the same headers I would.=C2=A0=C2=A0</div= ><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> I have a recent MinGW32 on my system (providing GCC 9) but I forgot <br> how to start it.<br></blockquote><div><br></div><div>If you're on Windo= ws, you run msys or msys.bat to start msys and it should work from there.= =C2=A0=C2=A0</div><div><br></div><div>I just have a quick command line shor= tcut batch file with the following:</div>set MSYSTEM=3DMINGW32<br><div>star= t \msys\bin\sh --login -i</div><div><br></div><div>Just make sure the path = points to where the sh.exe program is under msys on your particular system.= </div><div><br></div><div>Many FLOSS developers just build programs on Linu= x and use projects like=C2=A0<a href=3D"https://github.com/mxe/mxe">https:/= /github.com/mxe/mxe</a>=C2=A0to help cross-compile libraries.</div><div><br= ></div><div>I do have mingw64 around somewhere, so if you need a build test= ed with that, let me know.</div><div>=C2=A0</div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex"> <br>While ImageMagick has made sweeping changes to function names, its <br> fundamental properties remain similar to GraphicsMagick.=C2=A0 This means <= br> that it is not difficult to port code intended for ImageMagick to work <br> with GraphicsMagick.<br></blockquote><div><br></div><div>Will give it a try= .=C2=A0 Will let you know if I get the patches to make sixel graphics worki= ng.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"= margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t:1ex">=C2=A0However, <br> GraphicsMagick has more SVG development than ImageMagick does due to a <br> substantial contribution from a knowledgeable volunteer.<br></blockquote><d= iv><br></div><div>Nice.=C2=A0=C2=A0</div><div><br></div><div>Will try it ou= t.=C2=A0 Mainly trying to find a way to deal with svg output from abcm2ps a= nd other command line programs that can generate svg.=C2=A0=C2=A0</div><div= ><br></div><div>I like nanosvg much better than cairosvg or rsvg.=C2=A0 It&= #39;s also much more compact, just a header file.=C2=A0 It's been used = by SDL_image and FLTK as well because it's lightweight and has few depe= ndencies.=C2=A0 It handles svg pretty well considering how lightweight it= =C2=A0is, but doesn't do too well with output from abcm2ps.=C2=A0=C2=A0= </div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> At the moment, that is primarily me. :-(<br></blockquote><div><br></div><di= v>Thank you so much for doing such a wonderful job with it.=C2=A0 If I can = help out with testing on Windows or something like that, let me know.</div>= <div><br></div><div>Thanks again.</div><div><br></div><div>Sincerely,</div>= <div>Laura</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex"><br></blockquote></div></div> --000000000000b86c4105dcdfac83-- --===============2671788317660982578== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2671788317660982578== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Graphicsmagick-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core --===============2671788317660982578==--