pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate Initial import o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cdac95cac577
branches:  trunk
changeset: 363802:cdac95cac577
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jun 16 18:13:00 2017 +0000

description:
Initial import of p5-Image-JpegTran-AutoRotate, a Perl module that
transforms JPEG files so that orientation becomes 1.

This is the same operation as "exifautotran", but with no dependencies
on command-line programs; instead, we use the excellent Image::JpegTran
and Image::ExifTool CPAN modules.

diffstat:

 graphics/p5-Image-JpegTran-AutoRotate/DESCR                                    |   5 ++
 graphics/p5-Image-JpegTran-AutoRotate/Makefile                                 |  25 ++++++++++
 graphics/p5-Image-JpegTran-AutoRotate/distinfo                                 |   9 +++
 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST    |  12 ++++
 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL |  15 ++++++
 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST                   |  13 +++++
 6 files changed, 79 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/DESCR       Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,5 @@
+Transforms JPEG files so that orientation becomes 1.
+
+This is the same operation as "exifautotran", but with no dependencies
+on command-line programs; instead, we use the excellent Image::JpegTran
+and Image::ExifTool CPAN modules.
diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/Makefile    Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/06/16 18:13:00 schmonz Exp $
+
+DISTNAME=      Image-JpegTran-AutoRotate-0.03
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    graphics perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AU/AUDREYT/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Image-JpegTran-AutoRotate/
+COMMENT=       Losslessly fix JPEG orientation
+LICENSE=       cc0-1.0-universal
+
+BUILD_DEPENDS+=        p5-Devel-CheckLib-[0-9]*:../../devel/p5-Devel-CheckLib
+DEPENDS+=      p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
+
+MAKE_ENV+=     PERL_USE_UNSAFE_INC=1
+
+PERL5_PACKLIST=        auto/Image/JpegTran/AutoRotate/.packlist
+
+post-extract:
+       rm -f ${WRKSRC}/Image-JpegTran/inc/Devel/CheckLib.pm
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/distinfo    Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2017/06/16 18:13:00 schmonz Exp $
+
+SHA1 (Image-JpegTran-AutoRotate-0.03.tar.gz) = 59110a122864f974b50cb31c4e724a01ab152e13
+RMD160 (Image-JpegTran-AutoRotate-0.03.tar.gz) = 4985e2e482c075ed521698ad25e49c52db2b8ad2
+SHA512 (Image-JpegTran-AutoRotate-0.03.tar.gz) = 8a3c2fdd860a9386ed0ba811df695e7d801adf51f718d23d45f52d0d4e8c925505eeafb1249988312249e48f77242508378be7f8e7875441ba0df2d87c0ceb24
+Size (Image-JpegTran-AutoRotate-0.03.tar.gz) = 122259 bytes
+SHA1 (patch-Image-JpegTran_MANIFEST) = 61f2a9a2702077f0a6607b5ec68326601ca6a1f4
+SHA1 (patch-Image-JpegTran_Makefile.PL) = c85b575e229115f8bfe2c6bc92a82f2d5985d8db
+SHA1 (patch-MANIFEST) = 551875ea481d366c665111e319701f98bda2ad6c
diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST       Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-Image-JpegTran_MANIFEST,v 1.1 2017/06/16 18:13:00 schmonz Exp $
+
+Use pkgsrc Devel::CheckLib.
+
+--- Image-JpegTran/MANIFEST.orig       2010-07-17 13:23:06.000000000 +0000
++++ Image-JpegTran/MANIFEST
+@@ -1,5 +1,4 @@
+ Changes
+-inc/Devel/CheckLib.pm
+ jinclude.h
+ jpegint.h
+ JpegTran.xs
diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL    Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Image-JpegTran_Makefile.PL,v 1.1 2017/06/16 18:13:00 schmonz Exp $
+
+Use pkgsrc Devel::CheckLib.
+
+--- Image-JpegTran/Makefile.PL.orig    2010-07-17 13:08:44.000000000 +0000
++++ Image-JpegTran/Makefile.PL
+@@ -11,7 +11,7 @@ check_lib_or_exit(
+     lib     => 'jpeg',
+     libpath => [ grep length, split /\s+/,$Config::Config{libsdirs} ],
+     incpath => [ Cwd::cwd(), grep length, split /\s+/,$Config::Config{locincpth} ],
+-    header  => [['"jinclude.h"','<jpeglib.h>']],
++    header  => ['jinclude.h','jpeglib.h'],
+     define0 => "#define JPEG_INTERNALS\n",
+     define  => "#if JPEG_LIB_VERSION < 80\n#error jpeglib version >= 80 required\n#endif",
+ );
diff -r f2b970d17f41 -r cdac95cac577 graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST      Fri Jun 16 18:13:00 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-MANIFEST,v 1.1 2017/06/16 18:13:00 schmonz Exp $
+
+Use pkgsrc Devel::CheckLib.
+
+--- MANIFEST.orig      2016-07-27 11:11:28.000000000 +0000
++++ MANIFEST
+@@ -1,6 +1,5 @@
+ Changes
+ Image-JpegTran/Changes
+-Image-JpegTran/inc/Devel/CheckLib.pm
+ Image-JpegTran/jinclude.h
+ Image-JpegTran/jpegint.h
+ Image-JpegTran/JpegTran.xs



Home | Main Index | Thread Index | Old Index