pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate
Module Name: pkgsrc
Committed By: schmonz
Date: Fri Jun 16 18:13:00 UTC 2017
Added Files:
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate: DESCR Makefile distinfo
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches:
patch-Image-JpegTran_MANIFEST patch-Image-JpegTran_Makefile.PL
patch-MANIFEST
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/DESCR \
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/Makefile \
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST \
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL \
pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/DESCR
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/DESCR:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/DESCR Fri Jun 16 18:13:00 2017
@@ -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.
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/Makefile
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/Makefile:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/Makefile Fri Jun 16 18:13:00 2017
@@ -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"
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/distinfo
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/distinfo:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/distinfo Fri Jun 16 18:13:00 2017
@@ -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
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_MANIFEST Fri Jun 16 18:13:00 2017
@@ -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
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-Image-JpegTran_Makefile.PL Fri Jun 16 18:13:00 2017
@@ -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",
+ );
Index: pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST
diff -u /dev/null pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST:1.1
--- /dev/null Fri Jun 16 18:13:00 2017
+++ pkgsrc/graphics/p5-Image-JpegTran-AutoRotate/patches/patch-MANIFEST Fri Jun 16 18:13:00 2017
@@ -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