[Git][debian-gis-team/mapcache][master] 3 commits: Append -DNDEBUG to CFLAGS to remove buildpath from binaries.

Bas Couwenberg gitlab at salsa.debian.org
Sun Apr 21 11:44:44 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / mapcache


Commits:
a90eb090 by Bas Couwenberg at 2019-04-21T10:32:54Z
Append -DNDEBUG to CFLAGS to remove buildpath from binaries.

- - - - -
de615def by Bas Couwenberg at 2019-04-21T10:41:25Z
Add lintian override for file-references-package-build-path.

- - - - -
7cecb0bc by Bas Couwenberg at 2019-04-21T10:44:33Z
Add patch to fix spelling errors.

- - - - -


5 changed files:

- debian/changelog
- debian/libapache2-mod-mapcache.lintian-overrides
- debian/patches/series
- + debian/patches/spelling-errors.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -4,6 +4,9 @@ mapcache (1.6.1-4) UNRELEASED; urgency=medium
   * Update watch file to limit matches to archive path.
   * Add Build-Depends-Package field to symbols file.
   * Remove package name from lintian overrides.
+  * Append -DNDEBUG to CFLAGS to remove buildpath from binaries.
+  * Add lintian override for file-references-package-build-path.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 05 Aug 2018 20:27:27 +0200
 


=====================================
debian/libapache2-mod-mapcache.lintian-overrides
=====================================
@@ -1,3 +1,6 @@
 # False positive, dependency set by dh_apache2
 apache2-module-depends-on-real-apache2-package apache2-bin
 
+# Cannot easily be fixed
+file-references-package-build-path *
+


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 cmake-mapserver-include.patch
+spelling-errors.patch


=====================================
debian/patches/spelling-errors.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Fix spelling errors.
+ * degreees -> degrees
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/mapserver/mapcache/pull/199
+
+--- a/util/mapcache_seed.c
++++ b/util/mapcache_seed.c
+@@ -1258,7 +1258,7 @@ int main(int argc, const char **argv)
+            extent->miny < -91.0 ||
+            extent->maxy > 91.0) {
+           printf("\n********************************************************************************\n"
+-                 "* WARNING!!!: you are seeding a grid in latlon degreees,\n"
++                 "* WARNING!!!: you are seeding a grid in latlon degrees,\n"
+                  "* but your provided OGR intersection features span (%f,%f,%f,%f).\n"
+                  "* this seems like an error, you should be providing OGR features that\n"
+                  "* are in the same projection as the grid you want to seed\n"
+@@ -1271,7 +1271,7 @@ int main(int argc, const char **argv)
+            extent->miny > -91.0 &&
+            extent->maxy < 91.0) {
+           printf("\n********************************************************************************\n"
+-                 "* WARNING!!!: you are seeding a grid that is not in latlon degreees,\n"
++                 "* WARNING!!!: you are seeding a grid that is not in latlon degrees,\n"
+                  "* but your provided OGR intersection features span (%f,%f,%f,%f) which seem to be in degrees.\n"
+                  "* this seems like an error, you should be providing OGR features that\n"
+                  "* are in the same projection as the grid you want to seed\n"


=====================================
debian/rules
=====================================
@@ -10,6 +10,9 @@ export DH_OPTIONS
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# Remove buildpath from binaries
+export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG
+
 DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapcache/compare/71701c5d7e5921f20db382a1dc667c503ced06be...7cecb0bc5505f7e6890265cc1e99526b464aefeb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapcache/compare/71701c5d7e5921f20db382a1dc667c503ced06be...7cecb0bc5505f7e6890265cc1e99526b464aefeb
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190421/a7cf410e/attachment-0001.html>


More information about the Pkg-grass-devel mailing list