libvisual: remove SDL dependency and refactor#384912
libvisual: remove SDL dependency and refactor#384912marcin-serwin wants to merge 3 commits intoNixOS:stagingfrom
Conversation
f3c9df6 to
5c1064a
Compare
5c1064a to
94a331d
Compare
94a331d to
e97c110
Compare
There was a problem hiding this comment.
We just added the # Remove when 0.5.x is published. in the last commit. We might as well don't add it to have a cleaner history.
There was a problem hiding this comment.
This comment is moved, not added. Previously it was near the configureFlags.
There was a problem hiding this comment.
Do we even need the full variant? gstreamer is the only consumer of this thing.
There was a problem hiding this comment.
Most likely not, I was overly cautious.
There was a problem hiding this comment.
Do we need pkgconf specifically?
There was a problem hiding this comment.
I am currently working on a treewide replace of SDL -> SDL_compat (which, because of cyclic dependencies, relies on this PR being merged).
I noticed the issue with pkg-config too and am currently trying a workaround in SDL_compat.
There was a problem hiding this comment.
I just opened #388304 trying to get the pkg-config+SDL_compat issues dealt with, currently waiting for my system rebuild with that change as well as a dependency count of the bot before running it through review. But seeing as this seems related, figured i'd put the heads-up here.
There was a problem hiding this comment.
Yeah I definitely prefer that solution because otherwise we'd have to do this on EVERY PACKAGE.
There was a problem hiding this comment.
I am currently working on a treewide replace of SDL -> SDL_compat
@LordGrimmauld I was also working on this. To avoid duplicated work: #387419 and #387357 are also needed in case you haven't seen them.
e97c110 to
4a4c494
Compare
There was a problem hiding this comment.
Honestly do we even need lvtool? Can we just like, not build it? Or maybe even yeet this entire package? Probably not the best place to have this conversation, but it feels like a lot of complexity for not a lot of gain.
There was a problem hiding this comment.
Honestly do we even need lvtool?
Probably not
Or maybe even yeet this entire package?
I had a similar thought: #388447
The full package provides lv-tool and examples which are currently not used by anything in nixpkgs: the tool does not work without libvisual-plugins which are not packaged, and examples themselves are not even installed. Avoiding building these allows us to drop the SDL dependency.
4a4c494 to
b5b947f
Compare
This PR refactors the
libvisualpackage to make it slimmer and fix the cross compilation issue. Some refactoring was also applied.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.