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
pure-maps: init at 2.6.0 #107836
pure-maps: init at 2.6.0 #107836
Conversation
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 added some new lines to some packages. It would be nice if you could add them to all to make the packages clearer.
.../applications/misc/pure-maps/0001-Do-not-use-QT_HOST_BINS-to-find-lconvert-as-it-is-pa.patch
Outdated
Show resolved
Hide resolved
repo = "pure-maps"; | ||
rev = version; | ||
sha256 = "0xcrjzxnm3zx12ffb8yy87qa6iqga2h6ca6gi05q9xp5p6zg16j0"; | ||
fetchSubmodules = true; |
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.
if we propagate gpxpy do we need to fetch the submodules?
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.
There's at least one other submodule, geomag
, which is still required. In theory we could try to de-vendor them all, but I'm not sure it's trivial (for example, in one place, geomag is imported as poor.geomag
, rather than as an external module).
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 think it would make sense to devendor gpxpy as it is already part of nixpkgs.
...lopment/libraries/s2geometry/0001-Replace-uint64-with-uint64_t-since-nothing-defines-u.patch
Outdated
Show resolved
Hide resolved
Result of 5 packages built:
|
bbbeb51
to
c94bbb3
Compare
3900117
to
b62bd8d
Compare
nativeBuildInputs = [ qmake ]; | ||
buildInputs = [ qtlocation mapbox-gl-native ]; | ||
NIX_CFLAGS_COMPILE = "-I${mapbox-gl-native}/include/qt5"; | ||
postUnpack = '' |
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.
And this.
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 3 packages failed to build and are new build failures:
2 packages built:
|
b4e2ecf
to
4a21b49
Compare
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 5 packages built:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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.
Please fix the merge conflict and rename postUnpack to postPatch to not break patches.
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 5 packages built:
|
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
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.
Based on most on most of the comments and building the package myself and the iterations it already went through, this LGTM.
/status needs_merger
This doesn't work for me:
|
Thanks for reporting! Looks like it works in |
@Thra11 I noticed Repology said mapbox-gl-native was of a higher version in NixOS than in Alpine Linux (where I maintain it) and I was wondering why since I was pretty sure I packaged the latest version (1.6.0). It seems NixOS packages some random commit and defines it's own version of the package? |
@PureTryOut Thanks for reaching out! I will change our version. Would you mind explaining what the reason for your third patch is? |
See #117052. |
I don't fully know out of the top of my head, I believe I had a compilation error that was fixed with it. You'll have to ask @rinigus why it's necessary. |
Re patch3: it was needed for some compilers. Cannot tell which exactly, as there are few platforms that I keep updated and I don't remember which one required it. |
Motivation for this change
Pure maps is a great navigation application. While it's main focus is mobile devices (I intend to use it on NixOS Mobile), it works pretty well on the desktop too.
Pure maps has multiple GUI 'flavours', Kirigami, QtControls, Sailfish, & Ubuntu Touch: I have just packaged the kirigami version for the sake of simplicity, but we can always add a flag to choose the flavour later if there's interest.
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)