Bug 285420 - www/ungoogled-chromium: latest unglogle-chromium drops --headless=old
Summary: www/ungoogled-chromium: latest unglogle-chromium drops --headless=old
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
: 285421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-03-15 04:31 UTC by jnaughto
Modified: 2025-11-17 22:22 UTC (History)
5 users (show)

See Also:
vvd: maintainer-feedback? (chromium)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jnaughto 2025-03-15 04:31:23 UTC
ungoogled-chromium version 131.0.6778.204 supports --headless=old

apparently version 134.0.6998.35 no longer supports --headless=old and requests that you need to install the chrome-headless-shell...   I use the port to convert html pages to PDF via:

ungoogled-chromium --headless=old \ 
                   --print-to-pdf=foobar.pdf \
                   --run-all-compositor-stages-before-draw \
                   --no-pdf-header-footer \
                   --incognito -\
                   --print-to-pdf-no-header \
                   simplehtml.html

Is there any way to either re-enable the headless old mode or leverage the chrome-headless-shell as a port?
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-03-16 00:11:09 UTC
*** Bug 285421 has been marked as a duplicate of this bug. ***
Comment 2 jnaughto 2025-03-16 01:10:01 UTC
Ok I'm confused... this bug is closed due to the fact it's a duplicate of bug 285421 which loops back to bug 285420 which is the bug that was outlined to begin with.  Do you have a different bug that it's a duplicate of rather than simply shutting down this bug?
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-03-16 13:11:09 UTC
(In reply to jnaughto from comment #2)
#285421 was closed. This PR #285420 is open.
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-17 11:18:12 UTC
(In reply to jnaughto from comment #0)
Can you check with this patch:
https://cgit.freebsd.org/ports/commit/?id=aa305ea985a5d684992de466a9f0578da5b50d28
Comment 5 jnaughto 2025-11-17 20:59:20 UTC
Hello Vladimir Druzenko,

I actually eventually got this working using the --headless=new instead of the -old.

ungoogled-chromium --headless=new \
                   --print-to-pdf="foobar.pdf" \
                   --run-all-compositor-stages-before-draw \
                   --no-pdf-header-footer \
                   --incognito \
                   --print-to-pdf-no-header \
                   foobar.html

This seems to work now with ungoogled-chromium-137.0.7151.103_2.

Cheers

Jason