Your message dated Sun, 29 May 2011 18:36:59 +0000
with message-id <[email protected]>
and subject line Bug#628114: fixed in sofa-framework 1.0~beta4-5.1
has caused the Debian Bug report #628114,
regarding sofa-framework: Transition to tinyxml 2.6.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
628114: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628114
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sofa-framework
Version: 1.0~beta4-5
Severity: serious
Tags: patch

I have started the tinyxml 2.6.2 transition.
It is still in binary NEW but once the package is accepted sofa-framework
needs to be rebuilt.

I'm attaching a patch that makes sofa-framework compatible with tinyxml 2.6.2.
--- sofa-framework-1.0~beta4.orig/modules/sofa/simulation/tree/xml/XML.cpp
+++ sofa-framework-1.0~beta4/modules/sofa/simulation/tree/xml/XML.cpp
@@ -84,7 +84,7 @@ int numDefault=0;
 BaseElement* createNode(TiXmlNode* root, const char *basefilename, bool isRoot = false)
 {
 	//if (!xmlStrcmp(root->name,(const xmlChar*)"text")) return NULL;
-    if (root->Type() != TiXmlNode::ELEMENT) return NULL;
+    if (root->Type() != TiXmlNode::TINYXML_ELEMENT) return NULL;
 	TiXmlElement* element = root->ToElement();
 	if (!element || !element->Value() || !element->Value()[0]) return NULL;
 
--- sofa-framework-1.0~beta4.orig/applications/sofa/gui/qt/GraphVisitor.cpp
+++ sofa-framework-1.0~beta4/applications/sofa/gui/qt/GraphVisitor.cpp
@@ -207,10 +207,10 @@ namespace sofa
 	Q3ListViewItem *graphNode=NULL;
 	switch (typeOfNode)
 	  {
-	  case TiXmlNode::DOCUMENT:
+	  case TiXmlNode::TINYXML_DOCUMENT:
 	    break;
 
-	  case TiXmlNode::ELEMENT:
+	  case TiXmlNode::TINYXML_ELEMENT:
             if (nameOfNode == "Time")
               {
                 openTime( node, parent);
@@ -222,17 +222,17 @@ namespace sofa
               }
 	    break;
 
-	  case TiXmlNode::COMMENT:
+	  case TiXmlNode::TINYXML_COMMENT:
 	    graphNode = addComment(parent, elementAbove, nameOfNode); 
 	    break;
 
-	  case TiXmlNode::UNKNOWN:
+	  case TiXmlNode::TINYXML_UNKNOWN:
 	    break;
 
-	  case TiXmlNode::TEXT:
+	  case TiXmlNode::TINYXML_TEXT:
 	    break;
 
-	  case TiXmlNode::DECLARATION:
+	  case TiXmlNode::TINYXML_DECLARATION:
 	    break;
 	  default:
 	    break;

--- End Message ---
--- Begin Message ---
Source: sofa-framework
Source-Version: 1.0~beta4-5.1

We believe that the bug you reported is fixed in the latest version of
sofa-framework, which is due to be installed in the Debian FTP archive:

libsofa1-dev_1.0~beta4-5.1_amd64.deb
  to main/s/sofa-framework/libsofa1-dev_1.0~beta4-5.1_amd64.deb
libsofa1_1.0~beta4-5.1_amd64.deb
  to main/s/sofa-framework/libsofa1_1.0~beta4-5.1_amd64.deb
sofa-apps_1.0~beta4-5.1_amd64.deb
  to main/s/sofa-framework/sofa-apps_1.0~beta4-5.1_amd64.deb
sofa-data_1.0~beta4-5.1_all.deb
  to main/s/sofa-framework/sofa-data_1.0~beta4-5.1_all.deb
sofa-doc_1.0~beta4-5.1_all.deb
  to main/s/sofa-framework/sofa-doc_1.0~beta4-5.1_all.deb
sofa-framework_1.0~beta4-5.1.debian.tar.gz
  to main/s/sofa-framework/sofa-framework_1.0~beta4-5.1.debian.tar.gz
sofa-framework_1.0~beta4-5.1.dsc
  to main/s/sofa-framework/sofa-framework_1.0~beta4-5.1.dsc
sofa-tutorials_1.0~beta4-5.1_all.deb
  to main/s/sofa-framework/sofa-tutorials_1.0~beta4-5.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <[email protected]> (supplier of updated sofa-framework package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 29 May 2011 18:02:12 +0200
Source: sofa-framework
Binary: sofa-apps libsofa1-dev libsofa1 sofa-tutorials sofa-data sofa-doc
Architecture: source all amd64
Version: 1.0~beta4-5.1
Distribution: unstable
Urgency: high
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Mehdi Dogguy <[email protected]>
Description: 
 libsofa1   - Simulation Open Framework Architecture - runtime
 libsofa1-dev - Simulation Open Framework Architecture - development
 sofa-apps  - GUI for the Simulation Open Framework Architecture (SOFA)
 sofa-data  - Simulation Open Framework Architecture - data
 sofa-doc   - SOFA class reference documentation
 sofa-tutorials - Simulation Open Framework Architecture - tutorials
Closes: 628114
Changes: 
 sofa-framework (1.0~beta4-5.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Fix build failure due to new TinyXML 2.6 (Closes: #628114).
     Thanks to Felix Geyer for the patch.
   * Bump build-dep on libtinyxml-dev to 2.6.
Checksums-Sha1: 
 5d748137ce436f6e35c51dd139ec8410b27b0e1f 2041 sofa-framework_1.0~beta4-5.1.dsc
 be6e33766099673f6286e30ab8d57986e5b6d51e 16126 
sofa-framework_1.0~beta4-5.1.debian.tar.gz
 3af4619bdf2c62b49e4c5544f408238252dcdca7 78970 
sofa-tutorials_1.0~beta4-5.1_all.deb
 d6361539a7f06b2b04153a2ed7c61d1be3af3dff 32412306 
sofa-data_1.0~beta4-5.1_all.deb
 e772aab249147d4751f11f755fc553931a0947a9 4534 sofa-doc_1.0~beta4-5.1_all.deb
 da01ba9828ae63d08a3d1581565552ea98b8a04b 22442 
sofa-apps_1.0~beta4-5.1_amd64.deb
 fe5ef24176bf30b941749999aebca9a32002ab95 1004424 
libsofa1-dev_1.0~beta4-5.1_amd64.deb
 426d29771f70c9eddb6163a6514b80c9bc9019d8 9698376 
libsofa1_1.0~beta4-5.1_amd64.deb
Checksums-Sha256: 
 418168699cdcae81520fcbc3f357302023e464a904e9a76b0128a2570ee3d5af 2041 
sofa-framework_1.0~beta4-5.1.dsc
 6fc373e183dd86124968fc7b96ad37a8e866b1b1c30b6e86b73078cf451c10e8 16126 
sofa-framework_1.0~beta4-5.1.debian.tar.gz
 71ce5296d912b73c70779b654af53aa11da266101044eb789056d7b4f20d9668 78970 
sofa-tutorials_1.0~beta4-5.1_all.deb
 7cff9c65bf2fe8c5f0cd3141e9a18e0e810025117b78e2a21ca0c427a82830ba 32412306 
sofa-data_1.0~beta4-5.1_all.deb
 933d6d8c779ea40b4c75454ae149230c24f24318c54b31a8cc932c000729d403 4534 
sofa-doc_1.0~beta4-5.1_all.deb
 7010283d5f6c887fa771e5a18e92919a912a0bdcd5da30ed7b4a1daf45eefe49 22442 
sofa-apps_1.0~beta4-5.1_amd64.deb
 cecb90971c96db4a8727e903f7e2964f31070b0954959eb3b32a3d9c974ad738 1004424 
libsofa1-dev_1.0~beta4-5.1_amd64.deb
 efaa00cc916d3e90d753135d75fdec828d977a16b17efa0d13ab7a0cd273d21f 9698376 
libsofa1_1.0~beta4-5.1_amd64.deb
Files: 
 11179c19c943e13f51ac61ef1292d1ee 2041 graphics optional 
sofa-framework_1.0~beta4-5.1.dsc
 1b1e20be5038794ac05eb98b74334474 16126 graphics optional 
sofa-framework_1.0~beta4-5.1.debian.tar.gz
 6f9e627a0e5c5c222aa7306513510691 78970 graphics optional 
sofa-tutorials_1.0~beta4-5.1_all.deb
 62ca58f0ce6db98d87d6d0761a49504c 32412306 graphics optional 
sofa-data_1.0~beta4-5.1_all.deb
 5b6c297aa12ce2ff9ce7cb968999e276 4534 doc optional 
sofa-doc_1.0~beta4-5.1_all.deb
 3547545669ea867cdc706077b83b6a4d 22442 graphics optional 
sofa-apps_1.0~beta4-5.1_amd64.deb
 b6fc45175754543f79125478db8a2cf6 1004424 libdevel optional 
libsofa1-dev_1.0~beta4-5.1_amd64.deb
 2b9f7b32b2329a4599fe2c41b0735143 9698376 libs optional 
libsofa1_1.0~beta4-5.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJN4oukAAoJEDe1GR0FRlJoJ1AH/ieiFYNnlPUjThxob/gluG+n
BM+rny9xuMKr60NbscttxaTbSVkLGXIJDD6hN49geaaeY4ZSlruO7Cn7pmMo1x/I
OJO+BXa9zO1WdBYjV4DUuXv5GttV6YlRXZ9J/cAXwQ7TpVEHHhH7Fgs+Kg7qpyY7
MYXscgAxk5KhvUBG/wxhaRHyyURtym1slPglskgtMl7uFX/ezohxHnZmlU7yyOyq
WRPUFXas1VdXDOIt73N6KCU9JFgdidfRnvk+MNnKtkYcja+028LZvBdielqSepmy
enGlk7UL340LJX/nfYyMYxSMQspMlD//QvjuLSzqvx8HpyCt8ZMbU+QxcpR5ebI=
=LhT5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to