Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove #{title} in 24 Casks (transitional) #7820

Merged
merged 24 commits into from
Dec 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b815e2f
remove #{title} in alib1
rolandwalker Dec 5, 2014
2e1606d
remove #{title} in ap-grapher
rolandwalker Dec 5, 2014
0abe91d
remove #{title} in cacoo-ninja
rolandwalker Dec 5, 2014
d5b1db8
remove #{title} in cdock
rolandwalker Dec 5, 2014
3fd48b2
remove #{title} in chirp
rolandwalker Dec 5, 2014
91e2852
remove #{title} in chunkulus
rolandwalker Dec 5, 2014
2f5cd4e
remove #{title} in craftstudio
rolandwalker Dec 5, 2014
7ceee70
remove #{title} in delivery-status
rolandwalker Dec 5, 2014
c13ab95
remove #{title} in google-cloud-sdk
rolandwalker Dec 5, 2014
5313c84
remove #{title} in grooveshark
rolandwalker Dec 5, 2014
d8821ef
remove #{title} in heart
rolandwalker Dec 5, 2014
92e8293
remove #{title} in icursor
rolandwalker Dec 5, 2014
2e7ea08
remove #{title} in intellij-idea-ce
rolandwalker Dec 5, 2014
5add06a
remove #{title} in intellij-idea
rolandwalker Dec 5, 2014
c80075a
remove #{title} in ioquake3
rolandwalker Dec 5, 2014
eb6f8c8
remove #{title} in keycastr
rolandwalker Dec 5, 2014
54e320d
remove #{title} in ksdiff
rolandwalker Dec 5, 2014
791335c
remove #{title} in multibrowser
rolandwalker Dec 5, 2014
7737267
remove #{title} in pemdas-widget
rolandwalker Dec 5, 2014
7c86aa0
remove #{title} in qgis
rolandwalker Dec 5, 2014
63c7b84
remove #{title} in sevenzx
rolandwalker Dec 5, 2014
a9928e9
remove #{title} in tv-show-tracker
rolandwalker Dec 5, 2014
86a3f7c
remove #{title} in tvrenamer
rolandwalker Dec 5, 2014
6cbd951
remove #{title} in workamajig
rolandwalker Dec 5, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Casks/alib1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName ALib1 (Presstube)', "#{staged_path}/presstube-alib1.app/Contents/Resources/Presstube - ALib1.saver/Contents/Info.plist"
end

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Air, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via

brew cask install adobe-air
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/ap-grapher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

app 'AP Grapher.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Warning: #{title} has been abandoned by its author, and the
Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the
vendor homepage is defunct. This Cask downloads an untrusted
copy from an alternative source.
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/cacoo-ninja.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

uninstall :script => { :executable => 'Install Cacoo Ninja.app/Contents/MacOS/Install Cacoo Ninja' }

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Air, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via

brew cask install adobe-air
EOS
Expand Down
4 changes: 3 additions & 1 deletion Casks/cdock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :oss

app 'cDock.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires easysimbl, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires easysimbl, available via

brew cask install easysimbl
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/chirp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

app "chirp-#{version}.app"

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} also requires the KK7DS Python Runtime as described at
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} also requires the KK7DS Python Runtime as described at

http://chirp.danplanet.com/projects/chirp/wiki/Download#CHIRP-Downloads
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/chunkulus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Chunkulus (Presstube)', "#{staged_path}/presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver/Contents/Info.plist"
end

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Air, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via

brew cask install adobe-air
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/craftstudio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
:pkgutil => 'com.sparklinlabs.CraftStudioLauncher'
zap :delete => '~/Library/CraftStudio'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires mono-mre, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires mono-mre, available via

brew cask install mono-mre
EOS
Expand Down
4 changes: 3 additions & 1 deletion Casks/delivery-status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :oss

widget 'Delivery Status.wdgt'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Currently, Dashboard Widgets such as '#{title}' do NOT work correctly
Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly
when installed via brew-cask. The bug is being tracked here:

https://github.com/caskroom/homebrew-cask/issues/2206
Expand Down
11 changes: 6 additions & 5 deletions Casks/google-cloud-sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
:args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false},
:sudo => false

# todo: transitional, replace #{self.name...} with #{token}
caveats do
"#{title} is installed at #{staged_path}/#{title}. Add your profile:
"#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} is installed at #{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}. Add your profile:

for bash users
source '#{staged_path}/#{title}/path.bash.inc'
source '#{staged_path}/#{title}/completion.bash.inc'
source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.bash.inc'
source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.bash.inc'

for zsh users
source '#{staged_path}/#{title}/path.zsh.inc'
source '#{staged_path}/#{title}/completion.zsh.inc'"
source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.zsh.inc'
source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.zsh.inc'"
end
end
4 changes: 3 additions & 1 deletion Casks/grooveshark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :unknown

app 'Grooveshark.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Flash, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Flash, available via

brew cask install flash
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/heart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Heart (Presstube)', "#{staged_path}/presstube-heart.app/Contents/Resources/Presstube - Heart.saver/Contents/Info.plist"
end

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Air, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via

brew cask install adobe-air
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/icursor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

app 'iCursor.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Warning: #{title} has been abandoned by its author, and the
Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the
vendor homepage is defunct. This Cask downloads an untrusted
copy from an alternative source.
EOS
Expand Down
5 changes: 3 additions & 2 deletions Casks/intellij-idea-ce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
'~/Library/Logs/IdeaIC14',
]

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} may require Java 7 (an older version), available from the
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version), available from the
caskroom-versions repository via

brew cask install caskroom/versions/java7

Alternatively, #{title} can be modified to use Java 8 as described in
Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in

https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS
Expand Down
5 changes: 3 additions & 2 deletions Casks/intellij-idea.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
'~/Library/Preferences/IntelliJIdea14',
]

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} may require Java 7 (an older version) available from the
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version) available from the
caskroom-versions repository via

brew cask install caskroom/versions/java7

Alternatively, #{title} can be modified to use Java 8 as described in
Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in

https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS
Expand Down
4 changes: 3 additions & 1 deletion Casks/ioquake3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
license :unknown

suite 'ioquake3'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
To complete the installation of #{title}, you will have to copy the file
To complete the installation of #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}, you will have to copy the file
'pak0.pk3' from your Quake 3 Arena installation support directory into
~/Applications/ioquake3/baseq3/.
EOS
Expand Down
3 changes: 2 additions & 1 deletion Casks/keycastr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

app 'KeyCastr.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
For OSX 10.9 or later, #{title} requires that you "Enable access for assistive devices".
For OSX 10.9 or later, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires that you "Enable access for assistive devices".
The app must be dragged into the Accessibility list in System Preferences.
See https://github.com/sdeken/keycastr/issues/5
EOS
Expand Down
7 changes: 5 additions & 2 deletions Casks/ksdiff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
pkg 'Install ksdiff.pkg'

uninstall :pkgutil => 'com.blackpixel.kaleidoscope.ksdiff.installer.pkg'
# todo: conflicts_with_cask kaleidoscope
# todo
# conflicts_with :cask => 'kaleidoscope'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
The #{title} Cask is not needed when installing Kaleidoscope via Cask. It
The #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} Cask is not needed when installing Kaleidoscope via Cask. It
is provided for users who have purchased Kaleidoscope via the App Store.
EOS
end
3 changes: 2 additions & 1 deletion Casks/multibrowser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

app 'MultiBrowser.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Warning: #{title} has been abandoned by its author, and the
Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the
vendor homepage is defunct. This Cask downloads an untrusted
copy from an alternative source.
EOS
Expand Down
4 changes: 3 additions & 1 deletion Casks/pemdas-widget.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :oss

widget 'PEMDAS.wdgt'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Currently, Dashboard Widgets such as '#{title}' do NOT work correctly
Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly
when installed via brew-cask. The bug is being tracked here:

https://github.com/caskroom/homebrew-cask/issues/2206
Expand Down
4 changes: 3 additions & 1 deletion Casks/qgis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
pkg 'Install QGIS.pkg'

uninstall :pkgutil => 'org.qgis.qgis-*'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires the GDAL framework and Matplotlib to be installed first,
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires the GDAL framework and Matplotlib to be installed first,
otherwise the installation will fail. In case of problems, try installing
them:

Expand Down
3 changes: 2 additions & 1 deletion Casks/sevenzx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

app '7zX.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Warning: #{title} has been abandoned by its author, and the
Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the
vendor homepage is defunct. This Cask downloads an untrusted
copy from an alternative source.
EOS
Expand Down
4 changes: 3 additions & 1 deletion Casks/tv-show-tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :oss

widget 'TV Show Tracker.wdgt'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
Currently, Dashboard Widgets such as '#{title}' do NOT work correctly
Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly
when installed via brew-cask. The bug is being tracked here:

https://github.com/caskroom/homebrew-cask/issues/2206
Expand Down
4 changes: 3 additions & 1 deletion Casks/tvrenamer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
license :gpl

app "TVRenamer-#{version}.app"

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires a Java JRE to be installed. You should be prompted to install
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires a Java JRE to be installed. You should be prompted to install
Java on the first execution if it is not already present.
EOS
end
3 changes: 2 additions & 1 deletion Casks/workamajig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

app 'Workamajig.app'

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} requires Adobe Air, available via
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via

brew cask install adobe-air
EOS
Expand Down