pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups-filters cups-filters: Update print/cups-fil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f731a1fce5c6
branches:  trunk
changeset: 324393:f731a1fce5c6
user:      leot <leot%pkgsrc.org@localhost>
date:      Thu Oct 18 10:49:44 2018 +0000

description:
cups-filters: Update print/cups-filters to 1.21.3

pkgsrc changes:
 - Add patches to avoid `%m' in printf(3) for code used as part of tests
 - Add support for tests. Please note that ATM, at least on NetBSD/amd64
   -current this is the result of the test suite:
      PASS: testdither
      FAIL: test_analyze
      FAIL: test_pdf
      FAIL: test_ps
      PASS: test_pdf1
      FAIL: test_pdf2
   The failure assert(3) needs further investigation (sorry!)

Changes:
1.21.3
------
 - foomatic-rip: Reset stdin after replacing the underlying file
   descriptor (Issue #58).

1.21.2
------
 - cups-browsed: Fixed freeing of literal string caused by
   Coverity Scan issue fix (Debian bug #907399).

diffstat:

 print/cups-filters/Makefile                            |   7 +++--
 print/cups-filters/distinfo                            |  12 +++++---
 print/cups-filters/patches/patch-fontembed_test__pdf.c |  23 ++++++++++++++++++
 print/cups-filters/patches/patch-fontembed_test__ps.c  |  23 ++++++++++++++++++
 4 files changed, 57 insertions(+), 8 deletions(-)

diffs (97 lines):

diff -r 9dc7d2ca45f2 -r f731a1fce5c6 print/cups-filters/Makefile
--- a/print/cups-filters/Makefile       Thu Oct 18 10:18:01 2018 +0000
+++ b/print/cups-filters/Makefile       Thu Oct 18 10:49:44 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.104 2018/09/02 21:32:43 wiz Exp $
+# $NetBSD: Makefile,v 1.105 2018/10/18 10:49:44 leot Exp $
 
-DISTNAME=      cups-filters-1.21.1
-PKGREVISION=   1
+DISTNAME=      cups-filters-1.21.3
 CATEGORIES=    print
 MASTER_SITES=  http://openprinting.org/download/cups-filters/
 EXTRACT_SUFX=  .tar.xz
@@ -56,6 +55,8 @@
 CONF_FILES=            ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fontconfig/conf.d/99pdftoopvp.conf
 CONF_FILES+=           ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf
 
+TEST_TARGET=           check
+
 post-extract:
        ${CP} ${FILESDIR}/cups-browsed-daemonize.sh ${WRKSRC}
 
diff -r 9dc7d2ca45f2 -r f731a1fce5c6 print/cups-filters/distinfo
--- a/print/cups-filters/distinfo       Thu Oct 18 10:18:01 2018 +0000
+++ b/print/cups-filters/distinfo       Thu Oct 18 10:49:44 2018 +0000
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.57 2018/08/27 06:51:13 adam Exp $
+$NetBSD: distinfo,v 1.58 2018/10/18 10:49:44 leot Exp $
 
-SHA1 (cups-filters-1.21.1.tar.xz) = 99adeb5ef25cc5c916cb2ec4017aa44ccfe5cf91
-RMD160 (cups-filters-1.21.1.tar.xz) = ff5d96c9fdba4684de92a95d614eb208fdb98272
-SHA512 (cups-filters-1.21.1.tar.xz) = 810c1ad60d600618d508a3f69fd9839ee54846bfae42ebc4ca8965c1a2948c00273f779dd82129ec861c91f9a10a4ea694b1f900a4e288ea88db9eb38a10918c
-Size (cups-filters-1.21.1.tar.xz) = 1472268 bytes
+SHA1 (cups-filters-1.21.3.tar.xz) = 5164f21a78a425b19c375f86be4e9159f970ac52
+RMD160 (cups-filters-1.21.3.tar.xz) = acdf671020ce978c50b245ff076d7290ffa20e97
+SHA512 (cups-filters-1.21.3.tar.xz) = 2b00023ac4177046e3ab3c5b563b7bd92bb49e57e645e6e67e7b9358d00919e2d4ca43ef5d57684523d97f1f1df5d1014fc0a3a895476ce285ccb3ed2e3bc758
+Size (cups-filters-1.21.3.tar.xz) = 1474152 bytes
 SHA1 (patch-Makefile.in) = 2d5b05c9dca8ef7cc51931d77dddb1b2c4d422d8
 SHA1 (patch-configure) = b55dc7dc22008351c396374aceb88d2be293d179
 SHA1 (patch-filter_gstoraster.c) = 4eef8d91d8ca26a5a874e29885b836e9670d9e5d
 SHA1 (patch-filter_mupdftoraster.c) = 4c4f7d292163657f9541c8ce454ba57d248f7ef0
+SHA1 (patch-fontembed_test__pdf.c) = e33cd08fc8af8873174c5504869424f27a83fd64
+SHA1 (patch-fontembed_test__ps.c) = 7269048bdc90426f96009ff2e1127a0878953393
diff -r 9dc7d2ca45f2 -r f731a1fce5c6 print/cups-filters/patches/patch-fontembed_test__pdf.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-fontembed_test__pdf.c    Thu Oct 18 10:49:44 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-fontembed_test__pdf.c,v 1.1 2018/10/18 10:49:44 leot Exp $
+
+`%m' is not supported in printf(3), use strerror(3).
+
+--- fontembed/test_pdf.c.orig  2018-10-03 20:12:51.000000000 +0000
++++ fontembed/test_pdf.c
+@@ -2,6 +2,7 @@
+ #include "config.h"
+ #include "sfnt.h"
+ #include <assert.h>
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ 
+@@ -9,7 +10,7 @@ static void example_outfn(const char *bu
+ {
+   FILE *f=(FILE *)context;
+   if (fwrite(buf,1,len,f)!=len) {
+-    fprintf(stderr,"Short write: %m\n");
++    fprintf(stderr,"Short write: %s\n", strerror(errno));
+     assert(0);
+     return;
+   }
diff -r 9dc7d2ca45f2 -r f731a1fce5c6 print/cups-filters/patches/patch-fontembed_test__ps.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-fontembed_test__ps.c     Thu Oct 18 10:49:44 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-fontembed_test__ps.c,v 1.1 2018/10/18 10:49:44 leot Exp $
+
+`%m' is not supported in printf(3), use strerror(3).
+
+--- fontembed/test_ps.c.orig   2018-10-03 20:12:51.000000000 +0000
++++ fontembed/test_ps.c
+@@ -2,6 +2,7 @@
+ #include "config.h"
+ #include "sfnt.h"
+ #include <assert.h>
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ 
+@@ -11,7 +12,7 @@ static void example_outfn(const char *bu
+ {
+   FILE *f=(FILE *)context;
+   if (fwrite(buf,1,len,f)!=len) {
+-    fprintf(stderr,"Short write: %m\n");
++    fprintf(stderr,"Short write: %s\n", strerror(errno));
+     assert(0);
+     return;
+   }



Home | Main Index | Thread Index | Old Index