Skip to content

Commit

Permalink
graphics/exiv2: update to 0.27.4
Browse files Browse the repository at this point in the history
Exiv2 v0.27.4 Features:

 1.   bmff support (.CR3, .AVIF, .HEIC, .HIF, .JXL/bmff) files.
 2.   Rewrite 0.27 bash test scripts in python.
 3.   Support for Exif 2.32 and DNG 1.6.
 4.   Crowdin Localisation Support
 5.   Completion of Image Metadata and Exiv2 Architecture https://clanmills.com/exiv2/book/
 6.   Improved documentation.
 7.   Various minor bugs and fixes.
 8.   RC3 issued to deal with 12 security issues. After 18 months without a CVE, we were attacked between RC2 and GM.
 9.   Security policy defined and published on GitHub.

PR:		256803
Exp-run by:	antoine
  • Loading branch information
diizzyy authored and tcberner committed Jul 6, 2021
1 parent fac489c commit 0317bd0
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 22 deletions.
6 changes: 4 additions & 2 deletions graphics/exiv2/Makefile
@@ -1,7 +1,7 @@
# Created by: Michael Johnson <ahze@ahze.net>

PORTNAME= exiv2
DISTVERSION= 0.27.3
DISTVERSION= 0.27.4
DISTVERSIONSUFFIX= -Source
PORTEPOCH= 1
CATEGORIES= graphics
Expand All @@ -18,7 +18,7 @@ TEST_DEPENDS= bash:shells/bash
TEST_LIB_DEPENDS= libgtest.so:devel/googletest

USES= cmake compiler:c++11-lang cpe dos2unix gettext-tools pathfix \
python:3.5+,test localbase:ldflags
python:3.6+,test localbase:ldflags
USE_LDCONFIG= yes
DOS2UNIX_FILES= cmake/compilerFlags.cmake

Expand Down Expand Up @@ -51,6 +51,8 @@ LDFLAGS_mips= -lintl
LDFLAGS_mips64= -lintl

post-patch:
@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
${WRKSRC}/test/Makefile
@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
Expand Down
6 changes: 3 additions & 3 deletions graphics/exiv2/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1593677376
SHA256 (exiv2-0.27.3-Source.tar.gz) = a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778
SIZE (exiv2-0.27.3-Source.tar.gz) = 26447901
TIMESTAMP = 1624257042
SHA256 (exiv2-0.27.4-Source.tar.gz) = 84366dba7c162af9a7603bcd6c16f40fe0e9af294ba2fd2f66ffffb9fbec904e
SIZE (exiv2-0.27.4-Source.tar.gz) = 32055837
15 changes: 0 additions & 15 deletions graphics/exiv2/files/patch-cmake_compilerFlags.cmake

This file was deleted.

@@ -0,0 +1,30 @@
From c069e36605f05e8e58bf964e5ecbde04efb90a20 Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
Date: Fri, 18 Jun 2021 18:53:46 +0200
Subject: [PATCH] Fix build with gtest 1.11

INSTANTIATE_TYPED_TEST_CASE_P requires a non-empty prefix now
---
unitTests/test_slice.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/unitTests/test_slice.cpp b/unitTests/test_slice.cpp
index ccf80d98d..59171cfcf 100644
--- unitTests/test_slice.cpp
+++ unitTests/test_slice.cpp
@@ -440,12 +440,12 @@ REGISTER_TYPED_TEST_CASE_P(slice, atAccess, iteratorAccess, constructionFailsFro
constMethodsPreserveConst);

typedef ::testing::Types<const std::vector<int>, std::vector<int>, int*, const int*> test_types_t;
-INSTANTIATE_TYPED_TEST_CASE_P(, slice, test_types_t);
+INSTANTIATE_TYPED_TEST_CASE_P(slice, slice, test_types_t);

REGISTER_TYPED_TEST_CASE_P(mutableSlice, iterators, at);
typedef ::testing::Types<std::vector<int>, int*> mut_test_types_t;
-INSTANTIATE_TYPED_TEST_CASE_P(, mutableSlice, mut_test_types_t);
+INSTANTIATE_TYPED_TEST_CASE_P(slice, mutableSlice, mut_test_types_t);

REGISTER_TYPED_TEST_CASE_P(dataBufSlice, successfulConstruction, failedConstruction);
typedef ::testing::Types<DataBuf&, const DataBuf&> data_buf_types_t;
-INSTANTIATE_TYPED_TEST_CASE_P(, dataBufSlice, data_buf_types_t);
+INSTANTIATE_TYPED_TEST_CASE_P(slice, dataBufSlice, data_buf_types_t);
4 changes: 2 additions & 2 deletions graphics/exiv2/pkg-plist
Expand Up @@ -17,7 +17,7 @@ bin/exiv2
%%SAMPLE%%bin/xmpsample
include/exiv2/asfvideo.hpp
include/exiv2/basicio.hpp
include/exiv2/bigtiffimage.hpp
include/exiv2/bmffimage.hpp
include/exiv2/bmpimage.hpp
include/exiv2/config.h
include/exiv2/convert.hpp
Expand Down Expand Up @@ -69,7 +69,7 @@ lib/cmake/exiv2/exiv2Config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/exiv2/exiv2Config.cmake
lib/cmake/exiv2/exiv2ConfigVersion.cmake
lib/libexiv2.so
lib/libexiv2.so.0.27.3
lib/libexiv2.so.0.27.4
lib/libexiv2.so.27
lib/libexiv2-xmp.a
libdata/pkgconfig/exiv2.pc
Expand Down

0 comments on commit 0317bd0

Please sign in to comment.