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
valentina: downgrade qt to 5.12 #122211
valentina: downgrade qt to 5.12 #122211
Conversation
cc @NixOS/qt-kde I would like to avoid having people have multiple versions of qt on their system if possible. |
Given this seems to be "specialist" software, it's probably much less of an issue than if it was a popular often-used tool. Though it would be nice if we can avoid having multiple Qts. |
How about adding these patches to the package and make it use |
@doronbehar I've tried to cherry-pick those commits, no luck; too much changes in between, those commits alone doesn't help. |
well, having a bloated closure is "better" than no closure, I'm okay with merging it; and when upstream allows for qt>=5.15 then we can update it. |
The upstream commits you referenced should be merged into their latest release - For instance https://gitlab.com/smart-pattern/valentina/-/blob/v0.7.46/src/libs/vlayout/vlayoutdef.h includes the |
v0.7.x is for test builds. Should we maintain both versions, newer only or stable only?
|
👍 for noticing this. That's a good question and I don't have a strong opinion, there's not even a strong consensus among other repos https://repology.org/project/valentina/versions . cc @jfrankenau maintainer for an opinion. I think that if the update doesn't introduce too many changes we should update it to what upstream considers as unstable yet. |
@@ -26582,7 +26582,7 @@ in | |||
|
|||
utox = callPackage ../applications/networking/instant-messengers/utox { }; | |||
|
|||
valentina = libsForQt514.callPackage ../applications/misc/valentina { }; | |||
valentina = libsForQt512.callPackage ../applications/misc/valentina { }; |
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.
In anycase, if the PR will be merged as is, please add:
valentina = libsForQt512.callPackage ../applications/misc/valentina { }; | |
# Version 0.8.x or above should support qt5.15 | |
valentina = libsForQt512.callPackage ../applications/misc/valentina { }; |
If the update works with little issues, I would prefer that route. Unfortunate that upstream is significantly far behind qt development. |
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 would rather have a working application with closure bloat, than a failing one..
https://github.com/NixOS/nixpkgs/pull/122211
1 package built:
valentina
Hopefully we can update this to 515 once upstream supports it.
Motivation for this change
ZHF: #122042
Support for late Qt versions doesn't landed in a stable release yet:
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)