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

[gobject-introspection] no absolute paths #24845

Merged

Conversation

autoantwort
Copy link
Contributor

For #20469

@autoantwort autoantwort changed the title Gobject introspection no absolute [gobject-introspection] no absolute paths May 21, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/gobject-introspection/vcpkg.json

Valid values for the license field can be found in the documentation

@JackBoosY JackBoosY added the category:port-bug The issue is with a library, which is something the port should already support label May 23, 2022
JackBoosY
JackBoosY previously approved these changes May 24, 2022
@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label May 24, 2022
Copy link
Contributor

@ras0219-msft ras0219-msft left a comment

Choose a reason for hiding this comment

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

Thanks for the continued fixes!

Comment on lines +72 to +73
string(REPLACE "datadir = \"${CURRENT_PACKAGES_DIR}/share\"" "raise Exception('could not find right path') " _contents "${_contents}")
string(REPLACE "pylibdir = os.path.join('${CURRENT_PACKAGES_DIR}/lib', 'gobject-introspection')" "raise Exception('could not find right path') " _contents "${_contents}")
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're patching the file anyway, can we include these changes in the patch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried it, but the file is also executed while building the package and then the hardcoded path is needed.

@JackBoosY JackBoosY removed the info:reviewed Pull Request changes follow basic guidelines label May 25, 2022
# Conflicts:
#	ports/gobject-introspection/portfile.cmake
#	ports/gobject-introspection/vcpkg.json
#	versions/baseline.json
#	versions/g-/gobject-introspection.json
@autoantwort
Copy link
Contributor Author

What is the state of this PR?

@JackBoosY JackBoosY added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Jul 6, 2022
@JackBoosY
Copy link
Contributor

Ping @ras0219-msft for reply.

@BillyONeal BillyONeal merged commit 72138fe into microsoft:master Aug 10, 2022
@BillyONeal
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants