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

Linux: do not build libheif automatically from source #158

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Conversation

bigcat88
Copy link
Owner

To be consistent, because... There is no automatic building for macOS and Windows, so it is logical to remove it for Linux as well.

Versions starting from 0.10.0 have no particular problems working with a fairly wide range of different libheif versions, and on Linux, assembling a libheif is not such a big problem.

Also, starting from version 0.14.0, the minimum libheif version will be raised from 1.12.0 to 1.16.1 (or 1.16.2), because I really want to support correct image rotations and maintain image rotations normally.

Also, the next step will be to add the ability to select an encoder, so that in the future it would be possible to try adding a hardware encoder from the ffmpeg.

Changes proposed in this pull request:

  • linux_build_libs.py do not called automatically by setup.py
  • All Linux CI was changed according to this.
  • Updated documentation for Installation

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #158 (dfc89f4) into master (bd32c73) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #158   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          871       871           
=========================================
  Hits           871       871           
Files Coverage Δ
pillow_heif/_version.py 100.00% <100.00%> (ø)

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88 bigcat88 merged commit b2bf274 into master Nov 1, 2023
23 checks passed
@bigcat88 bigcat88 deleted the CI-rework branch November 1, 2023 09:21
bigcat88 added a commit that referenced this pull request Nov 4, 2023
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
bigcat88 added a commit that referenced this pull request Nov 4, 2023
* reverted some changes from #158

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

* restored checks for build from source

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant