Sun Nov 6 11:21:19 2016 UTC ()
Update print/cups-filters to cups-filters-1.11.6
pkgsrc changes:
- Fix build for (at least) older NetBSD versions that do not have
execvpe(3).
Changes:
CHANGES IN V1.11.6
- pdftops: Do not default to simply "pdftops" when calling the
Poppler pdftops utility, as the $PATH of CUPS when running
filters/backends starts with /usr/lib/cups/filter/ and then
pdftops would call itself (Bug #1380).
(leot)
diff -r1.56 -r1.57 pkgsrc/print/cups-filters/Makefile
diff -r1.40 -r1.41 pkgsrc/print/cups-filters/distinfo
diff -r0 -r1.1 pkgsrc/print/cups-filters/patches/patch-filter_gstoraster.c
diff -r0 -r1.1 pkgsrc/print/cups-filters/patches/patch-filter_mupdftoraster.c
--- pkgsrc/print/cups-filters/Makefile 2016/11/01 08:20:17 1.56
+++ pkgsrc/print/cups-filters/Makefile 2016/11/06 11:21:19 1.57
| @@ -1,17 +1,16 @@ | | | @@ -1,17 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.56 2016/11/01 08:20:17 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2016/11/06 11:21:19 leot Exp $ |
2 | | | 2 | |
3 | DISTNAME= cups-filters-1.11.5 | | 3 | DISTNAME= cups-filters-1.11.6 |
4 | PKGREVISION= 1 | | | |
5 | CATEGORIES= print | | 4 | CATEGORIES= print |
6 | MASTER_SITES= http://openprinting.org/download/cups-filters/ | | 5 | MASTER_SITES= http://openprinting.org/download/cups-filters/ |
7 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
8 | | | 7 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters | | 9 | HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters |
11 | COMMENT= Backends, filters, and other software for cups | | 10 | COMMENT= Backends, filters, and other software for cups |
12 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit | | 11 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit |
13 | | | 12 | |
14 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
15 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= bash:run pkg-config gmake | | 15 | USE_TOOLS+= bash:run pkg-config gmake |
17 | USE_LANGUAGES= c c++ | | 16 | USE_LANGUAGES= c c++ |
--- pkgsrc/print/cups-filters/distinfo 2016/10/31 09:31:16 1.40
+++ pkgsrc/print/cups-filters/distinfo 2016/11/06 11:21:19 1.41
| @@ -1,6 +1,8 @@ | | | @@ -1,6 +1,8 @@ |
1 | $NetBSD: distinfo,v 1.40 2016/10/31 09:31:16 leot Exp $ | | 1 | $NetBSD: distinfo,v 1.41 2016/11/06 11:21:19 leot Exp $ |
2 | | | 2 | |
3 | SHA1 (cups-filters-1.11.5.tar.xz) = a37781a25f4808f8bda3542dc41798c7b950f96d | | 3 | SHA1 (cups-filters-1.11.6.tar.xz) = 68674af1da5431d4d8ec2ae1a03314ec4bc40d00 |
4 | RMD160 (cups-filters-1.11.5.tar.xz) = 1ee7650499ce8eacf6093a753e2512433d4c2033 | | 4 | RMD160 (cups-filters-1.11.6.tar.xz) = d63cf963ad8ae16c3a10d4423c862c1c4916238d |
5 | SHA512 (cups-filters-1.11.5.tar.xz) = 8c837ff4f7c9b9abdf7f6f0ff899aa60444a73934e7e41d0b840a865d44650090b2d00b8a211ea2618a94dd8c1506a83061e6de0fe03947a3aee0e8425349e4f | | 5 | SHA512 (cups-filters-1.11.6.tar.xz) = 425eab182101d7bdd02844febebc7d57ed00d822e12ebb08e57a1244dc9d085f2a3c0eeb8ce4fe7586b32ca1a7cca2019ae62114d86692f0d6a6e60510d2711a |
6 | Size (cups-filters-1.11.5.tar.xz) = 1409912 bytes | | 6 | Size (cups-filters-1.11.6.tar.xz) = 1410116 bytes |
| | | 7 | SHA1 (patch-filter_gstoraster.c) = a9fac7892972943f345c6b76529feff0ba098458 |
| | | 8 | SHA1 (patch-filter_mupdftoraster.c) = 4c4f7d292163657f9541c8ce454ba57d248f7ef0 |
$NetBSD: patch-filter_gstoraster.c,v 1.1 2016/11/06 11:21:19 leot Exp $
execvpe(3) appeared only on NetBSD 8.0, use execve(3) instead (like
cups-filters-1.11.4).
--- filter/gstoraster.c.orig 2016-10-27 22:50:52.000000000 +0000
+++ filter/gstoraster.c
@@ -502,7 +502,7 @@ gs_spawn (const char *filename,
}
/* Execute Ghostscript command line ... */
- execvpe(filename, gsargv, envp);
+ execve(filename, gsargv, envp);
perror(filename);
goto out;
}
$NetBSD: patch-filter_mupdftoraster.c,v 1.1 2016/11/06 11:21:19 leot Exp $
execvpe(3) appeared only on NetBSD 8.0, use execve(3) instead (like
cups-filters-1.11.4).
--- filter/mupdftoraster.c.orig 2016-10-27 22:50:52.000000000 +0000
+++ filter/mupdftoraster.c
@@ -215,7 +215,7 @@ mutool_spawn (const char *filename,
if ((pid = fork()) == 0) {
/* Execute Mutool command line ... */
- execvpe(filename, mutoolargv, envp);
+ execve(filename, mutoolargv, envp);
perror(filename);
goto out;
}