Created attachment 213382 [details] Update to 7.0.0 Update to 7.0.0
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/135614963
Hi, FYI, there is a potential issue with proj7 on graphics/qgis https://lists.osgeo.org/pipermail/qgis-developer/2020-February/060259.html. Can we test it manually before ship proj7? Thanks. Loïc
(In reply to Loïc Bartoletti from comment #2) I manually test some ports depends on proj, all build. I did not test qgis because it is a big thing for my poudriere to compile it. So I ask for a exp-run. With the result of exp-run I could decide whether to repocopy proj --> proj6 or just hold the update. wen
Hi Wen, hi Loïc, Thanks for investigating in the update. As far as I understand, the problem of QGIS with proj-7.0.0 is not solved until now. It is likely, that the port grahphics/qgis has a good chance to build with proj-7.0.0. The issue Loïc mentioned, is a runtime problem with proj_grid_get_info_from_database in Proj-7, not populating the needed results ... Perhaps there is a second task, what needs some attention. I am wondering if proj-7.0.0 also needs to download and install proj-data-1.0.tar.gz[1]. Until version 6.x, the grid data in it was installed via DATUM_GRID_FILES= proj-datumgrid-1.8.zip \ proj-datumgrid-europe-1.3.zip \ proj-datumgrid-north-america-1.2.zip \ proj-datumgrid-oceania-1.0.zip \ proj-datumgrid-world-1.0.zip Not sure, if a complete download and install of proj-data-1.0.tar.gz is really needed. QGIS project is looking for another way, to only download portions of the grid data, when needed. Thanks, Rainer [1] https://proj.org/download.html
(In reply to Rainer Hurling from comment #4) Thank you Rainer. As my understand, upstream suggest user download proj-data-1.0.tar.gz manually with the new tool projsync. If needed , I shall add it to distfiles, but it is a large file about 400M :) wen
(In reply to Wen Heping from comment #5) Yes, in principle, downloading by the user only if needed, is the recommended way. But, the users understanding about this is probably not deep enough and some applications (not QGIS) may presume the data already installed ... If I understand the discussions on QGIS dev lists right, they are thinking about an internal mechanism, to only download grid data just needed. This would be only within the QGIS world, not usable outside, for other apps. And no idea, if this will ever happen. What about an OPTION in the graphics/proj port, to enable/disable the download and installation of the data file? With a big warning about the file size?
(In reply to Rainer Hurling from comment #6) Good idea ! wen
The patch is incomplete, you have to bump PORTREVISION of all ports depending on it when library version changes
Created attachment 219026 [details] Proj 7.1.1 graphics/proj: Update to 7.1.1 Wen, there is a new release of proj. Here, the new patch. Wen, Rainer, I tested with graphics/qgis and for my uses cases, proj seems to work. Sorry, I didn't take the time to test before. I also built in poudriere (only 12amd64) all ports which depend of graphics/proj and there is no failure.
Created attachment 219027 [details] Proj 7.1.1 with portrevision bumped Antoine, here is proj 7.1.1 with PORTREVISION bumped for all ports depending on it
(In reply to Loïc Bartoletti from comment #9) Hi, Thank your new patch to update proj to 7.1.1. Two suggestions: i) Currently there is no proj5 and proj6 in portstree, so CONFLICTS_INSTALL line is not needed. ii) Better create a option to download DATUM_GRID_FILES. And please feel free to take maintainership of this port. wen
(In reply to Wen Heping from comment #11) Hi Loïc, hi Wen, I also would vote for an option to download (all) DATUM_GRID_FILES. pkg_message could explain, that instead their is also a way to manually download only parts of DATUM_GRID_FILES by using projsync. ATM, I am testing proj-7.1.1 with graphics/saga and graphics/qgis. This will take a moment. I will report back. And MANY thanks for the newest patch, Loïc :)
First tests of math/saga and graphics/qgis with proj-7.1.1 seem to work fine. I also tested projsync with 'projsync --source-id de' and it installs the wanted files: #ll /home/rhurlin/.local/share/proj total 76476 -rw-r--r-- 1 rhurlin user - 49152 2020-10-24 09:37:39 cache.db -rw-r--r-- 1 rhurlin user - 24379 2020-10-24 09:36:20 de_adv_BETA2007.tif -rw-r--r-- 1 rhurlin user - 802 2020-10-24 09:36:20 de_adv_README.txt -rw-r--r-- 1 rhurlin user - 4250734 2020-10-24 09:36:36 de_geosn_NTv2_SN.tif -rw-r--r-- 1 rhurlin user - 610 2020-10-24 09:36:28 de_geosn_README.txt -rw-r--r-- 1 rhurlin user - 73022201 2020-10-24 09:37:37 de_lgl_bw_BWTA2017.tif -rw-r--r-- 1 rhurlin user - 579 2020-10-24 09:36:36 de_lgl_bw_README.txt -rw-r--r-- 1 rhurlin user - 446 2020-10-24 09:37:38 de_lgvl_saarland_README.txt -rw-r--r-- 1 rhurlin user - 547937 2020-10-24 09:37:39 de_lgvl_saarland_SeTa2016.tif -rw-r--r-- 1 rhurlin user - 263242 2020-10-24 09:30:06 files.geojson
Exp-run looks fine
Created attachment 219326 [details] Proj 7.1.1 datum restored and option for data with a pkg-message Wen, Rainer, Here is the version with datum restored and data as an option. pkg-message comes from OpenBSD Readme http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/devel/proj/pkg/README?rev=1.1&content-type=text/x-cvsweb-markup (thanks to Landry)
(In reply to Loïc Bartoletti from comment #15) Hi Loïc, Thanks for the new patch :) It seems pkg-message (under files) is missing?
Created attachment 219345 [details] Proj 7.1.1 datum restored and option for data with a pkg-message v2 with pkg-message.in :)
(In reply to Antoine Brodin from comment #14) Thank you Antoine.
(In reply to Loïc Bartoletti from comment #17) Thanks for the updated patch and sorry for the delay. Very busy :( In the qa-stage the ports framework ()DEVELOPER=yes complains about: ====> Running Q/A tests (stage-qa) Warning: /usr/ports/graphics/proj/work/pkg-message not in UCL format, will be shown on initial install only. Warning: See https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#porting-message Otherwise the port builds and installs well :)
Created attachment 219603 [details] Proj 7.1.1 datum restored and option for data with a pkg-message with UCL v3 pkg-message using UCL format. Thanks Rainer. I had forgotten the UCL...
(In reply to Wen Heping from comment #11) > And please feel free to take maintainership of this port. OK wen. Thanks.
A commit references this bug: Author: lbartoletti Date: Tue Nov 17 09:24:06 UTC 2020 New revision: 555543 URL: https://svnweb.freebsd.org/changeset/ports/555543 Log: graphics/proj: Update to 7.1.1 - Add a pkg-message explaining how to access or sync datum grids from the CDN (disabled by default) - Add curl and tiff dependencies since proj can read datum grids from remote COG (Cloud Optimized Geotiff) - Take maintainer'ship (ok wen@) PR: 245611 Submitted by: wen (first version) Reviewed by: wen, rhurlin Approved by: wen Exp-run by: antoine Changes: head/astro/merkaartor/Makefile head/astro/qmapshack/Makefile head/cad/sumo/Makefile head/converters/osm2pgsql/Makefile head/databases/grass7/Makefile head/databases/postgis24/Makefile head/databases/postgis25/Makefile head/databases/postgis30/Makefile head/databases/spatialite/Makefile head/databases/spatialite-tools/Makefile head/devel/libght/Makefile head/graphics/R-cran-rgdal/Makefile head/graphics/gdal/Makefile head/graphics/libgeotiff/Makefile head/graphics/librasterlite/Makefile head/graphics/librasterlite2/Makefile head/graphics/libreatlas/Makefile head/graphics/mapserver/Makefile head/graphics/openorienteering-mapper/Makefile head/graphics/proj/Makefile head/graphics/proj/distinfo head/graphics/proj/files/ head/graphics/proj/files/pkg-message.in head/graphics/proj/pkg-plist head/graphics/py-cartopy/Makefile head/graphics/py-pyproj/Makefile head/graphics/qgis/Makefile head/graphics/qgis-ltr/Makefile head/lang/fpc/Makefile head/math/PDL/Makefile head/math/R-cran-sf/Makefile head/math/octave-forge-octproj/Makefile head/math/saga/Makefile head/science/cdo/Makefile head/science/gnudatalanguage/Makefile head/science/rubygem-rgeo-proj4/Makefile
Committed, many thanks to you! And thanks antoine for the exp-run.