libidn@2 2.0.2 (new formula)#12885
Conversation
New formula for libidn@2, which is now stable upstream. `libidn@2` includes compatibility functions for other projects but I think the way to be most Homebrew-friendly is to introduce this as a new formula for now & migrate things across it as possible rather than inreplacing a bunch of projects to use the correct header: ``` This library is backwards (API) compatible with the libidn library. Replacing the idna.h header with idn2.h into a program is sufficient to switch the application from IDNA2003 to IDNA2008 as supported by this library. ```
|
Ah, the classic |
|
I'm 👎 on using versioned formulae for new versions. |
ilovezfs
left a comment
There was a problem hiding this comment.
This should be recast as an ordinary version upgrade for the main libidn formula, or deferred until that becomes feasible.
How do you feel about flipping it and this becoming |
|
I'd prefer to avoid libidn@1 if possible. Have you tried just upgrading it? |
|
No, but the entire header structure changed, as well as the library versioning, so best case scenario everything needs a revision, worst case scenario almost everything needs I mean, I can do it that way, because slowly as we're discovering |
|
Agreed about trying an update and falling back to a libidn@1 formula if that's not possible and falling back again to a libidn@2 formula if the vast majority of formulae are on libidn@1 vs. 2. |
|
"This library is backwards (API) compatible with the libidn library. |
|
Of the mandatory stuff:
Will keep testing. Anything without an explanation hasn't been checked yet. |
mind asking libidn2 upstream what the deal is there? |
Possible it's not finding it. @joeyh is there something we need to do to get git-annex to use libidn/libidn2? |
|
ilovezfs wrote:
git-annex - Builds without any issue, but unsure it's actually using
libidn. Removing it locally doesn't obviously break anything.
Possible it's not finding it. @joeyh is there something we need to do to get
git-annex to use libidn/libidn2?
That was needed for the xmpp support, which was removed from git-annex
recently. You also no longer need gnutls installed to build git-annex.
…--
see shy jo
|
|
@joeyh Thanks for the help! |
|
|
@DomT4 looks like upstream responded |
|
Aye, I saw. The reply was impressively detailed & I'll leave a thanks for that shortly, but somewhat threw me in terms of realising some of the I guess not non-standard but nonetheless less simple Not planning to give it up but it certainly gave me an appreciation this may be more involved than the upstream |
|
@DomT4 What's more, it seems your inquiry triggered some upstream commits. Neat! |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
@probot-stale[bot] Complicated but not yet dead. |
|
I love how you talk to the 🤖 |
|
It's the easiest way to get it to drop the |
|
Now it will leave you alone. |
|
Cool, thanks 🙇. This is something I'm still paying attention to, but with upstream adding more advice on how to transition to |
|
Maybe vendor it into the two (curl and wget) that can't use version 1 and call it a day? |
|
If you prefer to close both PRs, I'm also fine with that if you want to move on from this. |
Yeah, maybe that's not a bad way to go for now to be fair. I guess we could always come back to this in 3/4/5/6 months, or as more upstreams migrate & make vendoring unpleasantly heavy to maintain for folks. |
|
Do you think a significant number of users would actually want to |
|
At this point I wouldn't say it has the same testing appeal in a Homebrew context as |
|
Vendoring seems fine to me then, but we can always revisit libidn@2 later if there are users asking for it. |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?New formula for
libidn@2, which is now stable upstream.libidn@2includes compatibility functions for other projects but I think the way to be most Homebrew-friendly is to introduce this as a new formula for now & migrate things across it as possible rather than inreplacing a bunch of projects to use the correct header: