[QGIS-Developer] missing info in INSTALL.md, partial trip report for 3.28 on NetBSD
Greg Troxel
gdt at lexort.com
Mon Nov 28 05:18:06 PST 2022
For background, I have been maintaining the pkgsrc entry for qgis for a
while, and have been staying on LTR, partly because it's easier, and
partly because it sems a packaging system with only one entry should be
LTR, with a secondary entry for the current non-LTR release (which is
sometimes the same, as I think it is now). I run qgis on NetBSD/9 amd64
and generally it works well, with only a few spurious error messages
(which I suspect are bugs and haven't tracked down.)
In updating pkgsrc from 3.22.13 to 3.28.1, I ran into a minor issue,
which I'll be sending a PR for, but that led me to notice that in
INSTALL.md's "overview", the list of dependencies is incomplete. (I
realize there are a number of detailed sections for particular systems,
but none of those apply to "a system that more or less complies with
POSIX but isn't listed".)
I'm running my missing list up the flagpole before sending a PR, since
I'm guessing a bit:
- C++11 compiler (right now, it doesn't even say you need a C++
compiler). I see C++17 in a MSVC ifdef, but perhaps that's a
workaround. I really doubt C++03 is ok. And yes, I realize that
qgis depends on complicated C++ things and hence inherits any
language version requirement that they export via headers.
- GNU make, >=4.3
and questions;
- Is python 3.7 still ok? In pkgsrc qgis is marked not-for 3.7
because of gdal, probably because of numpy, but perhaps qgis itself
works with 3.7? Also mapserver support is said to need >= 3.6.
- SIP is said to be >= 4.12. Does that mean sip 5.5.0 is ok? 6.5.0?
My impression is that SIP is not API stable, so a >= requirement
doesn't seem quite right.
- Is it necessary that the SIP used to build qgis be the same SIP that
was used to build py-qt5?
(
The bug I found was using std::fabs without <cmath>; PR to follow
--- src/gui/plot/qgsplotrubberband.cpp.orig 2022-11-18 12:10:21.000000000 +0000
+++ src/gui/plot/qgsplotrubberband.cpp
@@ -20,7 +20,7 @@
#include <QGraphicsScene>
#include <QGraphicsRectItem>
-#include <math.h>
+#include <cmath>
QgsPlotRubberBand::QgsPlotRubberBand( QgsPlotCanvas *canvas )
: mCanvas( canvas )
)
Thanks,
Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221128/4cf79ac0/attachment.sig>
More information about the QGIS-Developer
mailing list