Image-PNG-QRCode

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

Changes
examples/qrpng-data.pl
examples/qrpng.pl
examples/synopsis.pl
image-png-qrcode-perl.c
inc/CheckForLibPng.pm
lib/Image/PNG/QRCode.pm
lib/Image/PNG/QRCode.pod
Makefile.PL
MANIFEST			This list of files
MANIFEST.SKIP
ppport.h
QRCode.xs
qrencode.c
qrencode.h
qrpng.c

Makefile.PL  view on Meta::CPAN

use strict;
use warnings;
use ExtUtils::MakeMaker;
use FindBin '$Bin';
use lib "$Bin/inc";
use CheckForLibPng;

my $pm = 'lib/Image/PNG/QRCode.pm';
my $pod = 'lib/Image/PNG/QRCode.pod';
my $github = 'github.com/benkasminbullock/image-png-qrcode';
my $repo = "https://$github";

my $verbose;# = 1;

my $vars = check_for_libpng (verbose => $verbose);

inc/CheckForLibPng.pm  view on Meta::CPAN

#
# - Remove "Template" stuff
# - Change file to edit
# - Debugging messages all go through "msg".
#
# 0.01 2017-06-28
#
# Old method of checking for libpng recovered from Image::PNG::Libpng
# git commit 50c6032e3f61624736159930026f2b2a306fcd35.

package CheckForLibPng;
use parent Exporter;
our @EXPORT = qw/check_for_libpng/;
use warnings;
use strict;
use utf8;
use FindBin '$Bin';
use Carp;

our $VERSION = '0.03';

inc/CheckForLibPng.pm  view on Meta::CPAN

"libpng". Somehow or other this didn't work out. If you don't have
libpng on your system, sorry but you need to install this module. 

If you are on Ubuntu Linux, you probably need to do something like

    sudo aptitude install libpng-dev

to install the header file "png.h" for libpng into your system.

If you think you have libpng on your system, please edit the file
"inc/CheckForLibPng.pm" and run "perl Makefile.PL" again. The relevant
lines are right at the top of the file,

my $png_lib_dir;
my $png_include_dir;

Edit these lines to wherever your libpng and png.h files
respectively are to be found, for example

my $png_lib_dir = '/some/strange/directory';
my $png_include_dir = '/somewhere/nobody/knows';



( run in 0.359 second using v1.01-cache-2.11-cpan-0a6323c29d9 )