Opened 11 months ago
Last modified 4 months ago
#68991 accepted update
exiv2: Update to 0.28.1
Reported by: | alchymy | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | exiv2 |
Description
Macports shows exiv2 @0.27.6_0, looks like there is now a 0.28.1 version. Can't see any other tickets on this. Need 0.28.1 for a stellarium build. Any way to get 0.28.1 into my current Macports install?
Change History (7)
comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Port: | exiv2 added |
Status: | new → accepted |
Summary: | exiv2 out of date? → exiv2: Update to 0.28.1 |
Type: | request → update |
comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
The exiv2 0.28.1 update is straightforward enough but the library's major version changes so everything that links with the library needs a rebuild. Let me check if there are any problems with those first.
comment:4 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
There are a couple dozen ports that depend on exiv2. I only checked a handful of them on December 28, but half of those I checked did not build with this new version and need patches, so updating exiv2 is not straightforward and will require an extended concerted effort to identify and fix all of the problems at once, an effort which I'm not currently continuing.
comment:5 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
comment:6 Changed 7 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:7 Changed 4 months ago by MStraeten (Martin Straeten)
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
Thanks for the reminder; I do need to update that.