-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
proj: 7.2.1 -> 8.1.1 #138479
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
Merged
Merged
proj: 7.2.1 -> 8.1.1 #138479
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cb1fc48
proj_7: init at 7.2.1
dotlambda 3553854
osm2xmap: use proj7
dotlambda b73a99e
xygrib: use proj_7
dotlambda b51c3c2
survex: use proj_7
dotlambda 71666e1
proj: 7.2.1 -> 8.1.1
dotlambda 68ef9d8
python3Packages.pyproj: 3.1.0 -> 3.2.1
dotlambda 0b97370
python3Packages.cartopy: 0.19.0.post1 -> 0.20.0
dotlambda c826ba3
mapnik: mark as broken
dotlambda 042eebd
qgis: fix build with PROJ 8
lsix 7e6325e
python3Packages.geopandas: fix tests
dotlambda 98c8fc6
gplates: 2.2.0 -> 2.3.0
dotlambda 7d38eec
qlandkartegt: use proj_7
dotlambda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,69 @@ | ||
| { lib, stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal, cgal | ||
| , proj, boost, cmake, python2, doxygen, graphviz, gmp, mpfr }: | ||
| { lib | ||
| , mkDerivation | ||
| , fetchurl | ||
| , cmake | ||
| , doxygen | ||
| , graphviz | ||
| , boost | ||
| , cgal_5 | ||
| , gdal | ||
| , glew | ||
| , gmp | ||
| , libGL | ||
| , libGLU | ||
| , mpfr | ||
| , proj | ||
| , python3 | ||
| , qtxmlpatterns | ||
| , qwt | ||
| }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| let | ||
| python = python3.withPackages (ps: with ps; [ | ||
| numpy | ||
| ]); | ||
| boost' = boost.override { | ||
| enablePython = true; | ||
| inherit python; | ||
| }; | ||
| cgal = cgal_5.override { | ||
| boost = boost'; | ||
| }; | ||
| in mkDerivation rec { | ||
| pname = "gplates"; | ||
| version = "2.2.0"; | ||
| version = "2.3.0"; | ||
|
|
||
| src = fetchurl { | ||
| url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2"; | ||
| sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b"; | ||
| name = "gplates_${version}_src.tar.bz2"; | ||
| url = "https://www.earthbyte.org/download/8421/?uid=b89bb31428"; | ||
| sha256 = "0lrcmcxc924ixddii8cyglqlwwxvk7f00g4yzbss5i3fgcbh8n96"; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ cmake ]; | ||
| buildInputs = [ | ||
| qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj python2 | ||
| doxygen graphviz gmp mpfr | ||
| (boost.override { | ||
| enablePython = true; | ||
| python = python2; | ||
| }) | ||
| nativeBuildInputs = [ | ||
| cmake | ||
| doxygen | ||
| graphviz | ||
| ]; | ||
|
|
||
| NIX_CFLAGS_LINK="-ldl -lpthread -lutil"; | ||
| buildInputs = [ | ||
| boost' | ||
| cgal | ||
| gdal | ||
| glew | ||
| gmp | ||
| libGL | ||
| libGLU | ||
| mpfr | ||
| proj | ||
| python | ||
| qtxmlpatterns | ||
| qwt | ||
| ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Desktop software for the interactive visualisation of plate-tectonics"; | ||
| homepage = "https://www.gplates.org"; | ||
| license = licenses.gpl2; | ||
| license = licenses.gpl2Only; | ||
| platforms = platforms.all; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { lib | ||
| , stdenv | ||
| , fetchFromGitHub | ||
| , cmake | ||
| , pkg-config | ||
| , sqlite | ||
| , libtiff | ||
| , curl | ||
| , gtest | ||
| , fetchpatch | ||
| }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "proj"; | ||
| version = "7.2.1"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "OSGeo"; | ||
| repo = "PROJ"; | ||
| rev = version; | ||
| sha256 = "0mymvfvs8xggl4axvlj7kc1ksd9g94kaz6w1vdv0x2y5mqk93gx9"; | ||
| }; | ||
|
|
||
| patches = [ | ||
| (fetchpatch { # https://github.com/OSGeo/PROJ/issues/2557 | ||
| name = "gie_self_tests-fail.diff"; # included in >= 8.0.1 | ||
| url = "https://github.com/OSGeo/PROJ/commit/6f1a3c4648bf06862dca0b3725cbb3b7ee0284e3.diff"; | ||
| sha256 = "0gapny0a9c3r0x9szjgn86sspjrrf4vwbija77b17w6ci5cq4pdf"; | ||
| }) | ||
| ]; | ||
|
|
||
| postPatch = lib.optionalString (version == "7.2.1") '' | ||
| substituteInPlace CMakeLists.txt \ | ||
| --replace "MAJOR 7 MINOR 2 PATCH 0" "MAJOR 7 MINOR 2 PATCH 1" | ||
| ''; | ||
|
|
||
| outputs = [ "out" "dev"]; | ||
|
|
||
| nativeBuildInputs = [ cmake pkg-config ]; | ||
|
|
||
| buildInputs = [ sqlite libtiff curl ]; | ||
|
|
||
| checkInputs = [ gtest ]; | ||
|
|
||
| cmakeFlags = [ | ||
| "-DUSE_EXTERNAL_GTEST=ON" | ||
| ]; | ||
|
|
||
| doCheck = true; | ||
|
|
||
| meta = with lib; { | ||
| description = "Cartographic Projections Library"; | ||
| homepage = "https://proj4.org"; | ||
| license = licenses.mit; | ||
| platforms = platforms.unix; | ||
| maintainers = with maintainers; [ vbgl dotlambda ]; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.