Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chromium support #324

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Add chromium support #324

merged 1 commit into from
Jul 25, 2024

Conversation

metsma
Copy link
Contributor

@metsma metsma commented Apr 30, 2024

WE2-927

Signed-off-by: Raul Metsma [email protected]

WE2-927

Signed-off-by: Raul Metsma <[email protected]>
@mrts
Copy link
Member

mrts commented Jul 12, 2024

Should we add qt6-qpa-plugins to https://github.com/web-eid/web-eid-app/blob/main/debian/control#L31?

I installed and run Web eID in a minimal pristine Ubuntu 22.04 VM without Qt and saw the following crash:

$ bash Downloads/download-install-web-eid.sh 
$ web-eid 
Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

When I manually installed qt6-qpa-plugins, Web eID started to work.

@@ -0,0 +1 @@
etc/opt/chrome/native-messaging-hosts/eu.webeid.json
Copy link
Member

@mrts mrts Jul 15, 2024

Choose a reason for hiding this comment

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

Note to self: this will be installed with postinst script: https://github.com/web-eid/web-eid-app/blob/main/debian/web-eid-chrome.postinst

@mrts
Copy link
Member

mrts commented Jul 15, 2024

@klondi, thanks for your PR #309! The current pull request will supersede yours, but your work was still instrumental in getting Chromium support going.

@klondi, @sergey-abc, feel free to check the PR and test the packages from current branch build https://github.com/web-eid/web-eid-app/pull/324/checks and confirm that Chromium support works for you. We intend to merge Chromium support soon before the upcoming 2.6 release.

@mrts
Copy link
Member

mrts commented Jul 15, 2024

Note to self: add Co-authored-by: Francisco Blas Izquierdo Riera (klondike) <[email protected]> while merging.

@mrts
Copy link
Member

mrts commented Jul 15, 2024

@mrts mrts merged commit b44f1a8 into web-eid:main Jul 25, 2024
11 checks passed
@metsma metsma deleted the chromium branch July 25, 2024 12:34
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.

(Linux): Install JSON files on the right place for Chrome (and add Chromium support)
2 participants