pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/ja-a2ps



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Aug 24 11:31:02 UTC 2019

Modified Files:
        pkgsrc/print/ja-a2ps: Makefile distinfo
Added Files:
        pkgsrc/print/ja-a2ps/patches: patch-ac

Log Message:
1. adapt perl 5.22 or later, 2. silence pkglint 3. MAINTAINER conversion

1. add patch-ac, to adapt perl-5.22 or later change
   Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
   Sorry separated patch for one file,
2. Add DEPENDS= nkf to process Japanese document
3. move LICENSE= line to meet pkglint rule
4. convert MAINTAINER to pkgsrc-users
5. PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/print/ja-a2ps/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/print/ja-a2ps/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/print/ja-a2ps/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ja-a2ps/Makefile
diff -u pkgsrc/print/ja-a2ps/Makefile:1.21 pkgsrc/print/ja-a2ps/Makefile:1.22
--- pkgsrc/print/ja-a2ps/Makefile:1.21  Sun Aug 11 13:22:40 2019
+++ pkgsrc/print/ja-a2ps/Makefile       Sat Aug 24 11:31:02 2019
@@ -1,16 +1,18 @@
-# $NetBSD: Makefile,v 1.21 2019/08/11 13:22:40 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2019/08/24 11:31:02 mef Exp $
 
 DISTNAME=      a2ps.pl-1.45
 PKGNAME=       ja-a2ps-1.45
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    japanese print
 MASTER_SITES=  ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
 EXTRACT_SUFX=  # None
-LICENSE=       mit
 
-MAINTAINER=    tech-pkg-ja%jp.NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 #HOMEPAGE=     http://www.srekcah.org/~utashiro/perl/scripts/a2ps_pl/
 COMMENT=       Text file to postscript converter (with Japanese support)
+LICENSE=       mit
+
+DEPENDS+=      nkf-[0-9]*:../../converters/nkf
 
 WRKSRC=                ${WRKDIR}
 USE_TOOLS+=    perl:run

Index: pkgsrc/print/ja-a2ps/distinfo
diff -u pkgsrc/print/ja-a2ps/distinfo:1.6 pkgsrc/print/ja-a2ps/distinfo:1.7
--- pkgsrc/print/ja-a2ps/distinfo:1.6   Wed Nov  4 01:01:34 2015
+++ pkgsrc/print/ja-a2ps/distinfo       Sat Aug 24 11:31:02 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 01:01:34 agc Exp $
+$NetBSD: distinfo,v 1.7 2019/08/24 11:31:02 mef Exp $
 
 SHA1 (a2ps.pl-1.45) = 1a938099322767bced3eae525426b80164584d8c
 RMD160 (a2ps.pl-1.45) = 2599f86d4433afd3d0ed3490539d87995ce51dab
@@ -6,3 +6,4 @@ SHA512 (a2ps.pl-1.45) = 6c27e1591a5dc443
 Size (a2ps.pl-1.45) = 27952 bytes
 SHA1 (patch-aa) = 9d9310409aa4ba4f433e880dd940fc760cfae1b6
 SHA1 (patch-ab) = 9a534d00d22391e68c3773bb32143e930168278a
+SHA1 (patch-ac) = 8278c6862daf0df5003793cad88bb838bbab503c

Added files:

Index: pkgsrc/print/ja-a2ps/patches/patch-ac
diff -u /dev/null pkgsrc/print/ja-a2ps/patches/patch-ac:1.1
--- /dev/null   Sat Aug 24 11:31:02 2019
+++ pkgsrc/print/ja-a2ps/patches/patch-ac       Sat Aug 24 11:31:02 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2019/08/24 11:31:02 mef Exp $
+
+since perl 5.22:
+Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/pkg/bin/a2ps-j.orig line 59.
+
+--- a2ps.pl-1.45~      2019-08-24 20:18:20.724794175 +0900
++++ a2ps.pl-1.45       2019-08-24 20:18:54.685168725 +0900
+@@ -56,7 +56,7 @@
+ @param_b4 = (10.15, 14.31, 1.40, 1.2, 8.50, 9.5, 0.29, 0.22, 0.08, 'b4');
+ sub paper {
+     local(*param) = 'param_' . $_[0];
+-    die "Unknown paper type: $_[0]\n" unless defined @param;
++    die "Unknown paper type: $_[0]\n" unless @param;
+     ($width, $height, $lmargin, $smargin, $fontsize_l, $fontsize_p,
+      $portrait_header, $landscape_header, $paper_adjust, $paper_tray) = @param;
+ }



Home | Main Index | Thread Index | Old Index