New upstream version 8.1.0

This commit is contained in:
geos_one
2025-08-10 01:34:16 +02:00
commit c891bb7105
4398 changed files with 838833 additions and 0 deletions

23
thirdparty/build/Makefile vendored Normal file
View File

@@ -0,0 +1,23 @@
SHELL := /bin/bash
SOURCE_PATH = $(shell echo `pwd`/../source )
BUILD_PATH = $(shell echo `pwd` )
BUILDTYPE = $(shell `pwd`/get-build-type.sh)
FINDBUGS_HOME = $(shell echo `pwd`/../source/findbugs)
# note: cppunit not included in "all" by default, because we prefer system lib by default
all: gtest
GTEST_DIR = ../source/gtest/googletest
GTEST_SRC = $(GTEST_DIR)/src/gtest-all.cc $(GTEST_DIR)/src/gtest_main.cc
libgtest.a: $(GTEST_SRC)
$(CXX) -fPIC -isystem $(GTEST_DIR)/include -I$(GTEST_DIR) -pthread -c $^
$(AR) -r libgtest.a gtest-all.o gtest_main.o
gtest: libgtest.a
clean:
rm -f gtest-all.o gtest_main.o libgtest.a

28
thirdparty/build/get-build-type.sh vendored Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
# Print the build type suitable to be used for autoconf
# we need this for cppunit and tilera architechture
# ./configure --build the-build-type
# on success print the build type and exit
print_build_type()
{
cmd="$@"
build_type=`eval $cmd 2>/dev/null`
if [ $? -eq 0 ]; then
echo --build $build_type
exit 0
fi
}
# try rpm first
print_build_type "rpm --eval %{_host}"
# rpm failed, now dpkg
print_build_type "dpkg-architecture -qDEB_BUILD_GNU_TYPE"
# unknown build type
exit 1