Backport GnuPlot 4.2.3 to Hardy

Bug #271219 reported by Nicola Ferralis
4
Affects Status Importance Assigned to Milestone
Hardy Backports
Won't Fix
Undecided
Unassigned
gnuplot (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnuplot

version 4.2.3 fixes several known bugs, present in hardy version 4.2.2, possibly #58778 and several segfaults

New features, changes and fixes in gnuplot version 4.2.3
===========================================================
* NEW options front and back to "set colorbox"
* NEW character encoding support for emf and pdf terminals
* NEW "format" keyword for "set tics" and "set {x|y|...}tics"
* NEW allow user to set colorbar label rotatation if the bar is vertical
* FIX allow tic format to be given as a string variable
* FIX handling of negative screen coordinates on ia64, PPC
* FIX coloring of hidden surfaces if drawn with line styles
* FIX direction of y axis in graph coords for "set view map"
* FIX minitics in log scale
* FIX minor bugfixes to terminals fig, emf, post, svg, x11
* FIX cgm terminal now produces correct pm3d and pattern fill output
* FIX protect against overly long font names in gd, svg
* FIX infinite loop from x11 plot window resizing under ion, fluxbox
* FIX never estimate zero size for a non-empty string
* FIX discard degenerate polygons during hidden3d processing
* FIX segfault if replot is called while terminal type is unknown
* FIX segfault if locale obtained by getenv() is freed
* FIX discard axis ticks read from previous data file
* FIX Do not clip image against Z range in 3D splot with "set view map"
* FIX off-by-one error in implicit column 0 for binary data files
* FIX splot was trashing the default clipping boundaries for 2D plots
* CHANGE tweak installation scripts for OSX nt cyg dj2 mgw
* CHANGE install Xresource file as Gnuplot, not Gnuplot.app-defaults
* CHANGE Remove limitation of 10 args max to internal function sprintf()
* CHANGE Bring emf point types into conformity with other terminals
* CHANGE estimate the space for rotated tick labels on x and x2 axes

William Grant (wgrant)
Changed in gnuplot:
status: New → Invalid
Revision history for this message
Valentin Rocher (bishiboosh) wrote :

b/i/r under prevu
+1

Changed in hardy-backports:
status: New → Confirmed
Revision history for this message
Nicola Ferralis (feranick) wrote :

Upstream version 4.2.4 was released:

New features, changes and fixes in gnuplot version 4.2.4
===========================================================
* NEW add support for enhanced text mode in the emf terminal driver
* NEW builtin functions 'strftime' and 'strptime'
* NEW set absolute plot margins in screen coordinates
* NEW "nocontours" keyword for splot
* NEW "undefine foo" clears previously defined user variable foo
* NEW allow contouring of pm3d surfaces
* NEW allow color by z value ("palette z") in 2D plots
* NEW "pause mouse close" waits until the plot window is closed
* FIX Do not re-quantize time tics interval explicitly set by user
* FIX (gd post) don't segfault on very long font names
* FIX allow variable color from input file for "with boxes", "with vectors"
* FIX don't run off the end of "set format" commands
* FIX Fix discontinuity in piecewise approximation of inverse error function
* FIX discard out of range vectors in the bitmap terminals (pbm, epson, etc)
* FIX 2nd colour in the colour box for negative palette in postscript
* FIX insure palette is initialized before any objects are drawn
* FIX wxt terminal was not obeying "set palette maxcolors"
* FIX Histograms did not correctly honor 'set style user increment'
* FIX Avoid segfault if tic labels are requested from a non-existent data column
* FIX emf terminal - allow fractional linewidth (fixes 0-length dash problem)
* FIX post terminal - fix parsing error for palfuncparam
* FIX post terminal - escape {} chars in enhanced text mode
* FIX clip "splot with labels" against plot boundaries in 2D mode
* CHANGE try harder to autotitle columns in using specs with expressions
* CHANGE gd.trm: use dynamically-allocated TTF font names
* CHANGE x11: more finely sampled color palette for PM3D
* CHANGE cgm: switch to using web_color_rgbs; approximate RGB colors
* CHANGE fig: more point types, 4.2-style font and size syntax for "set term"
* CHANGE emf: separate dashlength option (don't use linewidth for dashlength)
* CHANGE stacked histograms grow upward for values > 0, downward for values < 0
* CHANGE 'pause mouse button1' (or button2) does not disable zooming
* CHANGE built-in readline tries to recognize <home> and <end> keys

Revision history for this message
Michael Casadevall (mcasadevall) wrote :

4.2.4 in Intrepid requires debhelper 7; it would need porting to be usable on Hardy.

Changed in hardy-backports:
status: Confirmed → Incomplete
Revision history for this message
Tormod Volden (tormodvolden) wrote :

I think debhelper 7 might be a "false" dependency. I replaced it by 6 and gnuplot 4.2.4 built fine. That is, I had to do another adjustment. The 3-year-old libedit in Hardy does not have the remove_history function. The use of remove_history was already ifdef'd so the code change is minimal, I refreshed the 03_use_libedit.diff so the debdiff is longer though. The only consequence of this change is that duplicate entries in the command history are not removed. Test builds are in my PPA.

What worries me more is a regression in functionality in this newer upstream version: I can no longer zoom in on a graph by right-clicking.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

To make the debdiff easier to review, I hand-edited 03_use_libedit.diff without refreshing it. I also added the Maintainer change to the debdiff.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

After reading https://help.ubuntu.com/community/UbuntuBackports I think I even got the package version right.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

The zooming problem (actually the plot window is unresponsive to anything, the buttons are dead and 'h' does not do anything) does not appear when I run my Hardy binary in Intrepid. Maybe it's due to the old libraries (libedit?) in Hardy.

The only other issue I see in Hardy is a "Warning: Could not write history file!!!" when I quit gnuplot, but this is harmless, the file is actually updated. Probably due to the old libedit function not returning the expected success value. We could patch gnuplot to ignore the return value in Hardy.

I verified that this all works fine in Jaunty.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I verified that the Hardy issues are all due to the old libedit version in Hardy: I rebuilt the Intrepid libedit on Hardy, and now everything in gnuplot works. I guess backporting a library like libedit is not possible, since many packages depend on it.

Revision history for this message
Shirish Agarwal (shirishag75) wrote : Re: [Bug 271219] Re: Backport GnuPlot 4.2.3 to Hardy

Hi all,
     In Intrepid its known as libedit2

$ apt-cache rdepends libedit2
libedit2
Reverse Depends:
  wip
  libsl0-heimdal
  heimdal-clients
  boxbackup-client
  php5-cli
  openssh-client
  ntp
  libreadline-java
  libedit-dev

Dunno about hardy though as don't have hardy anymore at my end.
--
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Shirish, we're talking about the same libedit (source package). It's only the library binary package that is called libedit2.

Dan Streetman (ddstreet)
Changed in hardy-backports:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.