[MacPorts] #67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build

MacPorts noreply at macports.org
Tue May 30 23:31:31 UTC 2023


#67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build
-------------------------------+----------------------
  Reporter:  lukaso            |      Owner:  mascguy
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.8.1
Resolution:                    |   Keywords:
      Port:  shared-mime-info  |
-------------------------------+----------------------

Comment (by mascguy):

 Replying to [comment:5 lukaso]:
 > Here's an example post install message:
 >
 > {{{
 >   def caveats
 >     <<~EOS
 >       Create the required host directories:
 >         mkdir -p ~/Library/Application\\ Support/Pow/Hosts
 >         ln -s ~/Library/Application\\ Support/Pow/Hosts ~/.pow
 >
 >       Setup port 80 forwarding and launchd agents:
 >         sudo pow --install-system
 >         pow --install-local
 >
 >       Load launchd agents:
 >         sudo launchctl load -w
 /Library/LaunchDaemons/cx.pow.firewall.plist
 >         launchctl load -w ~/Library/LaunchAgents/cx.pow.powd.plist
 >     EOS
 >   end
 > }}}

 That's less painful than running `sudo port load <port_name>`? Seems
 pretty awful to me.

 If they provided a script to do all of that, then fine. But asking a non-
 technical user to go through that? Yuck.

 As for this specific case, building of GIMP doesn't require a daemon to be
 loaded: That's designed for end-users, who are constantly installing and
 uninstalling ports.

 So test with the suggestions in comment:3, and please report back.

-- 
Ticket URL: <https://trac.macports.org/ticket/67533#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list