From nobody Fri Apr 01 12:59:08 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 216921A42D5B; Fri, 1 Apr 2022 12:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KVKxT0RS5z4fpF; Fri, 1 Apr 2022 12:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648817949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ojSHpiXd3CvQmjQWeVYa0srmSMiM5ZaNU1k8bxKMsgw=; b=O1eV7TDzKS6daxFXLhGFJJ7rY7yoV+hmfgGxzlXJgr98m2twEeHpgdFaN0Vxilg0GlGC96 OLU0+5QMhDoK7cdmJ05FOBDoUKJ2VMX6dRUyoZ7KpfZQ+jiTOg0Pw203e+lkKCqtS9n/rk bVk6Rsb0vultLsnxkL02e61Ua6JqrWDfQMKPFosX/qHtQoOQpMvr7KhUf0kcix20H4wGwN FDn5qlAJQUF11oYF2Pt5fiDlGJQfQ1Hpu/GJWj3y+lKHKn9wyDlyH4lyDLQervldmo6DXK ZpD8/fJirMqqOg5pF4O+VCBIgWy6MP/vzIlqTke82/WCHZlhr0uFT+Y6LS6h2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF51F1456B; Fri, 1 Apr 2022 12:59:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 231Cx8SF088058; Fri, 1 Apr 2022 12:59:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 231Cx87T088057; Fri, 1 Apr 2022 12:59:08 GMT (envelope-from git) Date: Fri, 1 Apr 2022 12:59:08 GMT Message-Id: <202204011259.231Cx87T088057@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 1ca92b55c1bf - main - print/cups-pdf: Remove deprecated ghostscript setpdfwrite operator List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ca92b55c1bfa84fd8a2d2b52767a4979d6f17e5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648817949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ojSHpiXd3CvQmjQWeVYa0srmSMiM5ZaNU1k8bxKMsgw=; b=q6hbXKD3nGUs2mduLX3nLu4aHtfoucjSEdmSb//CQz96tncklxomQN4KZ/ltH8j2JnDtOR U8DxDc5avFrWqXUvT+hm5ac8KNs1VAZi2wcBxD7RSVfgFPQo1OuSy9IjDigsEN25Ekc0Ll d310j6/g1xDzTM6QW7JWqjDMVF1RH/tgTtRlN5eoxGhqMDhVL6HtsC4wv/wb1PjkwosAYC 1zq/GzuaS9Yx6BVbt3oOQsQZqp/0L8bk1i52KLfowgMzca71vmamUWwbJDmspAFtWUiwd3 hixXiOO5Y4jLju4H2z25dDJk4YlQ/zqdw/VTeXWpFX+DQcaw2X5Wl3984udirw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648817949; a=rsa-sha256; cv=none; b=x1S7yH7zZmUN2149YAM93g+26+cNOrG039QSiTWd7kNmhsiP4qY9sO5+DrrlhtKaAB9aHO osZBdRAaVX/0yYJLuB/L1A21iijD0/rkSpa1aEDKik6QBrspIQcZ4kTt+X19ALVFG1eh+a tBbT7vyWRQre4CtNNwtUHMP3JfrN80Rs67NM2ue00F7bM0Harl508eaSVUzimL4gtCtUcg IYsMS1OZ2ao26pn2eShCiyaL6UrCvFhrj9WKJPS0jldCSshIvLYoRzAO5zRAuRX/nAoG2h on9sl/m6n4gtMK/ad2Fdt1EHiiEIn0bO/7KZ/KPEPPMFK9kmX73/DccsIljJ5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ca92b55c1bfa84fd8a2d2b52767a4979d6f17e5 commit 1ca92b55c1bfa84fd8a2d2b52767a4979d6f17e5 Author: Mikael Urankar AuthorDate: 2022-04-01 12:46:43 +0000 Commit: Mikael Urankar CommitDate: 2022-04-01 12:59:06 +0000 print/cups-pdf: Remove deprecated ghostscript setpdfwrite operator cups-pdf prints a blank patch without this patch. PR: 262757 Reported by: freebsd-bugs@micallef.io Obtained from: archlinux (https://bugs.archlinux.org/task/70313) --- print/cups-pdf/Makefile | 2 +- ...ove-deprecated-ghostscript-setpdfwrite-operator | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 6dee1953ab36..5c98a2713d92 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -2,7 +2,7 @@ PORTNAME= cups-pdf DISTVERSION= 3.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.cups-pdf.de/src/ \ http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ diff --git a/print/cups-pdf/files/patch-remove-deprecated-ghostscript-setpdfwrite-operator b/print/cups-pdf/files/patch-remove-deprecated-ghostscript-setpdfwrite-operator new file mode 100644 index 000000000000..d3018f33cfd4 --- /dev/null +++ b/print/cups-pdf/files/patch-remove-deprecated-ghostscript-setpdfwrite-operator @@ -0,0 +1,27 @@ +https://github.com/archlinux/svntogit-packages/commit/ff157761a0dffe4eb19b46c61b422dcdb2e1c8d9 + +--- extra/cups-pdf.conf.orig 2022-04-01 11:22:32 UTC ++++ extra/cups-pdf.conf +@@ -250,9 +250,9 @@ GSTmp /tmp + ### Key: GSCall (config) + ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!) + ## MacOSX: for using pstopdf set this to %s %s -o %s %s +-### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s ++### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s + +-#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s ++#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s + + ### Key: PDFVer (config, ppd, lptopions) + ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2" +--- src/cups-pdf.h.orig 2022-04-01 11:22:32 UTC ++++ src/cups-pdf.h +@@ -58,7 +58,7 @@ struct { + { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } }, + { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } }, + { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } }, +- { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } }, ++ { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } }, + { "Grp", SEC_CONF|SEC_PPD, { "lp" } }, + { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } }, + { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },