Skip to content

Commit

Permalink
Prelimiary support for thg 5.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
glaure committed Aug 13, 2021
1 parent 43df745 commit 6dcb75c
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Build thg (tortoisehg)


## Manual Instructions
If you have trust issues to run the scrip as root, refer to the manual installation steps:
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.
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apt install --yes python3-pip build-essential
pip3 install pyqt5

# Install Mercurial
pip3 install mercurial==5.4
pip3 install mercurial==5.8.1

# Install Qscintilla.
pip3 install qscintilla
Expand Down
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
set -e

# HG TAG
HG_TAG=5.4.2
HG_TAG=5.8.1

# Clone tortoisehg repository.
if [ ! -e thg ]; then
hg clone https://foss.heptapod.net/mercurial/tortoisehg/thg
else
pushd thg
hg pull
hg update
popd
fi

# Enter thg clone
Expand Down
Binary file added core
Binary file not shown.
6 changes: 6 additions & 0 deletions packaging/Ubuntu2004/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
tortoisehg (5.8.1-glaure) focal; urgency=medium

* Initial package for Ubuntu

-- Gunther Laure <[email protected]> Tue, 13 Aug 2021 06:24:36 +0000

tortoisehg (5.7-glaure) focal; urgency=medium

* Initial package for Ubuntu
Expand Down
22 changes: 22 additions & 0 deletions packaging/Ubuntu2004/debian/preinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
set -e

case "$1" in
install)
# Install Pypi package dependencies
pip3 install pyqt5
pip3 install mercurial==5.8.1
pip3 install qscintilla
;;

upgrade|abort-upgrade)
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac


exit 0

0 comments on commit 6dcb75c

Please sign in to comment.