We carry a lot of patches to CUPS as we differ from upstream needs in some significant ways. We now maintain a fork at chromiumos/third_party/cups. Modify the ebuild to use our forked repository.
The following revision refers to this bug:
https://chromium.googlesource.com/chromiumos/third_party/cups/+/090d74d20730d7b25ea080d505758bda80ac5f15
commit 090d74d20730d7b25ea080d505758bda80ac5f15
Author: David Valleau <valleau@chromium.org>
Date: Tue Jul 31 06:07:54 2018
Applying cups-2.1.4-search-filter.patch
NOTE: The applied version of this patch contains a number of commits.
The commit message contains context from each of those commits.
Change-Id: Ia91d1f643680208e61a12e5ab9a1e6c07e85736c
net-print/cups: allow search filter in component mount point.
This allows cupsd/cupstestppd to search filters in non-standard locations (in addition to
/usr/libexec/cups/filter and absolute path). It searches in
/run/imageloader/epson-injket-printer-escpr which holds all mount points of
each component version. cupsdSearchFilterLatest iterates all subdirs in this
folder and compare for the latest version. Then cupsdSearchFilter recursively
search in the latest version folder for the abs path
of filter with 'filter_name'.
For cupsd, it performs search when a filter is not found at standard location.
For cupstestppd, it performs search when a filter is not found at standard location and
skips capitalization test since it fails on squashfs when readdir a string not trailing
with '/'.
Change-Id: Iac216a827b0b5afde0eeafe9a246e7d5ba2de77a
net-print/cups: search filter for star printer
Allow cupsd search for filter in /run/imageloader/star-cups-driver.
Change-Id: Ie72f83aca08c82ade675de05dfefe042272d927e
cups: make internal helper functions static
No new code. Only change the declaration of functions to be static.
Change-Id: Iee1af0eede80aa0be028cb48dcce3e7a58fadc7c
net-print/cups: move components to search into a table
This simplifies the patching process for more filter components in the
future. The only thing to do (presumably) is add 2 additional lines for
filter name and its path.
BUG= chromium:865217
TEST=None
Change-Id: I27a2a562007458604ca9db8a4a8ce3900a0f05a6
Reviewed-on: https://chromium-review.googlesource.com/1145665
Commit-Ready: David Valleau <valleau@chromium.org>
Tested-by: David Valleau <valleau@chromium.org>
Reviewed-by: Sean Kau <skau@chromium.org>
[modify] https://crrev.com/090d74d20730d7b25ea080d505758bda80ac5f15/scheduler/job.c
[modify] https://crrev.com/090d74d20730d7b25ea080d505758bda80ac5f15/systemv/cupstestppd.c
[modify] https://crrev.com/090d74d20730d7b25ea080d505758bda80ac5f15/cups/util.c
[modify] https://crrev.com/090d74d20730d7b25ea080d505758bda80ac5f15/cups/cups-private.h
Comment 1 by skau@chromium.org
, Jul 18