libheif icon indicating copy to clipboard operation
libheif copied to clipboard

More portability fixes

Open kmilos opened this issue 4 years ago • 2 comments

kmilos avatar Dec 15 '21 14:12 kmilos

I've added the changes from heif_file.cc (8c5465e), but I did not merge the other changes, because they seem to introduce a lot of changes in the CMake file without clearly stating why this is necessary.

farindk avatar Feb 19 '22 18:02 farindk

Most of the CMake changes are whitespace/indentation. The rest are more standard ways of looking for JPEG and PNG libraries that will only improve maintainability, so I highly recommend you revisit them.

kmilos avatar Feb 19 '22 18:02 kmilos

Is this PR still necessary after the rewrite of the CMakeLists.txt in 8e9cfc8e568267bcc79d7d471fb9cd16a471615c ? Anything that I missed?

farindk avatar Jan 18 '23 18:01 farindk

I'll take a look in the coming days, and either rebase or close.

kmilos avatar Jan 18 '23 19:01 kmilos

The CMakeLists.txt changes have been indeed addressed by https://github.com/strukturag/libheif/commit/8e9cfc8e568267bcc79d7d471fb9cd16a471615c, so the only thing left is the examples/heif_convert.cc change (cosmetic really, and brings it in line with examples/heif_thumbnailer.cc

kmilos avatar Jan 19 '23 11:01 kmilos

Thanks for reviewing this.

farindk avatar Jan 19 '23 13:01 farindk