[MacPorts] #40691: qgis @2.0.1: possible version issue with +grass variant
#40691: qgis @2.0.1: possible version issue with +grass variant -----------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: qgis -----------------------------+-------------------------------- This port hard-codes to grass version 6.4.2. {{{ variant grass description "Build Grass (6.42) plugin" { depends_lib-append port:grass configure.args-append \ "-DGRASS_PREFIX=${prefix}/share/grass-6.4.2" } }}} Now, grass is `grass @6.4.3 (gis)` and the respective path does not exist any more. Does this plugin work with 6.4.3 as well or does it really require version 6.4.2. The build itself would not fail, however I wonder I this might cause problems during runtime? -- Ticket URL: <https://trac.macports.org/ticket/40691> MacPorts <http://www.macports.org/> Ports system for OS X
#40691: qgis @2.0.1: possible version issue with +grass variant ------------------------------+--------------------- Reporter: Peter.Danecek@… | Owner: vince@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qgis | ------------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… * cc: vince@… (removed) Comment: 6.4.2 was presumably the current version of grass at the time this line was last changed in the Portfile. Now that grass is at 6.4.3 this line should presumably be changed. Does qgis install files into this numbered directory? If so the port's revision should be increased when this is changed; if not, it should not. Perhaps grass's version can be interrogated via pkg-config script or similar mechanism such that the qgis portfile doesn't need to be manually updated every time grass's version increases. -- Ticket URL: <https://trac.macports.org/ticket/40691#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40691: qgis @2.0.1: possible version issue with +grass variant ------------------------------+--------------------- Reporter: Peter.Danecek@… | Owner: vince@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qgis | ------------------------------+--------------------- Comment (by vince@…): I’m going to fix that tonight. Thanks for reporting. -- Ticket URL: <https://trac.macports.org/ticket/40691#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40691: qgis @2.0.1: possible version issue with +grass variant ------------------------------+--------------------- Reporter: Peter.Danecek@… | Owner: vince@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qgis | ------------------------------+--------------------- Comment (by vince@…): I have upgraded to 6.4.3 in r111992. I know it’s a kludge, but I can do no better tonight. I will figure out tomorrow if there is a more clever way (like, as suggested by Ryan, using a pkg-config API) to keep qgis automatically up to date as grass evolves. -- Ticket URL: <https://trac.macports.org/ticket/40691#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40691: qgis @2.0.1: possible version issue with +grass variant ------------------------------+--------------------- Reporter: Peter.Danecek@… | Owner: vince@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qgis | ------------------------------+--------------------- Comment (by Peter.Danecek@…): Replying to [comment:2 ryandesign@…]:
6.4.2 was presumably the current version of grass at the time this line was last changed in the Portfile. Now that grass is at 6.4.3 this line should presumably be changed. Sure, I have assumed the same ...
Does qgis install files into this numbered directory? If so the port's revision should be increased when this is changed; if not, it should not.
Well even if it does not install into this directory, the path is probably used in some way (maybe a reference to it), otherwise it would not even make to pass it at all, right? Actually it's this line `"-DGRASS_PREFIX=${prefix}/share/grass-6.4.3"`, which makes me think it might be save to bump revision in any case. At least as long the exact purpose is unclear. Some reference may remain invalid. -- Ticket URL: <https://trac.macports.org/ticket/40691#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40691: qgis @2.0.1: possible version issue with +grass variant ------------------------------+--------------------- Reporter: Peter.Danecek@… | Owner: vince@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: qgis | ------------------------------+--------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r111992 -- Ticket URL: <https://trac.macports.org/ticket/40691#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts