Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libtiff from 4.5.0 to 4.5.1 #1017

Merged
merged 5 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/recipes_emscripten/libtiff/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ mkdir bld
cd bld

emcmake cmake .. -GNinja \
-Dtiff-tests=OFF \
-Dtiff-tools=OFF \
-Dtiff-docs=OFF \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DCMAKE_INSTALL_LIBDIR=lib \
Expand Down
52 changes: 12 additions & 40 deletions recipes/recipes_emscripten/libtiff/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,32 @@
context:
version: 4.5.0
version: 4.5.1

package:
name: libtiff
version: ${{ version }}

source:
url: https://download.osgeo.org/libtiff/tiff-${{ version }}.tar.gz
sha256: c7a1d9296649233979fa3eacffef3fa024d73d05d589cb622727b5b08c423464
sha256: d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b

build:
number: 1
# Does a very good job of maintaining compatibility.
# https://abi-laboratory.pro/tracker/timeline/libtiff/
# run_exports:
# - {{ pin_subpackage('libtiff', max_pin='x') }}
# missing_dso_whitelist:
# # Only used by libtiff,bin/tiffgt (a viewer), which is ok.
# - /opt/X11/lib/libGL.1.dylib
# - /opt/X11/lib/libglut.3.dylib
number: 0

requirements:
build:
# - libtool # [unix]
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}
- cmake
- ninja
# host:
# - zlib
# - jpeg
# - xz
# - zstd
# - lerc
# - libdeflate
# - libwebp-base # [linux or osx]

# test:
# downstreams:
# - pillow >=8
# - py-opencv >=4
# - tifffile
# commands:
# - test -f ${PREFIX}/lib/libtiff.a # [not win]
# - test -f ${PREFIX}/lib/libtiffxx.a # [not win]
# - test -f ${PREFIX}/lib/libtiff{{ SHLIB_EXT }} # [not win]
# - test -f ${PREFIX}/lib/libtiffxx{{ SHLIB_EXT }} # [not win]
# - if not exist %PREFIX%\\Library\\bin\\tiff.dll exit 1 # [win]
# - if not exist %PREFIX%\\Library\\bin\\tiffxx.dll exit 1 # [win]
# - if not exist %PREFIX%\\Library\\bin\\libtiff.dll exit 1 # [win]
# - if not exist %PREFIX%\\Library\\bin\\libtiffxx.dll exit 1 # [win]
tests:
- package_contents:
lib:
- libtiff.a
- libtiffxx.a
include:
- tiff.h
- tiffio.h

about:
license: HPND
Expand All @@ -61,9 +38,4 @@ about:
homepage: http://www.libtiff.org/
extra:
recipe-maintainers:
- jakirkham
- mingwandroid
- msarahan
- ocefpaf
- stuarteberg
- hmaarrfk
- DerThorsten
71 changes: 0 additions & 71 deletions recipes/recipes_emscripten/libtiff/recipe_legacy.yaml

This file was deleted.

Loading