[Pkg-octave-commit] rev 827 - in trunk/packages/octave-epstk/debian: . patches

Rafael Laboissiere rafael at alioth.debian.org
Fri Dec 22 15:49:32 CET 2006


Author: rafael
Date: 2006-12-22 15:49:31 +0100 (Fri, 22 Dec 2006)
New Revision: 827

Added:
   trunk/packages/octave-epstk/debian/patches/50_clean-tmp-files.patch
   trunk/packages/octave-epstk/debian/patches/60_autoscale-small-numbers.patch
Modified:
   trunk/packages/octave-epstk/debian/changelog
Log:
Debian release octave-epstk_2.1-7

Modified: trunk/packages/octave-epstk/debian/changelog
===================================================================
--- trunk/packages/octave-epstk/debian/changelog	2006-12-21 22:30:42 UTC (rev 826)
+++ trunk/packages/octave-epstk/debian/changelog	2006-12-22 14:49:31 UTC (rev 827)
@@ -6,8 +6,16 @@
   * Remove temporary files (created during build) from the package, going back
     to the original package size
 
- -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Aug 2006 16:30:32 +0200
+  [ Rafael Laboissiere ]
+  * debian/patches/50_clean-tmp-files.patch: Unlink *.tmp files created by
+    eebox and ebitmap functions (closes: #365758)
+  * debian/patches/60_autoscale-small-numbers.patch: Force the display of
+    zero instead of small floating numbers when using autoscale with
+    graphs that go from 0 to 10000 (closes: #361982)
+  * Thanks to Francesco Potortì for the two patches above
 
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 22 Dec 2006 15:24:23 +0100
+
 octave-epstk (2.1-6) unstable; urgency=low
 
   * debian/patches/60_source-etc-epstk-conf.patch: Allow the user to
@@ -31,7 +39,7 @@
     - Build-depends on recent versions of the octave2.{1,9}-headers packages
 
   * debian/patches/50_add_plotdecimate.patch: New plotdecimate function
-    provided by Francesco Potorti` (renamed from the old patch
+    provided by Francesco Potortì (renamed from the old patch
     50_add_plotcollapse.patch)
 
   * debian/patches/50_source-etc-epstk-conf.patch: Only sources
@@ -45,7 +53,7 @@
 octave-epstk (2.1-4) unstable; urgency=low
 
   [ Thomas Weber ]
-  * Add plotcollapse.m script from Francesco Potorti` (Closes: #365757)
+  * Add plotcollapse.m script from Francesco Potortì (Closes: #365757)
     Update copyright file accordingly.
 
   [ Rafael Laboissiere ]

Added: trunk/packages/octave-epstk/debian/patches/50_clean-tmp-files.patch
===================================================================
--- trunk/packages/octave-epstk/debian/patches/50_clean-tmp-files.patch	2006-12-21 22:30:42 UTC (rev 826)
+++ trunk/packages/octave-epstk/debian/patches/50_clean-tmp-files.patch	2006-12-22 14:49:31 UTC (rev 827)
@@ -0,0 +1,22 @@
+diff -Nur octave-epstk-2.1/m/ebbox.m octave-epstk-2.1.new/m/ebbox.m
+--- octave-epstk-2.1/m/ebbox.m	2006-12-22 14:13:17.000000000 +0100
++++ octave-epstk-2.1.new/m/ebbox.m	2006-12-22 14:19:19.000000000 +0100
+@@ -49,6 +49,7 @@
+       resolution=72;
+       mapName=ebitmap(3,resolution,'bbox.ppm.tmp',epsFileName);
+       img=eimgread('bbox.ppm.tmp');
++      unlink ("bbox.ppm.tmp");
+       imgH=size(img,1);
+       xpos=find(min(img)<16777215);
+       xn=size(xpos,2);
+diff -Nur octave-epstk-2.1/m/ebitmap.m octave-epstk-2.1.new/m/ebitmap.m
+--- octave-epstk-2.1/m/ebitmap.m	2005-04-08 09:47:39.000000000 +0200
++++ octave-epstk-2.1.new/m/ebitmap.m	2006-12-22 14:18:53.000000000 +0100
+@@ -154,6 +154,7 @@
+     else
+       unix(ghostscript);
+     end
++    unlink (tmpFileName);
+     if message
+       message=sprintf('%s is written',mapFileName);
+       disp(message);

Added: trunk/packages/octave-epstk/debian/patches/60_autoscale-small-numbers.patch
===================================================================
--- trunk/packages/octave-epstk/debian/patches/60_autoscale-small-numbers.patch	2006-12-21 22:30:42 UTC (rev 826)
+++ trunk/packages/octave-epstk/debian/patches/60_autoscale-small-numbers.patch	2006-12-22 14:49:31 UTC (rev 827)
@@ -0,0 +1,27 @@
+diff -Nur octave-epstk-2.1/m/escalexy.m octave-epstk-2.1.new/m/escalexy.m
+--- octave-epstk-2.1/m/escalexy.m	2006-12-22 14:42:41.000000000 +0100
++++ octave-epstk-2.1.new/m/escalexy.m	2006-12-22 14:42:51.000000000 +0100
+@@ -53,10 +53,12 @@
+     %autoscale
+     signOfDelta=sign(startEndDiff);
+     deltaLabel=eticdis(signOfDelta*startEndDiff,maxValues);
++    LabelEps=deltaLabel*1e-2;
+   else
+     %fixscale
+     signOfDelta=sign(step);
+     deltaLabel=signOfDelta*step;
++    LabelEps=deltaLabel*sqrt(eps);
+   end
+   if is_scalar (vForm)
+     if vForm==0  
+@@ -119,8 +121,8 @@
+       nPos=nPos+1;
+       fprintf(epsFile,ticLineForm,longTicLength);
+       % value
+-      if vVisible & (offset>=0 | abs(currentValue)>1e-14)
+-        if abs(currentValue)<1e-14
++      if vVisible & (offset>=0 | abs(currentValue)>LabelEps)
++        if abs(currentValue)<LabelEps
+           currentValue=0;
+         end
+         fprintf(epsFile,moveValueForm);




More information about the Pkg-octave-commit mailing list