Opened 4 months ago

Closed 8 weeks ago

Last modified 8 weeks ago

#70357 closed update (fixed)

gnuplot: Update to v6

Reported by: kickingvegas (Charles Choi) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnuplot

Description

Gnuplot v6.0.1 is the current version. Please update the port accordingly.

https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.1/

http://www.gnuplot.info/

Change History (12)

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Owner: set to mojca
Status: newassigned

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: Update gnuplot to v6gnuplot: Update to v6
Version: 2.9.3

comment:3 Changed 4 months ago by kickingvegas (Charles Choi)

Any status updates?

comment:4 Changed 4 months ago by George9000

Installed v 6.0.1 on Sonoma 14.5 (arm64 arch) Make changes in the portfile. Comment out lines and replace as follows. Note that for viewing in this ticket, new lines were placed in between lines to render properly. Not needed in the Portfile.

cd /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/math/gnuplot

sudo vim Portfile

#version 5.4.8

version 6.0.1

checksums rmd160 4604a77bef5146eedcf8b2277f6364969bd2a8e4 \

sha256 e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a \

size 7528936

#checksums rmd160 a469a3089502de08244c78ee6e9f0d7e810bb701 \

# sha256 931279c7caad1aff7d46cb4766f1ff41c26d9be9daf0bcf0c79deeee3d91f5cf \

# size 5684061

comment:5 Changed 8 weeks ago by Remko Scharroo <remko.scharroo@…>

Resolution: fixed
Status: assignedclosed

comment:6 Changed 8 weeks ago by kickingvegas (Charles Choi)

👏🏼🙌🏼🎉

comment:7 Changed 8 weeks ago by kickingvegas (Charles Choi)

Resolution: fixed
Status: closedreopened

Unable to install latest gnuplot v6.0.1 on M1 macOS 14.7 using MacPorts 2.10.1.

For some reason it wishes to install qt4-mac for x86_64 arch.

[Users/cchoi] > outdated
The following installed ports are outdated:
gnuplot                        5.4.8_0 < 6.0.1_0         
[Users/cchoi] > upgrade outdated

Error: Cannot install qt4-mac for the arch 'x86_64' because
Error: its dependency dbus does not build for the required arch by default
Error: and does not have a universal variant.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

comment:8 Changed 8 weeks ago by kickingvegas (Charles Choi)

Also this is my configuration in macports.conf

# CPU architecture to target. Supported values are "ppc", "ppc64",
# "i386", "x86_64", and "arm64". Defaults to:
# - Mac OS X 10.5 and earlier: "ppc" on PowerPC, otherwise "i386".
# - Mac OS X 10.6 - 10.15: "x86_64" on 64-bit Intel, otherwise "i386".
# - macOS 11 and later: "arm64" on Apple Silicon, otherwise "x86_64".
#build_arch          	x86_64
build_arch arm64

# Space-delimited list of CPU architectures to target when building
# universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
# "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on
# macOS 10.14 and 10.15 (these SDKs are not universal), and
# "arm64 x86_64" on macOS 11 and later. Set an empty value to disable
# universal building.
#universal_archs     	arm64 x86_64
universal_archs


comment:9 Changed 8 weeks ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

The port is updated, so reopening this ticket isn't really correct. It looks like it's just a matter of the default variant selection not being optimal for arm64 systems.

comment:10 Changed 8 weeks ago by jmroot (Joshua Root)

In 9f48f14da1d6ac2594850c801f888d7e52bb931d/macports-ports (master):

gnuplot: default to +qt5 on platforms where it works

See: #70357

comment:11 in reply to:  7 Changed 8 weeks ago by jmroot (Joshua Root)

Replying to kickingvegas:

For some reason it wishes to install qt4-mac for x86_64 arch.

qt4-mac simply doesn't support arm64. https://github.com/macports/macports-ports/blob/master/aqua/qt4-mac/Portfile#L478

comment:12 Changed 8 weeks ago by kickingvegas (Charles Choi)

For reference have opened up this ticket. https://trac.macports.org/ticket/70813

Note: See TracTickets for help on using tickets.