From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/rubyripper/files: rubyripper-0.5.0-require-rubygems.patch rubyripper-0.5.0-editor-environment.patch |
Date: | Tue, 01 Apr 2008 16:21:24 |
Message-Id: | E1JgjEg-0001ny-6Q@stork.gentoo.org |
1 | yngwin 08/04/01 16:21:22 |
2 | |
3 | Added: rubyripper-0.5.0-require-rubygems.patch |
4 | rubyripper-0.5.0-editor-environment.patch |
5 | Log: |
6 | Version bump for media-sound/rubyripper |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: rubyripper-0.5.0-require-rubygems.patch |
16 | =================================================================== |
17 | --- a/rr_lib.rb 2008-01-23 20:32:09.000000000 +0100 |
18 | +++ b/rr_lib.rb 2008-04-01 17:38:14.000000000 +0200 |
19 | @@ -22,6 +22,7 @@ |
20 | $rr_version = '0.5.0' #application wide setting |
21 | |
22 | begin |
23 | + require 'rubygems' |
24 | require 'gettext' |
25 | rescue LoadError |
26 | puts "RubyGems is not found. Please install ruby-gettext." |
27 | |
28 | |
29 | |
30 | 1.1 media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch |
31 | |
32 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch?rev=1.1&content-type=text/plain |
34 | |
35 | Index: rubyripper-0.5.0-editor-environment.patch |
36 | =================================================================== |
37 | --- a/rubyripper_gtk2.rb 2008-04-01 17:05:12.000000000 +0200 |
38 | +++ b/rubyripper_gtk2.rb 2008-04-01 17:05:59.000000000 +0200 |
39 | @@ -35,10 +35,10 @@ |
40 | end |
41 | |
42 | def editor # look for default editor |
43 | - if installed('mousepad') : return 'mousepad' #Xfce4 editor |
44 | + if ENV['EDITOR'] : return ENV['EDITOR'] |
45 | elsif installed('kwrite') : return 'kwrite' #Kde editor |
46 | elsif installed('gedit') : return 'gedit' #Gnome editor |
47 | - elsif ENV['EDITOR'] : return ENV['EDITOR'] |
48 | + elsif installed('mousepad') : return 'mousepad' #Xfce4 editor |
49 | else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown' |
50 | end |
51 | end |
52 | |
53 | |
54 | |
55 | -- |
56 | gentoo-commits@l.g.o mailing list |