Git Product home page Git Product logo

caja-git's Introduction

Note: This project is obsolete.

Please use RabbitVCS caja extension.

You may still use caja-git only with python2-caja (MATE Desktop < 1.20).

caja-git

Caja extension to add important information about the current git directory. This project is based on nautilus-git by Bilal Elmoussaoui.

Requirements:

Running dependencies

  • python2
  • git
  • caja-python or python2-caja >= 1.17.0

Building dependencies

  • meson
  • ninja
  • intltool
  • gtk+-3.0
  • gobject-introspection:
    • Debian/Ubuntu : libgirepository1.0-dev
    • Fedora : gobject-introspection-devel
    • Archlinux : ย gobject-introspection

Manual installation

1- Install requirements

2- Clone the repository

git clone https://github.com/darkshram/caja-git

3- Build it!

cd caja-git
mkdir build
cd build
meson .. --prefix /usr -Dfile_manager=caja
sudo ninja install

4- Restart Caja

caja -q

How to uninstall

1- Download the uninstall script.

cd /tmp && wget -O uninstall.sh https://raw.githubusercontent.com/darkshram/caja-git/master/uninstall.sh

2- Make the file executable

chmod +x ./uninstall.sh

3- Run it!

sudo ./uninstall.sh /usr

PS : Replace /usr with whatever installation prefix you have chosen before.

Credits

  • Code was originally written by Bilal Elmoussaoui.
  • The caja-git-symbolic icon was designed by gitg design team.

Screenshots

Caja main window

Compare commits

Changes detected

New files detected

Caja Git tab in properties window

Compare commits

caja-git's People

Contributors

darkshram avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sunapx

caja-git's Issues

Debian 11 + Caja, couple problems with build and running time

Hi there,

I've been playing around with the extension quite a while in my Debian 10 + XFCE + Caja. All worked fine so far. But recently I decided to update to Debian 11 to have Gtk3 full support in XFCE (4.14.x, etc), and play a little bit.

A fresh install didn't work,

Build issue

meson .. --prefix /usr -Dfile_manager=caja
The Meson build system
Version: 0.54.3
Source dir: /home/ibenito/git/github/caja-git
Build dir: /home/ibenito/git/github/caja-git/build
Build type: native build
Project name: caja-git
Project version: 1.18.0
C compiler for the host machine: cc (gcc 10.1.0 "cc (Debian 10.1.0-6) 10.1.0")
C linker for the host machine: cc ld.bfd 2.35
Host machine cpu family: x86_64
Host machine cpu: x86_64
Message: Looking for dependencies
Program python2 found: YES (/usr/bin/python2)
Program intltool-merge found: YES (/usr/bin/intltool-merge)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.64.4
Run-time dependency gobject-2.0 found: YES 2.64.4
Run-time dependency gobject-introspection-1.0 found: YES 1.64.1
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency gtk-3.0 found: NO (tried pkgconfig and cmake)

../meson.build:9:0: ERROR: Dependency "gtk-3.0" not found, tried pkgconfig and cmake

A full log can be found at /home/ibenito/git/github/caja-git/build/meson-logs/meson-log.txt` 

It seems gtk libs are missing, althought they are all installed, it seems there are some differences in this package https://packages.debian.org/bullseye/gir1.2-gtk-3.0, with my current knowlegde I only can asume that the missing "+" in the naming from GTK to GTK+ is causing meson to not found the library.

A very dirty solution has been to rehuse the previous compilation from Debian 10, so far so good, it can be installed.

Run issue

Oh, Python 3 is here. With some magic of 2to3 utility over /usr/share/caja-git/src everything works just fine.

I've been playing only for an hour with the problems, with the second part surelly I can wrote a PR, because I develop with Python everyday... for the first part I'm a bit lost.

Cheers,

Ismael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.