Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dequis/purple-facebook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-06-22 00:36:32 +0300
committerjgeboski <jgeboski@gmail.com>2015-06-22 01:24:02 +0300
commit670585d17fd5f3b7d06098dfbcaec4d316efe655 (patch)
tree3ffde6e485424a06332000282c1bbf455a4eba29 /update.sh
parentcb607309b066475b8b2f027c2d19543fca8ff0dd (diff)
Avoid building in pidgin source tree
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh28
1 files changed, 11 insertions, 17 deletions
diff --git a/update.sh b/update.sh
index 2e75e8a..9d82fd8 100755
--- a/update.sh
+++ b/update.sh
@@ -9,11 +9,19 @@ test -z "$srcdir" && srcdir=.
cd "$srcdir"
-if ! test -d pidgin/.hg; then
- rm -rf pidgin
- "$HG" clone "$URL" pidgin
+if ! test -d .pidgin/.hg; then
+ rm -rf .pidgin
+ "$HG" clone "$URL" .pidgin
fi
+"$HG" -R .pidgin -v pull
+"$HG" -R .pidgin -v update -C "$REV"
+
+for FILE in $(cat MANIFEST); do
+ mkdir -p $(dirname "pidgin/$FILE")
+ cp ".pidgin/$FILE" "pidgin/$FILE"
+done
+
touch \
include/plugins.h \
include/protocol.h \
@@ -22,20 +30,6 @@ touch \
patchdir="$(pwd)/patches"
cd "$srcdir/pidgin"
-"$HG" -v pull
-"$HG" -v update -C "$REV"
-"$HG" -v clean --all --config extensions.purge=
-
for patch in $(ls -1 "$patchdir"); do
patch -p1 -i "$patchdir/$patch"
done
-
-rm -f \
- libpurple/connection.h \
- libpurple/conversation.h \
- libpurple/debug.h \
- libpurple/internal.h \
- libpurple/ntlm.h \
- libpurple/proxy.h \
- libpurple/request.h \
- libpurple/sslconn.h