[MacPorts] #33828: update of ncview to 2.2.1
#33828: update of ncview to 2.2.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: ncview | Port: ncview -------------------------------------------------+-------------------------- Please find attached a patch for an update of ncview portfile to ncview 2.1.1. I also join a modified patch for configure. Since it's a major release for ncview (with additional dependencies), I also join the full Portfile in case you wish to add it as a separate port. [[BR]] Finally, it's the first time ever I'm editing a portfile, so I apologize for potential mistakes and I would modify it happily. -- Ticket URL: <https://trac.macports.org/ticket/33828> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: update of ncview to 2.2.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ncview -------------------------------------------------+-------------------------- Changes (by macsforever2000@…): * keywords: ncview => haspatch * version: 2.0.4 => -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: update of ncview to 2.2.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ncview -------------------------------------------------+-------------------------- Comment(by ryandesign@…): Since you appear to be more familiar with the ncview software than we are, could you help us decide: is there any reason why a user would still want to use ncview 1.x when version 2.2.1 is available? That would be the deciding factor for whether we update the ncview port, or add a new ncview2 port. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: update of ncview to 2.2.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ncview -------------------------------------------------+-------------------------- Comment(by rachid.benshila@…): I don't see any reason on ncview side, there is nothing feasible by ncview 1.x that ncview 2.x can't do, there is no incompatibility in term of input file format, and they won't be any new version 1.x. The caution relies only on the more complex dependencies involved for version 2.x, which makes an installation by hand more complicated.[[BR]] By the way I opened the ticket with subject version 2.2.1, and mentioned in the ticket version 2.1.1, correct version is 2.1.1. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ncview -------------------------------------------------+-------------------------- -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 -------------------------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: ncview -------------------------------------------------+-------------------------- Comment(by jmr@…): Is there a reason you want to link to libpng statically? If not, the equivalent of libpng.so is actually libpng.dylib. Also, revision should reset to 0 with a new version. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r98700 -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Changes (by rachid.benshila@…): * status: closed => reopened * resolution: fixed => Comment: Thanks for adding this. I found there was some possible inconsistancy in the configure file depending of the version of gcc, I should not be needed with macport. Above is the new parch-configure (relative to officcial ncview original one) -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:8 rachid.benshila@…]:
Thanks for adding this. I found there was some possible inconsistancy in the configure file depending of the version of gcc, I should not be needed with macport.
Does it actually cause a problem for MacPorts though? If not maybe we can just wait until upstream fixes it. Your new patch again replaces libpng.so with libpng.a instead of libpng.dylib, which Joshua had asked above why you did, which you didn't answer before. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Comment (by rachid.benshila@…): Apologizes for libpng, there is not reason to link statically with it (I restarted from an old version). For the gcc thing, it actually causes pb with macport when users already have installed netcdf4 with opempi, the configure doesn't recognize mpicc is just a wrapper for gcc and the installation fails. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Comment (by jim.biard@…): This is completely broken on my mac running OSX 1.8.2. I upgraded netcdf, and that worked just fine, then the upgrade of ncview failed. I uninstalled ncview and tried to reinstall it, and it still fails. The log indicates that the build is failing because the configure script doesn't like the compiler (same problem as was reported in this ticket). Ncview 1.9 (the last version I had installed) never had this problem. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33828: ncview: update to 2.1.1 --------------------------------+-------------------------- Reporter: rachid.benshila@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: ncview | --------------------------------+-------------------------- Changes (by ryandesign@…): * status: reopened => closed * cc: jim.biard@… (added) * resolution: => fixed Comment: Replying to [comment:10 rachid.benshila@…]:
Apologizes for libpng, there is not reason to link statically with it (I restarted from an old version). For the gcc thing, it actually causes pb with macport when users already have installed netcdf4 with opempi, the configure doesn't recognize mpicc is just a wrapper for gcc and the installation fails.
I committed a modified version of the patch that did not revert the dynamic libpng linking in r99347. Replying to [comment:11 jim.biard@…]:
This is completely broken on my mac running OSX 1.8.2. I upgraded netcdf, and that worked just fine, then the upgrade of ncview failed. I uninstalled ncview and tried to reinstall it, and it still fails. The log indicates that the build is failing because the configure script doesn't like the compiler (same problem as was reported in this ticket). Ncview 1.9 (the last version I had installed) never had this problem.
Since this ticket was about updating the port to 2.1.1, and that has been accomplished, let's call this ticket closed now. If there are additional problems, please open a new ticket. -- Ticket URL: <https://trac.macports.org/ticket/33828#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts