macOS homebrew package (was: Re: Survex 1.2.36 released)

Robert Jones rob at robjones.org
Fri Jul 20 07:03:45 BST 2018


...And it builds fine on 10.14

It might also be worth adding a note that homebrew won't link Aven into
/Applications or ~/Applications. 'brew linkapps` has been deprecated.

If someone does need the icon in 'Applications' then `ln -s
/usr/local/Cellar/survex/*/Aven.app/ /Applications/` will have to suffice.

Rob

On Fri, 20 Jul 2018 at 15:49, Robert Jones <rob at robjones.org> wrote:

> Hey Olly,
>
> Thanks for posting that. I'm just testing that it builds on OSX 10.14 at
> the moment. It's taking a while as homebrew needs to build all dependencies
> from source. I'll let you know the outcome.
>
> The only downside of the current 'install from URL' approach is that
> there's no version control - homebrew won't check for updates to the
> formula.
>
> I suggest for consistency you create a separate git repository on github
> to track releases that can be tapped as such:
>
> brew tap ojwb/survex-homebrew
> brew install survex
>
> Or installed directly as
> brew install ojwb/survex-homebrew/survex
>
> where user is ojwb, and repo might be survex-homebrew
>
> This is documented here:
>
> https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md
>
> This does also work hosted outside of github, perhaps on git.survex.com,
> but a full URL needs to be specified in the 'tap' command.
>
> It's then just a case of putting the ruby script in a 'Formula' folder.
>
> Regards,
>
> Rob
>
> On Wed, 18 Jul 2018 at 13:08, Olly Betts <olly at survex.com> wrote:
>
>> Thanks to Rob Jones you can now install Survex on macOS using the
>> Homebrew package manager, which provides an easier way to install a
>> recent version which we can keep in step with releases.  The disk
>> image hasn't been updated since 1.2.27 which is just over 2 years
>> old now.
>>
>> If you don't already use Homebrew, you'll need to install that first.
>> Then to install Survex:
>>
>>   brew update
>>   brew install https://survex.com/~olly/survex.rb
>>
>> The first time you do this it may take a while as it has to install
>> all the dependencies first.  Subsequent updates should be faster.
>>
>> This packaging is fairly new - if you hit any teething problems, please
>> report them to the bug tracker or mailing list.
>>
>> Cheers,
>>     Olly
>>
>> --
>> Survex https://lists.survex.com/mailman/listinfo/survex
>>
>


More information about the Survex mailing list