Bug 750053 - Tk widget demos don't work
Summary: Tk widget demos don't work
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Tk
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-30 12:52 UTC by Richard Kennedy
Modified: 2012-08-07 14:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-07 14:54:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
example patch to fix widget (787 bytes, patch)
2011-10-30 12:52 UTC, Richard Kennedy
no flags Details | Diff

Description Richard Kennedy 2011-10-30 12:52:22 UTC
Created attachment 530826 [details]
example patch to fix widget

Description of problem:

The Tk widget demos in /usr/share/doc/perl-Tk-804.028 don't work.

Version-Release number of selected component (if applicable):

perl-Tk-804.028

How reproducible:


Steps to Reproduce:
1.cd /usr/share/doc/perl-Tk-804.028
2. ./widget
3.
  
Actual results:
error message :-
Can't locate WidgetDemo.pm in @INC (@INC contains: @/widget_lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./widget line 10.
BEGIN failed--compilation aborted at ./widget line 10.

Expected results:
working demos :)

Additional info:
It looks as though the widget perl program has not been installed correctly. It contains references to "@demopath@" which I guess should have been changed during a proper install. The attached patch makes these demos work for me :)

Comment 1 Ralf Corsepius 2011-10-30 14:02:32 UTC
files in /usr/share/doc are meant to be "documentation" and are not required to work out of the box.

Independently of this, we should check what's happening in this case.

If all else fail, we should simply remove these files.

Comment 2 Richard Kennedy 2011-10-30 14:20:56 UTC
Well - it is a important part of the Perl/Tk docs that it ships with a set of working examples! I'd hate to see them go missing altogether as the rest of the Tk docs are a bit sparse.

Maybe these demos could be moved into their own package, and installed somewhere else ? 

regards
Richard

Comment 3 Ralf Corsepius 2011-10-31 07:26:26 UTC
(In reply to comment #2)
> Well - it is a important part of the Perl/Tk docs that it ships with a set of
> working examples! I'd hate to see them go missing altogether as the rest of the
> Tk docs are a bit sparse.

Understood, but the issues you are reporting must have been present for quite some time ;)

> Maybe these demos could be moved into their own package, and installed
> somewhere else ? 

I meanwhile had a deeper look into this issue. 

All the issues you report originate from upstream shipping the demos as integral part of the perl-Tk package, while the Fedora package has changes applied which try to move demos into /usr/share/doc. Unfortunately, these changes are incomplete and don't work (they are causing the problems you are reporting).

So, yes, reverting these Fedora changes and splitting the demos into a separate subpackage will likely work - Unfortunately, upstream's choice of installation directories them is controversial and would need require thought.

An alternative would be to make the Fedora-specific changes working.

Comment 4 Fedora End Of Life 2012-08-07 14:54:05 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.