view release on metacpan or search on metacpan
xt/author/version.t view on Meta::CPAN
use YAML qw( LoadFile );
use FindBin;
use File::Spec;
plan skip_all => "test not built yet (run dzil test)"
unless -e dir( $FindBin::Bin)->parent->parent->file('Makefile.PL')
|| -e dir( $FindBin::Bin)->parent->parent->file('Build.PL');
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/version.t view on Meta::CPAN
use YAML qw( LoadFile );
use FindBin;
use File::Spec;
plan skip_all => "test not built yet (run dzil test)"
unless -e dir( $FindBin::Bin)->parent->parent->file('Makefile.PL')
|| -e dir( $FindBin::Bin)->parent->parent->file('Build.PL');
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/CImg.pm view on Meta::CPAN
package Alien::CImg;
use strict;
use warnings;
our $VERSION = '0.01';
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
$version_base );
my %paths_changed;
# Turn paths from PYTHON_FRAMEWORK_PREFIX to @rpath/Python.framework.
my $frameworks_path = path(PYTHON_FRAMEWORK_PREFIX)->parent;
my $rpathify = sub {
my ($path) = @_;
return unless index($path, PYTHON_FRAMEWORK_PREFIX . '/') == 0;
return File::Spec->catfile(
'@rpath',
$paths_changed{$change_path} = 1;
$change_path->chmod('u+w');
my $path_rel_ver = $change_path->relative( $version_base );
if( $path_rel_ver->parent eq 'bin' || $path_rel_ver eq 'Resources/Python.app/Contents/MacOS/Python' ) {
my $exec_path_rpath = File::Spec->catfile(
'@executable_path',
$base->relative($change_path->parent),
);
$build->log("-add_rpath for $change_path: $exec_path_rpath\n");
IPC::Cmd::run( command => [
qw(install_name_tool -add_rpath),
$exec_path_rpath,
my $framework_dst_dir = path('Python.framework');
$framework_dst_dir->mkpath;
File::Copy::Recursive::rmove( "$framework_src_dir/Payload/*", $framework_dst_dir );
$framework_src_dir->remove_tree( { safe => 0 } );
macos_relocatable_python($build, $framework_dst_dir->parent);
};
plugin 'Build::Copy';
after build => sub {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Capstone.pm view on Meta::CPAN
package Alien::Capstone;
use parent 'Alien::Base';
use Alien::Capstone::ConfigData;
our $VERSION = '0.07';
sub is_installed {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Chipmunk.pm view on Meta::CPAN
package Alien::Chipmunk;
use strict;
use warnings;
use parent qw(Alien::Base);
our $VERSION = '0.001002';
$VERSION = eval $VERSION;
1;
view all matches for this distribution
view release on metacpan or search on metacpan
cp/codepress/codepress.js view on Meta::CPAN
for(var i=0,n=t.length;i<n;i++) {
if(t[i].className.match('codepress')) {
id = t[i].id;
t[i].id = id+'_cp';
eval(id+' = new CodePress(t[i])');
t[i].parentNode.insertBefore(eval(id), t[i]);
}
}
}
if(window.attachEvent) window.attachEvent('onload',CodePress.run);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/DDC/Concordance.pm view on Meta::CPAN
package Alien::DDC::Concordance;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.007';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
my $cwd = Cwd::cwd();
my $sym = "${who}::AUTOLOAD";
$sym->{$cwd} = sub {
my $pwd = Cwd::cwd();
if ( my $code = $sym->{$pwd} ) {
# Delegate back to parent dirs
goto &$code unless $cwd eq $pwd;
}
$$sym =~ /([^:]+)$/ or die "Cannot autoload $who - $sym";
my $method = $1;
if ( uc($method) eq $method ) {
view all matches for this distribution
view release on metacpan or search on metacpan
DjVuLibre.pm view on Meta::CPAN
package Alien::DjVuLibre;
use parent qw(Alien::Base);
use strict;
use warnings;
our $VERSION = 0.07;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Doxyparse.pm view on Meta::CPAN
package Alien::Doxyparse;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.17';
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/DuckDB.pm view on Meta::CPAN
package Alien::DuckDB;
use strict;
use warnings;
use parent qw( Alien::Base );
use 5.008004;
our $VERSION = '0.03';
1;
view all matches for this distribution
view release on metacpan or search on metacpan
ElectronModuleBuild.pm view on Meta::CPAN
use File::Spec::Functions qw(splitpath);
use IO::File;
use IO::Uncompress::Unzip qw($UnzipError);
use File::Path qw(mkpath);
use parent 'Module::Build';
my $electron_version = '2.0.17';
my $electron_archive = 'electron.zip';
ElectronModuleBuild.pm view on Meta::CPAN
my $self = shift;
if ($^O =~ /darwin/i) {
## ExtUtils::Install appears to break Electron.App - maybe doesn't copy some meta-data or something?
$self->depends_on('build'); ## So that the parent class ACTION_install won't invoke it again
print "WARNING: Due to Mac OS X lameness, we are removing the electron binaries from the blib directory before install. You will have to to re-build if you want to use this local blib.\n";
system("rm -rf blib/lib/auto/share/dist/Alien-Electron/");
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/ModuleBuild.pm view on Meta::CPAN
package My::ModuleBuild;
use strict;
use warnings;
use parent 'Alien::Base::ModuleBuild';
use File::Spec;
sub alien_check_installed_version {
my($self) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/FFTW3.pm view on Meta::CPAN
use strict;
use warnings;
# $VERSION is here for CPAN to parse -- but there is a sub below to pull the fftw library version.
our $VERSION = '0.04';
use parent 'Alien::Base';
our $pkgconfig;
BEGIN {
if ($^O eq 'MSWin32') {
# no 'which' on MS Windows but 'pkg-config' might be installed
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/FluentBit.pm view on Meta::CPAN
package Alien::FluentBit;
our $VERSION = '0.01'; # VERSION
use strict;
use warnings;
use parent qw( Alien::Base );
require File::Spec::Functions;
# ABSTRACT: Locate libfluent-bit.so and fluent-bit binaries, or install from source
sub fluentbit {
view all matches for this distribution
view release on metacpan or search on metacpan
src/Source/FreeImage.h view on Meta::CPAN
// RescaleEx options ---------------------------------------------------------
// Constants used in FreeImage_RescaleEx
#define FI_RESCALE_DEFAULT 0x00 //! default options; none of the following other options apply
#define FI_RESCALE_TRUE_COLOR 0x01 //! for non-transparent greyscale images, convert to 24-bit if src bitdepth <= 8 (default is a 8-bit greyscale image).
#define FI_RESCALE_OMIT_METADATA 0x02 //! do not copy metadata to the rescaled image
#ifdef __cplusplus
extern "C" {
src/Source/FreeImage.h view on Meta::CPAN
DLL_API unsigned DLL_CALLCONV FreeImage_GetGreenMask(FIBITMAP *dib);
DLL_API unsigned DLL_CALLCONV FreeImage_GetBlueMask(FIBITMAP *dib);
DLL_API unsigned DLL_CALLCONV FreeImage_GetTransparencyCount(FIBITMAP *dib);
DLL_API BYTE * DLL_CALLCONV FreeImage_GetTransparencyTable(FIBITMAP *dib);
DLL_API void DLL_CALLCONV FreeImage_SetTransparent(FIBITMAP *dib, BOOL enabled);
DLL_API void DLL_CALLCONV FreeImage_SetTransparencyTable(FIBITMAP *dib, BYTE *table, int count);
DLL_API BOOL DLL_CALLCONV FreeImage_IsTransparent(FIBITMAP *dib);
DLL_API void DLL_CALLCONV FreeImage_SetTransparentIndex(FIBITMAP *dib, int index);
DLL_API int DLL_CALLCONV FreeImage_GetTransparentIndex(FIBITMAP *dib);
DLL_API BOOL DLL_CALLCONV FreeImage_HasBackgroundColor(FIBITMAP *dib);
DLL_API BOOL DLL_CALLCONV FreeImage_GetBackgroundColor(FIBITMAP *dib, RGBQUAD *bkcolor);
DLL_API BOOL DLL_CALLCONV FreeImage_SetBackgroundColor(FIBITMAP *dib, RGBQUAD *bkcolor);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GCrypt.pm view on Meta::CPAN
package Alien::GCrypt;
our $AUTHORITY = 'cpan:AJGB';
$Alien::GCrypt::VERSION = '1.6.5.0';
use Alien::GPG::Error;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GEOS.pm view on Meta::CPAN
use warnings;
our $VERSION = 0.01;
$VERSION = eval $VERSION;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GHTTP.pm view on Meta::CPAN
use warnings;
our $VERSION = '0.005';
$VERSION = eval $VERSION;
use parent 'Alien::Base';
1;
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GPG/Error.pm view on Meta::CPAN
use strict;
use warnings;
package Alien::GPG::Error;
our $AUTHORITY = 'cpan:AJGB';
$Alien::GPG::Error::VERSION = '1.21.0';
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Gfsm.pm view on Meta::CPAN
package Alien::Gfsm;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.002';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GfsmXL.pm view on Meta::CPAN
package Alien::GfsmXL;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.004';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Gnuplot.pm view on Meta::CPAN
package Alien::Gnuplot;
use strict;
our $DEBUG = 0; # set to 1 for some debugging output
use parent qw( Alien::Base );
use File::Spec;
use File::Temp qw/tempfile/;
use File::Which;
use Time::HiRes qw/usleep/;
lib/Alien/Gnuplot.pm view on Meta::CPAN
##############################
# Execute the executable to make sure it's really gnuplot, and parse
# out its reported version. This is complicated by gnuplot's shenanigans
# with STDOUT and STDERR, so we fork and redirect everything to a file.
# The parent process gives the daughter 2 seconds to report progress, then
# kills it dead.
my($pid);
my ($undef, $file) = tempfile();
# Create command file
lib/Alien/Gnuplot.pm view on Meta::CPAN
exit(1);
};
print STDERR "Alien::Gnuplot: Unknown problems spawning '$exec_path' to probe gnuplot.\n";
exit(2); # there was a problem!
} else {
# parent
# Assume we're more POSIX-compliant...
if($DEBUG) { print "waiting for pid $pid (up to 20 iterations of 100ms)"; flush STDOUT; }
for (1..20) {
if($DEBUG) { print "."; flush STDOUT; }
if(waitpid($pid,WNOHANG)) {
lib/Alien/Gnuplot.pm view on Meta::CPAN
if($pid) {
if( $DEBUG) { print "gnuplot didn't complete. Killing it dead...\n"; flush STDOUT; }
kill 9,$pid; # zap
waitpid($pid,0); # reap
}
} #end of parent case
} else {
# fork returned undef - error.
die "Alien::Gnuplot: Couldn't fork to test gnuplot! ($@)\n";
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GtkNodes.pm view on Meta::CPAN
# ABSTRACT: Find or install GtkNodes
our $VERSION = '0.005';
use parent qw/ Alien::Base /;
use Role::Tiny::With qw/ with /;
use Env qw/ @GI_TYPELIB_PATH /;
use DynaLoader;
use File::Spec;
view all matches for this distribution
view release on metacpan or search on metacpan
1.06 22.04.2007
- fix strict mode when autoSuggest=false
1.05 18.04.2007
- fixes from Jean-Christophe (parentOffset, set_datasource)
1.04 06.04.2007
- bug fixes && refactoring some details in autocompleter
- added option ANTIREGEX in KeyMap
- added PAGE_UP/DOWN in choiceList and option scrollCount
view all matches for this distribution
view release on metacpan or search on metacpan
0.06 2023-01-27
- support AUR packaging - thanks @micwoj92
0.05 2019-04-27
- apparently both BUILD_REQUIRES *and* CONFIGURE_REQUIRES are needed
0.04 2019-04-26
- handle no . in @INC - thanks @wlmb for report
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/HIDAPI.pm view on Meta::CPAN
package Alien::HIDAPI;
# ABSTRACT: Perl distribution for HIDAPI
our $VERSION = '0.10'; # VERSION
use parent 'Alien::Base';
=pod
=encoding utf8
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/HTSlib.pm view on Meta::CPAN
$Alien::HTSlib::VERSION = '0.03';
use strict;
use warnings;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Hush.pm view on Meta::CPAN
Alien::Hush - Easily find or install the Hush cryptocoin full node
=head1 DESCRIPTION
Hush is a privacy coin that is the grandchild of Bitcoin and the
daughter of Zcash. In addition to *transparent* taddr's from the
Bitcoin world, there is now *shielded* addresses called zaddr's,
which are protected by Zero Knowledge mathematics known as zkSNARKs.
Learn more at the official Hush website: https://myhush.org
view all matches for this distribution