pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/cups-filters
Module Name: pkgsrc
Committed By: leot
Date: Thu Oct 18 10:49:44 UTC 2018
Modified Files:
pkgsrc/print/cups-filters: Makefile distinfo
Added Files:
pkgsrc/print/cups-filters/patches: patch-fontembed_test__pdf.c
patch-fontembed_test__ps.c
Log Message:
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).
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/print/cups-filters/Makefile
cvs rdiff -u -r1.57 -r1.58 pkgsrc/print/cups-filters/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/print/cups-filters/patches/patch-fontembed_test__pdf.c \
pkgsrc/print/cups-filters/patches/patch-fontembed_test__ps.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/cups-filters/Makefile
diff -u pkgsrc/print/cups-filters/Makefile:1.104 pkgsrc/print/cups-filters/Makefile:1.105
--- pkgsrc/print/cups-filters/Makefile:1.104 Sun Sep 2 21:32:43 2018
+++ pkgsrc/print/cups-filters/Makefile Thu Oct 18 10:49:44 2018
@@ -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 @@ RCD_SCRIPTS= cups-browsed
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}
Index: pkgsrc/print/cups-filters/distinfo
diff -u pkgsrc/print/cups-filters/distinfo:1.57 pkgsrc/print/cups-filters/distinfo:1.58
--- pkgsrc/print/cups-filters/distinfo:1.57 Mon Aug 27 06:51:13 2018
+++ pkgsrc/print/cups-filters/distinfo Thu Oct 18 10:49:44 2018
@@ -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
Added files:
Index: pkgsrc/print/cups-filters/patches/patch-fontembed_test__pdf.c
diff -u /dev/null pkgsrc/print/cups-filters/patches/patch-fontembed_test__pdf.c:1.1
--- /dev/null Thu Oct 18 10:49:44 2018
+++ pkgsrc/print/cups-filters/patches/patch-fontembed_test__pdf.c Thu Oct 18 10:49:44 2018
@@ -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;
+ }
Index: pkgsrc/print/cups-filters/patches/patch-fontembed_test__ps.c
diff -u /dev/null pkgsrc/print/cups-filters/patches/patch-fontembed_test__ps.c:1.1
--- /dev/null Thu Oct 18 10:49:44 2018
+++ pkgsrc/print/cups-filters/patches/patch-fontembed_test__ps.c Thu Oct 18 10:49:44 2018
@@ -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