Re: Update Hombrew install instructions on the web site

Anders F Björklund <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
Björn Pollex wrote:
> Sorry for the late reply. IÂ’ve checked, and both */usr/local/bin/gpg* 
> and */opt/gtk/bin/gtk-demo* exist. I havenÂ’t looked into this further 
> yet, because I actually only use the CLI anyway.

Well, at least the installer worked then. Basically all it does is 
download the other two .pkg packages from the Zero Install sourceforge site.

> IÂ’m not really experienced with these installer issues, but if I can 
> be of any further help, please let me know. For, it works for me, so I 
> wonÂ’t be investigating further. Apart from that, the installation 
> instructions for Homebrew are still incorrect on the home page.

Not sure what the correct instructions would be, as long it is not 
"blessed" for inclusion... Provide a fork with a 0install 2.8 formula 
perhaps ?
Then the user could do a "brew tap" to add the repository, much like you 
can add a "PPA" in Ubuntu. The opam deps are still an issue though.

I think the solution with prompting the user about gpg/gpg2 and opam is 
rather poor. Prefer just using old gpg, and a local $OPAMROOT for build.
It shouldn't be impossible to make a new formula, and then put a bottle 
of it up on bintray. I can make a stab at it, if noone else does before me.

https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md

https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Bottles.md


Or we give up on brew, and continue with the stand-alone solution.

--anders

PS. Old formula, for reference:
https://github.com/afb/homebrew/blob/10f049e24eea9273916721b37b9a31bfd4ac6748/Library/Formula/zeroinstall.rb


> On 7 Jul 2015, at 14:33, Anders F Björklund <[email protected] 
> <mailto:[email protected]>> wrote:
>>
>> Björn Pollex wrote:
>>>> I tried the homebrew instructions on OS X Yosemite, and there
>>>> doesn't seem to be anything *majorly* wrong with it afaict... ?
>>>>
>>>> $ brew install gettext pkg-config gnupg gtk+ ocaml opam
>>>>
>>>> $ opam install yojson xmlm ounit react lwt extlib ssl ocurl lablgtk
>>>>
>>> These are not the Homebrew installation instructions, these are the 
>>> Source installation instructions. The current web site has a 
>>> separate section further down titled *Homebrew installation*, which 
>>> contains instructions that donÂ’t work anymore because the recipe for 
>>> 0install has been removed from homebrew, as you have pointed out 
>>> previously. Cask <http://caskroom.io/> is a command extension for 
>>> Homebrew that can be used to install Mac OS X native packages. The 
>>> main repo for casks is separate from homebrew.
>>
>> Ah, you are correct. Sadly it was rejected, so it needs to either be 
>> cherry-picked or put into a separate repository or something - 
>> neither of which helps much with providing a binary bottle I guess. 
>> It's an option, but then "someone else" needs to provide those 
>> (github/bintray).
>>
>> I wrote a lot of different installation instructions, and seem to be 
>> confusing even myself. :-)
>>
>> Apparently homebrew-cask just calls "sudo installer -pkg *.pkg 
>> -target /", which is pretty normal and the same command that we 
>> describe - so wonder what went wrong. You could check if 
>> /usr/local/bin/gpg and /opt/gtk/bin/gtk-demo ended up in the usual 
>> places, maybe try them separately ?
>>
>> Anyway, this Cask thing seems to rather different from Homebrew - 
>> more of a fork, really.
>>
>>> I donÂ’t know why the GTK+ dependency is missing. Cask only executes 
>>> the packager installer, so maybe that installer doesnÂ’t install the 
>>> dependency?
>>
>> The GnuPG and PyGTK packages are separate, but the ZeroInstall 
>> package is supposed to download them and install them unless you 
>> "uncheck" the optional dependencies - theory being that you already 
>> installed them, the last time around. Mostly to cut down on the 
>> download size, but also for licensing.
>>
>> But http://macpkg.sourceforge.net is getting a bit old, and I plan on 
>> retiring it. The universal packages are built for Mac OS X 10.6, and 
>> needs updating. And then comes GnuPG 2 and GTK+ 3 mudding the waters 
>> further. Probably easier to just do a packaging for 0install, and 
>> ship it under the GPL instead ?

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/

_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.