[libexif] Update to 0.6.24 (#29178)

* Update libexif to 0.6.24

* Update CI baseline

* Update SPDX license id

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2023-01-27 04:14:51 +01:00 committed by GitHub
parent ecebd63fcb
commit 857ebca7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 50 additions and 17 deletions

View File

@ -14,6 +14,7 @@ set(HEADERS
libexif/exif-data-type.h
libexif/exif-entry.h
libexif/exif-format.h
libexif/exif-gps-ifd.h
libexif/exif-ifd.h
libexif/exif-loader.h
libexif/exif-log.h
@ -31,6 +32,7 @@ set(SOURCES
libexif/exif-data.c
libexif/exif-entry.c
libexif/exif-format.c
libexif/exif-gps-ifd.c
libexif/exif-ifd.c
libexif/exif-loader.c
libexif/exif-log.c
@ -40,6 +42,18 @@ set(SOURCES
libexif/exif-utils.c
)
set(HEADERS_APPLE
libexif/apple/exif-mnote-data-apple.h
libexif/apple/mnote-apple-entry.h
libexif/apple/mnote-apple-tag.h
)
set(SOURCES_APPLE
libexif/apple/exif-mnote-data-apple.c
libexif/apple/mnote-apple-entry.c
libexif/apple/mnote-apple-tag.c
)
set(HEADERS_CANON
libexif/canon/exif-mnote-data-canon.h
libexif/canon/mnote-canon-entry.h
@ -94,6 +108,7 @@ endif()
add_library(libexif
${SOURCES}
${SOURCES_APPLE}
${SOURCES_CANON}
${SOURCES_FUJI}
${SOURCES_OLYMPUS}
@ -136,6 +151,7 @@ install(
)
install(FILES ${HEADERS} DESTINATION include/libexif)
install(FILES ${HEADERS_APPLE} DESTINATION include/libexif/apple)
install(FILES ${HEADERS_CANON} DESTINATION include/libexif/canon)
install(FILES ${HEADERS_FUJI} DESTINATION include/libexif/fuji)
install(FILES ${HEADERS_OLYMPUS} DESTINATION include/libexif/olympus)

View File

@ -48,6 +48,7 @@ EXPORTS
exif_entry_unref
exif_format_get_name
exif_format_get_size
exif_get_gps_tag_info
exif_get_long
exif_get_rational
exif_get_short
@ -82,6 +83,7 @@ EXPORTS
exif_mem_realloc
exif_mem_ref
exif_mem_unref
exif_mnote_data_apple_new
exif_mnote_data_canon_new
exif_mnote_data_construct
exif_mnote_data_count
@ -116,6 +118,10 @@ EXPORTS
exif_tag_table_count
exif_tag_table_get_name
exif_tag_table_get_tag
mnote_apple_entry_get_value
mnote_apple_tag_get_description
mnote_apple_tag_get_name
mnote_apple_tag_get_title
mnote_canon_entry_get_value
mnote_canon_tag_get_description
mnote_canon_tag_get_name

View File

@ -1,24 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libexif/libexif
REF libexif-0_6_22-release
SHA512 6c63abe2734c9e83fb04adb00bdd77f687165007c0efd0279df26c101363b990604050c430c7dd73dfa8735dd2fd196334d321bdb114d4869998f21e7bed5b43
REF v0.6.24
SHA512 eac1b5220ca0e02370837a0d78a6d38e91c5afa0956d4196b26a8d2a8a2c5dea18d58c0e473285f278653c3863923241651b7dff4d007cc46385eb29ea188330
HEAD_REF master
PATCHES add-missing-_stdint-h.patch
PATCHES
add-missing-_stdint-h.patch
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h.cmake DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/libexif.def DESTINATION ${SOURCE_PATH})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/config.h.cmake" DESTINATION "${SOURCE_PATH}")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/libexif.def" DESTINATION "${SOURCE_PATH}")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,8 +1,14 @@
{
"name": "libexif",
"version": "0.6.22",
"port-version": 2,
"version": "0.6.24",
"description": "a library for parsing, editing, and saving EXIF data",
"homepage": "https://libexif.github.io/",
"supports": "!uwp"
"license": "LGPL-2.1-or-later",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -3801,8 +3801,8 @@
"port-version": 3
},
"libexif": {
"baseline": "0.6.22",
"port-version": 2
"baseline": "0.6.24",
"port-version": 0
},
"libfabric": {
"baseline": "1.13.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7194d724b7e14c0d3661153bc81f614a86276c6a",
"version": "0.6.24",
"port-version": 0
},
{
"git-tree": "cbe71aeb850791354309f2c953bf117ddc64f97a",
"version": "0.6.22",