Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swi-prolog (GUI) #176803

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions Casks/s/swi-prolog.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cask "swi-prolog" do

Check failure on line 1 in Casks/s/swi-prolog.rb

View workflow job for this annotation

GitHub Actions / test swi-prolog (macos-13, intel)

possible duplicate, cask token conflicts with Homebrew core formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/s/swi-prolog.rb

Check failure on line 1 in Casks/s/swi-prolog.rb

View workflow job for this annotation

GitHub Actions / test swi-prolog (macos-14, arm)

possible duplicate, cask token conflicts with Homebrew core formula: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/s/swi-prolog.rb
version "9.2.5"
sha256 "123d97bf225a1b2433969fc1d3541dfccb17de860075bbbbd0f136088751adae"

url "https://www.swi-prolog.org/download/stable/bin/swipl-#{version.major_minor_patch}-1.fat.dmg"

Check failure on line 5 in Casks/s/swi-prolog.rb

View workflow job for this annotation

GitHub Actions / test swi-prolog (macos-13, intel)

Signature verification failed: /private/tmp/cask-audit20240614-7331-jka49b/SWI-Prolog.app: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.

Check failure on line 5 in Casks/s/swi-prolog.rb

View workflow job for this annotation

GitHub Actions / test swi-prolog (macos-14, arm)

Signature verification failed: /private/tmp/cask-audit20240614-6312-g0ks2n/SWI-Prolog.app: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.
name "SWI-Prolog"
desc "ISO/Edinburgh-style Prolog interpreter with GUI support"
homepage "https://www.swi-prolog.org/"

livecheck do
url "https://www.swi-prolog.org/download/stable"
regex(%r{href=.*?/swipl-(\d+(?:\.\d+)+)(?:-\d+)?\.fat\.dmg}i)
end

conflicts_with formula: "swi-prolog"
depends_on cask: "xquartz"
depends_on macos: ">= :mojave"

app "SWI-Prolog.app"
binary "#{appdir}/SWI-Prolog.app/Contents/MacOS/swipl"
binary "#{appdir}/SWI-Prolog.app/Contents/MacOS/swipl-ld"
binary "#{appdir}/SWI-Prolog.app/Contents/MacOS/swipl-win"
manpage "#{appdir}/SWI-Prolog.app/Contents/man/swipl.1"
manpage "#{appdir}/SWI-Prolog.app/Contents/man/swipl-ld.1"

uninstall quit: "org.swi-prolog.app"

zap trash: [
"~/.config/swi-prolog",
"~/.local/share/swi-prolog",
"~/Library/Preferences/com.swi-prolog.pqConsole.plist",
"~/Library/Saved Application State/org.swi-prolog.app.savedState",
]
end
3 changes: 1 addition & 2 deletions tap_migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
"srclib": "homebrew/core",
"sshfs": "homebrew/core",
"sslmate": "homebrew/core",
"swi-prolog": "homebrew/core",
"terraform": "homebrew/core",
"vault": "homebrew/core",
"vfuse": "homebrew/core",
"volatility": "homebrew/core"
}
}
Loading