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
gqrx: 2.5.3 -> 2.6.1 #24577
gqrx: 2.5.3 -> 2.6.1 #24577
Conversation
@ndowens, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fpletz, @bjornfor and @wkennington to be potential reviewers. |
This version doesn't load for me; I installed the older version from nix-env and it does the same thing; So I am unsure if it is just me |
FYI, I tried updating gqrx some time ago, but then the menu toolbar icons were missing. (Each button/tool was clickable, but there was no icon -- only gray area.) I didn't push it. I'll have a look at this later, unless anyone beats me. EDIT: Finish sentence. |
@bjornfor IDK either, both gave me something about pulseaudio permission denied and never got to the GUI; reason why I need people to test this more than normal |
Tried gqrx-2.6.1 again. Ran it through strace and found
(and many more similar) This looks wrong to me. I think the |
I forgot to say that I tested my branch: https://github.com/bjornfor/nixpkgs/tree/gqrx I tried building with cmake instead of qmake. Then I got a build time error because of missing svg support. At least it's better than getting the error at runtime :-) |
Any progress on this? |
Nope. |
I did another attempt to update gqrx: https://github.com/bjornfor/nixpkgs/tree/gqrx2 Now it finds the Svg module and completes the build, but still the menu bar is gray (missing icons). |
Explicitly installing QtSvg fixes the menu bar icons: |
@ttuegel: Do you know about any peculiarities regarding the qtsvg module that makes it insufficient to have applications simply link against it? Upstream says this module is special (a plugin) and that it needs to be installed systemwide. (Not sure if upstream is familiar with NixOS/nixpkgs, but installing the library into my user profile does fix the issue -- of missing icons in the menu bar.) You can see my discussion with upstream here: gqrx-sdr/gqrx#529. Looking in nixpkgs, I find little indication that qtsvg is "special". All packages I see simply add it to buildInputs and that's that. However, one desktop environment, lumina, adds qtsvg to environment.systemPackages. That's a small hint that applications don't work without it. However, that implies that none of the current applications in nixpkgs using qtsvg work, unless also installing qtsvg. Thoughts? |
Ok, found one package that does some tricks with Qt deps: (But it treats all Qt deps equal, no special handling for qtsvg.) |
Oh, and the lxqt desktop also put qtsvg in environment.systemPackages. |
@ttuegel: Ok, found your https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.9/qtbase/library-paths.patch. So one way to make this work is to prepend |
I ended up doing the qgroundcontrol trick: bjornfor@acdb0e0. (Now the menu bar has buttons with icons.) The question is whether that is any better than using propagatedUserEnvPkgs. |
Superseded by 65890d6 ("gqrx: 2.5.3 -> 2.7"). |
Motivation for this change
Update
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)