Skip to content
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

Merged
merged 6 commits into from Nov 4, 2019
Merged

Conversation

lsix
Copy link
Member

@lsix lsix commented Oct 29, 2019

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
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

peterhoeg and others added 5 commits October 29, 2019 12:47
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 5d8ec9b)
@lsix lsix requested a review from FRidh as a code owner October 29, 2019 12:57
@FRidh
Copy link
Member

FRidh commented Oct 29, 2019

Why also update the minor version? Does it not function at 3.8.3?

@lsix
Copy link
Member Author

lsix commented Oct 29, 2019

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.

@peterhoeg
Copy link
Member

We definitely need to have a broader discussion on backports (see all the huha about firefox 70), but I'm with @lsix on this - if the released version in stable is broken anyway, we might as well bump the fix to the latest version. Any issues with that @FRidh ?

Copy link
Contributor

@jonringer jonringer left a 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

@jonringer
Copy link
Contributor

I'm assuming there's no outstanding objections, I re-did the nix-review and everything still passes as it did a week ago.

@jonringer jonringer merged commit 108021d into NixOS:release-19.09 Nov 4, 2019
@willcohen willcohen mentioned this pull request Dec 14, 2021
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants