x11-plugins/purple-facebook/files/purple-facebook-20210226-no-hg-while-compile.patch
changeset 44 dc5b21d4b409
parent 43 261f7eadb5ac
child 45 87554afe14ee
--- a/x11-plugins/purple-facebook/files/purple-facebook-20210226-no-hg-while-compile.patch	Fri Oct 29 23:08:11 2021 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
---- a/update.sh
-+++ b/update.sh
-@@ -2,29 +2,11 @@
- 
- set -e
- 
--URL="https://keep.imfreedom.org/pidgin/pidgin"
--HASHG=$(_TMP_=$(type hg 2>&1); echo $?)
--
--if test "$HASHG" != "0"; then
--    echo "hg (mercurial) not found in PATH" >&2
--    exit $HASHG
--fi
--
- test -z "$srcdir" && srcdir=$(dirname "$0")
- test -z "$srcdir" && srcdir=.
- test -z "$pidgindir" && pidgindir=.pidgin
- 
- cd "$srcdir"
--REVISION=$(cat VERSION)
--
--if ! test -d "$pidgindir/.hg"; then
--    rm -rf "$pidgindir"
--    hg clone "$URL" "$pidgindir"
--fi
--
--hg -R "$pidgindir" -v pull
--hg -R "$pidgindir" -v update -C "$REVISION"
--rm -rf pidgin
- 
- for FILE in $(cat MANIFEST_PIDGIN); do
-     mkdir -p $(dirname "pidgin/$FILE")