Alien-proj

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


1.27 2023-09-25
    - Share builds: fix linking of system libtiff,
      probably caused by a CMake change in Proj.

1.26 2023-09-25
    - Share builds: add bin dirs to PATH on Windows

1.25 2022-11-26
    - Share builds: use https for downloads
    - Noisier tests for debug purposes

1.24 2022-03-30
    - Fix dependency versions in Makefile.PL

1.23 2022-03-27
    - Share builds: Set rpath in resulting binaries
    - Disable global setting of $ENV{{DY}LD_LIBRARY_PATH}
      as it did not work and the rpath change is a better fix.

1.22 2022-03-22

LICENSE  view on Meta::CPAN

   covered by this License.

   b) Accompany the object code with a copy of the GNU GPL and this license
   document.

  4. Combined Works.

  You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

   a) Give prominent notice with each copy of the Combined Work that
   the Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the Combined Work with a copy of the GNU GPL and this license
   document.

   c) For a Combined Work that displays copyright notices during

alienfile  view on Meta::CPAN

    public_l => 1,
  );


  if ($on_windows) {
    #  there are issues with strawberry perl's gcc
    plugin 'Prefer::BadVersion' => '7.1.0';
  }
  
  start_url 'https://download.osgeo.org/proj/';
  #start_url "file://$base_dir";  #  debug
  plugin Download => (
    filter  => qr/^proj-([0-9\.]+)\.tar\.gz$/,
    version => qr/^proj-([0-9\.]+)\.tar\.gz$/,
  );

  my $proj_version = get_proj_version() // 'not yet defined';
  say "Downloaded proj version is $proj_version";
  
  die "Downloaded proj version $proj_version is too low "
      . "(should be >= $min_target_version).\n"

alienfile  view on Meta::CPAN

    #  (although the proj configure script does not currently use it)
    @PKG_CONFIG_PATH
      = map {my $r=$_; $r=~s{Alien-curl[/\\]lib[/\\]pkgconfig}{Alien-curl/dynamic/pkgconfig}i; $r}
        @PKG_CONFIG_PATH;
    $ENV{PKG_CONFIG_PATH} = join ':', @PKG_CONFIG_PATH;
    say $ENV{PKG_CONFIG_PATH};
    return;
}

sub pause {
    return;  #  re-enable in case of debug
    return if $on_automated_rig;
    return if !$on_windows;

    say "CONTINUE?";
    my $response = <>;
    while (not $response =~ /yes/) {
        $response = <>;
    }
}



( run in 0.944 second using v1.01-cache-2.11-cpan-49f99fa48dc )