Package Details: mingw-w64-libpng 1.6.37-1

Git Clone URL: (read-only)
Package Base: mingw-w64-libpng
Description: A collection of routines used to create PNG format graphics (mingw-w64)
Upstream URL:
Licenses: custom
Submitter: ekpyron
Maintainer: xantares
Last Packager: xantares
Votes: 25
Popularity: 0.890514
First Submitted: 2012-03-22 22:58
Last Updated: 2019-05-05 14:36

Latest Comments

1 2 3 Next › Last »

luntik2012 commented on 2019-05-31 11:47

zcat "${srcdir}/libpng-$_apngver-apng.patch" | patch -p0

worked for me

pingplug commented on 2019-05-26 01:22

makepkg did not extract patch any more...

==> Extracting sources...
  -> Extracting libpng-1.6.37.tar.xz with bsdtar
==> Starting prepare()...
patch: **** Can't open patch file /tmp/makepkg/mingw-w64-libpng/src/libpng-1.6.37-apng.patch : No such file or directory
==> ERROR: A failure occurred in prepare().

gamezelda commented on 2019-05-23 19:07

Hello, the build (both yay and manual) is failing for me due to the 'patch' command in prepare() not finding the uncompressed patch file.

Not sure why the patch is not actually uncompressed, because I know makepkg uncompresses sources in some cases.

Anyway, I fixed the build by replacing the 'patch' command in prepare with:

zcat "${srcdir}/libpng-$_apngver-apng.patch" | patch -p0

xantares commented on 2014-11-14 14:03

and with regular packages archlinux sets its own flags too, hence the 'buildflags' option, as they're not compatible with mingw

ekpyron commented on 2014-11-14 13:09

Well, I do understand the flags - basically they are all about hardening security and as such are actually reasonable - I was just wondering where they were coming from and why one would set them automatically instead of letting users set them as they like, but I suppose Fedora is a reasonable reference, yes, so I'll start using them for my packages as well, thanks.

xantares commented on 2014-11-14 13:03

I don't know the significance of all "-g -O2" is obvious, FORTIFY_SOURCE adds security to basic libc function against overflow etc, ...
Basically it's the ones of Fedora, and it's doesn't seem unreasonable flags.

ekpyron commented on 2014-11-14 12:02

Although you put them there yourself... I'd still like to know what's the reasoning behind using these flags and especially why it makes sense to force users to set these flags...

ekpyron commented on 2014-11-14 11:48

OK, they are suggested in the MinGW package guidelines... well I suppose it can't hurt...

ekpyron commented on 2014-11-14 11:27


What makes you say that the flags you're setting in your mingw-w64-configure script are the "right compilation flags"? I see no reason why it would be "right" to use those...

xantares commented on 2014-11-14 10:56

would you mind using the mingw-w64-configure script ?
it would set the right compilation flags, thanks.