bilelmoussaoui / nautilus-git

Nautilus/Nemo extension to add important information about the current git directory
GNU General Public License v3.0
149 stars 9 forks source link

More button and Branch switching missing? #36

Closed octoxan closed 7 years ago

octoxan commented 7 years ago

I have this setup with a bitbucket repo, and have "Open remote URL in a browser", but I do not have compare commits, or any way to switch branches like in screenshots?

bilelmoussaoui commented 7 years ago

How did you installed the extension?

octoxan commented 7 years ago
sudo add-apt-repository ppa:khurshid-alam/nautilus-git
sudo apt-get update
sudo apt-get install nautilus-git

I am on 17.04, Ubuntu Budgie flavor... idk if that makes a difference...

bilelmoussaoui commented 7 years ago

The ppa is outdated... Please install it manually to get the latest version

octoxan commented 7 years ago
meson builddir --prefix=/usr -Dfile_manager=[nautilus|nemo]

returns...

No command 'nemo]' found, did you mean:
 Command 'nemo' from package 'nemo' (universe)
nemo]: command not found
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe

Tried maybe doing...

meson builddir --prefix=/usr -Dfile_manager=nautilus

but that returns a different error...

The Meson build system
Version: 0.39.1
Source dir: /home/xan/Documents/nautilus-git
Build dir: /home/xan/Documents/nautilus-git/builddir
Build type: native build

Meson encountered an error in file meson.build, line 1, column 0:
Not enough arguments to project(). Needs at least the project name and one language
bilelmoussaoui commented 7 years ago

You need a newer version of Meson https://github.com/bil-elmoussaoui/nautilus-git/blob/master/meson.build#L3 sudo pip3 install --upgrade meson which will upgrade meson to the latest stable version

octoxan commented 7 years ago

lol which I guess means I also need to install pip3, which apt install doesn't find automatically

octoxan commented 7 years ago

Alright got pip3 installed and meson updated... now getting a new error after restarting terminal.

meson builddir --prefix=/usr -Dfile_manager=nautilus

now returns...

The Meson build system
Version: 0.41.1
Source dir: /home/xan/Documents/nautilus-git
Build dir: /home/xan/Documents/nautilus-git/builddir
Build type: native build
Project name: nautilus-git
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)

Meson encountered an error in file data/meson.build, line 5, column 6:
Native dependency 'glib-2.0' not found

but when I do a sudo apt install glib-2.0 I get this...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libspice-client-glib-2.0-dev' for regex 'glib-2.0'
Note, selecting 'libqt5glib-2.0-0' for regex 'glib-2.0'
Note, selecting 'gir1.2-spice-client-glib-2.0' for regex 'glib-2.0'
Note, selecting 'gir1.2-glib-2.0' for regex 'glib-2.0'
Note, selecting 'libspice-client-glib-2.0-1' for regex 'glib-2.0'
Note, selecting 'libspice-client-glib-2.0-8' for regex 'glib-2.0'
Note, selecting 'libqtglib-2.0-0' for regex 'glib-2.0'
gir1.2-glib-2.0 is already the newest version (1.52.0-0ubuntu1).
gir1.2-spice-client-glib-2.0 is already the newest version (0.33-3.3).
libqt5glib-2.0-0 is already the newest version (1.2.0-4).
libqtglib-2.0-0 is already the newest version (1.2.0-4).
libspice-client-glib-2.0-8 is already the newest version (0.33-3.3).
libspice-client-glib-2.0-dev is already the newest version (0.33-3.3).

Thanks for the help getting this set up btw

bilelmoussaoui commented 7 years ago

Well, it's Ubuntu who doesn't update their packages ;-) You need libglib2.0-dev

octoxan commented 7 years ago

Thanks, got it all setup now.

Any chance the ppa will ever be updated?

bilelmoussaoui commented 7 years ago

I don't know, it's not me who manages the PPA...

octoxan commented 7 years ago

Oh gotcha. Was just curious. Keep up the awesome work, love this extension!