[MacPorts] #19226: new port: avogadro
#19226: new port: avogadro -----------------------------------+---------------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: -----------------------------------+---------------------------------------- Avogadro is an open source, advanced molecular editor. I believe its inclusion into MacPorts is justified as there are other similar packages such as bkchem, chemtool, openbabel, etc. Please find attached a Portfile. It installs a working copy of Avogadro into /Applications. Some adjustments may be necessary by someone more familiar with MacPorts. Adam -- Ticket URL: <http://trac.macports.org/ticket/19226> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19226: new port: avogadro -----------------------------------+---------------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.1 Keywords: | Port: avogadro -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * port: => avogadro -- Ticket URL: <http://trac.macports.org/ticket/19226#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19226: new port: avogadro -----------------------------------+---------------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: avogadro -----------------------------------+---------------------------------------- Comment(by raimue@…): This should use the cmake PortGroup which would make it a lot simpler. -- Ticket URL: <http://trac.macports.org/ticket/19226#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Avogadro is now many versions advanced, and there is a native OS X build. Is it still necessary for a macports inclusion? -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by atenderholt@…): There's probably no reason to include Avogadro in Macports as you pointed out. Feel free to close it. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * version: 1.7.1 => * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:5 c.herbig@…]:
Avogadro is now many versions advanced, and there is a native OS X build. Is it still necessary for a macports inclusion?
Well, if someone submitted an updated version of the portfile that builds one of the newer versions, that could be useful for people who like to use MacPorts to manage all their software, and to keep everything linked against MacPorts libraries... -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): I did get this one to work, but I don't know how to fix the following warnings: {{{ ---> Staging avogadro into destroot Warning: violation by /Applications/Avogadro.app Warning: avogadro violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing avogadro @1.1.0_0 }}} Don't get me wrong, I like the idea of even some OS X programs being available here, I was just wondering if anyone even cared since this ticket was so old. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:10 c.herbig@…]:
I did get this one to work, but I don't know how to fix the following warnings:
{{{ ---> Staging avogadro into destroot Warning: violation by /Applications/Avogadro.app Warning: avogadro violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing avogadro @1.1.0_0 }}}
The build needs to be patched to install the app bundle to `${destroot}${applications_dir}`, not /Applications. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…):
The build needs to be patched to install the app bundle to `${destroot}${applications_dir}`, not /Applications.
Might that be something that belongs in the cmake group? -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Also, the status of the port has been changed to closed, wontfix. Shouldn't we open it for this? -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Changes (by macsforever2000@…): * status: closed => reopened * resolution: wontfix => -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Well, putting this in the portfile didn't work: {{{ configure.pre_args-delete -DCMAKE_INSTALL_PREFIX=${prefix} configure.pre_args-append -DCMAKE_INSTALL_PREFIX=${destroot}${applications_dir} }}} I don't know what else to do, other than to leave it as a warning. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Anyway, the portfile does build Avogadro, so unless somebody has a fix for those warnings, it can probably be committed. When those warnings become errors, anybody using it will file it as a bug, and somebody who actually knows what they are doing with this stuff can fix it then. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:16 c.herbig@…]:
Anyway, the portfile does build Avogadro, so unless somebody has a fix for those warnings, it can probably be committed.
No, we should not commit a broken Portfile. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Well, I've already put more time into this than I should have, so if this is an issue, then I'd say on the grounds that Avogadro has a native OS X build, to just forget the port and close the ticket. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): I have been experimenting trying to get Avogadro to install to /Applications/Macports, but I have had no luck. Placing the following into the portfile makes the configure phase acknowledge the correct destroot directory, but when destroot actually happens, it still places it into /Applications. {{{ configure.pre_args -DCMAKE_INSTALL_PREFIX=${destroot}${applications_dir}/Avogadro.app/Contents }}} This is the only holdup for committing this port. Unless somebody has a solution to this, I see no reason to keep this ticket/project open since there is already a native mac build on the avogadro site. -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: avogadro | ----------------------------+-------------------------------- Comment (by c.herbig@…): Replying to [comment:17 larryv@…]:
Replying to [comment:16 c.herbig@…]:
Anyway, the portfile does build Avogadro, so unless somebody has a fix for those warnings, it can probably be committed.
No, we should not commit a broken Portfile. The developers have informed me that this cannot be changed without their intervention. Meanwhile I am working on a port file for Avogadro2. This ticket can finally be closed as wontfix or (hopefully) superseded by avogadro2.
-- Ticket URL: <https://trac.macports.org/ticket/19226#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#19226: new port: avogadro ----------------------------+-------------------------------- Reporter: atenderholt@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: avogadro | ----------------------------+-------------------------------- Changes (by macsforever2000@…): * status: reopened => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/19226#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts