[mapserver] 04/08: Drop patches applied upstream.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jul 24 11:14:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch experimental
in repository mapserver.

commit 7e1e31ac47cc954797983be7d95b5d1b08761a31
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jul 24 11:35:14 2015 +0200

    Drop patches applied upstream.
---
 debian/changelog                                   |   1 +
 ...ing-header-files-inside-an-extern-c-block.patch | 297 ---------------------
 debian/patches/consistent-typo.patch               |  27 --
 debian/patches/series                              |   4 -
 debian/patches/soversion.patch                     |  25 --
 debian/patches/unknown-typo.patch                  |  16 --
 6 files changed, 1 insertion(+), 369 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0b397d2..fdcc5c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mapserver (7.0.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Drop patches applied upstream.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 24 Jul 2015 11:26:03 +0200
 
diff --git a/debian/patches/avoid-including-header-files-inside-an-extern-c-block.patch b/debian/patches/avoid-including-header-files-inside-an-extern-c-block.patch
deleted file mode 100644
index 563395c..0000000
--- a/debian/patches/avoid-including-header-files-inside-an-extern-c-block.patch
+++ /dev/null
@@ -1,297 +0,0 @@
-From c67a74b5f11747aab1a251ef601ced72e55107f8 Mon Sep 17 00:00:00 2001
-From: Thomas Bonfort <thomas.bonfort at gmail.com>
-Date: Thu, 9 Jul 2015 15:13:42 +0200
-Subject: [PATCH 1/2] Avoid including header files inside an extern C block
- (#5117)
-
----
- mapgml.c       |  1 +
- mapobject.c    |  1 +
- mapogcfilter.c |  1 +
- mapogcsld.c    |  1 +
- mapogcsos.c    |  1 +
- mapogr.cpp     |  1 +
- mapogroutput.c |  1 +
- mapows.c       |  1 +
- mapows.h       | 13 ++++++++++++-
- mapserver.h    |  6 ------
- mapwcs.c       |  1 +
- mapwcs11.c     |  1 +
- mapwcs20.c     |  1 +
- mapwfs.c       |  1 +
- mapwms.c       |  1 +
- mapwmslayer.c  |  1 +
- 16 files changed, 26 insertions(+), 7 deletions(-)
-
-diff --git a/mapgml.c b/mapgml.c
-index 3e07119..52a6587 100644
---- a/mapgml.c
-+++ b/mapgml.c
-@@ -29,6 +29,7 @@
- 
- #include "mapserver.h"
- #include "maperror.h"
-+#include "mapows.h"
- #include "mapgml.h"
- #include "maptime.h"
- 
-diff --git a/mapobject.c b/mapobject.c
-index 255b47c..8c5cdb5 100644
---- a/mapobject.c
-+++ b/mapobject.c
-@@ -29,6 +29,7 @@
-  ****************************************************************************/
- 
- #include "mapserver.h"
-+#include "mapows.h"
- 
- #ifdef USE_GDAL
- #  include "gdal.h"
-diff --git a/mapogcfilter.c b/mapogcfilter.c
-index 3d4bab8..50e7381 100644
---- a/mapogcfilter.c
-+++ b/mapogcfilter.c
-@@ -39,6 +39,7 @@
- #include "mapserver.h"
- #include "mapowscommon.h"
- #include "maptime.h"
-+#include "mapows.h"
- 
- static int FLTHasUniqueTopLevelDuringFilter(FilterEncodingNode *psFilterNode);
- 
-diff --git a/mapogcsld.c b/mapogcsld.c
-index af0cb76..b3372ff 100644
---- a/mapogcsld.c
-+++ b/mapogcsld.c
-@@ -29,6 +29,7 @@
- #include "mapogcsld.h"
- #include "mapogcfilter.h"
- #include "mapserver.h"
-+#include "mapows.h"
- 
- #ifdef USE_OGR
- #include "cpl_string.h"
-diff --git a/mapogcsos.c b/mapogcsos.c
-index df09261..f709c48 100644
---- a/mapogcsos.c
-+++ b/mapogcsos.c
-@@ -30,6 +30,7 @@
- #define _GNU_SOURCE
- 
- #include "mapserver.h"
-+#include "mapows.h"
- 
- #if defined(USE_SOS_SVR) && defined(USE_LIBXML2)
- 
-diff --git a/mapogr.cpp b/mapogr.cpp
-index 1f21b29..1708d1c 100644
---- a/mapogr.cpp
-+++ b/mapogr.cpp
-@@ -32,6 +32,7 @@
- #include "mapserver.h"
- #include "mapproject.h"
- #include "mapthread.h"
-+#include "mapows.h"
- 
- #if defined(USE_OGR) || defined(USE_GDAL)
- #  include "gdal_version.h"
-diff --git a/mapogroutput.c b/mapogroutput.c
-index 3fac96f..ed12736 100644
---- a/mapogroutput.c
-+++ b/mapogroutput.c
-@@ -31,6 +31,7 @@
- #include "mapserver.h"
- #include "mapproject.h"
- #include "mapthread.h"
-+#include "mapows.h"
- 
- #if defined(USE_OGR)
- #  define __USE_LARGEFILE64 1
-diff --git a/mapows.c b/mapows.c
-index 617abc3..dd2d856 100644
---- a/mapows.c
-+++ b/mapows.c
-@@ -30,6 +30,7 @@
- #include "mapserver.h"
- #include "maptime.h"
- #include "maptemplate.h"
-+#include "mapows.h"
- 
- #if defined(USE_LIBXML2)
- #include "maplibxml2.h"
-diff --git a/mapows.h b/mapows.h
-index 4d7f41f..b8be8cc 100644
---- a/mapows.h
-+++ b/mapows.h
-@@ -40,6 +40,15 @@
-  */
- #define OWS_DEFAULT_SCHEMAS_LOCATION   "http://schemas.opengis.net"
- 
-+#if defined USE_LIBXML2 && defined USE_WFS_SVR
-+#include<libxml/tree.h>
-+#endif
-+
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+
-+
- /*====================================================================
-  *   mapows.c
-  *====================================================================*/
-@@ -474,7 +483,6 @@ int msWFSException11(mapObj *map, const char *locator,
- int msWFSGetCapabilities11(mapObj *map, wfsParamsObj *wfsparams,
-                            cgiRequestObj *req, owsRequestObj *ows_request);
- #ifdef USE_LIBXML2
--#include<libxml/tree.h>
- xmlNodePtr msWFSDumpLayer11(mapObj *map, layerObj *lp, xmlNsPtr psNsOws,
-                           int nWFSVersion, const char* validate_language);
- #endif
-@@ -535,6 +543,9 @@ int msWCSDispatch(mapObj *map, cgiRequestObj *requestobj, owsRequestObj *ows_req
- 
- int msSOSDispatch(mapObj *map, cgiRequestObj *requestobj, owsRequestObj *ows_request); /* only 1 public function */
- 
-+#ifdef __cplusplus
-+} /* extern "C" */
-+#endif
- 
- #endif /* MAPOWS_H */
- 
-diff --git a/mapserver.h b/mapserver.h
-index ec91380..e02dcb3 100644
---- a/mapserver.h
-+++ b/mapserver.h
-@@ -2806,12 +2806,6 @@ void msPopulateTextSymbolForLabelAndString(textSymbolObj *ts, labelObj *l, char
-                                   const char *pszEntryPoint);
- 
-   /* ==================================================================== */
--  /*      include definitions from mapows.h                               */
--  /* ==================================================================== */
--#include "mapows.h"
--
--
--  /* ==================================================================== */
-   /*      prototypes for functions in mapgeos.c                         */
-   /* ==================================================================== */
-   MS_DLL_EXPORT void msGEOSSetup(void);
-diff --git a/mapwcs.c b/mapwcs.c
-index 3d5180e..380b6b2 100644
---- a/mapwcs.c
-+++ b/mapwcs.c
-@@ -30,6 +30,7 @@
- #include "mapserver.h"
- #include "maperror.h"
- #include "mapthread.h"
-+#include "mapows.h"
- #include <assert.h>
- 
- 
-diff --git a/mapwcs11.c b/mapwcs11.c
-index 0385f52..8dbe948 100644
---- a/mapwcs11.c
-+++ b/mapwcs11.c
-@@ -33,6 +33,7 @@
- #include "mapserver.h"
- #include "maperror.h"
- #include "mapthread.h"
-+#include "mapows.h"
- #include "mapwcs.h"
- 
- 
-diff --git a/mapwcs20.c b/mapwcs20.c
-index 95351b8..ac2fb89 100644
---- a/mapwcs20.c
-+++ b/mapwcs20.c
-@@ -36,6 +36,7 @@
- #include "mapserver.h"
- #include "maperror.h"
- #include "mapthread.h"
-+#include "mapows.h"
- #include "mapwcs.h"
- #include <float.h>
- #include "gdal.h"
-diff --git a/mapwfs.c b/mapwfs.c
-index 0b28233..ed223d9 100644
---- a/mapwfs.c
-+++ b/mapwfs.c
-@@ -28,6 +28,7 @@
-  ****************************************************************************/
- 
- #include "mapserver.h"
-+#include "mapows.h"
- 
- 
- 
-diff --git a/mapwms.c b/mapwms.c
-index 17a3a09..d681d12 100644
---- a/mapwms.c
-+++ b/mapwms.c
-@@ -35,6 +35,7 @@
- #include "mapgml.h"
- #include <ctype.h>
- #include "maptemplate.h"
-+#include "mapows.h"
- 
- #include "mapogcsld.h"
- #include "mapogcfilter.h"
-diff --git a/mapwmslayer.c b/mapwmslayer.c
-index 9ba8f24..42a44f1 100644
---- a/mapwmslayer.c
-+++ b/mapwmslayer.c
-@@ -30,6 +30,7 @@
- #include "mapserver.h"
- #include "maperror.h"
- #include "mapogcsld.h"
-+#include "mapows.h"
- 
- #include <time.h>
- #include <ctype.h>
-
-From 6aa5873862fb86b2b418de990e0b1319ff05b9e7 Mon Sep 17 00:00:00 2001
-From: Thomas Bonfort <thomas.bonfort at gmail.com>
-Date: Thu, 9 Jul 2015 15:24:32 +0200
-Subject: [PATCH 2/2] missing mapows.h includes
-
----
- mapcontext.c       | 2 +-
- mapdraw.c          | 1 +
- mapkmlrenderer.cpp | 1 +
- 3 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/mapcontext.c b/mapcontext.c
-index 1b71216..db9150c 100644
---- a/mapcontext.c
-+++ b/mapcontext.c
-@@ -27,7 +27,7 @@
-  ****************************************************************************/
- 
- #include "mapserver.h"
--
-+#include "mapows.h"
- 
- 
- #if defined(USE_WMS_LYR) && defined(USE_OGR)
-diff --git a/mapdraw.c b/mapdraw.c
-index 1221b90..1a7a73a 100644
---- a/mapdraw.c
-+++ b/mapdraw.c
-@@ -33,6 +33,7 @@
- #include "maptime.h"
- #include "mapcopy.h"
- #include "mapfile.h"
-+#include "mapows.h"
- 
- 
- /* msPrepareImage()
-diff --git a/mapkmlrenderer.cpp b/mapkmlrenderer.cpp
-index f65fb45..7829eb2 100644
---- a/mapkmlrenderer.cpp
-+++ b/mapkmlrenderer.cpp
-@@ -34,6 +34,7 @@
- #include "maperror.h"
- #include "mapkmlrenderer.h"
- #include "mapio.h"
-+#include "mapows.h"
- 
- #if defined(USE_OGR)
- #  include "cpl_conv.h"
diff --git a/debian/patches/consistent-typo.patch b/debian/patches/consistent-typo.patch
deleted file mode 100644
index 7aa4316..0000000
--- a/debian/patches/consistent-typo.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: Fix 'consistant' typo, replace with 'consistent'.
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: https://github.com/mapserver/mapserver/pull/5116
-Applied-Upstream: https://github.com/mapserver/mapserver/commit/5f3554c3e6726b1ddf63e41301b69d1f7707734a
-
---- a/mapogcfilter.c
-+++ b/mapogcfilter.c
-@@ -3537,7 +3537,7 @@ int FLTCheckFeatureIdFilters(FilterEncod
-                 if( pszDot - pszId != strlen(lp->name) ||
-                     strncasecmp(pszId, lp->name, strlen(lp->name)) != 0 )
-                 {
--                    msSetError(MS_MISCERR, "Feature id %s not consistant with feature type name %s.",
-+                    msSetError(MS_MISCERR, "Feature id %s not consistent with feature type name %s.",
-                                "FLTPreParseFilterForAlias()", pszId, lp->name);
-                     status = MS_FAILURE;
-                     break;
---- a/mapwfs.c
-+++ b/mapwfs.c
-@@ -2059,7 +2059,7 @@ static int msWFSRunFilter(mapObj* map,
-     /*preparse the filter for gml aliases*/
-     FLTPreParseFilterForAliasAndGroup(psNode, map, lp->index, "G");
- 
--    /* Check that FeatureId filters are consistant with the active layer */
-+    /* Check that FeatureId filters are consistent with the active layer */
-     if( FLTCheckFeatureIdFilters(psNode, map, lp->index) == MS_FAILURE)
-     {
-         FLTFreeFilterEncodingNode( psNode );
diff --git a/debian/patches/series b/debian/patches/series
index d8c92ae..58ac143 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,7 +4,3 @@ perl-mapscript-install.patch
 ruby-mapscript-install.patch
 cmake-mapserver-export.patch
 java-hardening.patch
-consistent-typo.patch
-unknown-typo.patch
-avoid-including-header-files-inside-an-extern-c-block.patch
-soversion.patch
diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch
deleted file mode 100644
index 37e3293..0000000
--- a/debian/patches/soversion.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: Bump SOVERSION to 2, because of removed symbols.
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: https://github.com/mapserver/mapserver/pull/5118
-Applied-Upstream: https://github.com/mapserver/mapserver/commit/5154eb8dbf63de9b952504c2b9cc47ec65e43532
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -277,7 +277,7 @@ if(BUILD_DYNAMIC)
-   add_library(mapserver SHARED ${mapserver_SOURCES} ${agg_SOURCES} ${v8_SOURCES})
-   set_target_properties( mapserver  PROPERTIES
-     VERSION ${MapServer_VERSION_STRING}
--    SOVERSION 1
-+    SOVERSION 2
- ) 
- endif(BUILD_DYNAMIC)
- 
-@@ -285,7 +285,7 @@ if(BUILD_STATIC)
-   add_library(mapserver_static STATIC ${mapserver_SOURCES} ${agg_SOURCES} ${v8_SOURCES})
-   set_target_properties( mapserver_static PROPERTIES
-     VERSION ${MapServer_VERSION_STRING}
--    SOVERSION 1
-+    SOVERSION 2
-   ) 
- endif(BUILD_STATIC)
- 
diff --git a/debian/patches/unknown-typo.patch b/debian/patches/unknown-typo.patch
deleted file mode 100644
index 503702d..0000000
--- a/debian/patches/unknown-typo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Fix 'Unkown' typo, replace with 'Unknown'.
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: https://github.com/mapserver/mapserver/pull/5116
-Applied-Upstream: https://github.com/mapserver/mapserver/commit/bf8c0f7baa47f42be8eaa1bf45717371dbce7b2d
-
---- a/mapgdal.c
-+++ b/mapgdal.c
-@@ -243,7 +243,7 @@ int msSaveImageGDAL( mapObj *map, imageO
-     eDataType = GDT_Byte;
-   } else {
-     msReleaseLock( TLOCK_GDAL );
--    msSetError( MS_MEMERR, "Unkown format. This is a bug.", "msSaveImageGDAL()");
-+    msSetError( MS_MEMERR, "Unknown format. This is a bug.", "msSaveImageGDAL()");
-     return MS_FAILURE;
-   }
- 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapserver.git



More information about the Pkg-grass-devel mailing list