Skip to content

Vala: Fix GResource source directories #14647

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jameswestman
Copy link
Contributor

The code that adds --gresourcesdir= arguments to valac based on the source directories of GResource dependencies was incorrect. It added the current target directory to the source path, but the GResource source directories are already relative to the build directory.

Fixes #14646.

The code that adds `--gresourcesdir=` arguments to valac based on the
source directories of GResource dependencies was incorrect. It added
the current target directory to the source path, but the GResource
source directories are already relative to the build directory.
@jameswestman jameswestman requested a review from jpakkane as a code owner May 27, 2025 00:41
@bonzini bonzini added this to the 1.8.2 milestone May 27, 2025
@bonzini bonzini added the bug label May 27, 2025
@bonzini
Copy link
Collaborator

bonzini commented May 27, 2025

Hi, would it be possible for you to add a regression test as well?

@jameswestman
Copy link
Contributor Author

Sure, added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vala compiler does not include GResource directories correctly
3 participants