FDO 3.4.0 RC2

10 messages Options
Embed this post
Permalink
Greg Boone

FDO 3.4.0 RC2

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

We are pleased to announce the release of FDO 3.4.0 Release Candidate 2.

 

For a complete list of the new features and defect fixes included in 3.4.0, see the FDO 3.4.0 milestone page:

 

Documentation: http://fdo.osgeo.org/documentation.html

Downloads: http://fdo.osgeo.org/downloads

 

Regards,

The FDO Open Source Team

 


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: FDO 3.4.0 RC2

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

In co-ordination with the release of FDO 3.4.0 RC2…  I have branched the 3.4 release at

 

http://svn.osgeo.org/fdo/branches/3.4

 

I have also tagged the 3.4.0 build at

 

http://svn.osgeo.org/fdo/tags/3.4.0

 

The trunk is now open once again for submissions not related to releasing 3.4.0.  Please continue to log track items for all submissions.

 

Greg

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Tuesday, March 10, 2009 2:10 PM
To: [hidden email]
Cc: FDO Internals Mail List; [hidden email]; List
Subject: [fdo-internals] FDO 3.4.0 RC2

 

We are pleased to announce the release of FDO 3.4.0 Release Candidate 2.

 

For a complete list of the new features and defect fixes included in 3.4.0, see the FDO 3.4.0 milestone page:

 

Documentation: http://fdo.osgeo.org/documentation.html

Downloads: http://fdo.osgeo.org/downloads

 

Regards,

The FDO Open Source Team

 


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Helio Chissini de Castro

Re: RE: FDO 3.4.0 RC2 - Linux build patches

Reply Threaded More More options
Print post
Permalink
On Tuesday 10 of March 2009 15:16:59 Greg Boone wrote:
> In co-ordination with the release of FDO 3.4.0 RC2...  I have branched the
> 3.4 release at

Attached the following patches to allow clean build linux on core FDO, all
still valid on 3.4.0, explained:

fdo-3.3.1-genericrdbms-unixodbc.patch:
- Required if you compile with -Wl,--no-undefined -Wl,--as-needed in ldflags,
otherwise have link failure

fdo-3.4.0-xalan-1.10-transcode.patch:
- Required to enable usage with xalan-c versions equal or higher than 1.10

fdo-3.4.0-missing-cstd-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-sqlite-internal-wformat.patch:
- Required if you compile with -Wformat flags that avoid use printf/sprintf
with proper syntax and enable possible buffer underruns

fdo-3.4.0-xerces-greater-than-2.8.patch:
- Requires to enable usage with xercer >= 2.8

fdo-3.3.1-constify-chars.patch:
- Used to make message parameters constified, reducing verbosity of compilation
and saving unnecessary code allocation.

Hope i'm not too late to this be included in release

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

[fdo-3.3.1-constify-chars.patch]

--- OpenSource_FDO/Fdo/Unmanaged/Src/Common/Exception.cpp.orig 2008-10-13 11:20:18.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Common/Exception.cpp 2008-10-13 11:23:24.000000000 -0300
@@ -69,10 +69,10 @@
 
 extern "C"
 wchar_t * nls_msg_get_W2(wchar_t *msg_string,
-                        char *cat_name,
+                        const char *cat_name,
                         int set_num,
                         unsigned long msg_num, // was DWORD
-                        char *default_msg,
+                        const char *default_msg,
                         va_list arguments);
 
 FdoException* FdoException::Create()
@@ -152,7 +152,7 @@
     return NULL;
 }
 
-FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* file, int line, ...)
+FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* file, int line, ...)
 {
     va_list arguments;
 
@@ -162,7 +162,7 @@
     return result;
 }
 
-FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* file, int line, char* catalog, va_list arguments)
+FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* file, int line, const char* catalog, va_list arguments)
 {
 #ifdef  _DEBUG
 
@@ -181,7 +181,7 @@
 #endif
 }
 
-FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, char* defMsg, ...)
+FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, const char* defMsg, ...)
 {
     va_list arguments;
 
@@ -191,7 +191,7 @@
     return result;
 }
 
-FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* catalog, va_list arguments)
+FdoString* FdoException::NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* catalog, va_list arguments)
 {
     return nls_msg_get_W2(NULL, catalog, 1, msgNum, defMsg, arguments);
 }
--- OpenSource_FDO/Fdo/Unmanaged/Inc/Common/Exception.h.orig 2008-10-13 11:18:46.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Inc/Common/Exception.h 2008-10-13 11:22:09.000000000 -0300
@@ -160,7 +160,7 @@
     /// \return
     /// Returns the localized message text
     ///
-    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* file, int line, ...);
+    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* file, int line, ...);
 
     /// \brief
     /// Gets the exception message. For internal use by FdoException class in getting a localized message.
@@ -181,7 +181,7 @@
     /// \return
     /// Returns the localized message text
     ///
-    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* file, int line, char* catalog, va_list arguments);
+    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* file, int line, const char* catalog, va_list arguments);
 
     /// \brief
     /// Gets the exception message. For internal use by template classes in getting a localized message.
@@ -198,7 +198,7 @@
     /// \return
     /// Returns the localized message text
     ///
-    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, char* defMsg, ...);
+    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, const char* defMsg, ...);
 
     /// \brief
     /// Gets the exception message. For internal use by FdoException class in getting a localized message.
@@ -215,7 +215,7 @@
     /// \return
     /// Returns the localized message text
     ///
-    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, char* defMsg, char* catalog, va_list arguments);
+    FDO_API_COMMON static FdoString* NLSGetMessage(FdoInt32 msgNum, const char* defMsg, const char* catalog, va_list arguments);
 
 /// \cond DOXYGEN-IGNORE
 protected:
--- OpenSource_FDO/Fdo/Unmanaged/Src/Nls/msg_get.c.orig 2008-10-13 11:24:30.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Nls/msg_get.c 2008-10-13 11:24:49.000000000 -0300
@@ -40,10 +40,10 @@
 extern pthread_mutex_t NlsMsgGetCriticalSection;
 
 wchar_t* nls_msg_get_W2(wchar_t *msg_string,
-            char *cat_name,
+            const char *cat_name,
             int  set_num,
             int  msg_num,
-            char *default_msg,
+            const char *default_msg,
             va_list argp)
 {
     char *fmt_str = NULL;
--- OpenSource_FDO/Fdo/Unmanaged/Src/Nls/Inc/nls.h.orig 2008-10-13 11:26:20.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Nls/Inc/nls.h 2008-10-13 11:26:45.000000000 -0300
@@ -119,10 +119,10 @@
                                         char *default_msg,
                                         ...));
 extern wchar_t *    nls_msg_get_W2       PROTO ((wchar_t *msg_string,
-                                        char *cat_name,
+                                        const char *cat_name,
                                         int  set_num,
                                         DWORD msg_num,
-                                        char *default_msg,
+                                        const char *default_msg,
                                         va_list arguments));
 extern char *   nls_ftoa     PROTO ((double number,
                                         int width,


[fdo-3.3.1-genericrdbms-unixodbc.patch]

--- OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Makefile.am.orig 2008-10-06 23:16:20.000000000 -0400
+++ OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Makefile.am 2008-10-06 23:16:34.000000000 -0400
@@ -153,6 +153,7 @@
   -lxerces-c \
   -lz \
   -lodbc \
+  -lodbcinst \
   ./Common/libCommonUnitTests.la \
   ./Odbc/libOdbcUnitTests.la  \
   ../ODBC/libFdoRdbmsODBC.la  \
--- OpenSource_FDO/Providers/GenericRdbms/Src/Makefile.am.orig 2008-10-06 23:15:43.000000000 -0400
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Makefile.am 2008-10-06 23:15:51.000000000 -0400
@@ -86,6 +86,7 @@
   -lxalan-c -lxalanMsg \
   -lxerces-c \
   -lodbc \
+  -lodbcinst \
   ODBC/libFdoRdbmsODBC.la  \
   Fdo/libFdoRdbms.la   \
   Rdbi/librdbi.la  \
--- OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Makefile.am.orig 2008-10-13 13:30:15.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Makefile.am 2008-10-13 13:31:55.000000000 -0300
@@ -189,6 +189,7 @@
   ../Rdbi/librdbi.la \
   ../Util/libutil.la \
   -lodbc \
+  -lodbcinst \
   -lz
 
 UnitTestOdbc_LDFLAGS = \


[fdo-3.4.0-sqlite-internal-wformat.patch]

--- OpenSource_FDO/Thirdparty/Sqlite3.3.13/Src/shell.c.orig 2009-03-13 11:22:15.000000000 -0300
+++ OpenSource_FDO/Thirdparty/Sqlite3.3.13/Src/shell.c 2009-03-13 11:23:04.000000000 -0300
@@ -414,7 +414,7 @@
     }
   }
   if( bSep ){
-    fprintf(p->out, p->separator);
+    fprintf(p->out, "%s", p->separator);
   }
 }
 
@@ -1085,7 +1085,7 @@
   }else
 
   if( c=='h' && strncmp(azArg[0], "help", n)==0 ){
-    fprintf(stderr,zHelp);
+    fprintf(stderr, "%s", zHelp);
   }else
 
   if( c=='i' && strncmp(azArg[0], "import", n)==0 && nArg>=3 ){


[fdo-3.4.0-xerces-greater-than-2.8.patch]

--- OpenSource_FDO/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp.orig 2009-03-13 11:33:28.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp 2009-03-13 11:34:36.000000000 -0300
@@ -19,8 +19,13 @@
 #include "ReaderXrcs.h"
 #include <Common/Xml/UtilXrcs.h>
 #include <Common/Semaphore.h>
+
 #include <xercesc/sax2/XMLReaderFactory.hpp>
 #include <xercesc/sax/SAXParseException.hpp>
+#if _XERCES_VERSION >= 20800
+#include <xercesc/sax2/Attributes.hpp>
+#endif
+
 #include <stdio.h>
 #include "../CommonInternal.h"
 


[fdo-3.4.0-xalan-1.10-transcode.patch]

--- OpenSource_FDO/Fdo/Unmanaged/Src/Common/Xsl/TransformerXalan.cpp.orig 2009-03-13 13:53:04.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Common/Xsl/TransformerXalan.cpp 2009-03-13 14:01:58.000000000 -0300
@@ -15,6 +15,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+#include <cstring>
 #include <FdoCommon.h>
 #include <Common/Xsl/TransformerXalan.h>
 #include <Common/Xml/UtilXrcs.h>
@@ -383,6 +384,17 @@
 
 FdoStringP FdoXslTransformerXalan::XalanDomStringToUnicode(const XALAN_CPP_NAMESPACE::XalanDOMString &xalanDomString)
 {
+
+#if XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR >= 10
+    XALAN_CPP_NAMESPACE::CharVectorType charData;
+    xalanDomString.transcode( charData );
+    std::string buffer;
+    XALAN_CPP_NAMESPACE::CharVectorType::iterator it;
+    for( it = charData.begin(); it != charData.end(); it++ )
+         buffer += *it;
+
+    return FdoStringP(buffer.c_str());
+#else
     XALAN_CPP_NAMESPACE::CharVectorType vector = xalanDomString.transcode();
     char buffer[5001];
     wchar_t wbuffer[5001];
@@ -396,6 +408,8 @@
     i = mbstowcs (wbuffer, buffer, 5000);
 
     return FdoStringP(wbuffer);
+#endif
+
 }
 
 FdoStringP FdoXslTransformerXalan::XalanNodeToUnicode(const XALAN_CPP_NAMESPACE::XalanNode* inNode)


[fdo-3.4.0-missing-cstd-includes.patch]

--- OpenSource_FDO/Fdo/Unmanaged/Inc//Common/Io/ObjectStreamReader.h.orig 2009-03-13 11:29:24.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Inc//Common/Io/ObjectStreamReader.h 2009-03-13 11:29:40.000000000 -0300
@@ -19,6 +19,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
+#include <climits>
 #include <FdoCommon.h>
 #include <Common/IStreamReaderTmpl.h>
 
--- OpenSource_FDO/Fdo/Unmanaged/Src/Common/Gml212/Schema.cpp.orig 2009-03-13 11:37:53.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Common/Gml212/Schema.cpp 2009-03-13 11:39:22.000000000 -0300
@@ -15,8 +15,11 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+
+#include <cstdio>
+#include <cstring>
 #include <FdoCommon.h>
-#include <stdio.h>
 #include "xlinks.h"
 #include "geometry.h"
 #include "feature.h"
--- OpenSource_FDO/Fdo/Unmanaged/Inc/Fdo/ClientServices/ConnectionManager.h.orig 2009-03-13 12:54:56.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Inc/Fdo/ClientServices/ConnectionManager.h 2009-03-13 12:55:07.000000000 -0300
@@ -25,6 +25,7 @@
 #pragma once
 #endif
 
+#include <string>
 #include <map>
 #include <Fdo/IConnectionManager.h>
 
--- OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/ClassCapabilities.cpp.orig 2009-03-13 12:59:03.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/ClassCapabilities.cpp 2009-03-13 12:59:19.000000000 -0300
@@ -15,6 +15,8 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
 #include <Fdo/Schema/ClassDefinition.h>
 
 FdoClassCapabilities::FdoClassCapabilities()
--- OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/FeatureSchema.cpp.orig 2009-03-13 13:00:11.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/FeatureSchema.cpp 2009-03-13 13:00:24.000000000 -0300
@@ -15,6 +15,8 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <Fdo/Schema/FeatureSchema.h>
--- OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/FeatureSchemaCollection.cpp.orig 2009-03-13 13:01:10.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Schema/FeatureSchemaCollection.cpp 2009-03-13 13:01:24.000000000 -0300
@@ -15,6 +15,8 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <Fdo/Expression/Identifier.h>
--- OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp.orig 2009-03-13 13:02:38.000000000 -0300
+++ OpenSource_FDO/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp 2009-03-13 13:03:13.000000000 -0300
@@ -15,11 +15,13 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cmath> // for pow()
+#include <climits> // LONG_MAX and LONG_MIN
+#include <ctime>
+#include <cwctype>
+#include <cstring>
 #include "Parse.h"
-#include <math.h> // for pow()
-#include <limits.h> // LONG_MAX and LONG_MIN
-#include <time.h>
-#include <wctype.h>
 #include "StringUtility.h"
 
 #define CHR_NULL '\0'
--- OpenSource_FDO/Fdo/UnitTest/app.cpp.orig 2009-03-13 13:04:31.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/app.cpp 2009-03-13 13:05:49.000000000 -0300
@@ -13,6 +13,9 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
+#include <cstdlib>
+
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
 #include <cppunit/ui/text/TestRunner.h>
--- OpenSource_FDO/Fdo/UnitTest/ExpressionTest.cpp.orig 2009-03-13 13:06:45.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/ExpressionTest.cpp 2009-03-13 13:07:03.000000000 -0300
@@ -13,6 +13,9 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
+#include <cstdlib>
+
 #include "Pch.h"
 #include "ExpressionTest.h"
 #ifdef _DEBUG
--- OpenSource_FDO/Fdo/UnitTest/GeometryMemPerfTest.cpp.orig 2009-03-13 13:08:57.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/GeometryMemPerfTest.cpp 2009-03-13 13:09:14.000000000 -0300
@@ -13,6 +13,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
+
 #include "Pch.h"
 #include "GeometryMemPerfTest.h"
 #include "UnitTestUtil.h"
--- OpenSource_FDO/Fdo/UnitTest/IoTest.cpp.orig 2009-03-13 13:10:10.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/IoTest.cpp 2009-03-13 13:10:22.000000000 -0300
@@ -13,6 +13,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
+
 #include "Pch.h"
 #include "IoTest.h"
 #include "UnitTestUtil.h"
--- OpenSource_FDO/Fdo/UnitTest/UnitTestUtil.cpp.orig 2009-03-13 13:11:36.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/UnitTestUtil.cpp 2009-03-13 13:11:51.000000000 -0300
@@ -17,6 +17,8 @@
 *
  */
 
+#include <cstring>
+
 #include "Pch.h"
 #include "UnitTestUtil.h"
 #ifdef _WIN32
--- OpenSource_FDO/Fdo/UnitTest/XmlTest.cpp.orig 2009-03-13 13:12:33.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/XmlTest.cpp 2009-03-13 13:12:43.000000000 -0300
@@ -13,6 +13,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
+
 #include "Pch.h"
 #include "XmlTest.h"
 #include "UnitTestUtil.h"
--- OpenSource_FDO/Fdo/UnitTest/GmlWriteTest.cpp.orig 2009-03-13 13:13:26.000000000 -0300
+++ OpenSource_FDO/Fdo/UnitTest/GmlWriteTest.cpp 2009-03-13 13:13:38.000000000 -0300
@@ -13,6 +13,7 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include <cstring>
 
 #include "Pch.h"
 #include "GmlWriteTest.h"
--- OpenSource_FDO/Utilities/Common/Src/FdoCommonOSUtil.cpp.orig 2009-03-13 13:14:24.000000000 -0300
+++ OpenSource_FDO/Utilities/Common/Src/FdoCommonOSUtil.cpp 2009-03-13 13:14:46.000000000 -0300
@@ -19,6 +19,7 @@
 
 #include "stdafx.h"
 
+#include <cstring>
 #include <math.h>
 
 #ifdef _WIN32
--- OpenSource_FDO/Utilities/Common/Src/FdoCommonBinaryWriter.cpp.orig 2009-03-13 13:17:54.000000000 -0300
+++ OpenSource_FDO/Utilities/Common/Src/FdoCommonBinaryWriter.cpp 2009-03-13 13:18:07.000000000 -0300
@@ -15,6 +15,9 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
+
 #include "stdafx.h"
 #include <FdoCommonBinaryWriter.h>
 #include <FdoCommonStringUtil.h>
--- OpenSource_FDO/Utilities/Common/Src/Parse/Lex.cpp.orig 2009-03-13 13:19:04.000000000 -0300
+++ OpenSource_FDO/Utilities/Common/Src/Parse/Lex.cpp 2009-03-13 13:19:19.000000000 -0300
@@ -15,6 +15,8 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
 #include <stdafx.h>
 #include <math.h> // for pow()
 #include <limits.h> // LONG_MAX and LONG_MIN
--- OpenSource_FDO/Utilities/TestCommon/Src/TestCommonFileUtil.cpp.orig 2009-03-13 13:22:23.000000000 -0300
+++ OpenSource_FDO/Utilities/TestCommon/Src/TestCommonFileUtil.cpp 2009-03-13 13:22:35.000000000 -0300
@@ -24,6 +24,8 @@
  *
  */
 
+#include <cstring>
+
 #include "stdafx.h"
 #include "TestCommonFileUtil.h"
 #include "FdoCommonFile.h"
--- OpenSource_FDO/Utilities/ExpressionEngine/Src/Functions/String/FdoFunctionConcat.cpp.orig 2009-03-13 13:24:15.000000000 -0300
+++ OpenSource_FDO/Utilities/ExpressionEngine/Src/Functions/String/FdoFunctionConcat.cpp 2009-03-13 13:24:28.000000000 -0300
@@ -17,6 +17,8 @@
 //
 //
 
+#include <cstring>
+
 #include <stdafx.h>
 #include <Functions/String/FdoFunctionConcat.h>
 #include "../../../../../Fdo/Unmanaged/Src/Common/StringUtility.h"
--- OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp.orig 2009-03-13 13:30:36.000000000 -0300
+++ OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp 2009-03-13 13:30:51.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include <math.h>
 #include <Sm/Ph/DependencyCollection.h>
--- OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/SimplePropertyDefinition.cpp.orig 2009-03-13 13:32:22.000000000 -0300
+++ OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Lp/SimplePropertyDefinition.cpp 2009-03-13 13:32:32.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include <Sm/Lp/ClassDefinition.h>
 #include <Sm/Lp/SimplePropertyDefinition.h>
--- OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Field.cpp.orig 2009-03-13 13:34:58.000000000 -0300
+++ OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Field.cpp 2009-03-13 13:35:10.000000000 -0300
@@ -16,6 +16,8 @@
  *
  */
 
+#include <cstring>
+
 #include "stdafx.h"
 #include <Sm/Ph/Row.h>
 #include <Sm/Error.h>
--- OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Mgr.cpp.orig 2009-03-13 13:36:00.000000000 -0300
+++ OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Mgr.cpp 2009-03-13 13:36:13.000000000 -0300
@@ -17,6 +17,7 @@
  */
 
 #include "stdafx.h"
+#include <cstring>
 #include <malloc.h>
 #include <Sm/Ph/Mgr.h>
 


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: RE: FDO 3.4.0 RC2 - Linux build patches

Reply Threaded More More options
Print post
Permalink
I think we could accommodate these changes. They are build related and should not affect functionality.

Greg

-----Original Message-----
From: Helio Chissini de Castro [mailto:[hidden email]]
Sent: Friday, March 13, 2009 1:11 PM
To: FDO Internals Mail List; Greg Boone
Subject: Re: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

On Tuesday 10 of March 2009 15:16:59 Greg Boone wrote:
> In co-ordination with the release of FDO 3.4.0 RC2...  I have branched the
> 3.4 release at

Attached the following patches to allow clean build linux on core FDO, all
still valid on 3.4.0, explained:

fdo-3.3.1-genericrdbms-unixodbc.patch:
- Required if you compile with -Wl,--no-undefined -Wl,--as-needed in ldflags,
otherwise have link failure

fdo-3.4.0-xalan-1.10-transcode.patch:
- Required to enable usage with xalan-c versions equal or higher than 1.10

fdo-3.4.0-missing-cstd-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-sqlite-internal-wformat.patch:
- Required if you compile with -Wformat flags that avoid use printf/sprintf
with proper syntax and enable possible buffer underruns

fdo-3.4.0-xerces-greater-than-2.8.patch:
- Requires to enable usage with xercer >= 2.8

fdo-3.3.1-constify-chars.patch:
- Used to make message parameters constified, reducing verbosity of compilation
and saving unnecessary code allocation.

Hope i'm not too late to this be included in release

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: RE: FDO 3.4.0 RC2 - Linux build patches

Reply Threaded More More options
Print post
Permalink
I don’t think we will be able to handle the changes in:

        fdo-3.3.1-constify-chars.patch

These changes constitute an interface change and would make applications running with previous builds/release candidates of 3.4.0 binary incompatible with the final release.

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Friday, March 13, 2009 1:26 PM
To: Helio Chissini de Castro; FDO Internals Mail List
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

I think we could accommodate these changes. They are build related and should not affect functionality.

Greg

-----Original Message-----
From: Helio Chissini de Castro [mailto:[hidden email]]
Sent: Friday, March 13, 2009 1:11 PM
To: FDO Internals Mail List; Greg Boone
Subject: Re: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

On Tuesday 10 of March 2009 15:16:59 Greg Boone wrote:
> In co-ordination with the release of FDO 3.4.0 RC2...  I have branched the
> 3.4 release at

Attached the following patches to allow clean build linux on core FDO, all
still valid on 3.4.0, explained:

fdo-3.3.1-genericrdbms-unixodbc.patch:
- Required if you compile with -Wl,--no-undefined -Wl,--as-needed in ldflags,
otherwise have link failure

fdo-3.4.0-xalan-1.10-transcode.patch:
- Required to enable usage with xalan-c versions equal or higher than 1.10

fdo-3.4.0-missing-cstd-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-sqlite-internal-wformat.patch:
- Required if you compile with -Wformat flags that avoid use printf/sprintf
with proper syntax and enable possible buffer underruns

fdo-3.4.0-xerces-greater-than-2.8.patch:
- Requires to enable usage with xercer >= 2.8

fdo-3.3.1-constify-chars.patch:
- Used to make message parameters constified, reducing verbosity of compilation
and saving unnecessary code allocation.

Hope i'm not too late to this be included in release

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Traian Stanev

RE: RE: FDO 3.4.0 RC2 - Linux build patches

Reply Threaded More More options
Print post
Permalink

It can still go into the trunk, right? Just not the 3.4 branch.


Traian


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Friday, March 13, 2009 2:10 PM
To: FDO Internals Mail List; Helio Chissini de Castro
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

I don’t think we will be able to handle the changes in:

        fdo-3.3.1-constify-chars.patch

These changes constitute an interface change and would make applications running with previous builds/release candidates of 3.4.0 binary incompatible with the final release.

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Friday, March 13, 2009 1:26 PM
To: Helio Chissini de Castro; FDO Internals Mail List
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

I think we could accommodate these changes. They are build related and should not affect functionality.

Greg

-----Original Message-----
From: Helio Chissini de Castro [mailto:[hidden email]]
Sent: Friday, March 13, 2009 1:11 PM
To: FDO Internals Mail List; Greg Boone
Subject: Re: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

On Tuesday 10 of March 2009 15:16:59 Greg Boone wrote:
> In co-ordination with the release of FDO 3.4.0 RC2...  I have branched
> the
> 3.4 release at

Attached the following patches to allow clean build linux on core FDO, all still valid on 3.4.0, explained:

fdo-3.3.1-genericrdbms-unixodbc.patch:
- Required if you compile with -Wl,--no-undefined -Wl,--as-needed in ldflags, otherwise have link failure

fdo-3.4.0-xalan-1.10-transcode.patch:
- Required to enable usage with xalan-c versions equal or higher than 1.10

fdo-3.4.0-missing-cstd-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-sqlite-internal-wformat.patch:
- Required if you compile with -Wformat flags that avoid use printf/sprintf with proper syntax and enable possible buffer underruns

fdo-3.4.0-xerces-greater-than-2.8.patch:
- Requires to enable usage with xercer >= 2.8

fdo-3.3.1-constify-chars.patch:
- Used to make message parameters constified, reducing verbosity of compilation and saving unnecessary code allocation.

Hope i'm not too late to this be included in release

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: RE: FDO 3.4.0 RC2 - Linux build patches

Reply Threaded More More options
Print post
Permalink
Yes.

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Traian Stanev
Sent: Friday, March 13, 2009 3:22 PM
To: FDO Internals Mail List; Helio Chissini de Castro
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches


It can still go into the trunk, right? Just not the 3.4 branch.


Traian


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Friday, March 13, 2009 2:10 PM
To: FDO Internals Mail List; Helio Chissini de Castro
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

I don’t think we will be able to handle the changes in:

        fdo-3.3.1-constify-chars.patch

These changes constitute an interface change and would make applications running with previous builds/release candidates of 3.4.0 binary incompatible with the final release.

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Friday, March 13, 2009 1:26 PM
To: Helio Chissini de Castro; FDO Internals Mail List
Subject: RE: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

I think we could accommodate these changes. They are build related and should not affect functionality.

Greg

-----Original Message-----
From: Helio Chissini de Castro [mailto:[hidden email]]
Sent: Friday, March 13, 2009 1:11 PM
To: FDO Internals Mail List; Greg Boone
Subject: Re: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches

On Tuesday 10 of March 2009 15:16:59 Greg Boone wrote:
> In co-ordination with the release of FDO 3.4.0 RC2...  I have branched
> the
> 3.4 release at

Attached the following patches to allow clean build linux on core FDO, all still valid on 3.4.0, explained:

fdo-3.3.1-genericrdbms-unixodbc.patch:
- Required if you compile with -Wl,--no-undefined -Wl,--as-needed in ldflags, otherwise have link failure

fdo-3.4.0-xalan-1.10-transcode.patch:
- Required to enable usage with xalan-c versions equal or higher than 1.10

fdo-3.4.0-missing-cstd-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-sqlite-internal-wformat.patch:
- Required if you compile with -Wformat flags that avoid use printf/sprintf with proper syntax and enable possible buffer underruns

fdo-3.4.0-xerces-greater-than-2.8.patch:
- Requires to enable usage with xercer >= 2.8

fdo-3.3.1-constify-chars.patch:
- Used to make message parameters constified, reducing verbosity of compilation and saving unnecessary code allocation.

Hope i'm not too late to this be included in release

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Helio Chissini de Castro

Re: RE: FDO 3.4.0 RC2 - Linux build patches - Providers

Reply Threaded More More options
Print post
Permalink
Attached the following patches to allow clean build linux on providers FDO,
all still valid on 3.4.0, explained:

fdo-3.4.0-missing-cstd-provider-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-postgis-extraqualify.patch:
fdo-3.4.0-genericrdbms-extraqualify.patch:
- Invalid class name qualify inside class definition

fdo-3.4.0-genericrdbms-precision.patch:
- Make code suitable for unixODBC on 32 and 64 bits platforms

# Optional - to discuss:
fdo-3.4.0-ogr-thirdparty.patch:
fdo-3.4.0-ows-shared-lib-link.patch:
fdo-3.4.0-postgis-thirdparty.patch:
- Allow compilation using external libraries, and not specific thirparty ones.

This will cover basically all compilations easy fixable issues
A upcoming patch to fix DESTDIR installtion i submit later

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

[fdo-3.4.0-missing-cstd-provider-includes.patch]

--- OpenSource_FDO/Providers/GDAL/Src/UnitTest/UnitTestUtil.cpp.orig 2009-03-13 14:28:43.000000000 -0300
+++ OpenSource_FDO/Providers/GDAL/Src/UnitTest/UnitTestUtil.cpp 2009-03-13 14:28:57.000000000 -0300
@@ -22,6 +22,8 @@
 #include <stddef.h>
 #endif
 
+#include <cstring>
+
 UnitTestUtil::UnitTestUtil(void)
 {
 }
--- OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Custom/FdoRdbmsDestroySpatialIndex.cpp.orig 2009-03-13 14:42:30.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Custom/FdoRdbmsDestroySpatialIndex.cpp 2009-03-13 14:42:44.000000000 -0300
@@ -15,6 +15,9 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //  
+
+#include <cstring>
+
 #include "stdafx.h"
 
 #include "Fdo/Connections/IConnection.h"
--- OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/FeatureCommands/FdoRdbmsInsertCommand.cpp.orig 2009-03-13 14:45:29.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/FeatureCommands/FdoRdbmsInsertCommand.cpp 2009-03-13 14:45:40.000000000 -0300
@@ -15,6 +15,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include "FdoRdbmsSchemaUtil.h"
 #include <malloc.h>
--- OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Other/FdoRdbmsSQLDataReader.cpp.orig 2009-03-13 14:49:09.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Other/FdoRdbmsSQLDataReader.cpp 2009-03-13 14:49:27.000000000 -0300
@@ -15,6 +15,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
+
+#include <cstring>
 #include "stdafx.h"
 #include <assert.h>
 #include "FdoRdbmsConnection.h"
--- OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Other/FdoRdbmsLobUtility.cpp.orig 2009-03-13 14:50:37.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Other/FdoRdbmsLobUtility.cpp 2009-03-13 14:50:49.000000000 -0300
@@ -18,6 +18,7 @@
 
 #include "stdafx.h"
 
+#include <cstring>
 #include "FdoRdbmsLobUtility.h"
 #include "FdoRdbmsSchemaUtil.h"
 #include <FdoCommonOSUtil.h>
--- OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Pvc/FdoRdbmsPvcInsertHandler.cpp.orig 2009-03-13 14:57:26.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/Fdo/Pvc/FdoRdbmsPvcInsertHandler.cpp 2009-03-13 14:57:37.000000000 -0300
@@ -15,6 +15,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
+
+#include <cstring>
 #include "stdafx.h"
 #include "Fdo/Pvc/FdoRdbmsPvcInsertHandler.h"
 #include <Sm/Lp/ObjectPropertyDefinition.h>
--- OpenSource_FDO/Providers/GenericRdbms/Src/MySQL/Driver/Geometry.c.orig 2009-03-13 15:00:59.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/MySQL/Driver/Geometry.c 2009-03-13 15:01:18.000000000 -0300
@@ -19,6 +19,7 @@
 //#include "stdafx.h"
 #include "Geometry.h"
 
+#include <string.h>
 #include <Fdo.h>
 #include <Geometry/Fgf/Factory.h>
 
--- OpenSource_FDO/Providers/GenericRdbms/Src/MySQL/MySql.cpp.orig 2009-03-13 15:08:45.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/MySQL/MySql.cpp 2009-03-13 15:08:59.000000000 -0300
@@ -17,6 +17,8 @@
  */
 // MySql.cpp : Defines the entry point for the DLL application.
 //
+
+#include <cstring>
 #include "stdafx.h"
 #ifdef _WIN32
 
--- OpenSource_FDO/Providers/GenericRdbms/Src/SchemaMgr/Ph/Mgr.cpp.orig 2009-03-13 15:32:21.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/SchemaMgr/Ph/Mgr.cpp 2009-03-13 15:32:34.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include <Sm/Ph/PropertyWriter.h>
 #include <Sm/Ph/SchemaWriter.h>
--- OpenSource_FDO/Providers/GenericRdbms/Src/ODBC/Odbc.cpp.orig 2009-03-13 15:52:31.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/ODBC/Odbc.cpp 2009-03-13 15:52:50.000000000 -0300
@@ -17,6 +17,8 @@
  */
 // Odbc.cpp : Defines the entry point for the DLL application.
 //
+
+#include <cstring>
 #include "stdafx.h"
 #ifdef _WIN32
 
--- OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/UnitTest.orig 2009-03-13 15:56:13.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/UnitTest.cpp 2009-03-13 15:56:26.000000000 -0300
@@ -16,6 +16,8 @@
  *
  */
 
+#include <cstring>
+#include <cstdlib>
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
 #include <cppunit/ui/text/TestRunner.h>
--- OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h.orig 2009-03-13 16:14:58.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/Pch.h 2009-03-13 16:15:08.000000000 -0300
@@ -54,11 +54,12 @@
 #include <unistd.h>
 #endif // _WIN32
 
-#include <stdio.h>
+#include <cstring>
+#include <cstdio>
 #include <malloc.h>
-#include <stdlib.h>
-#include <math.h>
-#include <time.h>
+#include <cstdlib>
+#include <cmath>
+#include <ctime>
 
 #include <cppunit/TestCase.h>
 #include <cppunit/extensions/HelperMacros.h>
--- OpenSource_FDO/Providers/SDF/Src/UnitTest/UnitTest.cpp.orig 2009-03-14 11:28:39.000000000 -0300
+++ OpenSource_FDO/Providers/SDF/Src/UnitTest/UnitTest.cpp 2009-03-14 11:28:52.000000000 -0300
@@ -17,6 +17,9 @@
 *
  */
 
+#include <cstring>
+#include <cstdlib>
+
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
 #include <cppunit/ui/text/TestRunner.h>
--- OpenSource_FDO/Providers/SDF/Src/UnitTest/FdoMultiThreadTest.cpp.orig 2009-03-14 11:30:57.000000000 -0300
+++ OpenSource_FDO/Providers/SDF/Src/UnitTest/FdoMultiThreadTest.cpp 2009-03-14 11:31:20.000000000 -0300
@@ -14,11 +14,13 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
+#include <cstring>
+#include <cstdio>
+
 #include "stdafx.h"
 #include "FdoMultiThreadTest.h"
 #include "UnitTestUtil.h"
 #include "FdoCommonOSUtil.h"
-#include <stdio.h>
 
 #ifndef _WIN32
 #include <dlfcn.h>
--- OpenSource_FDO/Providers/SDF/Src/UnitTest/UnitTestUtil.cpp.orig 2009-03-14 11:32:18.000000000 -0300
+++ OpenSource_FDO/Providers/SDF/Src/UnitTest/UnitTestUtil.cpp 2009-03-14 11:32:37.000000000 -0300
@@ -15,6 +15,7 @@
 
 #include "stdafx.h"
 #include <ctime>
+#include <cstring>
 #include "UnitTestUtil.h"
 #include "FdoCommonFile.h"
 #include "SDF/SdfCommandType.h"
--- OpenSource_FDO/Providers/SHP/Src/UnitTest/UnitTest.cpp.orig 2009-03-14 11:49:37.000000000 -0300
+++ OpenSource_FDO/Providers/SHP/Src/UnitTest/UnitTest.cpp 2009-03-14 11:50:04.000000000 -0300
@@ -17,6 +17,8 @@
 *
  */
 
+#include <cstring>
+#include <cstdlib>
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
 #include <cppunit/ui/text/TestRunner.h>
--- OpenSource_FDO/Providers/WFS/Src/Provider/FdoWfsSchemaMerger.cpp.orig 2009-03-14 11:59:12.000000000 -0300
+++ OpenSource_FDO/Providers/WFS/Src/Provider/FdoWfsSchemaMerger.cpp 2009-03-14 11:59:33.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include "FdoWfsSchemaMerger.h"
 #include "FdoWfsSchemaRefHandler.h"
--- OpenSource_FDO/Providers/WMS/Src/UnitTest/UnitTestUtil.cpp.orig 2009-03-14 12:25:10.000000000 -0300
+++ OpenSource_FDO/Providers/WMS/Src/UnitTest/UnitTestUtil.cpp 2009-03-14 12:25:34.000000000 -0300
@@ -16,6 +16,8 @@
  *
  */
 
+#include <cstring>
+
 #include "Pch.h"
 #include "UnitTestUtil.h"
 #ifdef _WIN32
--- OpenSource_FDO/Providers/WMS/Src/UnitTest/UnitTest.cpp.orig 2009-03-14 12:23:28.000000000 -0300
+++ OpenSource_FDO/Providers/WMS/Src/UnitTest/UnitTest.cpp 2009-03-14 12:24:30.000000000 -0300
@@ -16,6 +16,9 @@
  *
  */
 
+#include <cstring>
+#include <cstdlib>
+
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
 #include <cppunit/ui/text/TestRunner.h>


[fdo-3.4.0-genericrdbms-extraqualify.patch]

--- OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/UnitTestUtil.h.orig 2009-03-13 17:01:55.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/UnitTestUtil.h 2009-03-13 17:02:05.000000000 -0300
@@ -164,7 +164,7 @@
     );
 
  static FdoIConnection* GetConnection(FdoString *suffix = L"", bool bCreate = false, bool bRecreateData = false, StringConnTypeRequest pTypeReq = Connection_WithDatastore, int lt_method = 0, bool lt_method_fixed = false );
-    static FdoPtr<FdoIConnection> UnitTestUtil::GetDirectConnection (FdoIConnection *currentConnection);
+    static FdoPtr<FdoIConnection> GetDirectConnection (FdoIConnection *currentConnection);
     static StaticConnection* NewStaticConnection();
     static SchemaOverrideUtilP NewSchemaOverrideUtil();
 


[fdo-3.4.0-genericrdbms-precision.patch]

--- OpenSource_FDO/Providers/GenericRdbms/Src/ODBCDriver/bind.c.orig 2009-03-13 15:33:44.000000000 -0300
+++ OpenSource_FDO/Providers/GenericRdbms/Src/ODBCDriver/bind.c 2009-03-13 15:43:59.000000000 -0300
@@ -216,7 +216,7 @@
  SQL_PARAM_INPUT,
  (SQLSMALLINT) SQL_C_BINARY,
  SQL_LONGVARBINARY,
- (SQLUINTEGER) address,  
+ (SQLULEN) address,  
  (SQLSMALLINT) 0,
  (SQLPOINTER) bindnum,
  (SQLINTEGER) 0,


[fdo-3.4.0-ows-shared-lib-link.patch]

--- OpenSource_FDO/Utilities/OWS/Makefile.am.orig 2009-03-13 13:26:31.000000000 -0300
+++ OpenSource_FDO/Utilities/OWS/Makefile.am 2009-03-13 13:28:33.000000000 -0300
@@ -64,10 +64,10 @@
   $(FDO)/Unmanaged/Src/Geometry/libFDOGeometry.la  \
   $(FDO)/Unmanaged/Src/Common/libFDOCommon.la  \
   $(FDOUTILITIES)/Common/libProvidersCommon.la \
-  $(FDOTHIRDPARTY)/boost/stage/lib/libboost_thread-mt.a \
-  $(FDOTHIRDPARTY)/libcurl/lib/linux/libcurl.a  \
-  $(FDOTHIRDPARTY)/openssl/lib/linux/libssl.a \
-  $(FDOTHIRDPARTY)/openssl/lib/linux/libcrypto.a \
+  -lboost_thread-mt \
+  -lcurl  \
+  -lssl \
+  -lcrypto \
   -lz \
   -lpthread
 


[fdo-3.4.0-postgis-extraqualify.patch]

--- OpenSource_FDO/Providers/PostGIS/Src/Provider/PgTableColumnsReader.h.orig 2009-03-14 11:06:40.000000000 -0300
+++ OpenSource_FDO/Providers/PostGIS/Src/Provider/PgTableColumnsReader.h 2009-03-14 11:07:09.000000000 -0300
@@ -86,15 +86,15 @@
 
     /// Check if column has default value.
     /// \return True if column has default value, false otherwise.
-    bool PgTableColumnsReader::IsDefault() const;
+    bool IsDefault() const;
 
     /// Get column default value.
     /// \return Default value of column.
-    FdoStringP PgTableColumnsReader::GetDefault() const;
+    FdoStringP GetDefault() const;
 
     /// Check if column has a corresponding sequence.
     /// \return True if property is associated with sequence, false otherwise.
-    bool PgTableColumnsReader::IsSequence() const;
+    bool IsSequence() const;
 
     ///
     bool IsPrimaryKey() const;


[fdo-3.4.0-postgis-thirdparty.patch]

--- OpenSource_FDO/Providers/PostGIS/Src/Makefile.am.orig 2007-11-06 20:55:26.000000000 -0200
+++ OpenSource_FDO/Providers/PostGIS/Src/Makefile.am 2009-03-14 11:15:57.000000000 -0300
@@ -51,11 +51,10 @@
   libPostGISOverrides.la \
   ../../../Utilities/Common/libProvidersCommon.la \
   ../../../Fdo/Unmanaged/Src/libFDO.la \
-  ../../../Thirdparty/boost/stage/lib/libboost_thread-mt.a \
-  ../../../Thirdparty/boost/stage/lib/libboost_date_time-mt.a \
+  -lboost_thread-mt \
+  -lboost_date_time-mt \
   -lpq
 
 libPostGISProvider_la_LDFLAGS = \
   -shared \
-  -release $(VERSION) \
-  -L../../../Thirdparty/pgsql/lib
+  -release $(VERSION)


[fdo-3.4.0-ogr-thirdparty.patch]

--- OpenSource_FDO/Providers/OGR/Makefile.am.orig 2009-03-13 17:27:03.000000000 -0300
+++ OpenSource_FDO/Providers/OGR/Makefile.am 2009-03-13 17:27:43.000000000 -0300
@@ -38,24 +38,19 @@
 
 libOGRProvider_la_LIBADD =  \
   ../../Fdo/Unmanaged/Src/libFDO.la \
- -lgdal  
+ -lgdal
 
 libOGRProvider_la_LDFLAGS = \
   -shared \
   -release $(VERSION) \
-  -L$(FDOGDAL)/lib \
-  -L../../Thirdparty/gdal/lib
+  -L$(FDOGDAL)/lib
 
 INCLUDES = \
   -I../../Fdo/Unmanaged/Inc \
   -I$(FDOGDAL)/include \
   -I$(FDOGDAL)/ogr \
   -I$(FDOGDAL)/ogr/ogrsf_frmts \
-  -I$(FDOGDAL)/port \
-  -I../../Thirdparty/gdal/include \
-  -I../../Thirdparty/gdal/ogr \
-  -I../../Thirdparty/gdal/ogr/ogrsf_frmts \
-  -I../../Thirdparty/gdal/port
+  -I$(FDOGDAL)/port
 
 CXXFLAGS = @CXXFLAGS@ -D__USE_GNU -DLINUX -DLINUX_IA32
 


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: RE: FDO 3.4.0 RC2 - Linux build patches - Providers

Reply Threaded More More options
Print post
Permalink
Hi Helio,

You non-optional patches should now be applied.

Thanks,
Greg

-----Original Message-----
From: Helio Chissini de Castro [mailto:[hidden email]]
Sent: Wednesday, March 18, 2009 12:51 PM
To: Greg Boone; FDO Internals Mail List
Subject: Re: [fdo-internals] RE: FDO 3.4.0 RC2 - Linux build patches - Providers

Attached the following patches to allow clean build linux on providers FDO,
all still valid on 3.4.0, explained:

fdo-3.4.0-missing-cstd-provider-includes.patch:
- Required to avoid compilation break

fdo-3.4.0-postgis-extraqualify.patch:
fdo-3.4.0-genericrdbms-extraqualify.patch:
- Invalid class name qualify inside class definition

fdo-3.4.0-genericrdbms-precision.patch:
- Make code suitable for unixODBC on 32 and 64 bits platforms

# Optional - to discuss:
fdo-3.4.0-ogr-thirdparty.patch:
fdo-3.4.0-ows-shared-lib-link.patch:
fdo-3.4.0-postgis-thirdparty.patch:
- Allow compilation using external libraries, and not specific thirparty ones.

This will cover basically all compilations easy fixable issues
A upcoming patch to fix DESTDIR installtion i submit later

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Crispin_at_1Spatial

Re: FDO 3.4.0 RC2

Reply Threaded More More options
Print post
Permalink
In reply to this post by Greg Boone
Hi,

I still get a DescribeSchema exception on KingOra with RC2...

I would suggest this is a blocker if it can be replicated - but also ties in with if the new KingOra 8.x release is going into trunk for 3.4?

 Crispin