Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2011 16:44:30 GMT
From:      Mark Atkinson <atkin901@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162485: New port: graphics/p5-Image-Scale Perl module for fast, high-quality fixed-point image resizing
Message-ID:  <201111111644.pABGiU3u086710@red.freebsd.org>
Resent-Message-ID: <201111111650.pABGo8FL073177@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162485
>Category:       ports
>Synopsis:       New port: graphics/p5-Image-Scale Perl module for fast, high-quality fixed-point image resizing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 16:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Mark Atkinson
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD 10.0-CURRENT #6 r226301: Wed Oct 12 09:38:48 PDT 2011
>Description:
* Try again, this time with the file attachment working *

From:
http://search.cpan.org/~agrundma/Image-Scale-0.08/lib/Image/Scale.pm

"This module implements several resizing algorithms with a focus on low overhead, speed and minimal features. Algorithms available are:

  GD's copyResampled (floating-point)
  GD's copyResampled fixed-point (useful on embedded devices/NAS devices)
  GraphicsMagick's assortment of resize filters (floating-point)
  GraphicsMagick's Triangle filter in fixed-point

Supported image formats include JPEG, GIF, PNG, and BMP for input, and JPEG and PNG for output."
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Image-Scale
#	p5-Image-Scale/pkg-plist
#	p5-Image-Scale/pkg-descr
#	p5-Image-Scale/Makefile
#	p5-Image-Scale/distinfo
#
echo c - p5-Image-Scale
mkdir -p p5-Image-Scale > /dev/null 2>&1
echo x - p5-Image-Scale/pkg-plist
sed 's/^X//' >p5-Image-Scale/pkg-plist << '969b109344b74a360393addfb3d95e6d'
X%%SITE_PERL%%/%%PERL_ARCH%%/Image/Scale.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Scale/Scale.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Scale/Scale.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Scale/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Scale
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Image
969b109344b74a360393addfb3d95e6d
echo x - p5-Image-Scale/pkg-descr
sed 's/^X//' >p5-Image-Scale/pkg-descr << '52e0080d2833b706f8cf656a6f9d3a22'
XThis module implements several resizing algorithms with a focus on low 
Xoverhead, speed and minimal features. Algorithms available are:
X
X  GD's copyResampled (floating-point)
X  GD's copyResampled fixed-point (useful on embedded devices/NAS devices)
X  GraphicsMagick's assortment of resize filters (floating-point)
X  GraphicsMagick's Triangle filter in fixed-point
X
XSupported image formats include JPEG, GIF, PNG, and BMP for input, and
XJPEG and PNG for output.
X
XWWW: http://search.cpan.org/dist/Image-Size/
52e0080d2833b706f8cf656a6f9d3a22
echo x - p5-Image-Scale/Makefile
sed 's/^X//' >p5-Image-Scale/Makefile << 'a2da9988ac015e2709efc1caf3a3c328'
X# New ports collection makefile for:    p5-Image-Scale
X# Date created:                         11 November 2011
X# Whom:                                 Mark Atkinson <atkin901@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Image-Scale
XPORTVERSION=	0.08
XCATEGORIES=	graphics perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	atkin901@gmail.com
XCOMMENT=	Perl module for fast, high-quality fixed-point image resizing
X
XLICENSE=        GPLv2
X
XLIB_DEPENDS=    jpeg:${PORTSDIR}/graphics/jpeg \
X		png:${PORTSDIR}/graphics/png \
X		gif.5:${PORTSDIR}/graphics/giflib
X
XMAN3=		Image::Scale.3
X
XPERL_CONFIGURE=	yes
X
X.include <bsd.port.mk>
a2da9988ac015e2709efc1caf3a3c328
echo x - p5-Image-Scale/distinfo
sed 's/^X//' >p5-Image-Scale/distinfo << '90f992632e223c2c138f6ef9ac1b48c4'
XSHA256 (Image-Scale-0.08.tar.gz) = e2dcc90b9954a43dafc7f61bc6dc472382eb719b1046247da5a93cfdd7c3b3e0
XSIZE (Image-Scale-0.08.tar.gz) = 1009824
90f992632e223c2c138f6ef9ac1b48c4
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111111644.pABGiU3u086710>