GithubHelp home page GithubHelp logo

ailoa / tortoisehg4ubuntu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glaure/tortoisehg4ubuntu

0.0 0.0 0.0 4.37 MB

Script to use tortoisehg on Ubuntu 20.04 focal fossa.

License: MIT License

Shell 55.67% Makefile 40.48% Python 3.85%

tortoisehg4ubuntu's Introduction

tortoisehg4ubuntu

Script to use tortoisehg on ubuntu 20.04 or higher

Ubuntu packages to test are available in the "Releases" section.

The latest 5.8.1 package is self-contained and does not need other steps then

sudo apt install ./tortoisehg_5.8.1-glaure_amd64.deb

Note: You may have to remove a current mercurial installation. This package only works with mercurial 5.8.1. The dependency is automatically resolved by pypi/pip during the installation.

Downloads

Github All Releases

Inspired by:

https://askubuntu.com/questions/1232173/how-to-install-the-tortoisehg-in-ubuntu20-04

Instructions

Install all necessary build prerequisites

sudo ./bootstrap.sh

Build thg (tortoisehg)

./build.sh

Manual Instructions

If you have trust issues to run the script as root, refer to the manual installation steps:

I do not have a working package or snap. But using these instructions, it is rather easy to get tortoisehg working from source.

Check that python --version returns a Python 3 interpreter. If not, you have to change the symlink /usr/bin/python to /usr/bin/python3.

OK:

$ python --version
Python 3.8.2

Not OK:

$ python --version
Python 2.7.18rc1

Change the symlink:

$ sudo rm /usr/bin/python
$ sudo ln -s /usr/bin/python3 /usr/bin/python

pip3 is needed to fulfill all the build dependencies.

sudo apt install python3-pip build-essential

Change into thg directory.

cd thg

Install PyQt5.

pip3 install pyqt5

Install mercurial.

pip3 install mercurial==5.4

Install Qscintilla.

pip3 install qscintilla
sudo apt install pyqt5.qsci-dev
sudo apt install python3-pyqt5.qsci

Clone tortoisehg repository.

hg clone https://foss.heptapod.net/mercurial/tortoisehg/thg
hg revert -r 5.4.2 --all

Lets build tortoisehg for inplace usage.

make local

Start tortoisehg.

./thg

I got tortoisehg working on multiple different Ubuntu 20.04 installations using this recipe.

tortoisehg4ubuntu's People

Contributors

glaure avatar

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.