pidgin/win32/prepare-workspace.sh

Sun, 20 Oct 2013 15:11:49 +0530

author
Ankit Vani <a@nevitus.org>
date
Sun, 20 Oct 2013 15:11:49 +0530
branch
soc.2013.gobjectification.plugins
changeset 36905
d256e7a2ec4c
parent 34270
3ee9b2690519
child 34523
1d3a0e42cb09
permissions
-rw-r--r--

Changed dox files to xml files for gtk-doc, and included them in the top-level XMLs.
The contents of the xml files mostly still need to be refactored.

33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
1 #!/bin/bash
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
2 # Script to prepare a workspace (devel dependencies, check system
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
3 # configuration) for Pidgin compilation under win32
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
4 #
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
5 # Written by Tomek Wasilczyk <tomkiewicz@cpw.pidgin.im>, licensed under GNU GPL
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
6
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
7 # configuration
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
8
34214
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
9 BONJOUR_GUID_PACKED="5CA28B3B1DEA7654999C464610C010EB 2EA34582882FE334694F0BCD7D8DE336"
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
10 ACTIVEPERL_GUID_PACKED="BC98F31FB8440B94CB3674649419766C 547A2C684F806164DB756F228DAB5840 5E7EC16051106BB43818746C209BC8D7"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
11 PERL_DIR_FALLBACK="/cygdrive/c/Perl/bin"
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
12 NSIS_DIR_REGKEY="HKEY_LOCAL_MACHINE/SOFTWARE/NSIS/@"
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
13
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
14 DEBUG_SKIP_DOWNLOADING=0
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
15 DEBUG_SKIP_INSTALL=0
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
16
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
17 #TODO: this is just a temporary mirror - Tomek Wasilczyk's <tomkiewicz@cpw.pidgin.im> Dropbox
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
18 DOWNLOAD_HOST="https://dl.dropbox.com/u/5448886/pidgin-win32/devel-deps/"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
19
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
20 ARCHIVES=""
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
21 OBS_SKIP="usr/i686-w64-mingw32/sys-root/mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
22
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
23 # bsdcpio is used for extracting rpms
33902
9f103ffa6f90 win32: preserve exec permissions for bsdcpio
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33901
diff changeset
24 ARC_CPI="https://dl.dropbox.com/u/5448886/pidgin-win32/cpio/bsdcpio-3.0.3-1.4.tar.gz;bsdcpio;3.0.3-1.4;0460c7a52f8c93d3c4822d6d1aaf9410f21bd4da;bsdcpio-3.0.3-1.4;bsdcpio"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
25 ARCHIVES+="ARC_CPI "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
26
33875
9fdba61fdf51 win32: make dev directories naming consistent
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33873
diff changeset
27 ARC_CSA="${DOWNLOAD_HOST}cyrus-sasl-2.1.25.tar.gz;Cyrus SASL;2.1.25;b9d7f510c0c5daa71ee5225daacdd58e948a8d19;cyrus-sasl-2.1.25;cyrus-sasl-2.1"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
28 ARCHIVES+="ARC_CSA "
33869
65c29307e55d win32: upgrade libxml2; switch to OBS and temporarily downgrade nss and nspr (should be bumped up at OBS in few days)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33864
diff changeset
29
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
30 ARC_NSS="${DOWNLOAD_HOST}mingw32-mozilla-nss-devel-3.14.3-2.2.noarch.rpm;NSS;3.14.3-2.2;fd394678ef2a8ef1dbbc20c25701678bc8678acf;${OBS_SKIP};nss-3.14"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
31 ARCHIVES+="ARC_NSS "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
32 ARC_NSP="${DOWNLOAD_HOST}mingw32-mozilla-nspr-devel-4.9.6-4.1.noarch.rpm;NSPR;4.9.6-4.1;b15aefbf99ade3042d0e4ed32f9368ff38064ecd;${OBS_SKIP};nss-3.14"
33869
65c29307e55d win32: upgrade libxml2; switch to OBS and temporarily downgrade nss and nspr (should be bumped up at OBS in few days)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33864
diff changeset
33 ARCHIVES+="ARC_NSP "
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
34
33942
e0a388ced476 win32: enable GnuTLS, this also enables ssl support for gg prpl
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33918
diff changeset
35 ARC_GTLS="${DOWNLOAD_HOST}mingw32-libgnutls-devel-2.12.22-2.2.noarch.rpm;GnuTLS;2.12.22-2.2;22ae0425842b2c905bdbb93e8e5f3f813db4680f;${OBS_SKIP};gnutls-2.12"
e0a388ced476 win32: enable GnuTLS, this also enables ssl support for gg prpl
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33918
diff changeset
36 ARCHIVES+="ARC_GTLS "
e0a388ced476 win32: enable GnuTLS, this also enables ssl support for gg prpl
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33918
diff changeset
37
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
38 ARC_PID="${DOWNLOAD_HOST}pidgin-inst-deps-20130214.tar.gz;inst-deps;20130214;372218ab472c4070cd45489dae175dea5638cf17;;"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
39 ARCHIVES+="ARC_PID "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
40
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
41 #mingw gcc and its dependencies
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
42 ARC_MG1="${DOWNLOAD_HOST}mingw32-gcc-4.8.0-6.1.noarch.rpm;mingw: gcc;4.8.0-6.1;00591ba625cb4d3968f9907a76e7e3350e80c65b;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
43 ARCHIVES+="ARC_MG1 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
44 ARC_MG2="${DOWNLOAD_HOST}mingw32-cpp-4.8.0-6.1.noarch.rpm;mingw: cpp;4.8.0-6.1;ea22584abf14cdf34217bb5eb24a30211a382882;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
45 ARCHIVES+="ARC_MG2 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
46 ARC_MG3="${DOWNLOAD_HOST}mingw32-binutils-2.22.52-3.5.noarch.rpm;mingw: binutils;2.22.52-3.5;e6431d8dfa0dfe5a3488017c291cb68193999808;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
47 ARCHIVES+="ARC_MG3 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
48 ARC_MG4="${DOWNLOAD_HOST}mingw32-libgmp-5.0.5-1.6.noarch.rpm;mingw: libgmp;5.0.5-1.6;58ff8155e870063a2cab999f413ffa1ec6ad2d16;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
49 ARCHIVES+="ARC_MG4 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
50 ARC_MG5="${DOWNLOAD_HOST}mingw32-libmpc-1.0-1.6.noarch.rpm;mingw: libmpc;1.0-1.6;552dd1de81aef3dfdb7b3a87f13b79e6805d9940;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
51 ARCHIVES+="ARC_MG5 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
52 ARC_MG6="${DOWNLOAD_HOST}mingw32-libmpfr-3.1.0-1.6.noarch.rpm;mingw: libmpfr;3.1.0-1.6;d86d12af65c442dc260d156528fff009d21dab9c;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
53 ARCHIVES+="ARC_MG6 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
54 ARC_MG7="${DOWNLOAD_HOST}mingw32-runtime-20130216-2.3.noarch.rpm;mingw: runtime;20130216-2.3;9ff3810f8313d19ab18458d73565856608cf9188;${OBS_SKIP};mingw"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
55 ARCHIVES+="ARC_MG7 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
56 ARC_MG8="${DOWNLOAD_HOST}mingw32-zlib-1.2.7-1.7.noarch.rpm;mingw: zlib;1.2.7-1.7;c34986df8520de706f9e8516f4353af90ba78f39;${OBS_SKIP};mingw"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
57 ARCHIVES+="ARC_MG8 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
58 ARC_MG9="${DOWNLOAD_HOST}mingw32-headers-20130216-1.1.noarch.rpm;mingw: headers;20130216-1.1;313bdc131e15bbca1e4332395c536f2caa9e54b0;${OBS_SKIP}/include;mingw/lib/gcc/i686-w64-mingw32/4.8.0/include"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
59 ARCHIVES+="ARC_MG9 "
33870
27edd939f0ba win32: add missing dependencies to devel environment
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33869
diff changeset
60 ARC_MGA="${DOWNLOAD_HOST}mingw32-libgcc-4.8.0-6.1.noarch.rpm;mingw: libgcc;4.8.0-6.1;ab599bf07bf2d56367c57b442440598358c943af;${OBS_SKIP};mingw"
27edd939f0ba win32: add missing dependencies to devel environment
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33869
diff changeset
61 ARCHIVES+="ARC_MGA "
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
62
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
63 #gtk and friends
33864
0251dc8f7e2f win32: make devel path names consistent
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33861
diff changeset
64 GTK_DIR="gtk2-2.24"
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
65 ARC_GT1="${DOWNLOAD_HOST}mingw32-glib2-devel-2.36.1-1.1.noarch.rpm;gtk: Glib;2.36.1-1.1;af64b014c735cbdb750e35960c0fde9de4fef9f0;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
66 ARCHIVES+="ARC_GT1 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
67 ARC_GT2="${DOWNLOAD_HOST}mingw32-gtk2-devel-2.24.14-2.7.noarch.rpm;gtk: GTK+2;2.24.14-2.7;4abd5fddf7ca2b6ee7ab35f4b549894bc146a005;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
68 ARCHIVES+="ARC_GT2 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
69 ARC_GT3="${DOWNLOAD_HOST}mingw32-libintl-devel-0.18.1.1-13.6.noarch.rpm;gtk: libintl;0.18.1.1-13.6;49afd3059ecc7713debb29b801558958637114d1;${OBS_SKIP};${GTK_DIR}"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
70 ARCHIVES+="ARC_GT3 "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
71 ARC_GT4="${DOWNLOAD_HOST}mingw32-zlib-devel-1.2.7-1.7.noarch.rpm;gtk: zlib;1.2.7-1.7;e3fd07747fcd96bbf83d7a1a870feccc19c0e15e;${OBS_SKIP};${GTK_DIR}"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
72 ARCHIVES+="ARC_GT4 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
73 ARC_GT5="${DOWNLOAD_HOST}mingw32-atk-devel-2.8.0-1.5.noarch.rpm;gtk: ATK;2.8.0-1.5;d6c54241ef3ce80b4a6722f23fe47eba88e0a9f0;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
74 ARCHIVES+="ARC_GT5 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
75 ARC_GT6="${DOWNLOAD_HOST}mingw32-cairo-devel-1.10.2-8.12.noarch.rpm;gtk: Cairo;1.10.2-8.12;a9ea09988bc896226971dc544d9b499882d37ba6;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
76 ARCHIVES+="ARC_GT6 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
77 ARC_GT7="${DOWNLOAD_HOST}mingw32-gdk-pixbuf-devel-2.28.0-1.2.noarch.rpm;gtk: GDK-PixBuf;2.28.0-1.2;d476228dd6e1ad43bbf0dd5d6e9e9bad394c9ec5;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
78 ARCHIVES+="ARC_GT7 "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
79 ARC_GT8="${DOWNLOAD_HOST}mingw32-pango-devel-1.34.0-2.3.noarch.rpm;gtk: Pango;1.34.0-2.3;c875ae60dacf05b642d7da5f289a3c58ff9b0e52;${OBS_SKIP};${GTK_DIR}"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
80 ARCHIVES+="ARC_GT8 "
34270
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 34214
diff changeset
81 ARC_GT9="${DOWNLOAD_HOST}mingw32-glib2-2.36.1-1.1.noarch.rpm;gtk: Glib runtimes;2.36.1-1.1;ed468f064f61c5a12b716c83cba8ccbe05d22992;${OBS_SKIP};${GTK_DIR}"
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 34214
diff changeset
82 ARCHIVES+="ARC_GT9 "
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 34214
diff changeset
83 ARC_G10="${DOWNLOAD_HOST}mingw32-libintl-0.18.1.1-13.6.noarch.rpm;gtk: libintl;0.18.1.1-13.6;0e6fde8e86788874366f308e25634f95613e906a;${OBS_SKIP};${GTK_DIR}"
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 34214
diff changeset
84 ARCHIVES+="ARC_G10 "
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
85
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
86 ARC_ENC="${DOWNLOAD_HOST}mingw32-enchant-devel-1.6.0-3.9.noarch.rpm;Enchant;1.6.0-3.9;1daadbb4fbeb06a6ad26bed916dc2a980d971c49;${OBS_SKIP};enchant-1.6"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
87 ARCHIVES+="ARC_ENC "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
88
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
89 ARC_GSP="${DOWNLOAD_HOST}mingw32-gtkspell-devel-2.0.16-2.10.noarch.rpm;GtkSpell;2.0.16-2.10;efbd58f41d9053c17eb2c6ea75dff9017068e01c;${OBS_SKIP};gtkspell-2.0"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
90 ARCHIVES+="ARC_GSP "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
91
33871
dd990e8a3a92 win32: switch intltool to OBS and update it to 0.50.2
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33870
diff changeset
92 # TODO: is it really necessary?
dd990e8a3a92 win32: switch intltool to OBS and update it to 0.50.2
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33870
diff changeset
93 ARC_INT="${DOWNLOAD_HOST}intltool-0.50.2-4.1.1.noarch.rpm;intltool;0.50.2-4.1.1;92c42de2b8a9827b6dca65090dd4b0e293397689;usr;intltool-0.50"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
94 ARCHIVES+="ARC_INT "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
95
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
96 ARC_MWH="${DOWNLOAD_HOST}mingw32-meanwhile-devel-1.0.2-3.2.noarch.rpm;meanwhile;1.0.2-3.2;2c92bbf6084cb930c923ec94c17b62b4b894c146;${OBS_SKIP};meanwhile-1.0"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
97 ARCHIVES+="ARC_MWH "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
98 ARC_MWHD="${DOWNLOAD_HOST}mingw32-meanwhile-debug-1.0.2-3.2.noarch.rpm;meanwhile debug symbols;1.0.2-3.2;7e3c02178d219426eeb8f4f34147763c7ea5be85;${OBS_SKIP};meanwhile-1.0"
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
99 ARCHIVES+="ARC_MWHD "
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
100
33875
9fdba61fdf51 win32: make dev directories naming consistent
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33873
diff changeset
101 ARC_PRL="${DOWNLOAD_HOST}perl-5.10.0.tar.gz;Perl;5.10.0;46496029a80cabdfa119cbd70bc14d14bfde8071;perl-5.10.0;perl-5.10"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
102 ARCHIVES+="ARC_PRL "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
103
33918
00a5613b27d5 win32: switch silc-toolkit to OBS
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33917
diff changeset
104 ARC_SIL="${DOWNLOAD_HOST}mingw32-silc-toolkit-devel-1.1.10-2.1.noarch.rpm;SILC Toolkit;1.1.10-2.1;cc92fc87c013a085bdd0664e8fba1acc5a2ccb18;${OBS_SKIP};silc-toolkit-1.1"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
105 ARCHIVES+="ARC_SIL "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
106
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
107 ARC_TCL="${DOWNLOAD_HOST}mingw32-tcl-devel-8.5.9-14.1.noarch.rpm;Tcl;8.5.9-14.1;22a64967654629e01a2f52226c3de431a43683f8;${OBS_SKIP};tcl-8.5;include/tcl-private/generic/(tcl|tclDecls|tclPlatDecls|tclTomMath|tclTomMathDecls)\\.h"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
108 ARCHIVES+="ARC_TCL "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
109
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
110 ARC_TK="${DOWNLOAD_HOST}mingw32-tk-devel-8.5.9-8.7.noarch.rpm;Tk;8.5.9-8.7;c469e5933cace0f2eed0fec9892843ca216c51ea;${OBS_SKIP};tcl-8.5;include/tk-private/generic/(tk|tkDecls|tkIntXlibDecls|tkPlatDecls)\\.h"
33861
71533f0d5dc0 win32: switch to OBS, update and push to runtime-deps package - libenchant, gtkspell, meanwhile, tcl
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33860
diff changeset
111 ARCHIVES+="ARC_TK "
71533f0d5dc0 win32: switch to OBS, update and push to runtime-deps package - libenchant, gtkspell, meanwhile, tcl
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33860
diff changeset
112
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
113 ARC_JSG="${DOWNLOAD_HOST}mingw32-json-glib-devel-0.14.2-2.1.noarch.rpm;json-glib;0.14.2-2.1;27154ec4e4fa214b72f28658be2de7be4e0a9e3e;${OBS_SKIP};json-glib-0.14"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
114 ARCHIVES+="ARC_JSG "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
115
33869
65c29307e55d win32: upgrade libxml2; switch to OBS and temporarily downgrade nss and nspr (should be bumped up at OBS in few days)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33864
diff changeset
116 ARC_XML="${DOWNLOAD_HOST}mingw32-libxml2-devel-2.9.0-2.1.noarch.rpm;libxml2;2.9.0-2.1;bd63823e0be2436ee7d2369aa254e7214a0dd692;${OBS_SKIP};libxml2-2.9"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
117 ARCHIVES+="ARC_XML "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
118
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
119 ARC_WKG="${DOWNLOAD_HOST}mingw32-libwebkitgtk-devel-1.10.2-9.2.noarch.rpm;WebKitGTK+;1.10.2-9.2;02cd5de75e3b4269bc1a31320e95f455d5804be9;${OBS_SKIP};libwebkitgtk-1.10"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
120 ARCHIVES+="ARC_WKG "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
121
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
122 ARC_SOU="${DOWNLOAD_HOST}mingw32-libsoup-devel-2.42.2-1.1.noarch.rpm;libsoup;2.42.2-1.1;cb4e520f1bb17c83230f28bb225420dce54c8d80;${OBS_SKIP};libsoup-2.42"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
123 ARCHIVES+="ARC_SOU "
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
124
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
125 ARC_GTT="${DOWNLOAD_HOST}mingw32-gettext-runtime-0.18.1.1-13.6.noarch.rpm;gettext;0.18.1.1-13.6;e3785e932427d63bf5cf27f258d1236e49437143;${OBS_SKIP};gettext-0.18"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
126 ARCHIVES+="ARC_GTT "
33917
24c951813da8 win32: update bunch of dependencies (webkitgtk 1.10 finally working, nspr and tcl patches integrated in upstream)
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33905
diff changeset
127 ARC_GTL="${DOWNLOAD_HOST}mingw32-libintl-0.18.1.1-13.6.noarch.rpm;gettext: libintl;0.18.1.1-13.6;0e6fde8e86788874366f308e25634f95613e906a;${OBS_SKIP};gettext-0.18"
33870
27edd939f0ba win32: add missing dependencies to devel environment
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33869
diff changeset
128 ARCHIVES+="ARC_GTL "
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
129
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
130 ARC_VV1="${DOWNLOAD_HOST}mingw32-gstreamer-devel-0.10.36-10.1.noarch.rpm;gstreamer;0.10.36-10.1;a54b53b31a47dd3d4243b8e772553e0b05430aaf;${OBS_SKIP};gstreamer-0.10"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
131 ARCHIVES+="ARC_VV1 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
132 ARC_VV2="${DOWNLOAD_HOST}mingw32-gst-plugins-base-devel-0.10.36-15.1.noarch.rpm;gst-plugins-base;0.10.36-15.1;5bc0d94abdce4f2f2bafceda8046f01a5b29bd71;${OBS_SKIP};gstreamer-0.10"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
133 ARCHIVES+="ARC_VV2 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
134 ARC_VV3="${DOWNLOAD_HOST}mingw32-farstream-devel-0.1.2-19.1.noarch.rpm;farstream;0.1.2-19.1;6c9f29de289b661d192c88998ed5bdf17de7bcec;${OBS_SKIP};gstreamer-0.10"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
135 ARCHIVES+="ARC_VV3 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
136
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
137 # implementation
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
138
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
139 if [ `uname -o` != "Cygwin" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
140 echo
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
141 echo "WARNING: You are on a non-Cygwin platform! Your mileage may vary."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
142 echo
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
143 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
144
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
145 function path_win32_to_cygwin() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
146 path_ret=`echo "$1" | $SED 's|\\\\|/|g; s|\\(.\\):|/cygdrive/\\1|; s| |\\ |g'`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
147 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
148
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
149 function path_real() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
150 if [ "$REALPATH" != "" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
151 path_ret="`${REALPATH} "$1"`"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
152 else
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
153 path_ret="$1"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
154 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
155 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
156
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
157 function reg_get_path() {
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
158 reg_ret=""
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
159 reg_key="/proc/registry/$1"
34214
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
160 if [ ! -f $reg_key ] ; then
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
161 reg_key="/proc/registry64/$1"
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
162 fi
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
163 if [ -f $reg_key ] ; then
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
164 path_win32_to_cygwin "`cat ${reg_key}`"
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
165 reg_ret="${path_ret}"
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
166 return 0
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
167 fi
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
168 return 1
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
169 }
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
170
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
171 function reg_get_install_path() {
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
172 reg_ret=""
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
173 for guid_packed in $1 ; do
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
174 reg_get_path "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Installer/UserData/S-1-5-18/Products/${guid_packed}/InstallProperties/InstallLocation" && return 0
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
175 done
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
176 return 1
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
177 }
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
178
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
179 function check_path() {
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
180 chk_cmd="$1"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
181 expected="$2"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
182
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
183 expected=`${REALPATH} -e "$expected"`
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
184 current=`which "${chk_cmd}" 2> /dev/null`
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
185 if [ "$expected" == "" ]; then
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
186 echo "Error while checking path"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
187 exit 1
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
188 fi
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
189
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
190 if [ "$expected" != "$current" ]; then
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
191 dir=`dirname "${expected}"` || exit 1
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
192 echo "Adding $dir to PATH"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
193 echo "" >> ~/.bashrc
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
194 echo "export PATH=\"$dir\":\$PATH" >> ~/.bashrc
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
195 return 1
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
196 fi
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
197 return 0
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
198 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
199
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
200 function download() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
201 if [ -e "$2" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
202 echo "File exists"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
203 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
204 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
205 failed=0
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
206 $WGET -t 3 "$1" -O "$2" -o "wget.log" --retry-connrefused --waitretry=2 --ca-certificate="$WIN32DEV_STORE/cacert.pem" || failed=1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
207 if [ $failed != 0 ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
208 echo "Download failed"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
209 cat "wget.log"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
210 rm "wget.log"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
211 rm -f "$2"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
212 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
213 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
214 rm "wget.log"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
215 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
216
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
217 function sha1sum_calc() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
218 sha1sum_ret=`$SHA1SUM "$1" | $SED 's| .*||'`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
219 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
220
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
221 function download_archive() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
222 url=`echo "$1" | $CUT -d';' -f1`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
223 name=`echo "$1" | $CUT -d';' -f2`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
224 version=`echo "$1" | $CUT -d';' -f3`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
225 sha1sum_orig=`echo "$1" | $CUT -d';' -f4`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
226 file=`$BASENAME "$url"`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
227
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
228 cd "$WIN32DEV_STORE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
229
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
230 if [ ! -e "$file" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
231 echo "Downloading ${name} ${version}..."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
232 download "$url" "$file"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
233 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
234
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
235 sha1sum_calc "$file"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
236 sha1sum_file="$sha1sum_ret"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
237
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
238 if [ "$sha1sum_file" != "$sha1sum_orig" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
239 echo "sha1sum ($sha1sum_file) for $file doesn't match expected value of $sha1sum_orig"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
240 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
241 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
242
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
243 cd - > /dev/null
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
244 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
245
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
246 function extract_archive() {
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
247 url=`echo "$1" | $CUT -d';' -f1`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
248 name=`echo "$1" | $CUT -d';' -f2`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
249 dir_skip=`echo "$1" | $CUT -d';' -f5`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
250 dir_extract=`echo "$1" | $CUT -d';' -f6`
33901
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
251 filter_output=`echo "$1" | $CUT -d';' -f7`
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
252 file=`$BASENAME "$url"`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
253 ext=`echo "$file" | $SED 's|.*\.\(.*\)|\1|'`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
254
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
255 old_dir=`pwd`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
256 cd "$WIN32DEV_STORE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
257
33901
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
258 if [ "${filter_output}" == "" ]; then
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
259 # don't match anything (only rpm)
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
260 filter_output="$$"
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
261 fi
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
262
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
263 if [ "$ext" == "patch" ]; then
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
264 echo "Applying ${name}..."
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
265
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
266 old_tmp="$TMP"
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
267 TMP="."
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
268
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
269 patch --strip=${dir_skip} --directory="${WIN32DEV_BASE}/${dir_extract}" --forward --quiet --input="$WIN32DEV_STORE/${file}" || exit 1
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
270
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
271 TMP="${old_tmp}"
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
272
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
273 cd "${old_dir}"
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
274 continue
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
275 fi
dc332f0b7318 win32: fix rest of warnings by patching dependencies
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
276
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
277 echo "Installing ${name}..."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
278
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
279 rm -rf "tmp"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
280 mkdir "tmp"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
281 if [ "$ext" == "gz" ] || [ "$ext" == "bz2" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
282 $TAR -xf "$file" -C "tmp" || exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
283 elif [ "$ext" == "zip" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
284 $UNZIP -q "$file" -d "tmp" || exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
285 elif [ "$ext" == "rpm" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
286 cd "tmp"
33902
9f103ffa6f90 win32: preserve exec permissions for bsdcpio
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33901
diff changeset
287 ( ${WIN32DEV_BASE}/bsdcpio/bsdcpio.exe --quiet -di < "../${file}" 2>&1 ) | grep -v -P "${filter_output}" 1>&2
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
288 cd ..
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
289 else
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
290 echo "Uknown extension: $ext"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
291 rm -rf "tmp"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
292 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
293 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
294
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
295 dst_dir="${WIN32DEV_BASE}/${dir_extract}"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
296 src_dir="tmp/${dir_skip}"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
297 mkdir -p $dst_dir
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
298 cp -rf "${src_dir}"/* "${dst_dir}"/ || exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
299 rm -rf "tmp"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
300
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
301 cd "${old_dir}"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
302 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
303
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
304 # required and optional system dependencies
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
305 REALPATH=`which realpath`
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
306 BASENAME=`which basename`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
307 SED=`which sed`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
308 CUT=`which cut`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
309 WGET=`which wget`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
310 SHA1SUM=`which sha1sum`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
311 TAR=`which tar`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
312 UNZIP=`which unzip`
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
313
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
314 if [ "$SED" == "" ] || [ "$CUT" == "" ] || [ "$BASENAME" == "" ] ||
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
315 [ "$WGET" == "" ] || [ "$SHA1SUM" == "" ] || [ "$TAR" == "" ] ||
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
316 [ "$UNZIP" == "" ] || [ "$REALPATH" == "" ]; then
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
317 echo
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
318 echo ERROR: One or more required utilities were not found. Use Cygwin\'s setup.exe to
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
319 echo install all packages listed above.
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
320 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
321 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
322
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
323 # determining paths
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
324
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
325 PIDGIN_BASE="`pwd`/../.."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
326 WIN32DEV_BASE="${PIDGIN_BASE}/../win32-dev"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
327 WIN32DEV_STORE="${PIDGIN_BASE}/../win32-dev-store"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
328
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
329 if [ ! -e "${PIDGIN_BASE}/ChangeLog" ]; then
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
330 echo "Pidgin base directory not found"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
331 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
332 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
333
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
334 if [ -e "$WIN32DEV_BASE" ] && [ $DEBUG_SKIP_INSTALL == 0 ]; then
34214
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
335 echo "win32-dev directory ($(readlink -f $WIN32DEV_BASE)) exists, please remove it before proceeding"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
336 exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
337 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
338
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
339 mkdir -p "$WIN32DEV_STORE" || exit 1
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
340 path_real "$PIDGIN_BASE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
341 PIDGIN_BASE="$path_ret"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
342 path_real "$WIN32DEV_STORE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
343 WIN32DEV_STORE="$path_ret"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
344
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
345 cat "$PIDGIN_BASE/share/ca-certs"/*.pem > "$WIN32DEV_STORE/cacert.pem"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
346
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
347 # checking for Bonjour SDK
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
348
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
349 reg_get_install_path "$BONJOUR_GUID_PACKED"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
350 BONJOUR_SDK_DIR=$reg_ret
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
351
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
352 if [ "$BONJOUR_SDK_DIR" == "" ]; then
34214
f12e8544857e win32: Fix for 64-bit Windows, allow Bonjour SDK 2.0.4
Daniel Atallah <datallah@pidgin.im>
parents: 33961
diff changeset
353 echo "Bonjour SDK for Windows v3.0/v2.0.4 is not installed, please do it."
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
354 echo "You can download this SDK from https://developer.apple.com/bonjour/"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
355 echo "(Apple ID may be required)."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
356 exit 1;
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
357 fi
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
358
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
359 # checking for Perl
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
360
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
361 reg_get_install_path "$ACTIVEPERL_GUID_PACKED"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
362 ACTIVEPERL_DIR=$reg_ret
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
363 PERL_DIR=""
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
364 if [ "$ACTIVEPERL_DIR" != "" ]; then
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
365 PERL_DIR="$ACTIVEPERL_DIR/bin"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
366 else
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
367 PERL_DIR="$PERL_DIR_FALLBACK"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
368 fi
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
369
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
370 if ! ${REALPATH} -e "${PERL_DIR}/perl" &> /dev/null ; then
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
371 echo "Perl not found in \"${PERL_DIR}\", please install it."
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
372 exit 1
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
373 fi
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
374
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
375 # checking for NSIS
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
376
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
377 reg_get_path "${NSIS_DIR_REGKEY}"
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
378 NSIS_DIR=$reg_ret
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
379 if [ "${NSIS_DIR}" == "" ]; then
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
380 echo "NSIS not found, please install it."
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
381 exit 1
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
382 fi
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
383
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
384 if ! ${REALPATH} -e "${NSIS_DIR}/Plugins/nsisunz.dll" &> /dev/null ; then
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
385 echo "NSIS plugin \"nsisunz.dll\" not found in \"${NSIS_DIR}/Plugins\", please install it."
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
386 exit 1
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
387 fi
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
388
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
389 if ! ${REALPATH} -e "${NSIS_DIR}/Plugins/SHA1Plugin.dll" &> /dev/null ; then
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
390 echo "NSIS plugin \"SHA1Plugin.dll\" not found in \"${NSIS_DIR}/Plugins\", please install it."
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
391 exit 1
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
392 fi
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
393
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
394 # downloading archives
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
395 if [ $DEBUG_SKIP_DOWNLOADING == 0 ]; then
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
396 echo "Downloading and verifying archives..."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
397 for ARCHIVE in $ARCHIVES ; do
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
398 ARCHIVE=${!ARCHIVE}
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
399 download_archive "$ARCHIVE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
400 done
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
401 fi
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
402
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
403 echo "Composing workspace..."
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
404 if [ $DEBUG_SKIP_INSTALL == 0 ]; then
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
405 mkdir "$WIN32DEV_BASE" || exit 1
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
406 fi
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
407 path_real "$WIN32DEV_BASE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
408 WIN32DEV_BASE="$path_ret"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
409
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
410 if [ $DEBUG_SKIP_INSTALL == 0 ]; then
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
411 echo "Installing Bonjour SDK..."
33875
9fdba61fdf51 win32: make dev directories naming consistent
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33873
diff changeset
412 mkdir "$WIN32DEV_BASE/bonjour-sdk"
9fdba61fdf51 win32: make dev directories naming consistent
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33873
diff changeset
413 cp -r "${BONJOUR_SDK_DIR}"/* "$WIN32DEV_BASE/bonjour-sdk/"
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
414
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
415 for ARCHIVE in $ARCHIVES ; do
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
416 ARCHIVE=${!ARCHIVE}
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
417 extract_archive "$ARCHIVE"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
418 done
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
419 fi
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
420
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
421 echo "Removing bsdcpio..."
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
422 rm -rf "${WIN32DEV_BASE}/bsdcpio"
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
423
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
424 echo "Checking PATH..."
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
425 path_changed=0
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
426 check_path "gcc" "${WIN32DEV_BASE}/mingw/bin/gcc" || path_changed=1
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
427 check_path "perl" "${PERL_DIR}/perl" || path_changed=1
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33903
diff changeset
428 check_path "makensis" "${NSIS_DIR}/makensis" || path_changed=1
33903
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
429 if [ $path_changed == 1 ]; then
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
430 echo "PATH changed - executing sub-shell"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
431 bash
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
432 echo "This session uses outdated PATH variable - please exit"
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
433 exit 1
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
434 fi
d8c4567a9a85 win32: fix permissions after install; check PATH
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33902
diff changeset
435
33860
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff changeset
436 echo "Done."

mercurial