[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-5-g3d4ab97

git at osgeo.org git at osgeo.org
Tue Mar 3 11:44:18 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, stable-3.0 has been updated
       via  3d4ab97306bf7fac558aab8403d1956dffaaa680 (commit)
      from  6428d5678a3cc81e0f428c3a4d48ae2f1ae1c8ff (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 3d4ab97306bf7fac558aab8403d1956dffaaa680
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Mar 3 11:44:12 2020 -0800

    remove raster/Version.config and associated unused macros

diff --git a/configure.ac b/configure.ac
index 14ad919..c5df08d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1302,39 +1302,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