Summary: | app-text/a2ps-4.15.5 Printing with -P options fails with lp backend | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maurizio Firmani <firmani.maurizio> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | cjk, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://savannah.gnu.org/bugs/?64047 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch-src_a2ps-lpr-wrapper |
Description
Maurizio Firmani
2023-09-07 10:53:09 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9c9302cfda762c144f9b5611ae0384efff079a commit 9b9c9302cfda762c144f9b5611ae0384efff079a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-07 20:49:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-07 20:50:19 +0000 app-text/a2ps: fix a2ps-lpr-wrapper Quoting the bug: """ There is an error on a2ps-lpr-wrapper and the file was not printed If lp is installed, a2ps-lpr-wrapper will use it otherwise it falls back to lpr. However, the #{lp} variable defines the printer specifier as -P. lpr does not take -P, it takes -d. The specifier needs to differ depending on which backend is being used; -d for lp or -P for lpr. """ See also the savannah bug (https://savannah.gnu.org/bugs/?64047). Closes: https://bugs.gentoo.org/913751 Signed-off-by: Sam James <sam@gentoo.org> app-text/a2ps/a2ps-4.15.5-r1.ebuild | 90 +++++++++++++++++++++++++ app-text/a2ps/files/a2ps-4.15-lpr-wrapper.patch | 23 +++++++ 2 files changed, 113 insertions(+) |