All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8
@ 2020-02-17  9:06 Michael Fischer
  2020-02-26 21:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Fischer @ 2020-02-17  9:06 UTC (permalink / raw)
  To: buildroot

0001-configure-add-without-demo-option: adapt patch to 5.2.8 version
0002-use-gdlib-config-properly: already applied upstream

Signed-off-by: Michael Fischer <mf@go-sys.de>
---
 .../0001-configure-add-without-demo-option.patch   | 49 +++++++++++-----------
 .../gnuplot/0002-use-gdlib-config-properly.patch   | 27 ------------
 package/gnuplot/gnuplot.hash                       |  5 +--
 package/gnuplot/gnuplot.mk                         |  2 +-
 4 files changed, 26 insertions(+), 57 deletions(-)
 delete mode 100644 package/gnuplot/0002-use-gdlib-config-properly.patch

diff --git a/package/gnuplot/0001-configure-add-without-demo-option.patch b/package/gnuplot/0001-configure-add-without-demo-option.patch
index a9abfd06ba..890df55af9 100644
--- a/package/gnuplot/0001-configure-add-without-demo-option.patch
+++ b/package/gnuplot/0001-configure-add-without-demo-option.patch
@@ -1,17 +1,17 @@
-Add options to enable/disable docs and demos
+-Add options to enable/disable docs and demos
+-
+-Originally written by Anthony Viallard
+-<viallard@syscom-instruments.com>.
+-
+-[Vincent: adapt patch to 5.0.5 version]
+-
+-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
 
-Originally written by Anthony Viallard
-<viallard@syscom-instruments.com>.
 
-[Vincent: adapt patch to 5.0.5 version]
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-
-diff -rup a/configure.in b/configure.in
---- a/configure.in	2016-09-07 05:14:29.000000000 +0100
-+++ b/configure.in	2016-12-01 12:09:31.487464774 +0000
-@@ -818,6 +818,16 @@ if test "$with_cwdrc" = yes; then
+--- a/configure.ac	2019-11-27 23:52:29.000000000 +0100
++++ b/configure.ac	2020-02-13 10:24:50.801842269 +0100
+@@ -755,6 +755,16 @@ if test "$with_cwdrc" = yes; then
                 [ Define if you want to read .gnuplot from current directory (SECURITY RISK!).])
  fi
  
@@ -25,12 +25,12 @@ diff -rup a/configure.in b/configure.in
 +AC_ARG_ENABLE(demo,dnl
 +[  --disable-demo    do not build demo files])
 +
- dnl Sort help/subtopic tables by row or column
- AC_ARG_WITH(row-help,dnl
- [  --with-row-help         format help and subtopic tables by row (default)
-@@ -1303,6 +1313,24 @@ fi
- dnl No configuration option for this one yet
- AC_DEFINE(MAX_PARALLEL_AXES,7, [Maximum number of parallel axes supported])
+ dnl Disable experimental support for nonlinear axes
+ AC_ARG_WITH(nonlinear-axes,dnl
+ [  --without-nonlinear-axes     disable support for nonlinear axes])
+@@ -1236,6 +1246,24 @@ if test -n "${DIST_CONTACT}"; then
+   AC_DEFINE_UNQUOTED([DIST_CONTACT],["$DIST_CONTACT"],[Contact address for modified and binary distributed gnuplot versions])
+ fi
  
 +dnl build doc files
 +if test "$enable_doc" != no; then
@@ -53,15 +53,14 @@ diff -rup a/configure.in b/configure.in
  dnl Substitute variables
  AC_SUBST(PACKAGE)
  AC_SUBST(VERSION_MAJOR)
-diff -rup a/Makefile.am b/Makefile.am
---- a/Makefile.am	2014-05-30 17:38:08.000000000 +0100
-+++ b/Makefile.am	2016-12-01 12:09:31.488464794 +0000
+--- a/Makefile.am	2019-11-19 22:57:18.000000000 +0100
++++ b/Makefile.am	2020-02-13 10:17:55.753012739 +0100
 @@ -1,7 +1,7 @@
  ## Process this file with automake to produce Makefile.in -*-Makefile-*-
  AUTOMAKE_OPTIONS = foreign
  
--SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share
-+SUBDIRS = config m4 term src $(DOCSUBDIR) $(LISPDIR) man $(DEMOSUBDIR) tutorial share
+-SUBDIRS = config m4 term src docs man demo tutorial share
++SUBDIRS = config m4 term src $(DOCSUBDIR) man $(DEMOSUBDIR) tutorial share
  
- EXTRA_DIST = BUGS CodeStyle Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \
- Makefile.maint PATCHLEVEL PGPKEYS PORTING README RELEASE_NOTES \
+ EXTRA_DIST = BUGS Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \
+ Makefile.maint PATCHLEVEL PGPKEYS README RELEASE_NOTES \
diff --git a/package/gnuplot/0002-use-gdlib-config-properly.patch b/package/gnuplot/0002-use-gdlib-config-properly.patch
deleted file mode 100644
index 690a82652a..0000000000
--- a/package/gnuplot/0002-use-gdlib-config-properly.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Fix usage of gdlib-config
-
-gnuplot configure.in script properly takes care of finding
-gdlib-config using AC_PATH_PROG... but then directly uses gdlib-config
-instead of going through the GDLIB_CONFIG variable that AC_PATH_PROG
-has defined. Which means that whenever a gdlib-config binary not in
-the PATH is being used, it does not use it.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/configure.in
-===================================================================
---- a/configure.in
-+++ b/configure.in
-@@ -537,9 +537,9 @@
- if test "$with_gd" != no; then
-   AC_PATH_PROG([GDLIB_CONFIG], [gdlib-config])
-   if test -n "$GDLIB_CONFIG"; then
--    libgd_CPPFLAGS=`gdlib-config --cflags`
--    libgd_LDFLAGS=`gdlib-config --ldflags`
--    libgd_LIBS=`gdlib-config --libs`
-+    libgd_CPPFLAGS=`$GDLIB_CONFIG --cflags`
-+    libgd_LDFLAGS=`$GDLIB_CONFIG --ldflags`
-+    libgd_LIBS=`$GDLIB_CONFIG --libs`
-   elif test -d "$with_gd"; then
-     libgd_CPPFLAGS="-I$with_gd/include"
-     libgd_LDFLAGS="-L$with_gd/lib"
diff --git a/package/gnuplot/gnuplot.hash b/package/gnuplot/gnuplot.hash
index 1f3a08bb00..5c9ec636e4 100644
--- a/package/gnuplot/gnuplot.hash
+++ b/package/gnuplot/gnuplot.hash
@@ -1,6 +1,3 @@
-# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.6/
-md5 8ec46520a86a61163a701b00404faf1a  gnuplot-5.0.6.tar.gz
-sha1 f7b8948166b22e5bd658d5cf7579716f4821dba0  gnuplot-5.0.6.tar.gz
 # Locally computed
-sha256  5bbe4713e555c2e103b7d4ffd45fca69551fff09cf5c3f9cb17428aaacc9b460  gnuplot-5.0.6.tar.gz
+sha256  60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37  gnuplot-5.2.8.tar.gz
 sha256  895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d  Copyright
diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk
index d59605c570..694b6cb886 100644
--- a/package/gnuplot/gnuplot.mk
+++ b/package/gnuplot/gnuplot.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GNUPLOT_VERSION = 5.0.6
+GNUPLOT_VERSION = 5.2.8
 GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)
 GNUPLOT_LICENSE = gnuplot license (open source)
 GNUPLOT_LICENSE_FILES = Copyright
-- 
2.16.4

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

* [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8
  2020-02-17  9:06 [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8 Michael Fischer
@ 2020-02-26 21:45 ` Thomas Petazzoni
       [not found]   ` <434318d67af84622b1a9200b63e18220@go-sys.de>
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2020-02-26 21:45 UTC (permalink / raw)
  To: buildroot

Hello Michael,

On Mon, 17 Feb 2020 10:06:58 +0100
Michael Fischer <mf@go-sys.de> wrote:

> 0001-configure-add-without-demo-option: adapt patch to 5.2.8 version
> 0002-use-gdlib-config-properly: already applied upstream
> 
> Signed-off-by: Michael Fischer <mf@go-sys.de>

Thanks for your contribution! If you're using gnuplot in Buildroot,
would you be willing to be listed as a developer for this package in
our DEVELOPERS file? This would help us maintain this package on the
long run.

I've applied your patch to our next branch, with a few changes. See below.

> diff --git a/package/gnuplot/0001-configure-add-without-demo-option.patch b/package/gnuplot/0001-configure-add-without-demo-option.patch
> index a9abfd06ba..890df55af9 100644
> --- a/package/gnuplot/0001-configure-add-without-demo-option.patch
> +++ b/package/gnuplot/0001-configure-add-without-demo-option.patch
> @@ -1,17 +1,17 @@
> -Add options to enable/disable docs and demos
> +-Add options to enable/disable docs and demos
> +-
> +-Originally written by Anthony Viallard
> +-<viallard@syscom-instruments.com>.
> +-
> +-[Vincent: adapt patch to 5.0.5 version]
> +-
> +-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> +-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Why did you add some - signs in front the description and Signed-off-by
lines? I dropped these, so that the patch description looks normal.

> diff --git a/package/gnuplot/gnuplot.hash b/package/gnuplot/gnuplot.hash
> index 1f3a08bb00..5c9ec636e4 100644
> --- a/package/gnuplot/gnuplot.hash
> +++ b/package/gnuplot/gnuplot.hash
> @@ -1,6 +1,3 @@
> -# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.6/
> -md5 8ec46520a86a61163a701b00404faf1a  gnuplot-5.0.6.tar.gz
> -sha1 f7b8948166b22e5bd658d5cf7579716f4821dba0  gnuplot-5.0.6.tar.gz

We prefer to keep the upstream hashes, they are provided by
Sourceforge, so I updated this to 5.2.8 instead of dropping those
hashes.

Applied to next with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8
       [not found]   ` <434318d67af84622b1a9200b63e18220@go-sys.de>
@ 2020-02-27  9:15     ` Thomas Petazzoni
  2020-02-27 12:10       ` Michael Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2020-02-27  9:15 UTC (permalink / raw)
  To: buildroot

Hello Michael,

Please keep the Buildroot mailing list in Cc by using "reply all" when
replying to Buildroot messages. Thanks!

On Thu, 27 Feb 2020 08:58:35 +0000
Michael Fischer <mf@go-sys.de> wrote:

> >Thanks for your contribution! If you're using gnuplot in Buildroot, would you be willing to be listed as a developer for this package in our DEVELOPERS file? This would help us maintain this package on the long run.  
> 
> I use gnuplot and buildroot in our new software project so I'm willing to help as a developer if I can.

Great! Could you send a patch adding you to the DEVELOPERS file in
Buildroot ?

> >Why did you add some - signs in front the description and Signed-off-by lines? I dropped these, so that the patch description looks normal.  
> 
> Hmm,
> It's a copy of the entry from Vincent. I'm new in create git patches and so I thought it's normal.

You had added - signs in front of each  line of the description, which
were not correct.

Anyway, I fixed that up, no worries.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8
  2020-02-27  9:15     ` Thomas Petazzoni
@ 2020-02-27 12:10       ` Michael Fischer
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Fischer @ 2020-02-27 12:10 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

>Great! Could you send a patch adding you to the DEVELOPERS file in Buildroot ?

I have sent the patch.

Bye
  Michael.


-----Urspr?ngliche Nachricht-----
Von: Thomas Petazzoni [mailto:thomas.petazzoni at bootlin.com] 
Gesendet: Donnerstag, 27. Februar 2020 10:15
An: Michael Fischer <mf@go-sys.de>
Cc: buildroot at uclibc.org
Betreff: Re: [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8

Hello Michael,

Please keep the Buildroot mailing list in Cc by using "reply all" when replying to Buildroot messages. Thanks!

On Thu, 27 Feb 2020 08:58:35 +0000
Michael Fischer <mf@go-sys.de> wrote:

> >Thanks for your contribution! If you're using gnuplot in Buildroot, would you be willing to be listed as a developer for this package in our DEVELOPERS file? This would help us maintain this package on the long run.  
> 
> I use gnuplot and buildroot in our new software project so I'm willing to help as a developer if I can.

Great! Could you send a patch adding you to the DEVELOPERS file in Buildroot ?

> >Why did you add some - signs in front the description and Signed-off-by lines? I dropped these, so that the patch description looks normal.  
> 
> Hmm,
> It's a copy of the entry from Vincent. I'm new in create git patches and so I thought it's normal.

You had added - signs in front of each  line of the description, which were not correct.

Anyway, I fixed that up, no worries.

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2020-02-27 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-17  9:06 [Buildroot] [PATCH] package/gnuplot: bump to version 5.2.8 Michael Fischer
2020-02-26 21:45 ` Thomas Petazzoni
     [not found]   ` <434318d67af84622b1a9200b63e18220@go-sys.de>
2020-02-27  9:15     ` Thomas Petazzoni
2020-02-27 12:10       ` Michael Fischer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.