<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/libpng, branch master</title>
<subtitle>Forked from https://github.com/microsoft/vcpkg</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/'/>
<entry>
<title>[libpng] fix Android ARM triplet build failure (#18115)</title>
<updated>2021-06-09T22:47:58+00:00</updated>
<author>
<name>Park DongHa</name>
<email>luncliff@gmail.com</email>
</author>
<published>2021-06-09T22:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f6eb4c50ba6502c35b3ef70273c01ca7ddd955eb'/>
<id>f6eb4c50ba6502c35b3ef70273c01ca7ddd955eb</id>
<content type='text'>
* [libpng] use check for PNG_ARM_NEON

* arm-android build keeps failing

* [libpng] add host dependency

* [libpng] update baseline

* [libpng] use 'version-string'

* Update ports/libpng/vcpkg.json

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;

* [libpng] update baseline

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [libpng] use check for PNG_ARM_NEON

* arm-android build keeps failing

* [libpng] add host dependency

* [libpng] update baseline

* [libpng] use 'version-string'

* Update ports/libpng/vcpkg.json

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;

* [libpng] update baseline

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libpng] Fix cross-compilation on macOS (#15002)</title>
<updated>2020-12-11T22:19:33+00:00</updated>
<author>
<name>Owen Rudge</name>
<email>owen@owenrudge.net</email>
</author>
<published>2020-12-11T22:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=234227c2b73098729a1298dd4348ef526c584fae'/>
<id>234227c2b73098729a1298dd4348ef526c584fae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[freetype] Fix INTERFACE_LINK_LIBRARIES in exported cmake file (#14499)</title>
<updated>2020-11-12T22:25:03+00:00</updated>
<author>
<name>Jack·Boos·Yu</name>
<email>47264268+JackBoosY@users.noreply.github.com</email>
</author>
<published>2020-11-12T22:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f50c0eae60fb1391d610451289e877784228eb18'/>
<id>f50c0eae60fb1391d610451289e877784228eb18</id>
<content type='text'>
* [freetype] Fix INTERFACE_LINK_LIBRARIES in exported cmake file

* [freetype] Bump version

* [libpng] Fix dependency zlib in INTERFACE_LINK_LIBRARIES

* [freetype] Revert changes about keyword PUBLIC and pkgconfig</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [freetype] Fix INTERFACE_LINK_LIBRARIES in exported cmake file

* [freetype] Bump version

* [libpng] Fix dependency zlib in INTERFACE_LINK_LIBRARIES

* [freetype] Revert changes about keyword PUBLIC and pkgconfig</pre>
</div>
</content>
</entry>
<entry>
<title>[libpng[apng]] Add msys installation to use awk (#13838)</title>
<updated>2020-10-13T20:48:57+00:00</updated>
<author>
<name>Albert Huang</name>
<email>alberthdev@users.noreply.github.com</email>
</author>
<published>2020-10-13T20:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=c633ef256fc2702090cd27925d0eeb5075beb844'/>
<id>c633ef256fc2702090cd27925d0eeb5075beb844</id>
<content type='text'>
* libpng[apng] - add msys installation to use awk, which fixes the apng prefix problem

* [libpng] Update CONTROL version

* Fix incorrect args to vcpkg_acquire_msys

Co-authored-by: wangli28 &lt;wangli28@beyondsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* libpng[apng] - add msys installation to use awk, which fixes the apng prefix problem

* [libpng] Update CONTROL version

* Fix incorrect args to vcpkg_acquire_msys

Co-authored-by: wangli28 &lt;wangli28@beyondsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[zlib, libpng] Fix pkg-config for mingw (#12753)</title>
<updated>2020-08-10T22:32:23+00:00</updated>
<author>
<name>Long Nguyen</name>
<email>nguyen.long.908132@gmail.com</email>
</author>
<published>2020-08-10T22:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=fca18ba3572f8aebe3b8158c359db62a7e26134e'/>
<id>fca18ba3572f8aebe3b8158c359db62a7e26134e</id>
<content type='text'>
* [zlib] Fix pkg-config for mingw

* [libpng] Fix pkg-config for mingw</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [zlib] Fix pkg-config for mingw

* [libpng] Fix pkg-config for mingw</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg/scripts/pkgconfig] rewrite pkg-config check for libraries (#11550)</title>
<updated>2020-07-24T18:39:21+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>30894796+Neumann-A@users.noreply.github.com</email>
</author>
<published>2020-07-24T18:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=458c20e94b9f558b523f187ce403bd062e131cdb'/>
<id>458c20e94b9f558b523f187ce403bd062e131cdb</id>
<content type='text'>
* [vcpkg/scripts/pkgconfig] rewrite pkgconfig check for libraries.

* [vcpkg/scripts/pkgconfig] fix more details.

* [vcpkg/scripts/pkgconfig] smaller improvements

* ws change to check functionallity of script for testing.

* [vcpkg/scripts/pkgconfig] update to latest test version

* Revert "ws change to check functionallity of script for testing."

This reverts commit 26269e9e776009230777d9390465715f2ebac465.

* [nettle] bump control for vcpkg_fixup_pkgconfig test

* [gmp] rerun CI to create new *.pc files

* [gmp/nettle] enable port debug

* [vcpkg/script/pkgconfig] fix path conversion regex for CI

* [CI|OSX] install pkg-config on osx

* [gmp/nettle] disable port debug

* [vcpkg/scripts/pkgconfig] update to latest version of x windows pr

* [zlib] add pkgconfig file

* [zstd] add fixup pkgconfig

* [libpng] add pc file installation

* [bzip2] install pc file and leave a TODO for somebody else ;)

* [bzip2] bump control

* [vcpkg/scripts/pkgconfig] skip checks if pkgconfig cannot be found.
- small bugfix in ignore flags regex

* retry zstd and zlib

* [libpng] retry by adding dl and m to system libraries for osx

* [libpng] add missing vcpkg_fixup_pkgconfig()

* [vcpkg/scripts/pkgconfig] unset var if found. 

fixes checks for other configurations which will be always succesful otherwise

* [libpng] bump control

* [libpng] enable port debug to debug osx regression

* ws change to retrigger osx ci and hopeing that it works

* fix typo

* [libpng] remove -lm flag on apple platforms

* ws change to rerun some ports in ci for good measure after the merge with master

* Re-trigger CI test

* [zstd] add pkgconfig

* [zstd] correct debug link

* [vcpkg/script/pkgconfig] - add more search suffixes for static libs
- add additional debug messages for debuging
- fix unsetting of cache variables hiding issues with debug libraries
- fixed pkgconfig fix in the debug case

* [pcre] add pthread dependency to pcre

* [protobuf] fix pkgconfig

* include quotes around the prefix in the case the prefix path was quoted (fixes some regressions)
add option NOT_STATIC_PKGCONFIG to run pkg-config without the --static argument

* [ignition-msgs5] get rid of a dev warning

* [apr] fix apr regression

* [protobuf] fix protobuf regression

* [sdl1] fix regression due to variable expansion of pkg-config. Use similar regex to the library removal for ignored flags.

* [ignition] fix regression

* remove changes of zlib portfile.

* reset changes in osx ci pipeline

* add DISABLE_PARALLEL_CONFIGURE

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;
Co-authored-by: JackBoosY &lt;yuzaiyang@beyondsoft.com&gt;
Co-authored-by: Billy Robert O'Neal &lt;bion@microsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [vcpkg/scripts/pkgconfig] rewrite pkgconfig check for libraries.

* [vcpkg/scripts/pkgconfig] fix more details.

* [vcpkg/scripts/pkgconfig] smaller improvements

* ws change to check functionallity of script for testing.

* [vcpkg/scripts/pkgconfig] update to latest test version

* Revert "ws change to check functionallity of script for testing."

This reverts commit 26269e9e776009230777d9390465715f2ebac465.

* [nettle] bump control for vcpkg_fixup_pkgconfig test

* [gmp] rerun CI to create new *.pc files

* [gmp/nettle] enable port debug

* [vcpkg/script/pkgconfig] fix path conversion regex for CI

* [CI|OSX] install pkg-config on osx

* [gmp/nettle] disable port debug

* [vcpkg/scripts/pkgconfig] update to latest version of x windows pr

* [zlib] add pkgconfig file

* [zstd] add fixup pkgconfig

* [libpng] add pc file installation

* [bzip2] install pc file and leave a TODO for somebody else ;)

* [bzip2] bump control

* [vcpkg/scripts/pkgconfig] skip checks if pkgconfig cannot be found.
- small bugfix in ignore flags regex

* retry zstd and zlib

* [libpng] retry by adding dl and m to system libraries for osx

* [libpng] add missing vcpkg_fixup_pkgconfig()

* [vcpkg/scripts/pkgconfig] unset var if found. 

fixes checks for other configurations which will be always succesful otherwise

* [libpng] bump control

* [libpng] enable port debug to debug osx regression

* ws change to retrigger osx ci and hopeing that it works

* fix typo

* [libpng] remove -lm flag on apple platforms

* ws change to rerun some ports in ci for good measure after the merge with master

* Re-trigger CI test

* [zstd] add pkgconfig

* [zstd] correct debug link

* [vcpkg/script/pkgconfig] - add more search suffixes for static libs
- add additional debug messages for debuging
- fix unsetting of cache variables hiding issues with debug libraries
- fixed pkgconfig fix in the debug case

* [pcre] add pthread dependency to pcre

* [protobuf] fix pkgconfig

* include quotes around the prefix in the case the prefix path was quoted (fixes some regressions)
add option NOT_STATIC_PKGCONFIG to run pkg-config without the --static argument

* [ignition-msgs5] get rid of a dev warning

* [apr] fix apr regression

* [protobuf] fix protobuf regression

* [sdl1] fix regression due to variable expansion of pkg-config. Use similar regex to the library removal for ignored flags.

* [ignition] fix regression

* remove changes of zlib portfile.

* reset changes in osx ci pipeline

* add DISABLE_PARALLEL_CONFIGURE

Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;
Co-authored-by: JackBoosY &lt;yuzaiyang@beyondsoft.com&gt;
Co-authored-by: Billy Robert O'Neal &lt;bion@microsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libpng] Fix android build (#11280)</title>
<updated>2020-05-13T17:25:33+00:00</updated>
<author>
<name>huangqinjin</name>
<email>huangqinjin@gmail.com</email>
</author>
<published>2020-05-13T17:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=597038559647776ee39d02dcf159da05d9342f1d'/>
<id>597038559647776ee39d02dcf159da05d9342f1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libpng] Fix missing symbols when compiling for ARM (#11162)</title>
<updated>2020-05-11T21:59:30+00:00</updated>
<author>
<name>Kevin Lu</name>
<email>6320810+kevinlul@users.noreply.github.com</email>
</author>
<published>2020-05-11T21:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=a7904a65b94adedaf66c756086c466e6755dd3cc'/>
<id>a7904a65b94adedaf66c756086c466e6755dd3cc</id>
<content type='text'>
* [libpng] Fix missing symbols when compiling for ARM

* [libpng] create src directory when it's not exists

Co-authored-by: JackBoosY &lt;yuzaiyang@beyondsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [libpng] Fix missing symbols when compiling for ARM

* [libpng] create src directory when it's not exists

Co-authored-by: JackBoosY &lt;yuzaiyang@beyondsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial iOS support (#6275)</title>
<updated>2020-04-15T20:06:55+00:00</updated>
<author>
<name>alcroito</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2020-04-15T20:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=c5f01e1dee0d41b8014ac6f1eeafda974917ba17'/>
<id>c5f01e1dee0d41b8014ac6f1eeafda974917ba17</id>
<content type='text'>
* Add iOS community triplets and toolchain support

Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.

To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES

The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
 - arm, arm64, x64, x86.

The following VCPKG_OSX_SYSROOT values are currently supported:
 - iphoneos, iphonesimulator, or an absolute path to the device or
   simulator Xcode SDK.

VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.

CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.

Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.

The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.

Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.

The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.

Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).

The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.

Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.

Fixes: #6003

* Fix building libpng and pcre2 targetting iOS

Fixes: #6003</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add iOS community triplets and toolchain support

Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.

To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES

The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
 - arm, arm64, x64, x86.

The following VCPKG_OSX_SYSROOT values are currently supported:
 - iphoneos, iphonesimulator, or an absolute path to the device or
   simulator Xcode SDK.

VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.

CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.

Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.

The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.

Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.

The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.

Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).

The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.

Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.

Fixes: #6003

* Fix building libpng and pcre2 targetting iOS

Fixes: #6003</pre>
</div>
</content>
</entry>
<entry>
<title>[libpng] Strong cleanup of the port (#9198)</title>
<updated>2019-12-23T23:26:04+00:00</updated>
<author>
<name>Stefano Sinigardi</name>
<email>stesinigardi@hotmail.com</email>
</author>
<published>2019-12-23T23:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=a5590520f050d9308337951d4e5aaefbbb168116'/>
<id>a5590520f050d9308337951d4e5aaefbbb168116</id>
<content type='text'>
* [libpng] strong cleanup of the port

* [libpng] do not install unhandled tools

* [libpng] restore library proper name on windows-static triplets
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [libpng] strong cleanup of the port

* [libpng] do not install unhandled tools

* [libpng] restore library proper name on windows-static triplets
</pre>
</div>
</content>
</entry>
</feed>
