App-Music-ChordPro

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      },
      "runtime" : {
         "requires" : {
            "Data::Printer" : "1.001001",
            "File::Copy" : "2.32",
            "File::HomeDir" : "1.004",
            "File::LoadLines" : "1.044",
            "HarfBuzz::Shaper" : "0.026",
            "Image::Info" : "1.41",
            "JSON::PP" : "2.27203",
            "JSON::XS" : "4.03",
            "JavaScript::QuickJS" : "0.18",
            "LWP::Protocol::https" : "6.14",
            "List::Util" : "1.46",
            "Mozilla::CA" : "20230801",
            "Object::Pad" : "0.78",
            "PDF::API2" : "2.043",
            "Pod::Usage" : "2.03",
            "Ref::Util" : "0.204",
            "Scalar::Util" : "1.63",
            "Storable" : "3.08",

META.yml  view on Meta::CPAN

    file: script/chordpro
    version: '6.070'
requires:
  Data::Printer: '1.001001'
  File::Copy: '2.32'
  File::HomeDir: '1.004'
  File::LoadLines: '1.044'
  HarfBuzz::Shaper: '0.026'
  Image::Info: '1.41'
  JSON::PP: '2.27203'
  JSON::XS: '4.03'
  JavaScript::QuickJS: '0.18'
  LWP::Protocol::https: '6.14'
  List::Util: '1.46'
  Mozilla::CA: '20230801'
  Object::Pad: '0.78'
  PDF::API2: '2.043'
  Pod::Usage: '2.03'
  Ref::Util: '0.204'
  Scalar::Util: '1.63'
  Storable: '3.08'

Makefile.PL  view on Meta::CPAN

		     },
 # Always require PDF::API2 or PDF::Builder and Text::Layout.
 PREREQ_PM      => {
		    @pdfapi,

		    'Text::Layout'		  => 0.038,
		    # Optional for Text::Layout; let's have it.
		    'HarfBuzz::Shaper'		  => 0.026,
		    # 'SVGPDF'			  => 0.089,
		    'JSON::PP'			  => 2.27203,
		    'JSON::XS'			  => 4.03,
		    'String::Interpolate::Named'  => 1.030,

		    'File::LoadLines'		  => 1.044,
		    # Optional for File::LoadLines; let's have it.
		    'LWP::Protocol::https'	  => 6.14,
		    'Mozilla::CA'		  => 20230801,

		    'File::HomeDir'		  => 1.004,
		    'Image::Info'		  => 1.41,
		    'List::Util'		  => 1.46,

lib/ChordPro.pm  view on Meta::CPAN

		 $VERSION =~ /_/ ? " (Unsupported development snapshot)" : "",
		 "\n"
		);
    exit $exit if defined $exit;
}

sub app_about {
    my ($fh, $level, $exit) = @_;

    if ( $level > 2 ) {
	require JSON::XS;
	select $fh; $| = 1;	# otherwise no output on MacOS
	print ${fh} ( JSON::XS->new->canonical->
		      # pretty->
		      utf8->convert_blessed->encode(runtime_info()) );
    }
    else {
	print ${fh} <<EndOfAbout,

ChordPro: A lyrics and chords formatting program.

ChordPro will read a text file containing the lyrics of one or many
songs plus chord information. ChordPro will then generate a

lib/ChordPro.pm  view on Meta::CPAN

    };
    eval {
	require JavaScript::QuickJS;
	$vv->("JavaScript::QuickJS");
    };
    my $i = json_parser();
    $vv->( $i->{parser} );
    $p[-1]->{relaxed} = "relaxed" if $i->{relaxed};

    eval {
	require JSON::XS;
	$vv->("JSON::XS");
    };

    $res->{modules} = [ @p ];

    $res->{metadata} = $::config->{metadata}{keys};

    @p = ( qw(title subtitle),
	   ( grep { !/^(sub)?title$/ } sort(@{$::config->{metadata}{keys}//[]}) ),
	   grep { !/^(sub)?title$/ } (keys(%{ChordPro::Song::_directives()})) );
    $res->{directives} = [ @p ];

lib/ChordPro/Config/Data.pm  view on Meta::CPAN

#! perl		#### THIS IS A GENERATED FILE. DO NO MODIFY

package ChordPro::Config::Data;

use JSON::XS qw();
use JSON::Relaxed::Parser qw();
use feature qw(state);

our $VERSION = 6.031;

sub config {
    state $pp = JSON::XS->new->utf8
	->boolean_values( $JSON::Boolean::false, $JSON::Boolean::true );

    $pp->decode( <<'EndOfJSON' );
{"a2crd":{"classifier":"pct_chords","infer-titles":true,"tabstop":"8"},"assets":{},"chord-formats":{"common":"%{root|%{}%{qual|%{}}%{ext|%{}}%{bass|/%{}}|%{name}}","nashville":"%{root|%{}%{qual|<sup>%{}</sup>}%{ext|<sup>%{}</sup>}%{bass|/<sub>%{}</su...
EndOfJSON
}

1;

t/01_prereq.t  view on Meta::CPAN

    diag("Using $pdfapi $pdfapiv for PDF generation");
}
++$test; use_ok( "Text::Layout",   0.038 );
eval {
    require HarfBuzz::Shaper;
    HarfBuzz::Shaper->VERSION(0.026);
    diag( "Shaping enabled (HarfBuzz::Shaper $HarfBuzz::Shaper::VERSION)" );
    1;
} || diag( "Shaping disabled (HarfBuzz::Shaper not found)" );
++$test; use_ok( "JSON::PP",   2.27203 );
++$test; require_ok( "JSON::XS" ); JSON::XS->VERSION(4.03);
++$test; use_ok( "String::Interpolate::Named", 1.030 );
++$test; use_ok( "File::HomeDir", 1.004 );
++$test; use_ok( "File::LoadLines", 1.044 );
++$test; use_ok( "SVGPDF", 0.080 );
++$test; use_ok( "Image::Info", 1.41 );
++$test; use_ok( "List::Util", 1.33 );
++$test; use_ok( "Storable", 3.08 );
++$test; use_ok( "Object::Pad", 0.78 );
++$test; use_ok( "JavaScript::QuickJS", 0.18 );



( run in 1.266 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )