Growlを買ったので、GitHubの通知を受信したいと思いたち
-
https://github.com/DAddYE/githubwatcher
-
https://github.com/ctshryock/GithubNotifier
-
https://github.com/miyagawa/github-growler
を試してみたんですが、「コマンドラインは嫌」「自分のアクティビティなんてどうでもいい」と行った理由でgithub-growlerを使うことになったんですが、なぜかLionでは動かなかったのでちょっと検証してました。わたしの理解の範囲でわかった原因は端的に言ってしまうと、"use Cocoa::EventLoop;"が悪さをしてるみたいです。APIが変わったとかライブラリの変更か何かでCocoaのバックエンドは使えなくなっているといったところでしょうか? で、そのコードをコメントアウトしたら動いたのでコミット、Pull Requestしてみました。
-
https://github.com/miyagawa/github-growler/pull/10
それと、ビルドしたバイナリもあげておきました。
-
https://github.com/take-cheeze/github-growler/downloads
因みに以下は、ビルドするときにした処理です。「Perl(><; ) わかんないんです!」っていう身にはこうゆうのはやっぱりよくわからないですね!
"
cpan -i .
perl Makefile.PL
make
sudo port install platypus perl
ln -s /opt/local/share/platypus /usr/local/share
curl -kL
http://install.perlbrew.pl | bash
~/perl5/perlbrew/bin/perlbrew install-cpanm
PATH=$PATH:~/perl5/perlbrew/bin ./builder
"