You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm a developer with the MacPorts project, trying to update our NicePlayer port to the latest version. It's been a long time since we updated this port, and now that I'm trying to do so, I'm running into many problems, so apologies for filing so many bug reports all at once, but I figured you'd want to know.
Some support for disabling Sparkle was added in f8446d3, but it has a number of problems:
It requires the user to edit the Xcode project and add -D__MACPORTS__ to Other C Flags.
If the user chooses the Check For Updates menu item, a message is displayed that says the program was installed using MacPorts.
The Sparkle framework is still built and installed.
1 and 2 are weird if the program is not in fact being built by MacPorts—for example, if it is being built by Homebrew or Fink or just by a user who wants to disable Sparkle support. 3 is bad because it wastes time building something that is not needed or wanted, and that can in itself lead to problems—in my case, the Sparkle framework fails to build because it uses openssl headers which are no longer part of macOS. So in order to get this to build in MacPorts, I had to add a dependency on the MacPorts openssl port, and edit the Sparkle Xcode project to add the path to the MacPorts openssl headers and libraries, all so that I could build a Sparkle framework that I didn't want to have.
So it would be great if there were a better way to disable all Sparkle functionality in NicePlayer—a way that does not reference MacPorts, and that results in no parts of Sparkle being built or installed. I am not certain what the best way is within Xcode to offer such options, but maybe a separate configuration or a separate target is the answer.
The text was updated successfully, but these errors were encountered:
Hi, I'm a developer with the MacPorts project, trying to update our NicePlayer port to the latest version. It's been a long time since we updated this port, and now that I'm trying to do so, I'm running into many problems, so apologies for filing so many bug reports all at once, but I figured you'd want to know.
Some support for disabling Sparkle was added in f8446d3, but it has a number of problems:
-D__MACPORTS__
to Other C Flags.1 and 2 are weird if the program is not in fact being built by MacPorts—for example, if it is being built by Homebrew or Fink or just by a user who wants to disable Sparkle support. 3 is bad because it wastes time building something that is not needed or wanted, and that can in itself lead to problems—in my case, the Sparkle framework fails to build because it uses openssl headers which are no longer part of macOS. So in order to get this to build in MacPorts, I had to add a dependency on the MacPorts openssl port, and edit the Sparkle Xcode project to add the path to the MacPorts openssl headers and libraries, all so that I could build a Sparkle framework that I didn't want to have.
So it would be great if there were a better way to disable all Sparkle functionality in NicePlayer—a way that does not reference MacPorts, and that results in no parts of Sparkle being built or installed. I am not certain what the best way is within Xcode to offer such options, but maybe a separate configuration or a separate target is the answer.
The text was updated successfully, but these errors were encountered: