Commit Graph

44 Commits

Author SHA1 Message Date
Matthias Kuhn
4223108d35
Fix building tiff (#30325)
Co-authored-by: Cheney-Wang <850426846@qq.com>
2023-04-20 15:56:16 -07:00
Kai Pastor
51e10eb7fe
[tiff,zstd,gdal,libkml] Fix find_package interactions, enable gdal libkml driver (#28929)
* [gdal] Fix find_package2

* [cmake-user] Test gdal

* [cmake-user] gdal needs CMake 3.9

* Fix tiff & zstd

* Update versions

* [libkml] Export modern INTERFACE_LINK_LIBRARIES

* [gdal] Enable libkml driver

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-01-16 12:45:42 -08:00
Kai Pastor
b93bc1b81e
[tiff] Fix zstd plus minor changes (#28530)
* Use official zstd config

* Require packages for features

* Test zstd in CI

* Enable libtiffxx on arm

* Update versions

* Assume ZSTD_decompressStream

* Don't put targets into TIFF_LIBRARIES

* [qt5-imageformats] Use libtiff-4.pc

* [zstd] Revise thread lib export

* Mark link libs with LINK_ONLY

* Revert "[zstd] Revise thread lib export"

This reverts commit a99e6378a6.

* [qt5-imageformats] Get all tiff lflags

* [gdk-pixbuf] Use libtiff-4 pc file for msvc

* [qtimageformat] Workaround for QTBUG-95052
2022-12-31 01:30:53 -08:00
Kai Pastor
fadc111605
[tiff] Update to 4.5.0 (#28275)
* [tiff] Update to 4.5.0rc1

* Cleanup [skip actions]

* Update to 4.5.0
2022-12-19 11:26:02 -08:00
Matthias Kuhn
233e6daf1d
[tiff] Fix libm as dependency for android (#25159) 2022-06-10 10:38:30 -07:00
Roger Leigh
53842d61c9
[tiff] 4.4.0 (#24986) 2022-05-31 15:13:56 -07:00
Alonso Schaich
0e1107ce62
[tiff] fix invalid memory accesses (#24121)
* [tiff] Patch for CVE-2022-0561 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0561 for more details

* [tiff] Patch for CVE-2022-0562 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0562 for more details

* [tiff] Patch for CVE-2022-0865 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0865 for more details

* [tiff] Patch for CVE-2022-0891 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0891 for more details

* [tiff] Patch for CVE-2022-0907 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0907 for more details

* [tiff] Patch for CVE-2022-0908 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0908 for more details

* [tiff] Patch for CVE-2022-0909 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0909 for more details

* [tiff] Patch for CVE-2022-0924 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-0924 for more details

* [tiff] Patch for CVE-2022-22844 (microsoft#24120)

See https://nvd.nist.gov/vuln/detail/CVE-2022-22844 for more details

* [tiff] bump portversion and regenerate registries (microsoft#24120)
2022-04-21 11:55:04 -07:00
Kai Pastor
99346bb692
[libwebp] Update, cleanup (#23864)
* Update to v1.2.2

* Fix libwebpmux Windows name breakage

The pc file relies on the original output name:
No 'lib' prefix for MSVC. No 'liblib' prefix for mingw.

* Minor portfile updates

* Don't self-depend on default features

* Fix the libwebpmux feature

* Fix internal tool dependencies

* Drop Xrandr patch (fixed in freeglut)

* Drop X11 patch (fixed in freeglut)

* Cleanup CMake config patch, no extra case hacks

* Adjust webp lib names in skia, qt5-imageformats

* Adjust downstream WEBP cmake usage

* Debug qtimageformats [skip actions]

* [tiff] Drive-by fix for CMake warning

* Drop non-standard debug postfix

* Update indentation

* Update port versions

* Update versions

* Revert qtimageformat debug change

* Fixup qt5-imageformats change

* Update versions
2022-04-13 11:26:56 -07:00
Billy O'Neal
7f348e0d7e
[tiff] Remove vcpkg_fail_port_install. (#22766)
Separated out because it adds supports to a feature.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 12:33:55 -08:00
Thomas Willecomme
d54131d520
[libtiff] Switch to vcpkg_from_gitlab function (#22181)
Gitlab tends to be more reliable for some customers.

Co-authored-by: Thomas Willecomme <thomas.willecomme@teledyne.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-29 11:28:03 -08:00
Kai Pastor
8cda3938f5
[tiff] Fix build on arm64-linux (#18511)
* Fix FindCMath

* x-add-version
2021-07-22 22:10:42 -07:00
Kai Pastor
40ad15cac1
[tiff] Update to 4.3.0, improvements (#18187)
* Format manifest

* Update to 4.3.0

* Revise features and dependencies

* Fix pc files

* Quote filepath expressions

* Switch to port vcpkg-cmake

* Use features for vcpkg-cmake-wrapper

* [selene] Don't warn/fail on using deprecated types from tiff

* x-add-version

* Use proper 'version' field

* [selene] Format manifest

* [selene] Modernize build file

* Overwrite version and git-tree

* Rebuild

* Implement review comment

* Overwrite git-tree

* Rename cmake wrapper template

* Overwrite git-tree
2021-06-09 16:33:25 -07:00
ghesketh
8f54f09957
[tiff] support zstd compression in TIFF image files (take 2) (#16610)
* support zstd compression in TIFF image files

* x-add-version tiff

* support WebP compression in TIFF image files

* x-add-version tiff

* Revert "x-add-version tiff" with WebP

This reverts commit f1a5a53dc9.

* Revert "support WebP compression in TIFF image files"

This reverts commit f9ac7fe537.
2021-04-19 17:19:07 -07:00
Alexander Neumann
a66c5ec385
[tiff] add vcpkg_fixup_pkgconfig for tiff (#15734)
* [tiff] add vcpkg_fixup_pkgconfig for tiff

* add version

* fix tiff deps in *.pc file

* update version
2021-01-22 14:02:31 -08:00
Radwan Ibrahim
025447ae0e
[tiff] Update 4.0.10 to 4.1.0 (#12559)
* Update tiff 4.0.10 to 4.1.0

* Update portfile.cmake

Co-authored-by: Radwan Ibrahim <Radwan.Ibrahim@cosmonio.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-07 11:49:27 -07:00
Thomas Gwynne-Timothy
9db3ff7a06
[tiff] Install runtime deps for tiff[tool] (#11364)
* Install runtime deps for tiff[tool]

fixes microsoft/vcpkg#11361

* Remove deprecated include

* Increment port version
2020-05-15 17:04:10 -07:00
Raynor Vliegendhart
90a40c6658 [tiff] Make BUILD_TOOLS option a feature (#9010)
* [tiff] Make BUILD_TOOLS option a feature

* [tiff] Fix tool-feature for static linkage
2019-11-21 17:00:19 -08:00
Robert Schumacher
0e9d0cd89b
[tiff][tesseract][xerces-c] Disable unmanaged optional dependencies (#7622) 2019-08-12 14:42:45 -07:00
Stefano Sinigardi
a9303736fd [LibLZMA] automatic configuration (#6000)
* [LibLZMA] add a config-generated by CMake

* bump control files of LibLZMA and dependent ports

* [tiff] use proper liblzma target
[OpenCV] add an explicit dependency on LibLZMA for static linking

* [liblzma] fix header install path

* [LibLZMA] avoid using targets in old symbols

* fixes for windows-static and trying to see if CI is happier with a share/lib folder written in lowercase

* [LibLZMA] use only modern CMake language, remove patch in favour of target public definition

* [lzma] put symbols in cmake cache

* [libxmlpp] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS regression

* [lzma] fix header install path

* [liblzma] install wrapper to force config mode

* [liblzma] remove function check inside cmake config since we know it will pass

* [liblzma] wrapper fix

* [tiff,geotiff] general cleanup and patch fixes

* [libgeotiff] remove debug tools

* [tesseract] modernize

* [tiff] fix also tiff_library symbol

* [pdal,libgeotiff] better library integration

* [tiff] restore using unix i/o on UWP, since it was working... for sure win32 one cannot work

* [tiff] enable lzma also on uwp, since it works and is requested by many dependencies

* [selene] enable build on arm/arm64-windows, which was surely broken before

* [lzma] uniform naming with cmake 3.14

* [podofo] fix regression, it requires openssl which was disabled in dependencies

* [many ports] remove unnecessary mods

* [boost-iostream] chmod

* [openssl] fix regression due to missing architecture

* [podofo] fix regression on uwp due to missing include

* [libpq] explicitly fail on UWP, it should avoid being marked as regression

* [shiva] fix regression on linux
2019-05-28 16:58:00 -07:00
Alexej Harm
6e8725ba64 [tiff] Changed library linkage to static. (#5766) 2019-03-21 23:10:23 -07:00
Michael Hofmann
4f7460f685 [tiff] Disable libwebp support. (#5348)
* [tiff]: disable libwebp support.

Since version 4.0.10, libtiff supports optional compression modes using
either libweb or zstd.
When libtiff is built, and libwebp and/or zstd are found anywhere on the
system, these modes will be enabled. However, the respective libraries
are not added as link targets, so this will result in linker errors for
any unsuspecting project using libtiff.

Since zstd support was already disabled by a previous commit, I have
also simply disabled libwebp support to fix this issue.

A more proper fix might be to add both libwebp and zstd as required
libtiff dependencies, and to patch libtiff's CMakeLists.txt, such that
these libraries are properly linked to. However, it is currently very
unlikely to encounter TIFF images in the wild compressed using either
of these methods, so the effect of disabling support may not be
noticeable at all.

* [tiff] Change CONTROL version
2019-02-14 10:22:04 -08:00
huangqinjin
ea29ebaf37 fix tiff build for uwp 2019-01-22 16:40:24 +08:00
Pavel Mach
d40eb18174 [zxing] ZXing library port added. (#4854)
* ZXing library port added.

* ZXing dependency to opencv[webp] added.

* [zxing-cpp] Rename from zxing. Use full ref. Only require opencv[core].

* [tiff] Disable zstd dependency. Todo: add feature.

* [zxing-cpp] Disable optional iconv reference
2018-12-18 17:47:01 -08:00
Roger Leigh
6cacd43852 tiff: Version 4.0.10 2018-11-15 07:19:02 +00:00
Robert Schumacher
b35f75d646 [cairo][expat][fontconfig][graphicsmagick][libjpeg-turbo][pixman][tiff] Add unofficial targets and usage information 2018-09-24 18:08:52 -07:00
Hiroshi Miura
3eeaf564d1 [libgeotiff] support linux build (#3843)
* [libgeotiff] fix compile on linux

Fix cmake libtiff functions detetion failure
caused by finding no functions in libm.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgeotiff] fix utility binary handling in linux

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [tiff] Fix static transitive dependencies

* [libgeotiff] Fix .dll and .exe manipulation

* [leptonica] Find dependencies in installed cmake config file

* [tiff] Do not add cmake targets to TIFF_LIBRARIES

* [tiff] Link consumers against m on unix platforms
2018-08-03 00:14:51 -07:00
Ivy Snow
c761d3704d [tiff] update to 4.0.9 2018-01-19 13:13:06 +08:00
Jacek Blaszczynski
a28138eb9e Add preliminary support for arm-windows and arm64-windows triplets (#2371)
* Add preliminary support for arm-windows and arm64-windows triplets

Visual Studio 15.4 shipped with new VC tools targeting arm and arm64
for desktop. This change allows for recognition and usage of new
triplets supporting arm and arm64 Windows desktop and server targets.

* Remove unnecessary changes

* Part 2

* Part 3

* Make detection of Arm64 _VCPKG_TARGET_ARCHITECTURE precise

* Enforce usage of Visual Studio CMake generatorfor arm and temporarily arm64 targets

* Address code review feedback, clean libjpeg-turbo port.cmake

* [libjpeg-turbo][tiff] Reduce changes to existing libraries.

* [vcpkg-cmake] Simplify toolchain selection logic and improve comments
2018-01-03 17:19:52 -06:00
codicodi
7cfb833673 [tiff] update to 4.0.8 2017-06-10 15:03:48 +02:00
Robert Schumacher
280a6c6d7f [tiff] Fix UWP builds for version 4.0.7 2017-04-19 01:02:35 -07:00
Robert Schumacher
83ae9d8bb3 [tiff] Update to version 4.0.7 2017-03-23 21:59:18 -07:00
Robert Schumacher
986ed6b918 [tiff] Add support for jpeg, lzma, and glut. Add c++ support. 2017-03-23 14:33:22 -07:00
Dale Stammen
8603441203 added patch to enable uwp builds 2017-01-09 15:54:05 -08:00
Mårten Nordheim
981ea2799e Fix tiff patch path 2016-11-11 12:29:12 +01:00
Robert Schumacher
bb0fc030d5 [tiff] Disable non-essential components. Fixes #259. 2016-11-10 17:52:19 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
f25c8c8da5 [tiff] Remove bin directories in static builds 2016-11-02 16:25:40 -07:00
Alexander Karatarakis
d264387327 [tiff] Enable static building 2016-10-26 19:26:01 -07:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Alexander Karatarakis
3679955544 Introduce SOURCE_PATH to almost all portfiles 2016-09-28 17:05:56 -07:00
Ninetainedo
930d0a7ded URL and MIRRORS are now URLS
Updated all portfiles accordingly.
2016-09-25 00:23:04 +02:00
Ninetainedo
fc26083995 Second part of updated portfiles 2016-09-22 22:13:09 +02:00
Robert Schumacher
da184a2c6f [tiff] Updated source URL. Fixes #33 2016-09-20 16:51:38 -07:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00