From 8941a0857dd510a9efbf1652b228c407b7f0d44c Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Tue, 16 Jan 2024 11:40:08 +0300 Subject: [PATCH] fixed FreeBSD CI: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274546 Signed-off-by: Alexander Piskun --- ci/cirrus_general_ci.yml | 7 ++++--- docs/installation.rst | 7 +++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ci/cirrus_general_ci.yml b/ci/cirrus_general_ci.yml index 1918afcf..8c95b35c 100644 --- a/ci/cirrus_general_ci.yml +++ b/ci/cirrus_general_ci.yml @@ -62,18 +62,19 @@ test_src_build_full_freebsd_task: 'setup.*', 'pyproject.toml')" - name: From source(FreeBSD) / FreeBSD:13-amd64 + name: From source(FreeBSD) / FreeBSD:14-amd64 freebsd_instance: - image_family: freebsd-13-2 + image_family: freebsd-14-0 env: PH_FULL_ACTION: 1 EXP_PH_LIBHEIF_VERSION: "" install_libheif_script: - - pkg install -y libheif gcc + - pkg install -y gcc cmake aom x265 - pkg install -y py39-pip - pkg install -y py39-pillow py39-numpy + - python3 libheif/linux_build_libs.py install_pillow_heif_script: - python3 -m pip -v install ".[tests-min]" libheif_info_script: diff --git a/docs/installation.rst b/docs/installation.rst index bc0fd01b..eb3ab9aa 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -72,9 +72,12 @@ FreeBSD Since Python itself does not support binary wheels for BSD systems, you should install libheif and then simply install Pillow-Heif from source. -Install `libeheif` and `gcc`:: +Install `gcc`, `cmake`, `aom` and `x265`:: - pkg install -y libheif gcc + - pkg install -y gcc cmake aom x265 + - pkg install -y py39-pip + - pkg install -y py39-pillow py39-numpy + - python3 libheif/linux_build_libs.py Install Python and Pillow::