User Tools

Site Tools


config:tortoisehg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
config:tortoisehg [2020/07/30 13:20] – created Wulf Rajekconfig:tortoisehg [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== TortoiseHg ====== ====== TortoiseHg ======
  
-No package in Mint20/Ubuntu20.04 (yet), needs to be build manually:+No package in Mint20/Ubuntu20.04 (yet), need to install the debian versions of mercurial and tortoisehg. 
 + 
 +TortoiseHg and Mercurial (+common) v5.5.2: 
 +https://packages.debian.org/sid/all/mercurial-common 
 +https://packages.debian.org/sid/amd64/mercurial 
 +https://packages.debian.org/sid/tortoisehg
  
 <code> <code>
-# make a folder to hold the tortoise source +sudo apt install -y python3-iniparse python3-pyqt5 python3-pyqt5.qsci 
-mkdir ~/temp 2>/dev/null +sudo apt install sip-py3api-12.7 python3-pyqt5 libqt5designer5 libqt5help5 libqt5test5 libqt5sql5
-cd ~/temp+
  
-# alias the python3 binary as python +http://launchpadlibrarian.net/504110105/mercurial-common_5.5.2-1_all.deb 
-sudo apt install python-is-python3 +http://launchpadlibrarian.net/504110108/mercurial_5.5.2-1_amd64.deb 
-# now this should work, and return a 3.8.x version +http://launchpadlibrarian.net/505758877/tortoisehg_5.5.2-1_all.deb
-python --version+
  
-# pip3 is needed to fulfill all the build dependencies +sudo dpkg -i mercurial-common_5.5.2-1_all.deb 
-sudo apt install -y python3-pip build-essential+sudo dpkg -i mercurial_5.5.2-1_amd64.deb 
 +sudo dpkg -i tortoisehg_5.5.2-1_all.deb 
 +</code>
  
-# install mercurial command line 
-sudo apt install -y mercurial 
-# pull tortoisehg source (stable branch) 
-hg clone https://foss.heptapod.net/mercurial/tortoisehg/thg -r stable 
-cd thg 
-pip3 install pyqt5 
-pip3 install qscintilla 
-sudo apt install -y pyqt5.qsci-dev 
-sudo apt-get install python3-pyqt5.qsci 
-pip3 install mercurial 
  
-# install one more necessary package +Note: 
-sudo apt install -y python3-iniparse+Debian SID now contains 5.6.1  which requires python3.9 which is not standard on Mint 20 and 6.1.1/6.1.2. Following for info only 
 +<code> 
 +sudo apt install python3.9 
 +wget http://ftp.us.debian.org/debian/pool/main/m/mercurial/mercurial-common_5.6.1-4_all.deb 
 +wget http://ftp.us.debian.org/debian/pool/main/m/mercurial/mercurial_5.6.1-4_amd64.deb 
 +wget http://ftp.us.debian.org/debian/pool/main/t/tortoisehg/tortoisehg_5.6.1-1_all.deb
  
-# build it +sudo dpkg -i mercurial-common_5.6.1-4_all.deb 
-make local +sudo dpkg -i tortoisehg_5.6.1-1_all.deb 
-# move it to ~/tortoisehg  (this is optional) +sudo dpkg -i mercurial_5.6.1-4_amd64.deb
-cd ~/temp +
-rm -rf ~/tortoisehg 2>/dev/null +
-mkdir ~/tortoisehg +
-mv thg/* ~/tortoisehg +
-</code>+
  
-Now you can create a dock/desktop entry+or
-<code> +wget http://ftp.us.debian.org/debian/pool/main/m/mercurial/mercurial-common_6.1.2-1_all.deb 
-vi ~/.local/share/applications/tortoisehg.desktop+wget http://ftp.us.debian.org/debian/pool/main/m/mercurial/mercurial_6.1.2-1_amd64.deb 
 +wget http://ftp.us.debian.org/debian/pool/main/t/tortoisehg/tortoisehg_6.1.1-1_all.deb
 </code> </code>
-and paste in these lines (replace "developer" with your username) : 
-<code> 
-[Desktop Entry] 
-Name=TortoiseHG 
-Exec=/home/developer/tortoisehg/thg 
-Comment=Launch TortoiseHG 
-Terminal=false 
-Type=Application 
-Icon=/home/developer/tortoisehg/icons/thg_logo.ico 
-</code> 
- 
-Now you can hit the "Show Applications" button (the Start menu), search for Tortoise, and add it to favorites. 
- 
- 
config/tortoisehg.1596111606.txt.gz · Last modified: 2023/05/29 11:53 (external edit)