Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 26064
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: Nobody in particular
Requestors: steve [...] silug.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.56
Fixed in: (no value)



Subject: rgb.txt is in /usr/share/X11 on Fedora
Recent versions of Fedora (using X.org 4) have rgb.txt in /usr/share/X11/. /usr/lib/X11/rgb.txt is hard-coded (or in a search list) in lib/Imager/Color.pm and t/t15color.t. I've worked around this in the Fedora package by doing s,/usr/lib/X11/,/usr/share/X11/, on both files, but I'm sure you'll want a better long-term solution.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #26064] rgb.txt is in /usr/share/X11 on Fedora
Date: Tue, 3 Apr 2007 10:03:29 +1000
To: via RT <bug-Imager [...] rt.cpan.org>
From: tonyc [...] cpan.org
On Mon, Apr 02, 2007 at 07:07:07PM -0400, via RT wrote: Show quoted text
> Recent versions of Fedora (using X.org 4) have rgb.txt > in /usr/share/X11/. /usr/lib/X11/rgb.txt is hard-coded (or in a search > list) in lib/Imager/Color.pm and t/t15color.t. > > I've worked around this in the Fedora package by doing > s,/usr/lib/X11/,/usr/share/X11/, on both files, but I'm sure you'll > want a better long-term solution.
Thanks for the report. I'll add /usr/share/X11/rgb.txt to the search path and make sure the test matches. Tony
On Mon Apr 02 19:07:06 2007, STEVE wrote: Show quoted text
> Recent versions of Fedora (using X.org 4) have rgb.txt > in /usr/share/X11/. /usr/lib/X11/rgb.txt is hard-coded (or in a search > list) in lib/Imager/Color.pm and t/t15color.t. > > I've worked around this in the Fedora package by doing > s,/usr/lib/X11/,/usr/share/X11/, on both files, but I'm sure you'll > want a better long-term solution.
Thanks for your report. This has been fixed in Imager 0.58. Tony