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

gtk+3: Fix incorrect PACKAGECONFIG override #1

Open
wants to merge 1 commit into
base: dunfell
Choose a base branch
from

Conversation

sfoster1
Copy link
Member

Overridding PACKAGECONFIGs with PACKAGECONFIG_remove for a
different package than the current context requires the spelling
PACKAGECONFIG_pn-packagename (where packagename is replaced with
the packagename, but pn is a literal pn). The gtk+3 bbappend
uses PACKAGECONFIG_remove_imxgpu2d when it should be
PACKAGECONFIG_remove_pn-imxgpu2d, which makes the remove apply
to the recipe this is appended to (gtk+3 from openembedded-core),
which breaks gtk+3 when both wayland and x11 are in your distro
features as they are when requesting x11 backcompat for wayland.
It also makes the remove not actually apply to imxgpu2d.

Fixing the spelling here fixes both issues.

Overridding PACKAGECONFIGs with PACKAGECONFIG_remove for a
different package than the current context requires the spelling
PACKAGECONFIG_pn-packagename (where packagename is replaced with
the packagename, but pn is a literal pn). The gtk+3 bbappend
uses PACKAGECONFIG_remove_imxgpu2d when it should be
PACKAGECONFIG_remove_pn-imxgpu2d, which makes the remove apply
to the recipe this is appended to (gtk+3 from openembedded-core),
which breaks gtk+3 when both wayland and x11 are in your distro
features as they are when requesting x11 backcompat for wayland.
It also makes the remove not actually apply to imxgpu2d.

Fixing the spelling here fixes both issues.
@sfoster1 sfoster1 requested a review from sotaoverride August 10, 2021 17:27
Copy link

@sotaoverride sotaoverride left a comment

Choose a reason for hiding this comment

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

LGTM. Great fix. So little about this syntax in the YOCTO manual!

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.

2 participants