This is an automated email from the git hooks/post-receive script. js pushed a commit to annotated tag debian/0.003-1 in repository libdynaloader-functions-perl.
commit cad8ab0fd00e1a5fdc4c68627bf731684d4e9b46 Author: Jonas Smedegaard <[email protected]> Date: Sat Oct 28 21:20:20 2017 +0200 New upstream version 0.003 --- Build.PL | 14 +++++++++++++- Changes | 15 +++++++++++++++ MANIFEST | 1 - META.json | 14 ++++++++++---- META.yml | 43 +++++++++++++++++++++++-------------------- Makefile.PL | 35 ----------------------------------- README | 3 ++- SIGNATURE | 25 ++++++++++++------------- lib/DynaLoader/Functions.pm | 36 +++++++++++++++++++----------------- 9 files changed, 94 insertions(+), 92 deletions(-) diff --git a/Build.PL b/Build.PL index ba93b3f..0c6ad07 100644 --- a/Build.PL +++ b/Build.PL @@ -22,6 +22,7 @@ Module::Build->new( }, requires => { "Carp" => 0, + "Config" => 0, "DynaLoader" => 0, "Exporter" => 0, "parent" => 0, @@ -31,7 +32,18 @@ Module::Build->new( }, dynamic_config => 0, meta_add => { distribution_type => "module" }, - create_makefile_pl => "passthrough", + meta_merge => { + "meta-spec" => { version => "2" }, + resources => { + bugtracker => { + mailto => "bug-DynaLoader-Functions". + "\@rt.cpan.org", + web => "https://rt.cpan.org/Public/Dist/". + "Display.html?Name=". + "DynaLoader-Functions", + }, + }, + }, sign => 1, )->create_build_script; diff --git a/Changes b/Changes index 61c4dd7..d948b37 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,18 @@ +version 0.003; 2017-07-31 + + * update linkable-finding code to handle new Windows builds with + variant filename extension for loadable files + + * explicitly load the Config module rather than relying on DynaLoader + to do it + + * no longer include a Makefile.PL in the distribution + + * in documentation, use four-column indentation for all verbatim + material + + * in META.{yml,json}, point to public bug tracker + version 0.002; 2013-08-17 * in the module used for testing, explicitly export symbols, and diff --git a/MANIFEST b/MANIFEST index fe10db3..a3666c1 100644 --- a/MANIFEST +++ b/MANIFEST @@ -4,7 +4,6 @@ Changes MANIFEST META.json META.yml -Makefile.PL README lib/DynaLoader/Functions.pm t/dyna_low.c diff --git a/META.json b/META.json index 9626b74..c1604c9 100644 --- a/META.json +++ b/META.json @@ -4,13 +4,13 @@ "Andrew Main (Zefram) <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.120921", + "generated_by" : "Module::Build version 0.4224", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "DynaLoader-Functions", "prereqs" : { @@ -34,6 +34,7 @@ "runtime" : { "requires" : { "Carp" : "0", + "Config" : "0", "DynaLoader" : "0", "Exporter" : "0", "parent" : "0", @@ -46,14 +47,19 @@ "provides" : { "DynaLoader::Functions" : { "file" : "lib/DynaLoader/Functions.pm", - "version" : "0.002" + "version" : "0.003" } }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "mailto" : "[email protected]", + "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=DynaLoader-Functions" + }, "license" : [ "http://dev.perl.org/licenses/" ] }, - "version" : "0.002" + "version" : "0.003", + "x_serialization_backend" : "JSON::PP version 2.93" } diff --git a/META.yml b/META.yml index f17fc6a..9b585cf 100644 --- a/META.yml +++ b/META.yml @@ -3,35 +3,38 @@ abstract: 'deconstructed dynamic C library loading' author: - 'Andrew Main (Zefram) <[email protected]>' build_requires: - Module::Build: 0 - Test::More: 0 - perl: 5.006 - strict: 0 - warnings: 0 + Module::Build: '0' + Test::More: '0' + perl: '5.006' + strict: '0' + warnings: '0' configure_requires: - Module::Build: 0 - perl: 5.006 - strict: 0 - warnings: 0 + Module::Build: '0' + perl: '5.006' + strict: '0' + warnings: '0' dynamic_config: 0 -generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.120921' +generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: DynaLoader-Functions provides: DynaLoader::Functions: file: lib/DynaLoader/Functions.pm - version: 0.002 + version: '0.003' requires: - Carp: 0 - DynaLoader: 0 - Exporter: 0 - parent: 0 - perl: 5.006 - strict: 0 - warnings: 0 + Carp: '0' + Config: '0' + DynaLoader: '0' + Exporter: '0' + parent: '0' + perl: '5.006' + strict: '0' + warnings: '0' resources: + bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=DynaLoader-Functions license: http://dev.perl.org/licenses/ -version: 0.002 +version: '0.003' +x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff --git a/Makefile.PL b/Makefile.PL deleted file mode 100644 index 4d0231a..0000000 --- a/Makefile.PL +++ /dev/null @@ -1,35 +0,0 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.4007 -require 5.006; - - unless (eval "use Module::Build::Compat 0.02; 1" ) { - print "This module requires Module::Build to install itself.\n"; - - require ExtUtils::MakeMaker; - my $yn = ExtUtils::MakeMaker::prompt - (' Install Module::Build now from CPAN?', 'y'); - - unless ($yn =~ /^y/i) { - die " *** Cannot install without Module::Build. Exiting ...\n"; - } - - require Cwd; - require File::Spec; - require CPAN; - - # Save this 'cause CPAN will chdir all over the place. - my $cwd = Cwd::cwd(); - - CPAN::Shell->install('Module::Build::Compat'); - CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate - or die "Couldn't install Module::Build, giving up.\n"; - - chdir $cwd or die "Cannot chdir() back to $cwd: $!"; - } - eval "use Module::Build::Compat 0.02; 1" or die $@; - - Module::Build::Compat->run_build_pl(args => \@ARGV); - my $build_script = 'Build'; - $build_script .= '.com' if $^O eq 'VMS'; - exit(0) unless(-e $build_script); # cpantesters convention - require Module::Build; - Module::Build::Compat->write_makefile(build_class => 'Module::Build'); diff --git a/README b/README index 7b5a24d..67d3cb8 100644 --- a/README +++ b/README @@ -22,7 +22,8 @@ Andrew Main (Zefram) <[email protected]> COPYRIGHT -Copyright (C) 2011, 2012, 2013 Andrew Main (Zefram) <[email protected]> +Copyright (C) 2011, 2012, 2013, 2017 +Andrew Main (Zefram) <[email protected]> LICENSE diff --git a/SIGNATURE b/SIGNATURE index 8a93aee..7de10ed 100644 --- a/SIGNATURE +++ b/SIGNATURE @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.73. +signed via the Module::Signature module, version 0.81. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -15,22 +15,21 @@ not run its Makefile.PL or Build.PL. Hash: SHA1 SHA1 72acbec5f6a757fc486eb6098bf0d4ff9b40b99d .gitignore -SHA1 c6c15c06fbec1d9b0586eac6c5874dedbecbd045 Build.PL -SHA1 aceacf0961e9ed0bfb35e7d9080c3f7ac2582b93 Changes -SHA1 8240d59cacc33c29e16d72a8f8bae913782ec749 MANIFEST -SHA1 d9aa56ed8b7044d2ca6f91093982b5ab766ee6c8 META.json -SHA1 a1efe30955b4d5c05a1ad3e98cee7907b97af6f9 META.yml -SHA1 0bfa106a64fc680e40507c47cbf461cea3a8b374 Makefile.PL -SHA1 4909499e32502341a440f753a040ea31cc6116c4 README -SHA1 23814afd91fd435b756dc96fa38e3fefa7ed057e lib/DynaLoader/Functions.pm +SHA1 c85a6ff1255c171fca44a6121e7d0be44efc30f5 Build.PL +SHA1 e03d959d16b184b8d67b50706ba6ee7a4d82d021 Changes +SHA1 d72180562d84a62d61ea4982386ed95db4a20ccb MANIFEST +SHA1 20736d686e8afea6dd978d842a4f9432f8c2d02f META.json +SHA1 5061d6cce4044ba5296622d37740ca1d9950afd8 META.yml +SHA1 4e904d13b7b78937d91b61c47b9457e4d2acb4e5 README +SHA1 b004fd96f1124410fc0c613eecb560792a6c4c04 lib/DynaLoader/Functions.pm SHA1 8a3ed5289676357f05592090a09e7ef841b5a476 t/dyna_low.c SHA1 312d487c13a77c08b9cf209a3e97a74506ec17cd t/dyna_low.t SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.12 (GNU/Linux) +Version: GnuPG v1 -iEYEARECAAYFAlIPf6sACgkQOV9mt2VyAVHvaQCfdwhtqWtK5Gfvvs43QZ79zWWG -qakAnAjjAJV17LERBTYFS7EYpweuaGds -=xwD/ +iEYEARECAAYFAll/aq0ACgkQOV9mt2VyAVEpDACeJfbu41oUt3rEgpPCIn7iwqr4 +YLIAn2r8mIXaKS3acyNpb111RfncD6ox +=NEsz -----END PGP SIGNATURE----- diff --git a/lib/DynaLoader/Functions.pm b/lib/DynaLoader/Functions.pm index 19844f0..d69f7a0 100644 --- a/lib/DynaLoader/Functions.pm +++ b/lib/DynaLoader/Functions.pm @@ -4,23 +4,21 @@ DynaLoader::Functions - deconstructed dynamic C library loading =head1 SYNOPSIS - use DynaLoader::Functions qw( - loadable_for_module - linkable_for_loadable linkable_for_module - ); + use DynaLoader::Functions qw( + loadable_for_module + linkable_for_loadable linkable_for_module); - $loadable = loadable_for_module("Acme::Widget"); - @linkable = linkable_for_loadable($loadable); - @linkable = linkable_for_module("Acme::Widget"); + $loadable = loadable_for_module("Acme::Widget"); + @linkable = linkable_for_loadable($loadable); + @linkable = linkable_for_module("Acme::Widget"); - use DynaLoader::Functions - qw(dyna_load dyna_resolve dyna_unload); + use DynaLoader::Functions qw(dyna_load dyna_resolve dyna_unload); - $libh = dyna_load($loadable, { + $libh = dyna_load($loadable, { require_symbols => ["boot_Acme__Widget"], - }); - my $bootfunc = dyna_resolve($libh, "boot_Acme__Widget"); - dyna_unload($libh); + }); + my $bootfunc = dyna_resolve($libh, "boot_Acme__Widget"); + dyna_unload($libh); =head1 DESCRIPTION @@ -37,7 +35,7 @@ package DynaLoader::Functions; use warnings; use strict; -our $VERSION = "0.002"; +our $VERSION = "0.003"; use parent "Exporter"; our @EXPORT_OK = qw( @@ -128,7 +126,8 @@ sub loadable_for_module($) { $modfname) or _croak "Can't locate loadable object ". "for module $modname in \@INC (\@INC contains: @INC)"; - if(_IS_VMS && $Config::Config{d_vms_case_sensitive_symbols}) { + if(_IS_VMS && ((require Config), + $Config::Config{d_vms_case_sensitive_symbols})) { $loadlib = uc($loadlib); } return $loadlib; @@ -156,7 +155,9 @@ additional objects when linking the importing library. my $linkable_finder = { MSWin32 => sub { - if((my $basename = $_[0]) =~ s/\.[Dd][Ll][Ll]\z//) { + require Config; + if((my $basename = $_[0]) =~ + s/\.\Q$Config::Config{dlext}\E\z//oi) { foreach my $suffix (qw(.lib .a)) { my $impname = $basename.$suffix; return ($impname) if -e $impname; @@ -436,7 +437,8 @@ Andrew Main (Zefram) <[email protected]> =head1 COPYRIGHT -Copyright (C) 2011, 2012, 2013 Andrew Main (Zefram) <[email protected]> +Copyright (C) 2011, 2012, 2013, 2017 +Andrew Main (Zefram) <[email protected]> =head1 LICENSE -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdynaloader-functions-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
