guake icon indicating copy to clipboard operation
guake copied to clipboard

Port to Mac OS X

Open gsemet opened this issue 12 years ago • 16 comments

port seems to have python-vte

trying with the home-brew environment which seems more mature.

Ref: http://apple.stackexchange.com/questions/88742/where-can-i-get-python-vte-bindings-for-the-mac-os-x

gsemet avatar Feb 14 '14 00:02 gsemet

replace vte formulae until this patch is merged: https://github.com/Homebrew/homebrew/pull/23917/files

require 'formula'

class Vte < Formula
  homepage 'http://developer.gnome.org/vte/'
  url 'http://ftp.gnome.org/pub/gnome/sources/vte/0.28/vte-0.28.0.tar.bz2'
  sha1 '49b66a0346da09c72f59e5c544cc5b50e7de9bc1'

  depends_on 'pkg-config' => :build
  depends_on 'intltool' => :build
  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'gtk+'
  depends_on 'pygtk'

  def install
    # Detecting pygtk-2.0 fails without the PKG_CONFIG_PATH being set to
    # include some additional pkgconfig paths.
    ENV["PKG_CONFIG_PATH"] = "#{ENV["PKG_CONFIG_PATH"]}:/usr/local/lib/pkgconfig/:"
                             "/usr/lib/pkgconfig/:/usr/X11/lib/pkgconfig/"
    # pygtk-codegen-2.0 has been deprecated and replaced by
    # pygobject-codegen-2.0, but the vte Makefile fails to detect this.
    ENV["PYGTK_CODEGEN"] = `which pygobject-codegen-2.0`

    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-python",
                          "--disable-Bsymbolic"
    system "make install"
  end
end

gsemet avatar Feb 15 '14 13:02 gsemet

Needed dependencies for homebrew:

Install https://xquartz.macosforge.org/landing/
brew install vte
brew install gconf
brew install autogen
brew install pygtk
brew install intltool
brew install gettext
brew link gettext
export PKG_CONFIG_PATH="`brew --prefix cairo`/lib/pkgconfig:$(dirname $(find /usr/local |grep libffi.pc | tail -n 1)):/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/X11/lib/pkgconfig"

./autogen.sh && ./ configure.sh make

gsemet avatar Feb 15 '14 13:02 gsemet

TODO: disable global hotkey (doest want to build)

gsemet avatar Feb 15 '14 13:02 gsemet

+1

From the history above it seems we need to install it by compiling and such? I love Guake and would love to have it be available on Mac with a simple install like in Ubuntu. Sorry for a noob question!

RaviH avatar Dec 08 '14 02:12 RaviH

Would some extra :+1:s help raise this issue's priority?

varemenos avatar Mar 09 '15 22:03 varemenos

on mac I use Total Terminal. Guake is quite a bit hard to port. All these gtk stuff is not meant to work on mac. The globalhotkeys should be completely reworked to use mac os hotkey system....

gsemet avatar Mar 09 '15 23:03 gsemet

That's rather sad to hear (I would really to use guake everywhere if possible) but it's certainly understandable.

varemenos avatar Mar 09 '15 23:03 varemenos

A newbie to MAC and a huge guake fan - a bit disappointed to see it is unportable. One thing that I could not make it work in mac with iterm2 or TotalTerminal is drop down to come up in a single hotkey (not a combination). In total terminal, could not make a it full screen with a hotkey like F11 in guake - got to press Expand horizontally multiple times which is annoying - any way I could make it to full screen with single key combination?? Guess guake is the champion and we got ti compromise at office with iterm2 or totalterminal.

sivaramsk avatar Mar 10 '15 03:03 sivaramsk

Yes it work. I have it directly with the [^2] key on the French keyboard with total terminal on Mac, like guake on Linux

gsemet avatar Mar 10 '15 07:03 gsemet

You are talking about full screen?? I don't see anyoption in total terminal to make it to full screen, would be great if you would tall me how

sivaramsk avatar Mar 10 '15 08:03 sivaramsk

http://totalterminal.binaryage.com/

it is a sort of plugin on the mac terminal. You can set this terminal to be full screen by default and call it with this magic hotkey.

gsemet avatar Mar 10 '15 08:03 gsemet

This I know. What I need is - is there any way that I can make the TotalTerminal to full screen in a single keypress. Now you have press Alt + Command + Down arrow several times to make it to full screen.

sivaramsk avatar Mar 10 '15 08:03 sivaramsk

I don't have my Mac here. But it exists :)

gsemet avatar Mar 10 '15 10:03 gsemet

Get a ImportError: No module named gconf even have gconf installed,no idea...

zhangyubaka avatar May 22 '16 15:05 zhangyubaka

how is this awesome port ?

brunocechet avatar Mar 12 '18 16:03 brunocechet

I am using iTerm2 to get this: https://stackoverflow.com/questions/30850430/iterm2-hide-show-like-guake

zx1986 avatar Mar 29 '20 11:03 zx1986