mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable
@ 2015-11-05 10:29 Alexander Dahl
  2015-11-06 13:41 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2015-11-05 10:29 UTC (permalink / raw)
  To: ptxdist

Deactivating ancient backwards compatibility features makes the gnuplot
binary smaller.

Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 rules/gnuplot.in   | 8 ++++++++
 rules/gnuplot.make | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/rules/gnuplot.in b/rules/gnuplot.in
index 05025bf..811ffdb 100644
--- a/rules/gnuplot.in
+++ b/rules/gnuplot.in
@@ -63,4 +63,12 @@ config GNUPLOT_PDF
 	depends on BROKEN
 	help
 	  Include support for output as PDF (Portable Document Format)
+
+config GNUPLOT_COMPAT
+	bool
+	prompt "support deprecated syntax"
+	default y
+	help
+	  Support certain syntax deprecated since Gnuplot version 4.0.
+
 endif
diff --git a/rules/gnuplot.make b/rules/gnuplot.make
index d47c3d9..e6e498e 100644
--- a/rules/gnuplot.make
+++ b/rules/gnuplot.make
@@ -49,7 +49,7 @@ GNUPLOT_AUTOCONF = \
 	--disable-h3d-quadtree \
 	--disable-h3d-gridbox \
 	--disable-wxwidgets \
-	--enable-backwards-compatibility \
+	--$(call ptx/endis, PTXCONF_GNUPLOT_COMPAT)-backwards-compatibility \
 	--disable-stats \
 	--disable-qt \
 	--without-lispdir \
-- 
2.1.4


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable
  2015-11-05 10:29 [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable Alexander Dahl
@ 2015-11-06 13:41 ` Michael Olbrich
  2015-11-06 14:23   ` Alexander Dahl
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2015-11-06 13:41 UTC (permalink / raw)
  To: ptxdist

On Thu, Nov 05, 2015 at 11:29:09AM +0100, Alexander Dahl wrote:
> Deactivating ancient backwards compatibility features makes the gnuplot
> binary smaller.

How old is that stuff? Maybe we should just disable this without adding an
option?

Michael

> Signed-off-by: Alexander Dahl <post@lespocky.de>
> ---
>  rules/gnuplot.in   | 8 ++++++++
>  rules/gnuplot.make | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/gnuplot.in b/rules/gnuplot.in
> index 05025bf..811ffdb 100644
> --- a/rules/gnuplot.in
> +++ b/rules/gnuplot.in
> @@ -63,4 +63,12 @@ config GNUPLOT_PDF
>  	depends on BROKEN
>  	help
>  	  Include support for output as PDF (Portable Document Format)
> +
> +config GNUPLOT_COMPAT
> +	bool
> +	prompt "support deprecated syntax"
> +	default y
> +	help
> +	  Support certain syntax deprecated since Gnuplot version 4.0.
> +
>  endif
> diff --git a/rules/gnuplot.make b/rules/gnuplot.make
> index d47c3d9..e6e498e 100644
> --- a/rules/gnuplot.make
> +++ b/rules/gnuplot.make
> @@ -49,7 +49,7 @@ GNUPLOT_AUTOCONF = \
>  	--disable-h3d-quadtree \
>  	--disable-h3d-gridbox \
>  	--disable-wxwidgets \
> -	--enable-backwards-compatibility \
> +	--$(call ptx/endis, PTXCONF_GNUPLOT_COMPAT)-backwards-compatibility \
>  	--disable-stats \
>  	--disable-qt \
>  	--without-lispdir \
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable
  2015-11-06 13:41 ` Michael Olbrich
@ 2015-11-06 14:23   ` Alexander Dahl
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Dahl @ 2015-11-06 14:23 UTC (permalink / raw)
  To: ptxdist

Hei hei, 

Am 2015-11-06 14:41, schrieb Michael Olbrich:
> How old is that stuff? Maybe we should just disable this without adding an
> option?

>> +	help
>> +	  Support certain syntax deprecated since Gnuplot version 4.0.

gnuplot 4.0 was released in 2004, more than 10 years ago. I think we can
disable this, but I'm not sure if someone still needs this.

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-06 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 10:29 [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable Alexander Dahl
2015-11-06 13:41 ` Michael Olbrich
2015-11-06 14:23   ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox