rnpgp / homebrew-rnp

Homebrew formula for rnp
4 stars 1 forks source link

Provide bottle(s) with rnp brew formulae #33

Open maxirmx opened 1 year ago

maxirmx commented 1 year ago
          > @maxirmx can't we specify a bottle dependency on the particular botan version? The benefit of the bottle is to allow people not to go through compilation, and it is an important benefit.

My understanding is that botan provides a formula to install only the latest version. Thus, even if we specify a dependency on some other version of botan, it will not be installed.

I believe we can

Also I guess we will need several bottles to make it effective. Botan provides seven:

This may require cross-compile options that will also go to core rnp build scripts

I suggest we release a simple fix first since keeping the bottle does not look like a one-liner fix

Originally posted by @maxirmx in https://github.com/rnpgp/homebrew-rnp/issues/32#issuecomment-1508197313

ni4 commented 1 year ago

As far as I remember, we needed specific Botan's version at the start since actual ones did not have required functionality. Right now we just may use the latest 2.x. Probably 3.x should also work but I didn't try it yet.