Skip to content

Commit

Permalink
move Image2D into Basic/
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 2, 2024
1 parent 86feb83 commit a3fb4f7
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 28 deletions.
3 changes: 3 additions & 0 deletions Basic/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ lib/PDL/IO/Misc.xs
lib/PDL/IO/Pnm.c
lib/PDL/IO/Pnm.pm
lib/PDL/IO/Pnm.xs
lib/PDL/Image2D.c
lib/PDL/Image2D.pm
lib/PDL/Image2D.xs
lib/PDL/ImageND.c
lib/PDL/ImageND.pm
lib/PDL/ImageND.xs
Expand Down
6 changes: 6 additions & 0 deletions Libtmp/Image2D/image2d.pd → Basic/lib/PDL/Image2D.pd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ use strict;
use warnings;
use PDL::Types qw(ppdefs_all);
my $A = [ppdefs_all];

{ no warnings 'once'; # pass info back to Makefile.PL
$PDL::Core::Dev::EXTRAS{$::PDLMOD}{OBJECT} .= join '', map " $::PDLBASE/$_\$(OBJ_EXT)", qw(rotate resample select misc);
$PDL::Core::Dev::EXTRAS{$::PDLMOD}{INC} .= qq{ "-I$::PDLBASE"};
}

pp_addpm({At=>'Top'},<<'EOD');
use strict;
use warnings;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Libtmp/Image2D/t/image2d.t → Basic/t/image2d.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use Test::PDL;

# compare fft convolutions with direct method
{
my $pa = rfits("../../Basic/lib/PDL/Demos/m51.fits");
my $pa = rfits("lib/PDL/Demos/m51.fits");
{
my $pk = ones(5,5);
my $pb = conv2d($pa,$pk);
Expand Down
3 changes: 0 additions & 3 deletions Libtmp/Image2D/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions Libtmp/Image2D/Makefile.PL

This file was deleted.

15 changes: 7 additions & 8 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ Basic/lib/PDL/FFT.pd
Basic/lib/PDL/FFT/fftn.c
Basic/lib/PDL/FFT/fftn.h
Basic/lib/PDL/Graphics.pod
Basic/lib/PDL/Image2D.pd
Basic/lib/PDL/Image2D/misc.c
Basic/lib/PDL/Image2D/resample.c
Basic/lib/PDL/Image2D/resample.h
Basic/lib/PDL/Image2D/rotate.c
Basic/lib/PDL/Image2D/select.c
Basic/lib/PDL/ImageND.pd
Basic/lib/PDL/ImageRGB.pd
Basic/lib/PDL/ImageRGB/pdlppm.h
Expand Down Expand Up @@ -183,6 +189,7 @@ Basic/t/flexraw-iotypes.t
Basic/t/flexraw.t
Basic/t/flexraw_fortran.t
Basic/t/func.pdl
Basic/t/image2d.t
Basic/t/imagend.t
Basic/t/imagergb.t
Basic/t/inline-with.t
Expand Down Expand Up @@ -374,14 +381,6 @@ Libtmp/GSL/t/gsl_rng.t
Libtmp/GSL/t/gsl_sf.t
Libtmp/GSL/t/stats_distr.t
Libtmp/GSL/typemap
Libtmp/Image2D/image2d.pd
Libtmp/Image2D/Makefile.PL
Libtmp/Image2D/misc.c
Libtmp/Image2D/resample.c
Libtmp/Image2D/resample.h
Libtmp/Image2D/rotate.c
Libtmp/Image2D/select.c
Libtmp/Image2D/t/image2d.t
Libtmp/Makefile.PL
Libtmp/Simplex/Demo.pm
Libtmp/Simplex/Makefile.PL
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RCS
^Basic/lib/PDL/FFT(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/IO/Misc(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/IO/Pnm(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/Image2D(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/ImageND(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/ImageRGB(\.(pm|xs|c)$|-pp-)
^Basic/lib/PDL/Math(\.(pm|xs|c)$|-pp-)
Expand Down Expand Up @@ -77,7 +78,6 @@ RCS
^Libtmp/GSL/lib/PDL/GSL/RNG(\.(pm|xs|c)$|-pp-)
^Libtmp/GSL/lib/PDL/GSL/SF(\.(pm|xs|c)$|-pp-)
^Libtmp/GSL/lib/PDL/Stats/Distr(\.(pm|xs|c)$|-pp-)
^Libtmp/Image2D/Image2D\..*
^Libtmp/Slatec/Slatec..*
^Libtmp/Slatec/slatec/.*\.c$
^Libtmp/Transform-Proj4/Proj4\..*
Expand Down

0 comments on commit a3fb4f7

Please sign in to comment.