-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 C package xsel recipe #26333
Add C package xsel recipe #26333
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge/help-c-cpp Ready for review. This package interfaces with the X11 clipboard API. Since this is not an official X.Org package, keeping Unix-only for now. |
@hmaarrfk |
recipes/xsel/meta.yaml
Outdated
- automake # [unix] | ||
- gettext # [unix] | ||
- libtool # [unix] | ||
- xorg-libxt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be in the host section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're build/make dependencies as per Homebrew and Arch. And also it's not linked anywhere and probably just needs the headers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if it just needs the headers, it should go into host. Different tools/ecosystems don't necessarily agree on all details of naming/semantics, but in conda-forge, the build environment is restricted purely to things that need to be executed during the build (like a compiler); everything you want to compile against, whether shared, static or header-only, needs to go into host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to headers and instead put in ignore_run_exports then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an optional dependency of (indirectly) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically LGTM, just some small details to fix up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@h-vetinari You could merge if you want. |
ehfd are you trying to also build packages for OSX and aarch? Maybe we should add:
in a file |
@hmaarrfk I agree because I had to add them in evdev after the feedstock got created. Just a second. |
This seems to be the most recent version (default + build_platform from a few days ago). Added. |
conda-forge.yml
Outdated
conda_forge_output_validation: true | ||
github: | ||
branch_name: main | ||
tooling_branch_name: main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should not edit this feedstock's file.
rather you need to create this file within the directory
recipes/xsel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was what @xhochy said to me earlier. Didn't understand the first time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets see, its kinda a gamble if it works, but you are trying to get quite a few feedstocks in, so it might be helpful
conda_forge_output_validation: true | ||
github: | ||
branch_name: main | ||
tooling_branch_name: main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tooling_branch_name: main | |
tooling_branch_name: main | |
conda_build: | |
pkg_format: '2' | |
test: native_and_emulated | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that pkg_format: '2'
at least is the current default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyways, applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything has been synced to all recipes as adequate. @hmaarrfk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is with remorse that the "gamble" has no effect. I'll change the arches manually.
Co-authored-by: Mark Harfouche <mark.harfouche@gmail.com>
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).