Linux Mandriva package and last patch from RC3

2 messages Options
Embed this post
Permalink
Helio Chissini de Castro

Linux Mandriva package and last patch from RC3

Reply Threaded More More options
Print post
Permalink
Hi guys..

I just finished an package and included on official Mandriva repository.
For who is interested in look how is the package, just browse to here:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/fdo/current/

Is our standard structure for RPM packages. You will find all patches inside
SOURCES subdir and the main specfile in SPECS
If someone is willing to test it, the next rc2 for Mandriva Spring will be out
in 3 or 4 days, and you just need to add the contrib repository to install fdo
( both 32 and 64 bits )
As the first package, probably something can't be right, and i will adjust
further.

I split in this format:
fdo -> meta package that pulls all providers and main lib
fdo-<provider name in lowcase> - Pulls only main lib and specific provider lib
( less dependencies )
fdo-devel - devel environment

I attached another patch that complements last one of missing standard
includes, and for some reason not included on rc3.

Best regards

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

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

--- 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>
 
--- OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Owner.cpp.orig 2009-03-13 14:15:19.000000000 -0300
+++ OpenSource_FDO/Utilities/SchemaMgr/Src/Sm/Ph/Owner.cpp 2009-03-13 14:15:33.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include <math.h>
 #include <Sm/Ph/Owner.h>
--- OpenSource_FDO/Providers/WFS/Src/Provider/FdoWfsSchemaMerger.cpp.orig 2009-03-30 15:44:06.000000000 -0300
+++ OpenSource_FDO/Providers/WFS/Src/Provider/FdoWfsSchemaMerger.cpp 2009-03-30 15:45:03.000000000 -0300
@@ -16,6 +16,7 @@
  *
  */
 
+#include <cstring>
 #include "stdafx.h"
 #include "FdoWfsSchemaMerger.h"
 #include "FdoWfsSchemaRefHandler.h"


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

RE: Linux Mandriva package and last patch from RC3

Reply Threaded More More options
Print post
Permalink
I will try and patch the header files to add '#include <cstring>'

Typically such references are done in the stdafx.h file. I will try and follow that pattern.

Greg

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Helio Chissini de Castro
Sent: Tuesday, March 31, 2009 1:50 PM
To: [hidden email]
Subject: [fdo-internals] Linux Mandriva package and last patch from RC3

Hi guys..

I just finished an package and included on official Mandriva repository.
For who is interested in look how is the package, just browse to here:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/fdo/current/

Is our standard structure for RPM packages. You will find all patches inside
SOURCES subdir and the main specfile in SPECS
If someone is willing to test it, the next rc2 for Mandriva Spring will be out
in 3 or 4 days, and you just need to add the contrib repository to install fdo
( both 32 and 64 bits )
As the first package, probably something can't be right, and i will adjust
further.

I split in this format:
fdo -> meta package that pulls all providers and main lib
fdo-<provider name in lowcase> - Pulls only main lib and specific provider lib
( less dependencies )
fdo-devel - devel environment

I attached another patch that complements last one of missing standard
includes, and for some reason not included on rc3.

Best regards

--
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