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
xbps-src: declarative split library and development file #21721
Conversation
I don't really like this. We currently don't have any other examples of magic where we create magic packagtes (other than -dbg, which is just a build option, and -32bit, same). |
yeah i think this is no good |
I agree. Too much magic and calling shell functions like that makes the templates harder to read and potentially also makes parsing more difficult. |
@sgn do you think this should be pursued? |
One thing I found good is guessing what files to install into -lib and -devel packages. Maybe that could be reworked as someting like |
^ couldnt xnew be updated in that case? |
What do you mean by this question, @Anachron ? How does xnew play into regular package building, unless you mean adding a sample devel package? (and just requiring it be deleted for most packages?) |
xnew already has optional subpkgs with -devel support. Isnt that sufficient for new pkgs? |
@sgn, I think @Chocimier's suggestion is the best way to salvage the useful parts of this PR. |
Yeah, this sounds better, doesn't harm readability and reduce the repeated code for devel and libs. |
I think |
@void-linux/pkg-committers