[MacPorts] #23556: springrts portfile submission
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- I have successfully created a port for the Spring RTS. This is my first portfile, but it works fine, and I'd like it to be added to Macports. The second patch is a little fuzzy, is that a problem? -- Ticket URL: <http://trac.macports.org/ticket/23556> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by pepijndevos@…): I updated the portfile with an applescript that acts as a proxy between a familiar app bundle and the real unix binary. Double-click to run, drag maps or mods onto it to install them. -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): Can python26 be used instead of python25? We are trying to move away from the older version. -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by pepijndevos@…): The dependencies list 2.5: http://springrts.com/wiki/Build_from_source#Full_list But they are listed as optional and for AI/bindings, so 2.6 might work as well, I'll contact a developer. Anyway, I did not use python_select to activate the 2.5 version, so it just used the Mac supplied version if it used it at all I guess. Shall we just remove the Python dependency? -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by pepijndevos@…): Replying to [comment:2 macsforever2000@…]:
Can python26 be used instead of python25? We are trying to move away from the older version.
I'll remove it, but they've told me there's going to be a bugfix release soon, so I think it is wise to wait for that. -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by raimue@…): The post-activate ui_msg should be replaced with the `notes` feature. Also, ${applications_dir} should be used instead of hardcoding /Applications/MacPorts. {{{ notes " A convenient app bundle was created at ${applications_dir}/Spring.app, \ which can be used to launch Spring and to install maps/mods. " }}} -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by pepijndevos@…): Replying to [comment:5 raimue@…]:
The post-activate ui_msg should be replaced with the `notes` feature. Also, ${applications_dir} should be used instead of hardcoding /Applications/MacPorts.
{{{ notes " A convenient app bundle was created at ${applications_dir}/Spring.app, \ which can be used to launch Spring and to install maps/mods. " }}}
Thanks, I'll incorporate those into the next portfile. The next version should be out soon, and my testing shows all the patches includes in this one are no longer needed, how do I remove them from this ticket? -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): Replying to [comment:6 pepijndevos@…]:
The next version should be out soon, and my testing shows all the patches includes in this one are no longer needed, how do I remove them from this ticket?
You cannot remove attached files. You can only update them. So just update the portfile and now we know not to add them to svn. -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by pepijndevos@…): 0.81.2 is out and working, with 2 patch files, Python has been removed. Thanks -- Ticket URL: <http://trac.macports.org/ticket/23556#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23556: springrts portfile submission -----------------------------------+---------------------------------------- Reporter: pepijndevos@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: springrts -----------------------------------+---------------------------------------- Comment(by jmr@…): I was going to commit this, but I couldn't get it to install. Attaching an updated portfile with these important changes anyway: * Fixed the post-destroot code creating the app outside the destroot * Using ${prefix} in the applescript instead of hardcoding /opt/local * Ensuring that macports' SDL is used * Added some missing xorg dependencies * Added a checksum type other than md5 -- Ticket URL: <https://trac.macports.org/ticket/23556#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts