Download raw body.
UPDATE: libheif 1.20.1
ping ping.
On 2025-07-24 2:06 p.m., Brad Smith wrote:
> ping.
>
> On 2025-07-10 5:01 a.m., Brad Smith wrote:
>> Here is an update to libheif 1.20.1.
>>
>> Tested on aarch64 and build tested with all dependent ports.
>>
>>
>> Index: Makefile
>> ===================================================================
>> RCS file: /cvs/ports/multimedia/libheif/Makefile,v
>> retrieving revision 1.21
>> diff -u -p -u -p -r1.21 Makefile
>> --- Makefile 29 Apr 2025 15:39:06 -0000 1.21
>> +++ Makefile 8 Jul 2025 06:02:09 -0000
>> @@ -1,10 +1,9 @@
>> COMMENT= HEIF and AVIF file format decoder and encoder
>> -V= 1.19.7
>> -REVISION= 0
>> +V= 1.20.1
>> DISTNAME= libheif-$V
>> -SHARED_LIBS += heif 2.3
>> +SHARED_LIBS += heif 3.0
>> CATEGORIES= multimedia graphics
>> @@ -36,6 +35,7 @@ LIB_DEPENDS+= graphics/png
>> CONFIGURE_ARGS= -DCMAKE_COMPILE_WARNING_AS_ERROR=Off \
>> -DWITH_DAV1D=On \
>> + -DWITH_EXAMPLE_HEIF_VIEW=Off \
>> -DWITH_JPEG_DECODER=On \
>> -DWITH_JPEG_ENCODER=On \
>> -DWITH_RAV1E=Off \
>> Index: distinfo
>> ===================================================================
>> RCS file: /cvs/ports/multimedia/libheif/distinfo,v
>> retrieving revision 1.13
>> diff -u -p -u -p -r1.13 distinfo
>> --- distinfo 20 Mar 2025 08:58:49 -0000 1.13
>> +++ distinfo 8 Jul 2025 06:02:09 -0000
>> @@ -1,2 +1,2 @@
>> -SHA256 (libheif-1.19.7.tar.gz) =
>> FhwELSECZl/O497YUceKDrXy1L/jn7pIum5Yj9bpZPM=
>> -SIZE (libheif-1.19.7.tar.gz) = 1717186
>> +SHA256 (libheif-1.20.1.tar.gz) =
>> Vcx2t3xTMVH8eLpY71rRhWLoTaQD7XScOuAXq68eIJA=
>> +SIZE (libheif-1.20.1.tar.gz) = 1787033
>> Index: patches/patch-CMakeLists_txt
>> ===================================================================
>> RCS file: patches/patch-CMakeLists_txt
>> diff -N patches/patch-CMakeLists_txt
>> --- /dev/null 1 Jan 1970 00:00:00 -0000
>> +++ patches/patch-CMakeLists_txt 8 Jul 2025 06:02:09 -0000
>> @@ -0,0 +1,14 @@
>> +add cmake option to disable building heif-view
>> +ad11b82d93137f0b93bfc8572d1a0d6d5627bab1
>> +
>> +Index: CMakeLists.txt
>> +--- CMakeLists.txt.orig
>> ++++ CMakeLists.txt
>> +@@ -495,6 +495,7 @@ install(FILES
>> ${CMAKE_CURRENT_BINARY_DIR}/libheif.pc
>> + # ---
>> +
>> + option(WITH_EXAMPLES "Build examples" ON)
>> ++option(WITH_EXAMPLE_HEIF_VIEW "Build heif-view tool" ON)
>> + option(WITH_GDK_PIXBUF "Build gdk-pixbuf plugin" ON)
>> +
>> + option(WITH_REDUCED_VISIBILITY "Reduced symbol visibility in
>> library" ON)
>> Index: patches/patch-examples_CMakeLists_txt
>> ===================================================================
>> RCS file: patches/patch-examples_CMakeLists_txt
>> diff -N patches/patch-examples_CMakeLists_txt
>> --- /dev/null 1 Jan 1970 00:00:00 -0000
>> +++ patches/patch-examples_CMakeLists_txt 8 Jul 2025 06:02:09 -0000
>> @@ -0,0 +1,38 @@
>> +add cmake option to disable building heif-view
>> +ad11b82d93137f0b93bfc8572d1a0d6d5627bab1
>> +
>> +Index: examples/CMakeLists.txt
>> +--- examples/CMakeLists.txt.orig
>> ++++ examples/CMakeLists.txt
>> +@@ -65,18 +65,20 @@ if (PNG_FOUND)
>> + endif()
>> +
>> +
>> +-find_package(SDL2 NO_MODULE)
>> ++if (WITH_EXAMPLE_HEIF_VIEW)
>> ++ find_package(SDL2 NO_MODULE)
>> +
>> +-if (SDL2_FOUND)
>> +- add_executable(heif-view ${getopt_sources}
>> +- heif_view.cc
>> +- sdl.cc
>> +- sdl.hh
>> +- common.cc
>> +- common.h)
>> +- target_link_libraries(heif-view PRIVATE heif ${SDL2_LIBRARIES})
>> +- target_include_directories(heif-view PRIVATE
>> ${libheif_SOURCE_DIR} ${SDL2_INCLUDE_DIRS})
>> +- install(TARGETS heif-view RUNTIME DESTINATION
>> ${CMAKE_INSTALL_BINDIR})
>> ++ if (SDL2_FOUND)
>> ++ add_executable(heif-view ${getopt_sources}
>> ++ heif_view.cc
>> ++ sdl.cc
>> ++ sdl.hh
>> ++ common.cc
>> ++ common.h)
>> ++ target_link_libraries(heif-view PRIVATE heif
>> ${SDL2_LIBRARIES})
>> ++ target_include_directories(heif-view PRIVATE
>> ${libheif_SOURCE_DIR} ${SDL2_INCLUDE_DIRS})
>> ++ install(TARGETS heif-view RUNTIME DESTINATION
>> ${CMAKE_INSTALL_BINDIR})
>> ++ endif ()
>> + endif ()
>> +
>> +
>> Index: patches/patch-libheif_CMakeLists_txt
>> ===================================================================
>> RCS file:
>> /cvs/ports/multimedia/libheif/patches/patch-libheif_CMakeLists_txt,v
>> retrieving revision 1.3
>> diff -u -p -u -p -r1.3 patch-libheif_CMakeLists_txt
>> --- patches/patch-libheif_CMakeLists_txt 29 Apr 2025 15:39:06
>> -0000 1.3
>> +++ patches/patch-libheif_CMakeLists_txt 8 Jul 2025 06:02:09 -0000
>> @@ -3,7 +3,7 @@ gcc8: undefined reference to `std::files
>> Index: libheif/CMakeLists.txt
>> --- libheif/CMakeLists.txt.orig
>> +++ libheif/CMakeLists.txt
>> -@@ -180,6 +180,8 @@ target_compile_definitions(heif
>> +@@ -237,6 +237,8 @@ target_compile_definitions(heif
>> LIBHEIF_EXPORTS
>> HAVE_VISIBILITY)
>> Index: pkg/PLIST
>> ===================================================================
>> RCS file: /cvs/ports/multimedia/libheif/pkg/PLIST,v
>> retrieving revision 1.9
>> diff -u -p -u -p -r1.9 PLIST
>> --- pkg/PLIST 4 Oct 2024 11:36:02 -0000 1.9
>> +++ pkg/PLIST 8 Jul 2025 06:02:09 -0000
>> @@ -5,11 +5,28 @@ bin/heif-convert
>> @bin bin/heif-thumbnailer
>> include/libheif/
>> include/libheif/heif.h
>> +include/libheif/heif_aux_images.h
>> +include/libheif/heif_brands.h
>> +include/libheif/heif_color.h
>> +include/libheif/heif_context.h
>> include/libheif/heif_cxx.h
>> +include/libheif/heif_decoding.h
>> +include/libheif/heif_encoding.h
>> +include/libheif/heif_entity_groups.h
>> +include/libheif/heif_error.h
>> +include/libheif/heif_image.h
>> +include/libheif/heif_image_handle.h
>> include/libheif/heif_items.h
>> +include/libheif/heif_library.h
>> +include/libheif/heif_metadata.h
>> include/libheif/heif_plugin.h
>> include/libheif/heif_properties.h
>> include/libheif/heif_regions.h
>> +include/libheif/heif_security.h
>> +include/libheif/heif_sequences.h
>> +include/libheif/heif_tai_timestamps.h
>> +include/libheif/heif_tiling.h
>> +include/libheif/heif_uncompressed.h
>> include/libheif/heif_version.h
>> lib/cmake/libheif/
>> lib/cmake/libheif/libheif-config${MODCMAKE_BUILD_SUFFIX}
>>
UPDATE: libheif 1.20.1