Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56083 - babygimp 0.41 fails to open due to multiple typos - possible perl version problem
Summary: babygimp 0.41 fails to open due to multiple typos - possible perl version pro...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 12:40 UTC by Stephen Olszewski
Modified: 2005-02-11 15:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Typo corrections patch. (babygimp.patch,4.32 KB, patch)
2005-02-05 15:41 UTC, Michael Clay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Olszewski 2004-07-04 12:40:11 UTC
Perl v.5.8.4
perl-tk v.804.027

When attempting to open babygimp 0.41, these messages appear, and babygimp fails to start:

-----------

main::adaptive_floodfill() called too early to check prototype at /usr/bin/babygimp line 3804.
main::adaptive_floodfill() called too early to check prototype at /usr/bin/babygimp line 3808.
main::adaptive_floodfill() called too early to check prototype at /usr/bin/babygimp line 3812.
main::adaptive_floodfill() called too early to check prototype at /usr/bin/babygimp line 3816.
main::load_plugins() called too early to check prototype at /usr/bin/babygimp line 445.
main::build_plugin_menu() called too early to check prototype at /usr/bin/babygimp line 1106.
Name "Load::VAR1" used only once: possible typo at /usr/bin/babygimp line 6886.
Scanning plugins ... loading 0 plugins ... done
unknown option "resolution" at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/Widget.pm line 205.
 at /usr/bin/babygimp line 659

---------------

Workaround:

line 1:
change "/usr/bin/perl -w" -> "/usr/bin/perl"

multiple lines:
change instances of "resolution" -> "-resolution"

multiple lines:
change instances of "anchor" -> "-anchor"

Here is the full diff between broken and edited working version:

--------

1c1
< #!/usr/bin/perl -w
---
> #!/usr/bin/perl
662c662
<                   -from => 0, -to => 5, resolution => 1)
---
>                   -from => 0, -to => 5, -resolution => 1)
671c671
<                   -from => 0, -to => 1, resolution => 0.01)
---
>                   -from => 0, -to => 1, -resolution => 0.01)
724c724
<                 -from => 0, -to => 1, -length => 100, resolution => 0.01)
---
>                 -from => 0, -to => 1, -length => 100, -resolution => 0.01)
952c952
< $pixelinfo = $drawingframe->Label(anchor => 'w')
---
> $pixelinfo = $drawingframe->Label(-anchor => 'w')
5270c5270
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5274c5274
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5278c5278
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5282c5282
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5286c5286
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5291c5291
<              -from => 0, -to => 2, -length => 200, resolution => 0.05)
---
>              -from => 0, -to => 2, -length => 200, -resolution => 0.05)
5538c5538
<              -from => 0, -to => 4, resolution => 1,
---
>              -from => 0, -to => 4, -resolution => 1,
5547c5547
<              -from => 0, -to => 4, resolution => 1,
---
>              -from => 0, -to => 4, -resolution => 1,
5655c5655
<              -from => 1, -to => 3, resolution => 1,
---
>              -from => 1, -to => 3, -resolution => 1,
Comment 1 Daniel Webert 2004-07-04 13:56:55 UTC
we also need a metadata.xml for this package
Comment 2 Michael Clay 2005-02-05 15:41:53 UTC
Created attachment 50489 [details, diff]
Typo corrections patch.

Fixed typos as mentioned in bug description
Comment 3 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-11 15:13:06 UTC
Package is not mantained anymore by upstream since 2001. Removed from the tree.