[MacPorts] #68991: exiv2: Update to 0.28.1
MacPorts
noreply at macports.org
Thu Jul 11 17:45:36 UTC 2024
#68991: exiv2: Update to 0.28.1
----------------------+------------------------
Reporter: alchymy | Owner: ryandesign
Type: update | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: exiv2 |
----------------------+------------------------
Comment (by MStraeten):
local solution used with Xcode 15.4 via terminal:
{{{
cp -R "$(port dir exiv2)" ~/ports/graphics
}}}
then patch your ~/ports/graphics/exiv2/Portfile with following diff:
{{{
--- Portfile0.27.6 2024-07-11 19:37:08
+++ Portfile 2024-07-11 19:11:17
@@ -6,11 +6,11 @@
PortGroup legacysupport 1.0
PortGroup compiler_blacklist_versions 1.0
-github.setup Exiv2 exiv2 0.27.6 v
+github.setup Exiv2 exiv2 0.28.3 v
revision 0
-checksums rmd160 0ee02f297226e8570f7cc0c6e1d5d5a4d8c6c6df \
- sha256
f16ee5ff08b6994c66106109417857f13e711fca100ac43c6a403d4f02b59602 \
- size 32412980
+checksums rmd160 db9fd1d12cc81a85fab7b537130005cc1fbe2a21 \
+ sha256
1315e17d454bf4da3cc0edb857b1d2c143670f3485b537d0f946d9ed31d87b70 \
+ size 46480702
categories graphics
license GPL-2+
@@ -32,7 +32,8 @@
depends_lib-append port:expat \
port:gettext \
port:libiconv \
- port:zlib
+ port:zlib \
+ port:inih
compiler.cxx_standard 2011
# error: use of undeclared identifier '__builtin_sadd_overflow'
@@ -40,13 +41,12 @@
{ clang < 426 } \
macports-clang-3.3
-patchfiles-append patch-remove-no-format-overflow.diff
+# patchfiles-append patch-remove-no-format-overflow.diff
configure.args-append \
- -DEXIV2_ENABLE_BMFF=ON \
-DIconv_INCLUDE_DIR=${prefix}/include \
-DIconv_LIBRARY=${prefix}/lib/libiconv.dylib \
-DPython3_EXECUTABLE=${prefix}/bin/python${python_version} \
-DZLIB_ROOT=${prefix}
-github.livecheck.regex {(\d+(?:\.\d+)+)}
\ No newline at end of file
+github.livecheck.regex {(\d+(?:\.\d+)+)}
}}}
comments:
patch-remove-no-format-overflow.diff is no longer necessary, additional
dependency to inih is needed
--
Ticket URL: <https://trac.macports.org/ticket/68991#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list