bleskodev / rubyripper

Fork of the original rubyripper from code.google.com/p/rubyripper + some bugs fixes
126 stars 21 forks source link

'gettext/utils.rb' is deprecated. Use gettext/tools.rb #421

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1) Please describe the steps to reproduce the situation:
'make' the source

2) What is the expected output? What do you see instead?
It should be no output. Instead the following warning repeats a few times:
'gettext/utils.rb' is deprecated. Use gettext/tools.rb

3) What version of rubyripper are you using? On what operating system? The
gtk2 of commandline interface?
rubyripper v0.6.0rc1, ruby 1.9.1p376, tried ruby-gettext-2.0.4 and 2.1.0 on 
exherbo linux (amd64) when building both interfaces

4) Is this not already fixed with the latest & greatest code? See for
instructions the Source tab above.
Doesn't look like it

5) Does the problem happen with different discs? If not, please attach
the output of cdparanoia -Q.
N/A

6) Please explain why this change is important for you. Also, how many
users would benefit from this change?
Keeps up to date with ruby/gettext, which benefits anyone who is building 
rubyripper

Please provide any additional information below. The more usefull
information provided, the sooner it will be fixed.

Original issue reported on code.google.com by jeda...@gmail.com on 25 May 2010 at 7:29

GoogleCodeExporter commented 8 years ago
I've seen this message as well. However, when I do as suggested, replace the 
require
'gettext/utils' with 'gettext/tools' it exits with an error immediately. In the 
API
documentation of the ruby-gettext page, it doesn't look like any syntax is 
changed
though. I'll look later for the exact message.

Original comment by boukewou...@gmail.com on 25 May 2010 at 4:21

GoogleCodeExporter commented 8 years ago
This is even more weird than I thought. Output is:

/usr/lib/ruby/gems/1.9.1/gems/gettext-2.1.0/lib/gettext/tools.rb:74:in 
`initialize'
/usr/lib/ruby/gems/1.9.1/gems/gettext-2.1.0/lib/gettext/tools.rb:74:in `open'
/usr/lib/ruby/gems/1.9.1/gems/gettext-2.1.0/lib/gettext/tools.rb:74:in 
`msgmerge'
/usr/lib/ruby/gems/1.9.1/gems/gettext-2.1.0/lib/gettext/tools.rb:136:in 
`update_pofiles'
./configure:85:in `update_lang'
./configure:183:in `block in <main>'
./configure:161:in `each'
./configure:161:in `<main>'
No such file or directory - ./lcale//./oce/po/rubyripper.po

Also, for some reason a directory is made with lcale. So before this weird 
stuff is 
fixed upstream, I will happily ignore the warning.

Original comment by boukewou...@gmail.com on 26 May 2010 at 7:28