[MacPorts] #64325: app PortGroup: app.icon unable to handle filenames with spaces

MacPorts noreply at macports.org
Sat Jan 1 03:29:16 UTC 2022


#64325: app PortGroup: app.icon unable to handle filenames with spaces
------------------------+------------------------
 Reporter:  jasonliu--  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:              |       Port:  pg-app-1.0
------------------------+------------------------
 When using the app PortGroup, if you try to specify an {{{.icns}}} file
 with a space in the filename, it always tries to add {{{port:makeicns}}}
 as a dependency. I've tried multiple possible iterations of quoting a
 path/filename with spaces:

 {{{
 app.icon    "subdir/file with spaces.icns"
 app.icon    "subdir/file\ with\ spaces.icns"
 app.icon    {subdir/file with spaces.icns}
 app.icon    {subdir/file\ with\ spaces.icns}
 }}}

 none of which are working. It looks like the problem may be somewhere
 inside {{{proc app._icon_trace}}}, although I'm not exactly sure what that
 problem could be.

-- 
Ticket URL: <https://trac.macports.org/ticket/64325>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list