Monday, 20 April 2020

Re: [Rpcemu] Another little patch for macOS

Hi Andrew,

Many thanks for this! If all goes well, is there likely to be a new release for Mac in  http://www.marutan.net/rpcemu/index.php#downloads ? I'd love to give it a try again. :-)

If there isn't an official build, has anyone else already made a build that they have had success with? Is there any way to step the user through the Accessibility setting change ("Allow the apps below to control your computer") if RPCEmu detects the privilege has not been granted at runtime?

Many thanks,
Pete


On 29. Mar 2020, at 11:18, Andrew Hodgkinson <ahodgkin@riscosopen.org> wrote:

Rounding off the work I've been making doing for macOS X, is the attached patch.

  • VERSION is now defined in the QT .pro file, rather than in rpcemu.h
  • The Mac application info.plist uses this for the correct application version
  • The Mac application bundle identifier is properly composed using qmake variables, leading to a different identifier for the recompiler vs interpreter versions; this allows both of them to be added to Security & Privacy settings as independent entities.

The line numbers in the patch are for a set of sources already patched with Timothy Coltman's V4 Mac patch, but would probably work successfully in unpatched source too using just the diff context. While this small change set is mostly Mac-focused, I do think having the version specified in the project file is the right thing generally and it might be a useful addition to the main source tree.

--   Andrew Hodgkinson  RISC OS Open Limited  http://www.riscosopen.org/
<version-and-bundle-id.patch.zip>_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

No comments:

Post a Comment