--- libgraphics-colorobject-perl-0.5.0.orig/ColorObject.pm +++ libgraphics-colorobject-perl-0.5.0/ColorObject.pm @@ -1902,7 +1902,9 @@ tie %COLORNAMES, 'Graphics::ColorNames', qw(HTML Windows Netscape X); sub namecolor { - my $name=lc(shift @_); + my $name=shift; + return unless $name; + $name=lc $name; $name=~s/[^\#!%\&a-z0-9]//g; my $col; my $opt=shift @_; --- libgraphics-colorobject-perl-0.5.0.orig/debian/changelog +++ libgraphics-colorobject-perl-0.5.0/debian/changelog @@ -0,0 +1,81 @@ +libgraphics-colorobject-perl (0.5.0-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop explicit Build-Depends: perl-modules-5.22 + Closes: #839023 + * Depends: s/perl/${perl:Depends}/ + + -- Andreas Tille Thu, 12 Jan 2017 19:29:07 +0100 + +libgraphics-colorobject-perl (0.5.0-7) unstable; urgency=low + + * Updated the watch file + * Updated the standards version (no changes needed) + * Moved the VCS-* fields in the control file to HTTPS. + * Moved to source format 1.0 and dgit + + -- Manoj Srivastava Thu, 11 Feb 2016 14:28:09 -0800 + +libgraphics-colorobject-perl (0.5.0-6) unstable; urgency=low + + * Bug fix: "warnings with Perl 5.14", thanks to Herwin Weststrate. This + time, actually do include the code changes required to close this out. + (Closes: #724293). + + -- Manoj Srivastava Sat, 12 Apr 2014 16:16:11 -0700 + +libgraphics-colorobject-perl (0.5.0-5) unstable; urgency=low + + * Updated to new dh based build system + * Bug fix: "warnings with Perl 5.12", thanks to Niko Tyni. No longer + seems to fail to build (Closes: #578938). + + -- Manoj Srivastava Sun, 28 Apr 2013 03:47:04 -0700 + +libgraphics-colorobject-perl (0.5.0-4) unstable; urgency=low + + * [dedd1c5]: [libgraphics-colorobjects-perl]: PREFIX is no longer + mutable, use DESTDIR. Preemptive bug fix. + + -- Manoj Srivastava Sun, 13 Sep 2009 18:29:28 -0500 + +libgraphics-colorobject-perl (0.5.0-3) unstable; urgency=low + + * Updated the location of the development repository for this package + (moved to a public git repository) + * Moved to the new streamlined targets in the build system (makes it + make -j friendly) + + -- Manoj Srivastava Thu, 29 May 2008 23:13:01 -0500 + +libgraphics-colorobject-perl (0.5.0-2) unstable; urgency=low + + * Bug fix: "libgraphics-colorobject-perl: FTBFS with Perl 5.10: the + empty /usr/lib/perl5 is gone", thanks to Niko Tyni. Actually, it was + the fact that the whole /usr/lib heirarchy went away. Closes: #467941 + + -- Manoj Srivastava Tue, 18 Mar 2008 17:55:26 -0500 + +libgraphics-colorobject-perl (0.5.0-1) unstable; urgency=low + + * New upstream release + - added gamut checks and clipping (not all colorspaces supported yet) + - added several color-difference algorithms + - added arbitrary white-points (any temperature from 4000K to 25000K) + - added several predefined white-points, and made others more accurate + - added YUV, YIQ, PhotoYCC spaces + - added documentation + - changed many conversion matrices to be more accurate (from 3 + significant digits to >5) + - bug: HSL_to_RGB incorrect hue round-off produced rare but significant + errors in H (fixed) + - bug: wrong implicit colorspaces in colorbars test caused some tests + to fail (fixed) + + -- Manoj Srivastava Sun, 23 Oct 2005 16:58:10 -0500 + +libgraphics-colorobject-perl (0.4a4-1) unstable; urgency=low + + * New package, initial packaging for Debian. + + -- Manoj Srivastava Sat, 24 Apr 2004 21:38:17 -0500 --- libgraphics-colorobject-perl-0.5.0.orig/debian/compat +++ libgraphics-colorobject-perl-0.5.0/debian/compat @@ -0,0 +1 @@ +9 --- libgraphics-colorobject-perl-0.5.0.orig/debian/control +++ libgraphics-colorobject-perl-0.5.0/debian/control @@ -0,0 +1,27 @@ +Source: libgraphics-colorobject-perl +VCS-Git: https://anonscm.debian.org/git/users/srivasta/debian/libgraphics-colorobject-perl.git +VCS-Browser: https://anonscm.debian.org/gitweb/?p=users/srivasta/debian/libgraphics-colorobject-perl.git +Priority: optional +Section: perl +Homepage: http://search.cpan.org/~aizvorski/Graphics-ColorObject-0.5.0/ColorObject.pm +Maintainer: Manoj Srivastava +Standards-Version: 3.9.7 +Build-Depends-Indep: perl, libmodule-build-perl, libmodule-load-perl, + libgraphics-colornames-perl, debhelper (>= 9.0.0) + +Package: libgraphics-colorobject-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libgraphics-colornames-perl +Description: convert color specifications between color spaces + Use this package to convert between all the common color spaces. As a + pure Perl module, it is not very fast, and so it you want to convert + entire images, this is probably not what you want. The emphasis is on + completeness and accurate conversion. + . + Supported color spaces are: RGB (including sRGB, Rec 601, Rec 709, + ITU, and about a dozen other RGB spaces), CMY, CMYK, HSL, HSV, XYZ, + xyY, Lab, LCHab, Luv, LCHuv, YPbPr, YCbCr. Future support is planned + for YUV, YIQ, YCC and possibly others. + . + Conversion between different RGB working spaces, and between + different white-points, is fully supported. --- libgraphics-colorobject-perl-0.5.0.orig/debian/copyright +++ libgraphics-colorobject-perl-0.5.0/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libgraphics-colorobject-perl +Source: + +Files: * +Copyright: 2003-2004 by Alex Izvorski + 2001-2003 by Alfred Reibenschuh +License: Artistic-1.0 + +Files: debian/* +Copyright: 2013 Manoj Srivastava +License: Artistic-1.0 + +License: Artistic-1.0 + This program is free software; you can redistribute it and/or modify it + under the terms of the "Artistic License" which comes with Debian. + . + THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES + OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + . + On Debian systems, the complete text of the Artistic License + can be found in "/usr/share/common-licenses/Artistic". --- libgraphics-colorobject-perl-0.5.0.orig/debian/docs +++ libgraphics-colorobject-perl-0.5.0/debian/docs @@ -0,0 +1 @@ +README --- libgraphics-colorobject-perl-0.5.0.orig/debian/libgraphics-colorobject-perl.examples +++ libgraphics-colorobject-perl-0.5.0/debian/libgraphics-colorobject-perl.examples @@ -0,0 +1,4 @@ +examples/calculate-xyz-matrices.pl +examples/draw-lab-colorspace.pl +examples/chrom-adaptation-test.pl +examples/convert-color.pl --- libgraphics-colorobject-perl-0.5.0.orig/debian/rules +++ libgraphics-colorobject-perl-0.5.0/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --- libgraphics-colorobject-perl-0.5.0.orig/debian/source/format +++ libgraphics-colorobject-perl-0.5.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- libgraphics-colorobject-perl-0.5.0.orig/debian/source/lintian-overrides +++ libgraphics-colorobject-perl-0.5.0/debian/source/lintian-overrides @@ -0,0 +1 @@ +libgraphics-colorobject-perl source: debian-watch-may-check-gpg-signature --- libgraphics-colorobject-perl-0.5.0.orig/debian/watch +++ libgraphics-colorobject-perl-0.5.0/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 2; this line is compulsory! +version=3 + +https://metacpan.org/release/Graphics-ColorObject .*/Graphics-ColorObject-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian