Skip to content

Commit

Permalink
Merge pull request #7820 from rolandwalker/remove_title_transitional
Browse files Browse the repository at this point in the history
Remove `#{title}` in 24 Casks (transitional)
  • Loading branch information
rolandwalker committed Dec 5, 2014
2 parents 2c5a760 + 6cbd951 commit 5175014
Show file tree
Hide file tree
Showing 24 changed files with 65 additions and 31 deletions.
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

0 comments on commit 5175014

Please sign in to comment.