Update to v0.38.
- Do not depend on libgif - there are bugs which cause Imager to crash or behave strangely after reading or writing gif images. Assume that we do not want to link with gif to avoid port interactiveness in the "libs" flavor.
This commit is contained in:
parent
398bbc895d
commit
a8e2af9e46
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2001/05/10 12:08:57 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2001/05/22 00:31:54 pvalchev Exp $
|
||||
|
||||
COMMENT= "module for generating images"
|
||||
COMMENT= "module for generating and manipulating images"
|
||||
|
||||
DISTNAME= Imager-0.37
|
||||
DISTNAME= Imager-0.38
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= graphics perl5
|
||||
NEED_VERSION= 1.407
|
||||
@ -27,18 +27,19 @@ FLAVOR?=
|
||||
LIB_DEPENDS= t1.::devel/t1lib \
|
||||
ttf.::print/freetype \
|
||||
png.::graphics/png \
|
||||
gif.::graphics/giflib \
|
||||
jpeg.::graphics/jpeg \
|
||||
tiff.::graphics/tiff
|
||||
CONFIGURE_ENV= IM_LIBPATH="${LOCALBASE}/lib:${X11BASE}/lib" \
|
||||
IM_INCPATH="${LOCALBASE}/include:${X11BASE}/include"
|
||||
PATCH_LIST=
|
||||
PATCH_LIST= patch-no_gif
|
||||
USE_X11= Yes
|
||||
.else
|
||||
# Don't use the libs although they might be installed.
|
||||
PATCH_LIST= patch-no_libs
|
||||
.endif
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (Imager-0.37.tar.gz) = 6b62b776574c37c4c476f505a8ca3a37
|
||||
RMD160 (Imager-0.37.tar.gz) = ce2e269798458060c2fcd3e13f582c8c3d19b4f3
|
||||
SHA1 (Imager-0.37.tar.gz) = 3216f8390639019220a2d7ca693677db6d9fc4e3
|
||||
MD5 (Imager-0.38.tar.gz) = 44b037145f030edc44a344c05fa532c6
|
||||
RMD160 (Imager-0.38.tar.gz) = 57573490894604f35897e724d33e80b1c491a158
|
||||
SHA1 (Imager-0.38.tar.gz) = 9018899904f37f82ca2d9ea1c9dcf3cbde895e4d
|
||||
|
15
graphics/p5-Imager/patches/patch-no_gif
Normal file
15
graphics/p5-Imager/patches/patch-no_gif
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-no_gif,v 1.1 2001/05/22 00:31:55 pvalchev Exp $
|
||||
--- Makefile.PL.orig Mon May 21 16:55:10 2001
|
||||
+++ Makefile.PL Mon May 21 16:57:04 2001
|
||||
@@ -149,9 +149,9 @@ bugs. Imager can crash or display other
|
||||
reading or writing gif images. Some of the gif tests can even fail
|
||||
since they stress some parts of the buggy code.
|
||||
|
||||
-Do you want to remove gif support? [Y/n]
|
||||
+I am deleting gif support.
|
||||
EOFF
|
||||
- my $resp = <STDIN>;
|
||||
+ my $resp = "y";
|
||||
chomp($resp);
|
||||
if ($resp ne "n") {
|
||||
delete $formats{'gif'};
|
@ -1,19 +1,23 @@
|
||||
$OpenBSD: patch-no_libs,v 1.1 2001/04/17 10:07:13 reinhard Exp $
|
||||
--- Makefile.PL.orig Thu Apr 5 22:14:10 2001
|
||||
+++ Makefile.PL Thu Apr 5 22:15:05 2001
|
||||
@@ -194,103 +194,9 @@ sub pathcheck {
|
||||
$OpenBSD: patch-no_libs,v 1.2 2001/05/22 00:31:55 pvalchev Exp $
|
||||
--- Makefile.PL.orig Mon May 21 17:15:55 2001
|
||||
+++ Makefile.PL Mon May 21 17:16:48 2001
|
||||
@@ -261,107 +261,13 @@ sub pathcheck {
|
||||
sub init {
|
||||
|
||||
@definc{'/usr/include'}=();
|
||||
- @incs=(qw(/usr/include /usr/local/include /usr/include/freetype /usr/local/include/freetype), split /:/, $INCPATH );
|
||||
+ @incs=(qw(/usr/include /usr/local/include), split /:/, $INCPATH );
|
||||
+ @incs=(qw(/usr/include /usr/local/include/freetype), split /:/, $INCPATH );
|
||||
@libs=(split(/ /, $Config{'libpth'}), split(/:/, $LIBPATH) );
|
||||
if ($^O =~ /win32/i && $Config{cc} =~ /\bcl\b/i) {
|
||||
push(@incs, split /;/, $ENV{INCLUDE}) if exists $ENV{INCLUDE};
|
||||
push(@libs, split /;/, $ENV{LIB}) if exists $ENV{LIB};
|
||||
}
|
||||
|
||||
- $formats{'jpeg'}={
|
||||
- order=>'21',
|
||||
- def=>'HAVE_LIBJPEG',
|
||||
- inccheck=>sub { $_[0] eq 'jpeglib.h' },
|
||||
- libcheck=>sub { $_[0] eq 'libjpeg.a' or $_ eq "libjpeg.$lext" },
|
||||
- libcheck=>sub { $_[0] eq "libjpeg$aext" or $_ eq "libjpeg.$lext" },
|
||||
- libfiles=>'-ljpeg',
|
||||
- objfiles=>'jpeg.o',
|
||||
- docs=>q{
|
||||
@ -25,7 +29,7 @@ $OpenBSD: patch-no_libs,v 1.1 2001/04/17 10:07:13 reinhard Exp $
|
||||
- order=>'23',
|
||||
- def=>'HAVE_LIBTIFF',
|
||||
- inccheck=>sub { $_[0] eq 'tiffio.h' },
|
||||
- libcheck=>sub { $_[0] eq 'libtiff.a' or $_ eq "libtiff.$lext" },
|
||||
- libcheck=>sub { $_[0] eq "libtiff$aext" or $_ eq "libtiff.$lext" },
|
||||
- libfiles=>'-ltiff',
|
||||
- objfiles=>'tiff.o',
|
||||
- docs=>q{
|
||||
@ -37,7 +41,7 @@ $OpenBSD: patch-no_libs,v 1.1 2001/04/17 10:07:13 reinhard Exp $
|
||||
- order=>'22',
|
||||
- def=>'HAVE_LIBPNG',
|
||||
- inccheck=>sub { $_[0] eq 'png.h' },
|
||||
- libcheck=>sub { $_[0] eq 'libpng.a' or $_[0] eq "libpng.$lext" },
|
||||
- libcheck=>sub { $_[0] eq "libpng$aext" or $_[0] eq "libpng.$lext" },
|
||||
- libfiles=>'-lpng -lz',
|
||||
- objfiles=>'png.o',
|
||||
- docs=>q{
|
||||
@ -50,7 +54,7 @@ $OpenBSD: patch-no_libs,v 1.1 2001/04/17 10:07:13 reinhard Exp $
|
||||
- order=>'20',
|
||||
- def=>'HAVE_LIBGIF',
|
||||
- inccheck=>sub { $_[0] eq 'gif_lib.h' },
|
||||
- libcheck=>sub { $_[0] eq 'libgif.a' or $_[0] eq "libgif.$lext" },
|
||||
- libcheck=>sub { $_[0] eq "libgif$aext" or $_[0] eq "libgif.$lext" },
|
||||
- libfiles=>'-lgif',
|
||||
- objfiles=>'gif.o',
|
||||
- docs=>q{
|
||||
@ -65,7 +69,7 @@ $OpenBSD: patch-no_libs,v 1.1 2001/04/17 10:07:13 reinhard Exp $
|
||||
- order=>'21',
|
||||
- def=>'HAVE_LIBGIF',
|
||||
- inccheck=>sub { $_[0] eq 'gif_lib.h' },
|
||||
- libcheck=>sub { $_[0] eq 'libungif.a' or $_[0] eq "libungif.$lext" },
|
||||
- libcheck=>sub { $_[0] eq "libungif$aext" or $_[0] eq "libungif.$lext" },
|
||||
- libfiles=>'-lungif',
|
||||
- objfiles=>'gif.o',
|
||||
- docs=>q{
|
||||
|
@ -1,14 +1,23 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/05/08 01:07:12 pvalchev Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2001/05/22 00:31:55 pvalchev Exp $
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Color.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Expr.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Expr/Assem.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Font.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Regops.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Transform.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/regmach.pod
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Imager/.packlist
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Imager/Imager.bs
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Imager/Imager.so
|
||||
man/man3/Imager.3p
|
||||
man/man3/Imager::Color.3p
|
||||
man/man3/Imager::Expr.3p
|
||||
man/man3/Imager::Expr::Assem.3p
|
||||
man/man3/Imager::Font.3p
|
||||
man/man3/Imager::Regops.3p
|
||||
man/man3/Imager::Transform.3p
|
||||
man/man3/Imager::regmach.3p
|
||||
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Imager
|
||||
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager/Expr
|
||||
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Imager
|
||||
|
Loading…
Reference in New Issue
Block a user