jp2a: downgrade from 1.0.7 to 1.0.6 #52582
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?Continuing discussion from the "Downgrade jp2a formula to v1.0.6" Discourse thread. As requested by @SMillerDev, I'm opening a PR. I'm copying the details from that post here.
The jp2a formula is currently "broken" and has been since #39096, which was meant to acknowledge the migration of jp2a's source repository from SourceForge to Github.
However, jp2a's migration to GitHub was not a smooth transition. Its GitHub repository is lacking v1.0.6, which was available on SourceForge. The only release on GitHub is v1.0.7, which turned out to be a "dud" in the sense that it contained various issues that were not immediately obvious by just running
test.jpg
through it.I'm not personally aware of all the errors in v1.0.7, but these issues are well-known enough that the MacPorts community has intentionally kept their jp2a package at v1.0.6:
cslarsen/jp2a#8
Unfortunately, there has been no action on part of the author to tag a v1.0.8 for 3 years. However, jp2a v1.0.6, which is still available from SourceForge, works great.
Can we please revert this formula to point at v1.0.6 on SourceForge? This PR is my attempt to do so, but I'm not sure how to go about reverting to an earlier version. The test ran fine, but the audit produced this error: