Commit Graph

52 Commits

Author SHA1 Message Date
probonopd 6483ae0dcb
#include <unistd.h>
Fixes compilation on FreeBSD
Closes #72
2023-10-01 23:58:09 +02:00
Jochen Topf 37adab91e5 Remove symlink from osmpbf to src, use osmpbf directly 2022-05-27 12:36:32 +02:00
Jochen Topf e5de634ce2 Set destination for installs explicitly
Apparently not setting this doesn't work on older versions of CMake.
2021-01-03 15:26:14 +01:00
Tom Hughes ac8cf96890 Use the GNUInstallDirs module to set installation directories 2021-01-03 11:01:48 +00:00
Jochen Topf 27eebf0e5f Add missing defines for large input files to CMake config 2021-01-02 21:58:26 +01:00
Jochen Topf e464c06294 Modernize and clean up CMake configuration 2021-01-02 20:27:50 +01:00
Jochen Topf a627e4b9dd Slightly improved man page for osmpbf-outline 2021-01-02 17:24:35 +01:00
Bas Couwenberg 09845ca408 Support hardening buildflags set in the environment. 2020-10-25 06:36:32 +01:00
Bas Couwenberg f7b77826e4 Disable deprecated optimize_for = LITE_RUNTIME option.
Fixes warnings with protobuf >= 3.8.0:

> The optimize_for = LITE_RUNTIME option is no longer supported by protobuf
> Java code generator and is ignored--protoc will always generate full
> runtime code for Java. To use Java Lite runtime, users should use the
> Java Lite plugin instead. See:
> https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md
2020-03-22 08:12:06 +01:00
Jochen Topf 4edb4f04d0 Fix comment. 2015-07-15 11:41:38 +02:00
Jochen Topf 779715f1a0 Add support for large files 2014-03-17 22:01:55 +01:00
Jochen Topf 237240107f Various fixes for easier Debian packaging 2014-03-12 14:09:13 +01:00
Jochen Topf deef7f0b0a Improved build script.
The debian build has been changed to not use dh_auto_build etc. because they
pick up the CMake files instead of using the Makefiles.
2014-03-11 11:25:07 +01:00
Jochen Topf 3c7756e965 Check if input file could be opened. 2014-03-11 11:24:18 +01:00
Jochen Topf f0da31fd79 Improved debian build, better README
This brings the debian build more in line with the actual released debian
packages which split up the program into three packages.
The tools Makefile has more warnings enabled.
The README goes into a bit more detail.
2014-03-10 22:00:35 +01:00
Jochen Topf 89c61197d2 Formatting and fixes one formatting-related bug.
There was a semikolon after an if()...
2014-03-10 20:57:20 +01:00
keine-ahnung 5fda268b7c osmpbf-outline.cpp: fixed incorrect text in debug-output 2014-02-24 01:52:27 +01:00
Jochen Topf ee52133e05 Fix Debian build 2013-09-02 20:50:33 +02:00
Jochen Topf 73c5bd159d Fix line endings (CRLF->LF), remove spaces at end of lines 2013-09-02 20:44:02 +02:00
scrosby 5fb1760122 Merge pull request #12 from alex85k/master
CMake support
2013-09-02 10:14:38 -07:00
Scott Crosby 3d5dd4b7bb merged 2013-09-02 12:15:24 -05:00
Dmitry Marakasov 2c281c9bf8 Make CXX/CXXFLAGS overridable
This makes it easier to support systemwide compiler settings.
While here, link with pthreads in a more correct way (-pthread instead
of -lpthread).
2013-08-27 22:16:22 +04:00
Charlie Root 05772fdf5d Fix building example and installation 2013-07-09 11:36:17 +06:00
alex85k a06d895f63 Fix CMake scripts 2013-06-13 22:51:02 +06:00
alex85k 72fdfb4ccb Added CMAKE project files and windows-compatibilty to osmpbf-outline 2013-06-04 17:38:55 +05:00
Thomas Friebel b8266ac09f Do not set file user:group to 'root:root' during installation
When run as root, files will be 'root:root' anyway. When run as user
changing user:group will fail. Furthermore, the group 'root' is not
available on all systems.
2013-03-09 13:19:56 +01:00
Thomas Friebel 1cbcd0078e Install to /usr/local per default 2013-03-09 12:46:58 +01:00
Thomas Friebel 705e60496b Allow overriding Makefile variables from the command line 2013-03-09 12:42:11 +01:00
Hartmut Holzgraefe 77bb51d397 terminate longopt list to prevent crashes on FreeBSD 2011-06-12 10:52:22 +02:00
Jochen Topf 3479ac3f86 Make osmpbf-outline more robust
Add -g header for debugging.
Remove -O3 header because it led to a segfault on a corrupted PBF file in the fread() call. Strange!
Check result of ParseFromArray functions.
2011-06-06 12:06:35 +02:00
Jochen Topf d791c3ec1b fix manpage 2011-06-06 10:07:51 +02:00
Peter 1a6d6a3590 add manpage 2011-06-05 23:49:29 +02:00
Peter 7d52ed25be disable colorization on !tty devices, add option to force colorization 2011-06-05 20:35:15 +02:00
Peter c2d7f27220 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tools/osmpbf-outline.cpp
2011-06-05 20:23:29 +02:00
Jochen Topf 7aaa1a5e50 Fixed build of osmpbf-outline tool 2011-06-05 19:22:24 +02:00
Peter 4143aede64 use osmpbf.h 2011-06-05 18:49:58 +02:00
Jochen Topf 282bb229f5 New osmpbf.h and new debian package.
* New osmpbf.h makes including easier and defines some often used constants
* README now explains how to use the lib
* New version of debian package includes
    * osmpbf.h
    * osmpbf-outline tool
    * README
2011-06-03 12:12:07 +02:00
Jochen Topf d383d89f9a Used two flag variables with proper names instead of one just called 'flag'. Add return before BlobHeader ouput. 2011-06-01 14:21:06 +02:00
Jochen Topf dedab83286 fixed some descriptions 2011-06-01 14:06:44 +02:00
Peter b6cf2110ec show primblock metainfo 2011-05-25 21:28:43 +02:00
Peter a1f2b81332 tell about meta-info 2011-05-23 22:57:29 +02:00
Peter e2d430cbf9 look into the block 2011-05-23 22:17:29 +02:00
Peter 0fbe0f8cff make source & writingprogram optional 2011-05-23 21:54:19 +02:00
Peter f1c905e60f bbox reader 2011-05-23 21:51:59 +02:00
Peter 3727704d2b even more documentation 2011-05-23 21:44:54 +02:00
Peter f5a5dde412 stdout, i said! 2011-05-23 21:35:40 +02:00
Peter 072daaee0a always color to stdout 2011-05-23 21:35:13 +02:00
Peter a02882c423 read osmheader 2011-05-23 16:46:09 +02:00
Peter e82bd8f39c more color, more documentation 2011-05-23 16:35:01 +02:00
Peter d0134bd840 decompression 2011-05-23 14:41:45 +02:00