[Pkg-octave-commit] rev 523 - in
trunk/packages/octave-epstk/debian: . patches
Thomas Weber
thomas-guest at costa.debian.org
Sun Mar 19 18:35:29 UTC 2006
Author: thomas-guest
Date: 2006-03-19 18:35:28 +0000 (Sun, 19 Mar 2006)
New Revision: 523
Added:
trunk/packages/octave-epstk/debian/patches/50_fix_legend_scaling.dpatch
Modified:
trunk/packages/octave-epstk/debian/changelog
trunk/packages/octave-epstk/debian/patches/00list
Log:
Fix for #347665.
Modified: trunk/packages/octave-epstk/debian/changelog
===================================================================
--- trunk/packages/octave-epstk/debian/changelog 2006-03-19 11:15:21 UTC (rev 522)
+++ trunk/packages/octave-epstk/debian/changelog 2006-03-19 18:35:28 UTC (rev 523)
@@ -7,6 +7,7 @@
* Bumped standards version to 3.6.2. No changes needed.
* Bumped debhelper compat version to 5.
* Switch to CDBS.
+ * Add 50_fix_legend_scaling.dpatch (Closes: #347665)
--
Modified: trunk/packages/octave-epstk/debian/patches/00list
===================================================================
--- trunk/packages/octave-epstk/debian/patches/00list 2006-03-19 11:15:21 UTC (rev 522)
+++ trunk/packages/octave-epstk/debian/patches/00list 2006-03-19 18:35:28 UTC (rev 523)
@@ -1,3 +1,4 @@
50_source-etc-epstk-conf
50_psd-path
50_axis-value-labels
+50_fix_legend_scaling.dpatch
Added: trunk/packages/octave-epstk/debian/patches/50_fix_legend_scaling.dpatch
===================================================================
--- trunk/packages/octave-epstk/debian/patches/50_fix_legend_scaling.dpatch 2006-03-19 11:15:21 UTC (rev 522)
+++ trunk/packages/octave-epstk/debian/patches/50_fix_legend_scaling.dpatch 2006-03-19 18:35:28 UTC (rev 523)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_fix_legend_scaling.dpatch by Thomas Weber <thomas.weber.mail at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Scaling of the legend is the same as the scaling of the plot, see #347665
+
+ at DPATCH@
+diff -urNad octave-epstk-2.1~/m/eplotlg.m octave-epstk-2.1/m/eplotlg.m
+--- octave-epstk-2.1~/m/eplotlg.m 2005-04-08 09:47:39.000000000 +0200
++++ octave-epstk-2.1/m/eplotlg.m 2006-03-19 19:28:09.000000000 +0100
+@@ -6,6 +6,7 @@
+ if (nargin~=10)
+ eusage('eplotlg(epsFile,x,y,color,dash,lineWidth,text,textFont,textSize,textColor)');
+ end
++ eglobpar;
+ textH=textSize*0.75;
+ lineLength=3*textH;
+
+@@ -23,7 +24,7 @@
+ elseif max(size(dash))==1
+ if dash>=0
+ y=y+textSize/4;
+- exyline(epsFile,0,0,[x;x+lineLength],[y;y],color,dash,lineWidth);
++ exyline(epsFile,0,0,[x;x+lineLength],[y;y],color,dash*eFac,lineWidth);
+ else
+ erect(epsFile,x,y,lineLength,textH,0,color,dash,0)
+ erect(epsFile,x,y,lineLength,textH,0,textColor,0,0)
Property changes on: trunk/packages/octave-epstk/debian/patches/50_fix_legend_scaling.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-octave-commit
mailing list