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: correct urls to ones which are currently available. #2
Conversation
The file you are ponting to only allows LGPLv3 or GPLv2, not LGPLv2. |
Sorry, GPLv2 is an 'alternative' in the last stanza. But I'm not sure that matters. This changeset, 5.5 branch, which was the first step in refactoring the geoservices plugins is from 2015 and allows for setting the urls: And those snapshots are LGPLv2. This would be a far better move but I'm not certain why 5.4 was chosen in the first place? The 5.5 branch is still LGPLv2.1 . EDIT: looks like 5.6 as well. |
Yes, there is a big difference between GPL and LGPL.
If you take a close look at the files modified in the commit you specify, you will notice that some of them have already changed to new license. Sure, some of the files still have the old license. It's a mess really. 5.4 was chosen because it's the last version where all files allowed usage under LGPLv2. |
I just checked all the files in the plugin itself and those are LGPLv2. The plugin code from 5.5 can be used under the lesser, version 2, for sure. The include which has a single modification accommodates copyright html display. It does look a bit like a trojan, which is not legal. But, it can easily be implemented by other means, if I'm not mistaken? |
|
I did the backport work last year already, and just did a meld here: This is untested. I thought I would try building this on obs before I throw it at you. EDIT: the build fails on: which corresponds to And, here is a rabbit hole, so to speak. Soooo. For the sake of testing what I actually care to test, I'm thinking of not building here at all. But I'm going to take a breather before wasting more electricity with obs. |
|
I can just drop this an concentrate on the 5.5 backports ? |
Well, that's your choice of course. But I think this PR is almost ready to be merged - I would just squash the commits and double check to make sure the new URLs work. Your 5.5 backports branch contains quite a lot of changes, which means that also reviewing those will take considerable time. Especially since we have to be extra careful in order to not break the licensing rules. |
I guess I'm trying to say that I would prefer many small PRs over a single huge one. |
Yes, a big backport would be a pita. I've gone through it and I'm dropping it, since the actual change to have flexible URL specifications didn't actually make it in till 5.8. As you suggest, after testing how/if this works I'll do incremental bits. Thanks for looking! |
|
Tested these, they seem to work. I'm almost ready to merge this. There's just this one small thing, which I unfortunately noticed only now. I should have noticed it before, that's my bad. The issue is with the commit message formatting - we use |
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.
Discussed with Raine, came to conclusion that the commit message should not matter; I'll merge this as is.
|
Here's some documentation about the commit message format, for future reference: https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages/#changelog-generation Thank you for the contribution! |
|
Thanks a lot! The one [Fix] was inadvertent. I'm still not consistent but have in fact been trying to adopt the method you apply at Jolla! |
|
Just a last note here. I started implemented an additional paramter in: qtlocation/src/location/maps/qgeotilespec.* and I also looked a using parameters as in the Here plugin : ../here/maptiles/qgeotilefetcher_here.cpp |
I'm not sure why the newer geoservices plugins aren't in use? The 5.8 branch, for instance, is all LGPLv2. Eg. https://github.com/qt/qtlocation/blob/5.8/src/plugins/geoservices/osm/qgeotilefetcherosm.cpp This being the new 'cardinal approach' ...
This fix is not really an answer because hard coding tile servers was a 'bad idea (tm)'. BUT, it would at least make the QML maps work, afaik.