diff options
Diffstat (limited to 'media-sound/rubyripper/files')
5 files changed, 0 insertions, 189 deletions
diff --git a/media-sound/rubyripper/files/rubyripper-0.4.4-desktopfile.patch b/media-sound/rubyripper/files/rubyripper-0.4.4-desktopfile.patch deleted file mode 100644 index 7e94d32b555a..000000000000 --- a/media-sound/rubyripper/files/rubyripper-0.4.4-desktopfile.patch +++ /dev/null @@ -1,27 +0,0 @@ -Fix the desktop file to comply with current desktop file specs. - -From: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> - - ---- - - rubyripper.desktop | 5 ++--- - 1 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/rubyripper.desktop b/rubyripper.desktop -index 501564d..350646a 100644 ---- a/rubyripper.desktop -+++ b/rubyripper.desktop -@@ -1,9 +1,8 @@ - [Desktop Entry] --Encoding=UTF-8 - Type=Application - Name=Rubyripper - GenericName=Secure Audio Disc Ripper - GenericName[nl]=Veilige Audio CD Ripper --Icon=rubyripper_22.png -+Icon=rubyripper - Exec=rrip_gui --Categories=AudioVideo; -\ No newline at end of file -+Categories=AudioVideo;Audio; diff --git a/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch b/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch deleted file mode 100644 index 2f1b70f7cdd5..000000000000 --- a/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch +++ /dev/null @@ -1,24 +0,0 @@ -Check if the EDITOR environment variable is set, in which case use - -From: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> - -that rather than trying to find the default editor almost randomly. ---- - - rubyripper_gtk2.rb | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/rubyripper_gtk2.rb b/rubyripper_gtk2.rb -index a12c0ff..4492094 100755 ---- a/rubyripper_gtk2.rb -+++ b/rubyripper_gtk2.rb -@@ -35,7 +35,8 @@ def filemanager #look for default filemanager - end - - def editor # look for default editor -- if installed('mousepad') : return 'mousepad' #Xfce4 editor -+ if ENV['EDITOR'] : return ENV['EDITOR'] # User's setting -+ elsif installed('mousepad') : return 'mousepad' #Xfce4 editor - elsif installed('kwrite') : return 'kwrite' #Kde editor - elsif installed('gedit') : return 'gedit' #Gnome editor - else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown' diff --git a/media-sound/rubyripper/files/rubyripper-0.4.4-iconinstall.patch b/media-sound/rubyripper/files/rubyripper-0.4.4-iconinstall.patch deleted file mode 100644 index 06ce95afb1a1..000000000000 --- a/media-sound/rubyripper/files/rubyripper-0.4.4-iconinstall.patch +++ /dev/null @@ -1,113 +0,0 @@ -Install the icon in proper FDO Icon Theme path, with just rubyripper as name. - -From: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> - - ---- - - configure | 20 ++++++++++---------- - rubyripper_gtk2.rb | 4 ++-- - 2 files changed, 12 insertions(+), 12 deletions(-) - -diff --git a/configure b/configure -index 2a62554..993ed75 100755 ---- a/configure -+++ b/configure -@@ -18,7 +18,7 @@ - $PREFIX='/usr/local' - $BINDIR='/bin' - $LOCALE='/share/locale' --$PIXMAPS='/share/pixmaps' -+$ICONDIR='/share/icons/hicolor' - $DESKTOP='/share/applications' - $RUBYDIR= "#{$:[0]}" - $RUBYDIR= $RUBYDIR[$RUBYDIR.index('/lib')..-1] # remove the prefix -@@ -33,7 +33,7 @@ if ARGV.include?('--help') || ARGV.include?('-h') || ARGV.length == 0 - puts "--prefix=<destination_dir> (default: #{$PREFIX})" - puts "--bindir=<bin_dir> (default: #{$BINDIR})" - puts "--locale=<locale_dir> (default: #{$LOCALE})" -- puts "--pixmaps=<pixmaps_dir> (default: #{$PIXMAPS}" -+ puts "--icondir=<icon_theme_dir> (default: #{$ICONDIR}" - puts "--desktop=<desktop_dir> (default: #{$DESKTOP}" - puts "--ruby=<ruby_dir> (default: #{$RUBYDIR})" - puts "" -@@ -66,8 +66,8 @@ def update_lib - if line =~ /LOCALE=/ - file[index] = "LOCALE=[ENV['PWD'] + \"/locale\", \"#{$PREFIX + $LOCALE}\"]" - break -- elsif line =~ /PIXMAPS=/ -- file[index] = "PIXMAPS=[ENV['PWD'], \"#{$PREFIX + $PIXMAPS}\"]" -+ elsif line =~ /ICONDIR=/ -+ file[index] = "ICONDIR=[ENV['PWD'], \"#{$PREFIX + $ICONDIR}\"]" - elsif line =~ /RUBYDIR=/ - file[index] = "RUBYDIR=[ENV['PWD'], \"#{$PREFIX + $RUBYDIR}\"]" - break -@@ -87,8 +87,8 @@ ARGV.each do |argument| - $BINDIR = argument[9..-1] - elsif argument[0,9] == "--locale=" - $LOCALE = argument[9..-1] -- elsif argument[0,10] == "--pixmaps=" -- $PIXMAPS = argument[10..-1] -+ elsif argument[0,10] == "--icondir=" -+ $ICONDIR = argument[10..-1] - elsif argument[0,10] == "--desktop=" - $DESKTOP = argument[10..-1] - elsif argument[0,7] == "--ruby=" -@@ -125,7 +125,7 @@ makefile.puts "#This Makefile is automatically created by configure" - makefile.puts "" - makefile.puts "BINDIR=#{$PREFIX}#{$BINDIR}" - makefile.puts "LOCALE=#{$PREFIX}#{$LOCALE}" --makefile.puts "PIXMAPS=#{$PREFIX}#{$PIXMAPS}" -+makefile.puts "ICONDIR=#{$PREFIX}#{$ICONDIR}" - makefile.puts "DESKTOP=#{$PREFIX}#{$DESKTOP}" - makefile.puts "RUBYDIR=#{$PREFIX}#{$RUBYDIR}" - makefile.puts "" -@@ -137,7 +137,7 @@ makefile.puts "\tinstall -D rr_lib.rb $(prefix)$(DESTDIR)$(RUBYDIR)/rr_lib.rb" - - if $GTK2 - makefile.puts "\tinstall -m 755 -D rubyripper_gtk2.rb $(prefix)$(DESTDIR)$(BINDIR)/rrip_gui" -- makefile.puts "\tinstall -D rubyripper_22.png $(prefix)$(DESTDIR)$(PIXMAPS)/rubyripper_22.png" -+ makefile.puts "\tinstall -D rubyripper_22.png $(prefix)$(DESTDIR)$(ICONDIR)/22x22/apps/rubyripper.png" - makefile.puts "\tinstall -D rubyripper.desktop $(prefix)$(DESTDIR)$(DESKTOP)/rubyripper.desktop" - end - -@@ -157,7 +157,7 @@ makefile.puts "\trm $(prefix)$(DESTDIR)$(RUBYDIR)/rr_lib.rb" - - if $GTK2 - makefile.puts "\trm $(prefix)$(DESTDIR)$(BINDIR)/rrip_gui" -- makefile.puts "\trm $(prefix)$(DESTDIR)$(PIXMAPS)/rubyripper_22.png" -+ makefile.puts "\trm $(prefix)$(DESTDIR)$(ICONDIR)/22x22/apps/rubyripper.png" - makefile.puts "\trm $(prefix)$(DESTDIR)$(DESKTOP)/rubyripper.desktop" - end - -@@ -185,7 +185,7 @@ puts "" - puts "Using the following locations for install:" - puts "* Executables: #{$PREFIX}#{$BINDIR}" - puts "* Localization files: #{$PREFIX}#{$LOCALE}" --puts "* Icon file: #{$PREFIX}#{$PIXMAPS}" -+puts "* Icon file: #{$PREFIX}#{$ICONDIR}" - puts "* Desktop file: #{$PREFIX}#{$DESKTOP}" - puts "* Ruby library: #{$PREFIX}#{$RUBYDIR}" - puts "" -diff --git a/rubyripper_gtk2.rb b/rubyripper_gtk2.rb -index 879e155..a12c0ff 100755 ---- a/rubyripper_gtk2.rb -+++ b/rubyripper_gtk2.rb -@@ -15,7 +15,7 @@ - # You should have received a copy of the GNU General Public License - # along with this program. If not, see <http://www.gnu.org/licenses/> - --PIXMAPS=[ENV['PWD'], "/usr/local/share/pixmaps"] -+ICONDIR=[ENV['PWD'], "/usr/local/share/icons/hicolor"] - RUBYDIR=[ENV['PWD'], "/usr/local/lib/ruby/site_ruby/1.8"] - - begin -@@ -51,7 +51,7 @@ attr_reader :change_display, :instances - @instances = {'Preferences' => false, 'Metadata' => false, 'ShortMessage' => false, 'RipStatus' => false, 'DirExists' => false, 'MultipleFreedbHits' => false, 'Summary' => false} - @current_instance = false - @gtk_window = Gtk::Window.new('Rubyripper') -- PIXMAPS.each{|dir| if File.exist?(file = File.join(dir, 'rubyripper_22.png')) : @gtk_window.icon = Gdk::Pixbuf.new(file) ; break end } -+ ICONDIR.each{|dir| if File.exist?(file = File.join(dir, '/22x22/apps/rubyripper.png')) : @gtk_window.icon = Gdk::Pixbuf.new(file) ; break end } - @gtk_window.set_default_size(520, 400) #width, height - - @hbox1 = Gtk::HBox.new(false,5) 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 deleted file mode 100644 index 78ba645a47c8..000000000000 --- a/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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 deleted file mode 100644 index 10ebbafef2d5..000000000000 --- a/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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." |