Bug 512739
| Summary: | foomatic ppd's should avoid perl | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Jackson <ajax> |
| Component: | foomatic-db | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | jpopelka, mclasen, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.0-3.20090702.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-08-18 08:51:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 461234 | ||
| Bug Blocks: | 473302 | ||
|
Description
Adam Jackson
2009-07-20 15:59:45 UTC
foomatic is now the last package that pulls perl onto the live cd. So getting this done would give us _big_ space savings. Examining this more closely I think it is a much bigger project than I first thought. There are two types of PPD available from foomatic: 1. the 'manufacturer's own' PPD files, of which the one quoted is meant to be an example, 2. PPD files generated from the XML data To actually get one of the generated PPD files you need to have invoked the foomatic CUPS driver (/usr/lib/cups/driver/foomatic, i.e. /usr/bin/foomatic-ppdfile), which is written in perl. (CUPS will do this for you as part of adding a printer.) If you already had PPDs set up, everything you need is in C except for the filtration parts, which of course can be fixed but they are currently shipped in the same package, which will still require perl due to the foomatic CUPS driver. So aside from re-implementing all of foomatic-db-engine in C there are two options to look at: 1. Splitting out the foomatic-db parts from the foomatic package, so the PPDs are available in a separate package which can go on the Live CD -- as in bug #461234. 2. Just not shipping foomatic on the Live CD and dropping the 'Requires: foomatic' line from system-config-printer. The question is: is it too late for me to split foomatic into two separate source packages? I've being doing several package splits over the last few days to help the live cd. So I think you are definitively not too late to do this. Done. |