Skip to contentSkip to conversation

package/gnuplot: bump version to 6.0.0

PATCH In review Michael Fischer 3 participants 3 messages May 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gnuplot: bump version to 6.0.0

0001-configure-add-without-demo-option: adapt patch to 6.0.0 version

---
 ...01-configure-add-without-demo-option.patch | 42 +++++++------------
 package/gnuplot/gnuplot.hash                  |  8 ++--
 package/gnuplot/gnuplot.mk                    |  2 +-
 3 files changed, 21 insertions(+), 31 deletions(-)
package/gnuplot/0001-configure-add-without-demo-option.patch +16 -26
index a557e279bc..4eb9833fe7 100644
@@ -8,32 +8,19 @@ Signed-off-by: Thomas Petazzoni <[email protected]>
 Signed-off-by: Vicente Olivert Riera <[email protected]>
 [Michael: adapt patch to 5.4.0 version]
 Signed-off-by: Michael Fischer <[email protected]>
+[Michael: adapt patch to 6.0.0 version]
+Signed-off-by: Michael Fischer <[email protected]>
 
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac	2020-07-12 02:29:47.000000000 +0200
-+++ b/configure.ac	2020-08-06 14:21:17.918756893 +0200
-@@ -713,6 +713,17 @@
-                [ Define if you want to read .gnuplot from current directory (SECURITY RISK!).])
- fi
+--- a/configure.ac	2023-12-19 00:28:58.000000000 +0100
++++ b/configure.ac	2024-05-13 15:41:18.313920528 +0200
+@@ -715,6 +715,32 @@
+ 
+ dnl Process rest of with and enable options
  
 +dnl Whether we want to build the doc files
 +dnl Does nothing here, is passed on to the doc subdir
 +AC_ARG_ENABLE(doc,dnl
 +[  --disable-doc    do not build doc files])
-+
-+dnl Whether we want to build the demo files
-+dnl Does nothing here, is passed on to the demo subdir
-+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)
-@@ -1095,6 +1106,24 @@
-   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
 +  AC_CONFIG_SUBDIRS(docs)
@@ -43,6 +30,10 @@ diff -Naur a/configure.ac b/configure.ac
 +fi
 +AC_SUBST(DOCSUBDIR)
 +
++dnl Whether we want to build the demo files
++dnl Does nothing here, is passed on to the demo subdir
++AC_ARG_ENABLE(demo,dnl
++[  --disable-demo    do not build demo files])
 +dnl build demo files
 +if test "$enable_demo" != no; then
 +  AC_CONFIG_SUBDIRS(demo)
@@ -52,12 +43,11 @@ diff -Naur a/configure.ac b/configure.ac
 +fi
 +AC_SUBST(DEMOSUBDIR)
 +
- dnl Substitute variables
- AC_SUBST(PACKAGE)
- AC_SUBST(VERSION_MAJOR)
-diff -Naur a/Makefile.am b/Makefile.am
---- a/Makefile.am	2020-03-31 19:28:16.000000000 +0200
-+++ b/Makefile.am	2020-08-06 14:34:12.995097799 +0200
+ dnl without-extra-coordinate may leave a hole in "struct coordinate"
+ AC_ARG_WITH(extra-coordinate,dnl
+ [  --without-extra-coordinate    leave possible hole in struct coordinate],,)
+--- a/Makefile.am	2023-12-19 00:28:58.000000000 +0100
++++ b/Makefile.am	2024-05-13 15:54:21.189906680 +0200
 @@ -1,7 +1,7 @@
  ## Process this file with automake to produce Makefile.in -*-Makefile-*-
  AUTOMAKE_OPTIONS = foreign
package/gnuplot/gnuplot.hash +4 -4
index 39dacd50a4..dd587a8220 100644
@@ -1,6 +1,6 @@
-# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.10/
-md5  334851e63450362bdb95e67fa8a23665  gnuplot-5.4.10.tar.gz
-sha1  9981e5b0111c07d376deef571ccc75ce4b4ebbd2  gnuplot-5.4.10.tar.gz
+# From https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.0/
+md5  10246eb96bbf3a151d6eb9bbcc223e4e  gnuplot-6.0.0.tar.gz
+sha1  3abea0cccad89b0c8fb6619ad51b83a971ee24b9  gnuplot-6.0.0.tar.gz
 # Locally computed
-sha256  975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c  gnuplot-5.4.10.tar.gz
+sha256  635a28f0993f6ab0d1179e072ad39b8139d07f51237f841d93c6c2ff4b1758ec  gnuplot-6.0.0.tar.gz
 sha256  895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d  Copyright
package/gnuplot/gnuplot.mk +1 -1
index 91e9bfb9bf..26b2daaf24 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GNUPLOT_VERSION = 5.4.10
+GNUPLOT_VERSION = 6.0.0
 GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)
 GNUPLOT_LICENSE = gnuplot license (open source)
 GNUPLOT_LICENSE_FILES = Copyright
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line · On Mon, 13 May 2024 16:26:12 +0200 Michael Fischer <[email protected]> wrote:

0001-configure-add-without-demo-option: adapt patch to 6.0.0 version

It would be very nice to submit this patch to the upstream gnuplot maintainers :-)

Quoted 1 line

Nevertheless, patch applied, thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Michael Fischer

Hi Michael,

Thanks for your patch!

Testing this patch on branch master at commit bd4efc8 with the command:

    support/testing/run-tests \
        -k -d dl -o output_folder \
        tests.package.test_gnuplot

fails with output:

/buildroot/output_folder/TestGnuplot/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabi/12.3.0/../../.. /../arm-buildroot-linux-gnueabi/bin/ld: history.o: in function 'read_history':

    history.c:(.text+0x78): undefined reference to 'gp_read_history'

Removing --disable-history-file in GNUPLOT_CONF_OPTS workaround the issue. Maybe this is an upstream bug? Could you investigate this please?

Quoted 124 lines · Michael Fischer

0001-configure-add-without-demo-option: adapt patch to 6.0.0 version

---
 ...01-configure-add-without-demo-option.patch | 42 +++++++------------
 package/gnuplot/gnuplot.hash                  |  8 ++--
 package/gnuplot/gnuplot.mk                    |  2 +-
 3 files changed, 21 insertions(+), 31 deletions(-)
package/gnuplot/0001-configure-add-without-demo-option.patch +0 -0
index a557e279bc..4eb9833fe7 100644
@@ -8,32 +8,19 @@ Signed-off-by: Thomas Petazzoni 

<[email protected]>

[Michael: adapt patch to 5.4.0 version]

+[Michael: adapt patch to 6.0.0 version]

package/gnuplot/0001-configure-add-without-demo-option.patch +1 -5
+Signed-off-by: Michael Fischer <[email protected]>
 
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac	2020-07-12 02:29:47.000000000 +0200
-+++ b/configure.ac	2020-08-06 14:21:17.918756893 +0200
-@@ -713,6 +713,17 @@
-                [ Define if you want to read .gnuplot from current 

directory (SECURITY RISK!).])
- fi
+--- a/configure.ac 2023-12-19 00:28:58.000000000 +0100
++++ b/configure.ac 2024-05-13 15:41:18.313920528 +0200
+@@ -715,6 +715,32 @@
+
+ dnl Process rest of with and enable options

+dnl Whether we want to build the doc files
+dnl Does nothing here, is passed on to the doc subdir +AC_ARG_ENABLE(doc,dnl
+[ --disable-doc do not build doc files])
-+
-+dnl Whether we want to build the demo files
-+dnl Does nothing here, is passed on to the demo subdir -+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)
-@@ -1095,6 +1106,24 @@
- AC_DEFINE_UNQUOTED([DIST_CONTACT],["$DIST_CONTACT"],[Contact
address for modified and binary distributed gnuplot versions])
- fi

package/gnuplot/0001-configure-add-without-demo-option.patch +9 -8
-
 +dnl build doc files
 +if test "$enable_doc" != no; then
 +  AC_CONFIG_SUBDIRS(docs)
@@ -43,6 +30,10 @@ diff -Naur a/configure.ac b/configure.ac
 +fi
 +AC_SUBST(DOCSUBDIR)
 +
++dnl Whether we want to build the demo files
++dnl Does nothing here, is passed on to the demo subdir
++AC_ARG_ENABLE(demo,dnl
++[  --disable-demo    do not build demo files])
 +dnl build demo files
 +if test "$enable_demo" != no; then
 +  AC_CONFIG_SUBDIRS(demo)
@@ -52,12 +43,11 @@ diff -Naur a/configure.ac b/configure.ac
 +fi
 +AC_SUBST(DEMOSUBDIR)
 +
- dnl Substitute variables
- AC_SUBST(PACKAGE)
- AC_SUBST(VERSION_MAJOR)
-diff -Naur a/Makefile.am b/Makefile.am
---- a/Makefile.am	2020-03-31 19:28:16.000000000 +0200
-+++ b/Makefile.am	2020-08-06 14:34:12.995097799 +0200
+ dnl without-extra-coordinate may leave a hole in "struct coordinate"
+ AC_ARG_WITH(extra-coordinate,dnl
+ [  --without-extra-coordinate    leave possible hole in struct 
 coordinate],,)
+--- a/Makefile.am	2023-12-19 00:28:58.000000000 +0100
++++ b/Makefile.am	2024-05-13 15:54:21.189906680 +0200
 @@ -1,7 +1,7 @@
  ## Process this file with automake to produce Makefile.in 
-*-Makefile-*-
  AUTOMAKE_OPTIONS = foreign
package/gnuplot/gnuplot.hash +3 -4
index 39dacd50a4..dd587a8220 100644
@@ -1,6 +1,6 @@
-# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.10/
-md5  334851e63450362bdb95e67fa8a23665  gnuplot-5.4.10.tar.gz
-sha1  9981e5b0111c07d376deef571ccc75ce4b4ebbd2  gnuplot-5.4.10.tar.gz
+# From https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.0/
+md5  10246eb96bbf3a151d6eb9bbcc223e4e  gnuplot-6.0.0.tar.gz
+sha1  3abea0cccad89b0c8fb6619ad51b83a971ee24b9  gnuplot-6.0.0.tar.gz
 # Locally computed
-sha256  

975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c gnuplot-5.4.10.tar.gz +sha256
635a28f0993f6ab0d1179e072ad39b8139d07f51237f841d93c6c2ff4b1758ec gnuplot-6.0.0.tar.gz
sha256
895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d Copyright

package/gnuplot/gnuplot.mk +1 -1
index 91e9bfb9bf..26b2daaf24 100644
@@ -4,7 +4,7 @@
 #
 
 ################################################################################
 
-GNUPLOT_VERSION = 5.4.10
+GNUPLOT_VERSION = 6.0.0
 GNUPLOT_SITE = 
 http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)

GNUPLOT_LICENSE = gnuplot license (open source)
GNUPLOT_LICENSE_FILES = Copyright
--
2.20.1

Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot