package/postgis: new package
authorMaxim Kochetkov <fido_max@inbox.ru>
Thu, 8 Apr 2021 06:28:30 +0000 (09:28 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 12 Apr 2021 21:07:54 +0000 (23:07 +0200)
commit9bb1034455de299876dfd03c5074d8bb9622f873
tree787673763bf7320af76092f8f2aff612960fb120
parent079e5582a3385f9568d65299632db3c2c0ae0a74
package/postgis: new package

PostGIS is a spatial database extender for PostgreSQL object-relational
database. It adds support for geographic objects allowing location
queries to be run in SQL.

On microblazeel with the bootlin toolchain, the build fails with an ICE:

  during RTL pass: reload
  .../bootlin-microblazeel-uclibc/build/libgeos-3.9.0/src/geom/util/Densifier.cpp: In static member function ‘static std::unique_ptr<std::vector<geos::geom::Coordinate> > geos::geom::util::Densifier::densifyPoints(geos::geom::Coordinate::Vect, double, const geos::geom::PrecisionModel*)’:
  .../bootlin-microblazeel-uclibc/build/libgeos-3.9.0/src/geom/util/Densifier.cpp:128:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1155
  128 | }
      | ^

Since it's unlikely that postgis will ever be used on a microblaze,
simply disable it.

https://postgis.net/

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout:
 - Move postgresql dependency to package/Config.in, to satisfy
   alphabetical ordering in the menu while keeping it below postgresql.
 - Add dependency on !microblaze.
 - Add comment for dependencies.
 - Add positive version of --with-raster and --with-protobuf to
   _CONF_OPTS.
 - Expand BSD to BSD-2-Clause.
]
package/Config.in
package/postgis/0001-Add-HAVE_VASPRINTF-HAVE_ASPRINTF-templates.patch [new file with mode: 0644]
package/postgis/0002-Add-POSTGIS_DEBUG_LEVEL-define-to-configure.ac.patch [new file with mode: 0644]
package/postgis/0003-Disable-forced-static-linking-of-liblwgeom.patch [new file with mode: 0644]
package/postgis/0004-Use-pkg-config-to-get-PROJ-version-if-available.patch [new file with mode: 0644]
package/postgis/Config.in [new file with mode: 0644]
package/postgis/postgis.hash [new file with mode: 0644]
package/postgis/postgis.mk [new file with mode: 0644]