[sisyphus] Re: perl-Image-Size

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Вт Июл 29 19:21:43 MSD 2003


On Wed, Jul 23, 2003 at 08:19:53PM +0000, Fred wrote:
> Не подскажет ли кто-нибудь, где живет perl-Image-Size?
> Apt-cache молчит.

В сизифе такого пакета нет, но модуль можно поставить со cpan'а.
Сейчас я это попробую сделать.

НЕ ЗАПУСКАЙТЕ СБОРКУ МОДУЛЕЙ ОТ РУТА!

Ну в общем он хорошо встал.

Если убрать из Image/Size автолоудер, то этот файл можно использовать
как обычный модуль.

$ cpan
...
cpan> test Image::Size
Running test for module Image::Size
Running make for R/RJ/RJRAY/Image-Size-2.992.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/R/RJ/RJRAY/Image-Size-2.992.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/R/RJ/RJRAY/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for
/home/at/.cpan/sources/authors/id/R/RJ/RJRAY/Image-Size-2.992.tar.gz ok
Scanning cache /home/at/.cpan/build for sizes
Image-Size-2.992/
Image-Size-2.992/t/
Image-Size-2.992/t/yasp.swf
Image-Size-2.992/t/bexjdic.tif
Image-Size-2.992/t/pass-1_s.png
Image-Size-2.992/t/xterm.bmp
Image-Size-2.992/t/letter_T.jpg
Image-Size-2.992/t/468x60.psd
Image-Size-2.992/t/all.t
Image-Size-2.992/t/spacer50.xbm
Image-Size-2.992/t/xterm.xpm
Image-Size-2.992/t/pak38.jpg
Image-Size-2.992/t/letter_N.ppm
Image-Size-2.992/t/lexjdic.tif
Image-Size-2.992/t/test.gif
Image-Size-2.992/MANIFEST
Image-Size-2.992/imgsize
Image-Size-2.992/README.Win32
Image-Size-2.992/Size.pm
Image-Size-2.992/ChangeLog
Image-Size-2.992/README
Image-Size-2.992/Makefile.PL

  CPAN.pm: Going to build R/RJ/RJRAY/Image-Size-2.992.tar.gz

Checking if your kit is complete...
Looks good
Generating perl-Image-Size.spec...
Generating rpmrc...
Generating rpmmacros...
Writing Makefile for Image::Size
cp Size.pm blib/lib/Image/Size.pm
AutoSplitting blib/lib/Image/Size.pm (blib/lib/auto/Image/Size)
cp imgsize blib/script/imgsize
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/imgsize
Manifying blib/man1/imgsize.1
Manifying blib/man3/Image::Size.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all....ok
All tests successful.
Files=1, Tests=16,  0 wallclock secs ( 0.18 cusr +  0.02 csys =  0.20
CPU)
  /usr/bin/make test -- OK

cpan> ^D
Lockfile removed.

$ cd ~/.cpan/build/Image-Size-2.992
$ sudo make install
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/psdsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/mngsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/jpegsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/gifsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/bmpsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/swfsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/autosplit.ix
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/tiffsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/xbmsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/xpmsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/ppmsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/pcdsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/pngsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/auto/Image/Size/swfmxsize.al
Installing /usr/local/lib/perl5/site_perl/5.8.1/Image/Size.pm
Installing /usr/local/man/man1/imgsize.1
Installing /usr/local/man/man3/Image::Size.3
Installing /usr/bin/imgsize
Writing /usr/local/lib/perl5/site_perl/5.8.1/i386-linux/auto/Image/Size/.packlist
Appending installation info to /usr/lib/perl5/i386-linux/perllocal.pod
$ perl -MImage::Size -e1
$

----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20030729/37057795/attachment-0010.bin>


Подробная информация о списке рассылки Sisyphus