* [PR PATCH] New package: cups-pdf-3.0.1
@ 2019-06-23 19:32 voidlinux-github
2019-06-25 6:40 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-06-23 19:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
There is a new pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages cups-pdf
https://github.com/void-linux/void-packages/pull/12638
New package: cups-pdf-3.0.1
A patch file from https://github.com/void-linux/void-packages/pull/12638.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cups-pdf-12638.patch --]
[-- Type: application/text/x-diff, Size: 2665 bytes --]
From 78eb7595b6fa6529c0a38fbdca77b29d3ff928ba Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Sun, 23 Jun 2019 19:56:20 +0200
Subject: [PATCH] New package: cups-pdf-3.0.1
Usually, the conf file would have to be owned by lp group to match all
other files in `/etc/cups` but adding a post-install to just chown it
seems wrong... so let's leave it as is for now.
---
srcpkgs/cups-pdf/patches/print-to-home.patch | 23 ++++++++++++++
srcpkgs/cups-pdf/template | 32 ++++++++++++++++++++
2 files changed, 55 insertions(+)
create mode 100644 srcpkgs/cups-pdf/patches/print-to-home.patch
create mode 100644 srcpkgs/cups-pdf/template
diff --git a/srcpkgs/cups-pdf/patches/print-to-home.patch b/srcpkgs/cups-pdf/patches/print-to-home.patch
new file mode 100644
index 00000000000..9d1cd4e7377
--- /dev/null
+++ b/srcpkgs/cups-pdf/patches/print-to-home.patch
@@ -0,0 +1,23 @@
+# reason: print to $HOME by default
+
+--- extra/cups-pdf.conf
++++ extra/cups-pdf.conf
+@@ -42,17 +42,17 @@
+ ### Key: Out (config)
+ ## CUPS-PDF output directory
+ ## special qualifiers:
+ ## ${HOME} will be expanded to the user's home directory
+ ## ${USER} will be expanded to the user name
+ ## in case it is an NFS export make sure it is exported without
+ ## root_squash!
+ ### Default: /var/spool/cups-pdf/${USER}
+
+-#Out /var/spool/cups-pdf/${USER}
++Out ${HOME}/PDF
+
+ ### Key: AnonDirName (config)
+ ## ABSOLUTE path for anonymously created PDF files
+ ## if anonymous access is disabled this setting has no effect
+ ### Default: /var/spool/cups-pdf/ANONYMOUS
+
+ #AnonDirName /var/spool/cups-pdf/ANONYMOUS
diff --git a/srcpkgs/cups-pdf/template b/srcpkgs/cups-pdf/template
new file mode 100644
index 00000000000..897437df779
--- /dev/null
+++ b/srcpkgs/cups-pdf/template
@@ -0,0 +1,32 @@
+# Template file for 'cups-pdf'
+pkgname=cups-pdf
+version=3.0.1
+revision=1
+conf_files="/etc/cups/cups-pdf.conf"
+makedepends="cups-devel"
+depends="ghostscript"
+short_desc="PDF printer for cups"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-2.0-or-later"
+homepage="https://www.cups-pdf.de/"
+distfiles="https://www.cups-pdf.de/src/${pkgname}_${version}.tar.gz"
+checksum=738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531
+
+do_build() {
+ $CC $CFLAGS -o $pkgname src/cups-pdf.c -lcups ${LDFLAGS}
+}
+
+do_install() {
+ # backend
+ vmkdir usr/lib/cups/backend/
+ vinstall "${wrksrc}/cups-pdf" 700 usr/lib/cups/backend/
+
+ # Postscript drivers
+ vmkdir usr/share/cups/model/
+ vcopy "extra/*.ppd" usr/share/cups/model/
+
+ vmkdir etc/cups
+ vcopy extra/cups-pdf.conf etc/cups/
+ vdoc README
+ vdoc ChangeLog
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: New package: cups-pdf-3.0.1
2019-06-23 19:32 [PR PATCH] New package: cups-pdf-3.0.1 voidlinux-github
@ 2019-06-25 6:40 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-06-25 6:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
There's a merged pull request on the void-packages repository
New package: cups-pdf-3.0.1
https://github.com/void-linux/void-packages/pull/12638
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-25 6:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 19:32 [PR PATCH] New package: cups-pdf-3.0.1 voidlinux-github
2019-06-25 6:40 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).