acornejo / homebrew-quartz

brew repository for quartz
16 stars 9 forks source link

Deprecated functions in cairo-quartz #9

Open Tilogorn opened 8 years ago

Tilogorn commented 8 years ago

Running brew update and brew outdated today showed the following warnings:

Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/acornejo/homebrew-quartz/cairo-quartz.rb:6:in `<class:CairoQuartz>'
Please report this to the acornejo/quartz tap!

Warning: Calling SoftwareSpec#sha1 is deprecated!
Use SoftwareSpec#sha256 instead.
/usr/local/Library/Taps/acornejo/homebrew-quartz/cairo-quartz.rb:6:in `<class:CairoQuartz>'
Please report this to the acornejo/quartz tap!

Warning: Calling Resource#sha1 is deprecated!
Use Resource#sha256 instead.
/usr/local/Library/Taps/acornejo/homebrew-quartz/cairo-quartz.rb:6:in `<class:CairoQuartz>'
Please report this to the acornejo/quartz tap!

Warning: Calling Formula.fails_with_llvm is deprecated!
There is no replacement.
/usr/local/Library/Taps/acornejo/homebrew-quartz/cairo-quartz.rb:14:in `<class:CairoQuartz>'
Please report this to the acornejo/quartz tap!
hackur commented 8 years ago

I installed the latest version of xcode beta thinking that would fix it... Didn't seem to work.

Tilogorn commented 7 years ago

As the new release of Homebrew is disabling SHA1-Use, I can't even call the remove-procedure for homebrew-quartz!

$ brew remove cairo-quartz
Error: Calling Formula.sha1 is disabled!
Use Formula.sha256 instead.
/usr/local/Homebrew/Library/Taps/acornejo/homebrew-quartz/cairo-quartz.rb:6:in `<class:CairoQuartz>'
Please report this to the acornejo/quartz tap!

That's very annoying, I will report this also to the brew developer team...