Page MenuHomeFreeBSD

www/qt6-webengine: Fix hardcoded path.
ClosedPublic

Authored by madpilot on Jan 15 2023, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 7:14 AM
Unknown Object (File)
Thu, May 2, 12:43 AM
Unknown Object (File)
Thu, May 2, 12:43 AM
Unknown Object (File)
Thu, May 2, 12:02 AM
Unknown Object (File)
Thu, Apr 25, 9:27 PM
Unknown Object (File)
Mar 12 2024, 5:25 AM
Unknown Object (File)
Jan 30 2024, 2:17 PM
Unknown Object (File)
Jan 8 2024, 9:13 AM
Subscribers

Details

Summary

While doing further testing I discovered this version of qt6-webengine has an hardcoded path, leading to this error:

xkbcommon: ERROR: Couldn't find file "rules/evdev" in include paths
xkbcommon: ERROR: There are no include paths to search
xkbcommon: ERROR: 1 include paths could not be added:
xkbcommon: ERROR: 	/usr/share/X11/xkb
xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc101', layout 'us,it', variant ',nodeadkeys', options ''
[33504:390306304:0115/174930.310788:FATAL:xkb_keyboard_layout_engine.cc(652)] Keymap file failed to load: us,it-,nodeadkeys

And in fact the file src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc includes two instances of /usr/share/X11/xkb.

My patch replaces /usr with %%LOCALBASE%% and then adds this file to an existing REINPLACE_CMD to put there the actual LOCALBASE.

This makes things work, at least with the defaults.

Tested on my machine.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kai added a subscriber: kai.

Good catch, LGTM and thanks for the patch!

This revision is now accepted and ready to land.Jan 15 2023, 8:01 PM
This revision was automatically updated to reflect the committed changes.