[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-15-g1a6775d

git at osgeo.org git at osgeo.org
Tue Feb 25 01:24:58 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  1a6775d4d9c6fe8a6ddde71cf1f0af01b2aa452d (commit)
      from  88d438598104efec0c0e68856477f36d0446e71a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1a6775d4d9c6fe8a6ddde71cf1f0af01b2aa452d
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Feb 25 10:24:31 2020 +0100

    Drop unused RASTER version variables

diff --git a/configure.ac b/configure.ac
index 5a07d1e..db8ceb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1304,39 +1304,6 @@ if test "x$with_raster" != "xno"; then
 
 	AC_CONFIG_HEADERS([raster/raster_config.h])
 
-	dnl
-	dnl Raster Version Information imported from raster/Version.config
-	dnl
-	POSTGIS_RASTER_MAJOR_VERSION=`cat raster/Version.config | grep POSTGIS_RASTER_MAJOR_VERSION | sed 's/[[^=]]*=\([[0-9]]\)/\1/g'`
-	POSTGIS_RASTER_MINOR_VERSION=`cat raster/Version.config | grep POSTGIS_RASTER_MINOR_VERSION | sed 's/[[^=]]*=\([[0-9]]\)/\1/g'`
-	POSTGIS_RASTER_MICRO_VERSION=`cat raster/Version.config | grep POSTGIS_RASTER_MICRO_VERSION | sed 's/[[^=]]*=\([[0-9]]\)/\1/g'`
-
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_MAJOR_VERSION], ["$POSTGIS_RASTER_MAJOR_VERSION"], [PostGIS Raster major version])
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_MINOR_VERSION], ["$POSTGIS_RASTER_MINOR_VERSION"], [PostGIS Raster minor version])
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_MICRO_VERSION], ["$POSTGIS_RASTER_MICRO_VERSION"], [PostGIS Raster micro version])
-
-	AC_SUBST([POSTGIS_RASTER_MAJOR_VERSION])
-	AC_SUBST([POSTGIS_RASTER_MINOR_VERSION])
-	AC_SUBST([POSTGIS_RASTER_MICRO_VERSION])
-
-	dnl ==============================
-	dnl Define raster version macros
-	dnl ==============================
-	POSTGIS_RASTER_VERSION="$POSTGIS_RASTER_MAJOR_VERSION.$POSTGIS_RASTER_MINOR_VERSION"
-	POSTGIS_RASTER_LIB_VERSION="$POSTGIS_RASTER_MAJOR_VERSION.$POSTGIS_RASTER_MINOR_VERSION.$POSTGIS_RASTER_MICRO_VERSION"
-	POSTGIS_RASTER_BUILD_DATE=`date ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH} -u "+%Y-%m-%d %H:%M:%S"`
-	POSTGIS_RASTER_SCRIPTS_VERSION="$POSTGIS_RASTER_LIB_VERSION"
-
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_VERSION], ["$POSTGIS_RASTER_VERSION"], [PostGIS Raster version])
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_LIB_VERSION], ["$POSTGIS_RASTER_LIB_VERSION"], [PostGIS Raster library version])
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_BUILD_DATE], ["$POSTGIS_RASTER_BUILD_DATE"], [PostGIS Raster build date])
-	AC_DEFINE_UNQUOTED([POSTGIS_RASTER_SCRIPTS_VERSION], ["$POSTGIS_RASTER_SCRIPTS_VERSION"], [PostGIS Raster scripts version])
-
-	AC_SUBST([POSTGIS_RASTER_VERSION])
-	AC_SUBST([POSTGIS_RASTER_LIB_VERSION])
-	AC_SUBST([POSTGIS_RASTER_BUILD_DATE])
-	AC_SUBST([POSTGIS_RASTER_SCRIPTS_VERSION])
-
 	dnl ===========================================================================
 	dnl Allow output of double truncation warnings with --with-raster-dblwarning
 	dnl ===========================================================================
diff --git a/postgis_config.h.in b/postgis_config.h.in
index 9046281..027c574 100644
--- a/postgis_config.h.in
+++ b/postgis_config.h.in
@@ -122,27 +122,6 @@
 /* PROJ library version */
 #undef POSTGIS_PROJ_VERSION
 
-/* PostGIS Raster build date */
-#undef POSTGIS_RASTER_BUILD_DATE
-
-/* PostGIS Raster library version */
-#undef POSTGIS_RASTER_LIB_VERSION
-
-/* PostGIS Raster major version */
-#undef POSTGIS_RASTER_MAJOR_VERSION
-
-/* PostGIS Raster micro version */
-#undef POSTGIS_RASTER_MICRO_VERSION
-
-/* PostGIS Raster minor version */
-#undef POSTGIS_RASTER_MINOR_VERSION
-
-/* PostGIS Raster scripts version */
-#undef POSTGIS_RASTER_SCRIPTS_VERSION
-
-/* PostGIS Raster version */
-#undef POSTGIS_RASTER_VERSION
-
 /* Define to 1 if a warning is outputted every time a double is truncated */
 #undef POSTGIS_RASTER_WARN_ON_TRUNCATION
 
diff --git a/raster/raster_config.h.in b/raster/raster_config.h.in
index 91d8d08..08a51f3 100644
--- a/raster/raster_config.h.in
+++ b/raster/raster_config.h.in
@@ -1,26 +1,5 @@
 /* raster_config.h.in.  Generated from configure.ac by autoheader.  */
 
-/* PostGIS Raster build date */
-#undef POSTGIS_RASTER_BUILD_DATE
-
-/* PostGIS Raster library version */
-#undef POSTGIS_RASTER_LIB_VERSION
-
-/* PostGIS Raster major version */
-#undef POSTGIS_RASTER_MAJOR_VERSION
-
-/* PostGIS Raster micro version */
-#undef POSTGIS_RASTER_MICRO_VERSION
-
-/* PostGIS Raster minor version */
-#undef POSTGIS_RASTER_MINOR_VERSION
-
-/* PostGIS Raster scripts version */
-#undef POSTGIS_RASTER_SCRIPTS_VERSION
-
-/* PostGIS Raster version */
-#undef POSTGIS_RASTER_VERSION
-
 /* GDAL library version */
 #undef POSTGIS_GDAL_VERSION
 

-----------------------------------------------------------------------

Summary of changes:
 configure.ac              | 33 ---------------------------------
 postgis_config.h.in       | 21 ---------------------
 raster/raster_config.h.in | 21 ---------------------
 3 files changed, 75 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list