[Poppler-bugs] [Bug 103157] CMake: patches for mingw build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 2 09:35:05 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103157

--- Comment #8 from Sandro Mani <manisandro at gmail.com> ---
I've looked around a bit and can't really find much, except that besides
autotools also qmake appears to do it by default, as I gather from [1].

As an experiment, I looked at all dlls of all Fedora mingw packages:

$ dnf provides '/usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll' | grep
Filename | awk '{print $3}' | sort | uniq > dlls

$ cat dlls | wc -l
714

$ cat dlls | grep -Ev '[0-9].dll' | grep -v "^Qt5" | wc -l
343

So out of 714 dlls, 343 have no versioning.

A strong argument for versioning IMO is that from a packaging point of view it
enforces versioned dependencies between packages, i.e.:

$ rpm -q --requires mingw64-gdal
mingw64(iconv.dll)
mingw64(kernel32.dll)
mingw64(libcfitsio-3.dll)
mingw64(libcurl-4.dll)
mingw64(libexpat-1.dll)
mingw64(libfreexl-1.dll)
mingw64(libgcc_s_seh-1.dll)
mingw64(libgeos_c-1.dll)
mingw64(libgeotiff-2.dll)
mingw64(libgif-7.dll)
mingw64(libgrib2c.dll)
mingw64(libgta-0.dll)
mingw64(libjasper-4.dll)
mingw64(libjpeg-62.dll)
mingw64(libkmlbase.dll)
mingw64(libkmldom.dll)
mingw64(libkmlengine.dll)
mingw64(libpcre-1.dll)
mingw64(libpng16-16.dll)
mingw64(libpoppler-71.dll)
mingw64(libpq.dll)
mingw64(libproj-12.dll)
mingw64(libspatialite-4.dll)
mingw64(libsqlite3-0.dll)
mingw64(libstdc++-6.dll)
mingw64(libtiff-5.dll)
mingw64(libwebp-7.dll)
mingw64(libxerces-c-3-1.dll)
mingw64(libxml2-2.dll)
mingw64(msvcrt.dll)
mingw64(odbc32.dll)
mingw64(odbccp32.dll)
mingw64(psapi.dll)
mingw64(user32.dll)
mingw64(ws2_32.dll)
mingw64(zlib1.dll)

[1]
https://stackoverflow.com/questions/404774/why-library-name-gets-an-additional-0-in-its-name

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171102/1ae68296/attachment-0001.html>


More information about the Poppler-bugs mailing list