diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-04-01 16:21:21 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-04-01 16:21:21 +0000 |
commit | 63f01ba6bf6ade365836a90e28aeea318e6b621d (patch) | |
tree | c3fd865a80706a7cb7b98880faf4b934b72ab549 /media-sound/rubyripper/files | |
parent | Add ~alpha/~ia64/~sparc wrt #215709 (diff) | |
download | gentoo-2-63f01ba6bf6ade365836a90e28aeea318e6b621d.tar.gz gentoo-2-63f01ba6bf6ade365836a90e28aeea318e6b621d.tar.bz2 gentoo-2-63f01ba6bf6ade365836a90e28aeea318e6b621d.zip |
Version bump for media-sound/rubyripper
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/rubyripper/files')
-rw-r--r-- | media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch | 15 | ||||
-rw-r--r-- | media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch | 10 |
2 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch b/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch new file mode 100644 index 000000000000..78ba645a47c8 --- /dev/null +++ b/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch @@ -0,0 +1,15 @@ +--- a/rubyripper_gtk2.rb 2008-04-01 17:05:12.000000000 +0200 ++++ b/rubyripper_gtk2.rb 2008-04-01 17:05:59.000000000 +0200 +@@ -35,10 +35,10 @@ + end + + def editor # look for default editor +- if installed('mousepad') : return 'mousepad' #Xfce4 editor ++ if ENV['EDITOR'] : return ENV['EDITOR'] + elsif installed('kwrite') : return 'kwrite' #Kde editor + elsif installed('gedit') : return 'gedit' #Gnome editor +- elsif ENV['EDITOR'] : return ENV['EDITOR'] ++ elsif installed('mousepad') : return 'mousepad' #Xfce4 editor + else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown' + end + end diff --git a/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch b/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch new file mode 100644 index 000000000000..10ebbafef2d5 --- /dev/null +++ b/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch @@ -0,0 +1,10 @@ +--- a/rr_lib.rb 2008-01-23 20:32:09.000000000 +0100 ++++ b/rr_lib.rb 2008-04-01 17:38:14.000000000 +0200 +@@ -22,6 +22,7 @@ + $rr_version = '0.5.0' #application wide setting + + begin ++ require 'rubygems' + require 'gettext' + rescue LoadError + puts "RubyGems is not found. Please install ruby-gettext." |