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
Fix QGIS in release-19.09 #72249
Fix QGIS in release-19.09 #72249
Conversation
We strip the library suffix as we don't need it and it confuses various downstream consumers. Also replace calls to sed with substituteInPlace as the latter will complain in case it doesn't perform a substitution. (cherry picked from commit 76ad279)
Make sure that the both libqscintilla2_qt5.so and libqscintilla2.so are present in `$out/lib` so all the dependant packages can find the most appropriate library (some except the empty suffix, such as sqlitebrowser, other expect the _qt5 suffix such as python3Packages.qscintilla-qt5). The mechanism would also work work for qt4 build, but it is broken at the moment. Also make sure python*Packages.qscintilla* are up to date (cherry picked from commit 4bf49d9)
(cherry picked from commit b27bdf4)
(cherry picked from commit edc638c)
(cherry picked from commit 5d8ec9b)
See http://changelog.qgis.org/en/qgis/version/3.10/ (cherry picked from commit c803971)
9443b34
to
1c3c88c
Compare
Why also update the minor version? Does it not function at 3.8.3? |
Yes it does, but since qgis was broken since release-19.09 went out, this acts more like a new package than an update within the context of this channel. But if you prefer, I can use pin it at 3.8.3. |
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.
nix-review
passes on NixOS
diff LGTM
qgis, openscad, and tora open up fine
[11 built, 311 copied (1565.8 MiB), 288.8 MiB DL]
https://github.com/NixOS/nixpkgs/pull/72249
9 package are marked as broken and were skipped:
minc_widgets octave octaveFull python27Packages.qscintilla python27Packages.qscintilla-qt4 qscintilla sonic-pi sqliteman tortoisehg
8 package were build:
libsForQt5.qscintilla libsForQt511.qscintilla openscad python27Packages.qscintilla-qt5 python37Packages.qscintilla-qt5 qgis qgis-unwrapped tora
I'm assuming there's no outstanding objections, I re-did the nix-review and everything still passes as it did a week ago. |
Motivation for this change
qgis is currently broken on release-19.09.
This PR backports all necessary fixes to have it up to date and running.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @