Conversation
@@ -22,6 +22,10 @@ class Tmux < Formula | |||
depends_on "pkg-config" => :build | |||
depends_on "libevent" | |||
|
|||
# This fixes the Tmux 2.1 update that broke the ability to use select-pane [-LDUR] | |||
# to switch panes when in a maximized pane |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a link to the patch in the comment: https://github.com/tmux/tmux/issues/150#issuecomment-149466158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You got it.
@bfontaine, I'm not entirely sure what to make of the failed build on Jenkins. It seems like the details of the failure aren't even clear on from Jenkin itself (
After which it appears to fail because of admin privileges to agree to the Xcode license Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. And retries the cloning process a few times before finally failing out. I'm guessing this isn't a failure I can handle. Let me know if there is anything I need to do. UPDATE: Seems like all PRs submitted six or less hours ago are failing this build. Something must be up on Homebrew's end with the CI. |
Yeah, we updated Xcode on the CI machines and things went a little goofy. We'll re-qeue this once everything's definitely back to normal. |
Awesome, thanks for letting me know :) |
@@ -22,6 +22,10 @@ class Tmux < Formula | |||
depends_on "pkg-config" => :build | |||
depends_on "libevent" | |||
|
|||
# This fixes the Tmux 2.1 update that broke the ability to use select-pane [-LDUR] | |||
# to switch panes when in a maximized pane https://github.com/tmux/tmux/issues/150#issuecomment-149466158 | |||
patch :DATA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the patch has been committed we should only apply it to the stable build, and we can also use it directly:
stable do
url "https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz"
sha256 "31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176"
patch do
url "https://github.com/tmux/tmux/commit/a05c27a7e1c4d43709817d6746a510f16c960b4b.diff"
sha256 "👻"
end
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I have updated the file correctly. Let me know if something else needs to be done!
|
||
patch do | ||
url "https://github.com/tmux/tmux/commit/a05c27a7e1c4d43709817d6746a510f16c960b4b.diff" | ||
sha256 "👻" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned: this needs updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahaha, sorry. I should have made it clear that the ghost was a placeholder for the real SHA256.
@rakkesh Add the curl -sL https://github.com/tmux/tmux/commit/a05c27a7e1c4d43709817d6746a510f16c960b4b.diff | shasum -a 256 |
Thanks to everyone who has been helping me out on this PR, I really appreciate it! |
Since you've got the stable url and sha in the |
Remove the |
Thanks, @rakkesh. Would you mind explaining why the |
Clarity, largely. It makes it clear the bottles apply to |
@indiesquidge to verify whether your changes comply with
|
@rakkesh I ran |
👍🏽 |
Merged in bd1b373, thanks! |
Patch for the Tmux 2.1 issue tmux/tmux#150
In response to closed issue #45217