Commit Graph

23 Commits

Author SHA1 Message Date
Sarah Hoffmann
e286d3f23d add support for finding pg_config in Postgresql repos
It uses the same PostgreSQL_ADDITIONAL_VERSIONS variable as
osm2pgsql so that setting that should be sufficient to make
it work.
2020-10-20 11:39:00 +02:00
Sarah Hoffmann
2ab9e4acd3 Merge branch 'separate-compilation' of https://github.com/eyusupov/Nominatim into eyusupov-separate-compilation 2020-04-26 10:47:41 +02:00
K Rahul Reddy
7aa2df5389 Support whitespace characters(x09-x0d) as single space 2020-04-02 05:04:40 +05:30
Eldar Yusupov
314de3c3c0 Add options to compile only PG module/frontend
It makes it easier to install Nominatim server and PostgresSQL on
separate servers or use separate docker images for them.
2019-10-25 23:01:19 +03:00
Neil Rickards
4daa584b7d
Update nominatim.c 2018-02-26 00:07:53 +01:00
Neil Rickards
8ee36fb78c
Avoid reading outside buffer
Current str_replace code will read outside buffer if `isspace` and `from` occurs at the start of `buffer`
2018-02-15 18:02:59 +00:00
Sarah Hoffmann
e86516bbaf use properly cascading make for external make file
If make is called directly then the -j option is not
properly propagated. Instead make gives a warning
'No jobserver avilable'.
2017-02-13 21:02:49 +01:00
Melvyn Sopacua
e31cd9717c Use CMAKE_MAKE_PROGRAM instead of hardcoded make
FreeBSD uses `gmake` instead of `make` if GNU make is required to build
a port.
2017-02-13 14:33:14 +01:00
Sarah Hoffmann
051998dd80 Merge pull request #219 from mizabrik/master
Fix case sensitivity of cyrillic ghe
2016-06-09 21:53:56 +02:00
Sarah Hoffmann
badd2e46aa provide srcdir for postgres module in VPATH and CPPFLAGS
The pgxs makefile in Postgres <= 9.2 cannot yet handle VPATH
correctly. Provide header paths explicitly and overwrite
VPATH after sourcing the pgxs file.

Fixes #454.
2016-06-05 00:35:07 +02:00
Sarah Hoffmann
e4963256e1 cmake: use explicit VPATH when calling pgxs makefile
Some postgres installations report problems with the makefile
magic that should look for the source where the Makefile is
located. So hand in the path explicitly via VPATH instead.

Fixes #453.
2016-05-24 00:24:23 +02:00
Sarah Hoffmann
ae9291f625 use external makefile for pgxs with cmake 2016-02-29 22:26:55 +01:00
Sarah Hoffmann
932abeb0e2 add actual cmake file 2016-02-29 22:26:55 +01:00
Sarah Hoffmann
35a0f1b246 move from autotools to cmake and update osm2pgsql 2016-02-29 22:26:55 +01:00
Alexander Vasilyev
6704f7bbb0 fix case sensitivity of cyrillic ghe 2014-12-31 05:59:48 +03:00
Sarah Hoffmann
699f5c42f0 disable warning about missing chars 2013-02-27 21:01:20 +01:00
Sarah Hoffmann
43e79ea21b add PG_CONFIG path to module makefile
fixes #38
2013-02-20 23:32:04 +01:00
Sarah Hoffmann
69ed04a441 remove autogenerated files 2012-06-16 01:36:13 +02:00
Sarah Hoffmann
de46b62186 create a globale configure/make
- move the configure from nominatim out and add checks for all dependencies
- bring module under automake control
- add osm2pgsql as a submodule, configure and build with the others
2012-06-16 01:25:16 +02:00
Sarah Hoffmann
6d5c101a9e make sure nominatim.so is accessible for postgresql
Even if the user has a very restrictive umask in place.
2012-05-13 10:05:27 +02:00
Brian Quinion
c20103a461 Don't let character walk outside translation table 2011-03-07 12:44:04 +00:00
Brian Quinion
491f5961e1 fix japan code page and remove ' e ' token - causes problems with 'east' 2010-11-28 18:00:51 +00:00
Brian Quinion
ab6a996772 nominatim refactoring 2010-10-23 23:12:37 +00:00