r36192 - in /packages/scilab/trunk/debian: changelog patches/jgraphx-save.diff
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Tue Feb 16 10:08:02 UTC 2010
Author: sylvestre
Date: Tue Feb 16 10:08:00 2010
New Revision: 36192
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36192
Log:
Workaround to fix an error in jgraphx (jgraphx-save.diff)
Added:
packages/scilab/trunk/debian/patches/jgraphx-save.diff
Modified:
packages/scilab/trunk/debian/changelog
Modified: packages/scilab/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/changelog?rev=36192&op=diff
==============================================================================
--- packages/scilab/trunk/debian/changelog (original)
+++ packages/scilab/trunk/debian/changelog Tue Feb 16 10:08:00 2010
@@ -1,5 +1,6 @@
-scilab (5.2.0-7) UNRELEASED; urgency=low
-
+scilab (5.2.0-7) unstable; urgency=low
+
+ * Workaround to fix an error in jgraphx (jgraphx-save.diff)
* Update of some descriptions of package
* Scilab build doc dependencies moved from package scilab-doc to
scilab-full-bin
Added: packages/scilab/trunk/debian/patches/jgraphx-save.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/patches/jgraphx-save.diff?rev=36192&op=file
==============================================================================
--- packages/scilab/trunk/debian/patches/jgraphx-save.diff (added)
+++ packages/scilab/trunk/debian/patches/jgraphx-save.diff Tue Feb 16 10:08:00 2010
@@ -1,0 +1,60 @@
+Index: scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabBooleanCodec.java
+===================================================================
+--- scilab-5.2.0.orig/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabBooleanCodec.java 2010-02-15 23:27:47.000000000 +0100
++++ scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabBooleanCodec.java 2010-02-15 23:28:00.000000000 +0100
+@@ -27,6 +27,7 @@
+ }
+
+
++
+ public ScilabBooleanCodec(Object template, String[] exclude, String[] idrefs, Map<String, String> mapping)
+ {
+ super(template, exclude, idrefs, mapping);
+@@ -34,7 +35,7 @@
+ }
+
+ public Node encode(mxCodec enc, Object obj) {
+- String name = mxCodecRegistry.getName(obj.getClass());
++ String name = mxCodecRegistry.getName(obj);
+ Node node = enc.getDocument().createElement(name);
+
+ ScilabBoolean scilabBoolean = (ScilabBoolean) obj;
+Index: scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabDoubleCodec.java
+===================================================================
+--- scilab-5.2.0.orig/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabDoubleCodec.java 2010-02-15 23:27:47.000000000 +0100
++++ scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabDoubleCodec.java 2010-02-15 23:28:00.000000000 +0100
+@@ -33,7 +33,7 @@
+ }
+
+ public Node encode(mxCodec enc, Object obj) {
+- String name = mxCodecRegistry.getName(obj.getClass());
++ String name = mxCodecRegistry.getName(obj);
+ Node node = enc.getDocument().createElement(name);
+
+ ScilabDouble scilabDouble = (ScilabDouble) obj;
+Index: scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabIntegerCodec.java
+===================================================================
+--- scilab-5.2.0.orig/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabIntegerCodec.java 2010-02-15 23:27:47.000000000 +0100
++++ scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabIntegerCodec.java 2010-02-15 23:28:00.000000000 +0100
+@@ -34,7 +34,7 @@
+ }
+
+ public Node encode(mxCodec enc, Object obj) {
+- String name = mxCodecRegistry.getName(obj.getClass());
++ String name = mxCodecRegistry.getName(obj);
+ Node node = enc.getDocument().createElement(name);
+
+ ScilabInteger scilabInteger = (ScilabInteger) obj;
+Index: scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabStringCodec.java
+===================================================================
+--- scilab-5.2.0.orig/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabStringCodec.java 2010-02-15 23:27:47.000000000 +0100
++++ scilab-5.2.0/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/ScilabStringCodec.java 2010-02-15 23:28:00.000000000 +0100
+@@ -45,7 +45,7 @@
+ }
+
+ public Node encode(mxCodec enc, Object obj) {
+- String name = mxCodecRegistry.getName(obj.getClass());
++ String name = mxCodecRegistry.getName(obj);
+ Node node = enc.getDocument().createElement(name);
+
+ ScilabString scilabString = (ScilabString) obj;
More information about the debian-science-commits
mailing list