Skip to content

fix(applications): add ghostscript to print service packages - #4670

Merged
svartkanin merged 2 commits into
archlinux:masterfrom
Sanjays2402:fix/print-service-ghostscript
Jul 31, 2026
Merged

fix(applications): add ghostscript to print service packages#4670
svartkanin merged 2 commits into
archlinux:masterfrom
Sanjays2402:fix/print-service-ghostscript

Conversation

@Sanjays2402

Copy link
Copy Markdown
Contributor

Closes #4595

Selecting the print service installs cups, system-config-printer and cups-pk-helper, but not ghostscript. cups needs ghostscript for the PDF/PostScript rendering filter, so driverless (IPP Everywhere) jobs fail out of the box with cfFilterGhostscript: Unable to launch Ghostscript: gs: No such file or directory.

Adds ghostscript to PrintServiceApp.packages plus a regression test (fails without the change, passes with it).

Selecting the print service installs cups, system-config-printer and
cups-pk-helper, but not ghostscript. cups relies on ghostscript for the
PDF/PostScript rendering filter, so driverless (IPP Everywhere) print
jobs fail out of the box with:

  cfFilterGhostscript: Unable to launch Ghostscript: gs: No such file or directory

Add ghostscript to the package list and cover it with a regression test.

Closes archlinux#4595
@Sanjays2402
Sanjays2402 requested a review from Torxed as a code owner July 25, 2026 14:13
Comment thread tests/test_applications.py Outdated
from archinstall.applications.print_service import PrintServiceApp


def test_print_service_includes_ghostscript() -> None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this tests provides barely any value at all

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair, it just restates the list literal. Dropped the file in cc25c68 - the package change stands on its own.

@svartkanin
svartkanin merged commit 0f7c5c5 into archlinux:master Jul 31, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing ghostscript package when enabling print_service_config in archinstall profile

2 participants