Bug 19278

Summary: thumbpdf fails
Product: [Retired] Red Hat Linux Reporter: Lindsay Todd <toddr>
Component: tetexAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-27 20:37:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lindsay Todd 2000-10-17 17:36:17 UTC
The thumbpdf file, used to insert thumbnails into pdflatex documents, has
two problems.

First, a perl problem at line 23.  I'm not a perl expert, so there is
probably a better fix than this patch,
but it works for me:

*** /usr/bin/thumbpdf.OLD	Mon Oct  2 15:11:08 2000
--- /usr/bin/thumbpdf	Mon Oct  2 15:11:29 2000
***************
*** 20,26 ****
  # for installation purposes.
  #
  my $file        = "thumbpdf.pl";
! my $program     = uc($file =~ /^(\w+)/, $1);
  my $version     = "1.11";
  my $date        = "2000/01/19";
  my $author      = "Heiko Oberdiek";
--- 20,26 ----
  # for installation purposes.
  #
  my $file        = "thumbpdf.pl";
! my $program     = uc($file);
  my $version     = "1.11";
  my $date        = "2000/01/19";
  my $author      = "Heiko Oberdiek";


Second, pdftex was linked to the wrong version of PNG.  I see that others
have previously reported this problem.

Comment 1 Jeff Johnson 2000-12-27 20:37:10 UTC
Fixed in tetex-1.0.7-9.