Mon, 22 Apr 2013 23:54:33 +0200
win32: check NSIS, fix installers
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
1 | #!/bin/bash |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
2 | # Script to generate zip file for GTK+ runtime to be included in Pidgin installer |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
3 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
4 | PIDGIN_BASE=`pwd` |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
5 | PIDGIN_BASE="$PIDGIN_BASE/../../.." |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
6 | GPG_SIGN=$1 |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
7 | |
|
30305
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
8 | if [ ! -e $PIDGIN_BASE/ChangeLog ]; then |
|
33857
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
9 | echo "Pidgin base directory not found" |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
10 | exit 1 |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
11 | fi |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
12 | |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
13 | STAGE_DIR=`readlink -f $PIDGIN_BASE/pidgin/win32/nsis/gtk_runtime_stage` |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
14 | #Subdirectory of $STAGE_DIR |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
15 | INSTALL_DIR=Gtk |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
16 | CONTENTS_FILE=$INSTALL_DIR/CONTENTS |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
17 | PIDGIN_VERSION=$( < $PIDGIN_BASE/VERSION ) |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
18 | |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
19 | #This needs to be changed every time there is any sort of change. |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
20 | BUNDLE_VERSION=2.24.14.0 |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
21 | BUNDLE_SHA1SUM="f2f1f74295ab237bedddbe38586bb7e5191178f1" |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
22 | ZIP_FILE="$PIDGIN_BASE/pidgin/win32/nsis/gtk-runtime-$BUNDLE_VERSION.zip" |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
23 | #BUNDLE_URL="https://pidgin.im/win32/download_redir.php?version=$PIDGIN_VERSION>k_version=$BUNDLE_VERSION&dl_pkg=gtk" |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
24 | BUNDLE_URL="https://dl.dropbox.com/u/5448886/pidgin-win32/gtk-runtime-2.24.14.0.zip" |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
25 | |
|
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:
33858
diff
changeset
|
26 | 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:
33858
diff
changeset
|
27 | 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:
33858
diff
changeset
|
28 | 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:
33858
diff
changeset
|
29 | 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:
33858
diff
changeset
|
30 | 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:
33858
diff
changeset
|
31 | failed=0 |
|
33905
eb212da4069d
win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33904
diff
changeset
|
32 | wget -t 5 "$1" -O "$2" -o "wget.log" --retry-connrefused --waitretry=5 \ |
|
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:
33858
diff
changeset
|
33 | --ca-certificate="${STAGE_DIR}/../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:
33858
diff
changeset
|
34 | || 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:
33858
diff
changeset
|
35 | 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:
33858
diff
changeset
|
36 | if [ "$3" != "quiet" ] ; 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:
33858
diff
changeset
|
37 | 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:
33858
diff
changeset
|
38 | 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:
33858
diff
changeset
|
39 | 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:
33858
diff
changeset
|
40 | 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:
33858
diff
changeset
|
41 | 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:
33858
diff
changeset
|
42 | return 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:
33858
diff
changeset
|
43 | 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:
33858
diff
changeset
|
44 | 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:
33858
diff
changeset
|
45 | return 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:
33858
diff
changeset
|
46 | } |
|
1892a62590cf
Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33858
diff
changeset
|
47 | |
|
1892a62590cf
Initial implementation for prepare-workspace.sh script; temporary downgrade for libxml (and switch to OBS); gettext update; fixed issues related to downloading deps via https
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33858
diff
changeset
|
48 | cat $PIDGIN_BASE/share/ca-certs/*.pem > $STAGE_DIR/../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:
33858
diff
changeset
|
49 | |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
50 | #Download the existing file (so that we distribute the exact same file for all releases with the same bundle version) |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
51 | FILE="$ZIP_FILE" |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
52 | if [ ! -e "$FILE" ]; then |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
53 | echo "Downloading the existing file" |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
54 | download "$BUNDLE_URL" "$FILE" "quiet" |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
55 | fi |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
56 | if [ -e "$FILE" ]; then |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
57 | CHECK_SHA1SUM=`sha1sum $FILE` |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
58 | CHECK_SHA1SUM=${CHECK_SHA1SUM%%\ *} |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
59 | else |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
60 | CHECK_SHA1SUM= |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
61 | fi |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
62 | if [ "$CHECK_SHA1SUM" != "$BUNDLE_SHA1SUM" ]; then |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
63 | if [ "x$CHECK_SHA1SUM" != "x" ]; then |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
64 | echo "sha1sum ($CHECK_SHA1SUM) for $FILE doesn't match expected value of $BUNDLE_SHA1SUM" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
65 | fi |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
66 | # Allow "devel" versions to build their own bundles if the download doesn't succeed |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
67 | if [[ "$PIDGIN_VERSION" == *"devel" ]]; then |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
68 | echo "Continuing GTK+ Bundle creation for development version of Pidgin" |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
69 | else |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
70 | exit 1 |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
71 | fi |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
72 | else |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
73 | exit 0 |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
74 | fi |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
75 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
76 | #DOWNLOAD_HOST="http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_12.3/noarch/" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
77 | #TODO: this is just a temporary mirror - Tomek Wasilczyk's <tomkiewicz@cpw.pidgin.im> Dropbox |
|
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:
33858
diff
changeset
|
78 | DOWNLOAD_HOST="https://dl.dropbox.com/u/5448886/pidgin-win32/runtime-deps/" |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
79 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
80 | ATK="${DOWNLOAD_HOST}mingw32-atk-2.6.0-1.4.noarch.rpm ATK 2.6.0-1.4 sha1sum:d0792a3355b22cf4f0e218382dde71b1e22a2b03" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
81 | CAIRO2="${DOWNLOAD_HOST}mingw32-libcairo2-1.10.2-8.4.noarch.rpm Cairo 1.10.2-8.4 sha1sum:f69af74753c7fcd95b7778eee7c3d731d64749ba" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
82 | DBUS="${DOWNLOAD_HOST}mingw32-dbus-1-1.7.0-2.1.noarch.rpm D-Bus 1.7.0-2.1 sha1sum:6961e4df15172b057e91b266dbb7cbd01a736e56" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
83 | DBUS_GLIB="${DOWNLOAD_HOST}mingw32-dbus-1-glib-0.92-3.4.noarch.rpm dbus-glib 0.92-3.4 sha1sum:3af1dd35cbe2cdf62ee5144862934f5f8dd5e20d" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
84 | ENCHANT="${DOWNLOAD_HOST}mingw32-enchant-1.6.0-3.7.noarch.rpm Enchant 1.6.0-3.4 sha1sum:f7e0571ef98833b087be6c9d71008b3c4c4435d6" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
85 | FONTCONFIG="${DOWNLOAD_HOST}mingw32-fontconfig-2.10.92-1.2.noarch.rpm fontconfig 2.10.92-1.2 sha1sum:d8da351f5d4d9816f02ac5287dd7887c711902ed" |
|
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
86 | FREETYPE="${DOWNLOAD_HOST}mingw32-freetype-2.4.11-2.1.noarch.rpm freetype 2.4.11-2.1 sha1sum:0eee29696e87d47e7487ba5e90530bf20159f31e" |
|
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
87 | GDK_PIXBUF="${DOWNLOAD_HOST}mingw32-gdk-pixbuf-2.28.0-1.1.noarch.rpm gdk-pixbuf 2.28.0-1.1 sha1sum:f75f3c989d8d8ee3f92555d269465d1bc26ea428" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
88 | GEOCLUE="${DOWNLOAD_HOST}mingw32-libgeoclue-0.12.99-1.4.noarch.rpm Geoclue 0.12.99-1.4 sha1sum:cf3df30e75c5b38fbe2f63689cadcc2930823b9c" |
|
33858
08c8eeaa173d
win32: move libssp to runtime-bundle, install default conversation theme, update glib to 2.36
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33857
diff
changeset
|
89 | GLIB="${DOWNLOAD_HOST}mingw32-glib2-2.36.0-2.2.noarch.rpm Glib 2.36.0-2.2 sha1sum:1b788be9f7b15cde9452f135831feebc51f3a5a4" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
90 | GST="${DOWNLOAD_HOST}mingw32-libgstreamer-0.10.35-1.4.noarch.rpm GStreamer 0.10.35-1.4 sha1sum:fd5bb6f8a9083eb3ca402670e7c38474f7270efe" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
91 | GST_INT="${DOWNLOAD_HOST}mingw32-libgstinterfaces-0.10.32-5.4.noarch.rpm GStreamer-interfaces 0.10.32-5.4 sha1sum:cec1dd36bbcc10716e9f8776e4bd53fb0b07d8bb" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
92 | GTK2="${DOWNLOAD_HOST}mingw32-gtk2-2.24.14-1.4.noarch.rpm GTK+ 2.24.14-1.4 sha1sum:71971fe63d355aa893536b691f249ace78d89a2b" |
|
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
|
93 | GTKSPELL="${DOWNLOAD_HOST}mingw32-gtkspell-2.0.16-2.5.noarch.rpm GtkSpell 2.0.16-2.5 sha1sum:49381274b248ffe56ef733a90908541dc587c9af" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
94 | LIBFFI="${DOWNLOAD_HOST}mingw32-libffi-3.0.10-2.4.noarch.rpm libffi 3.0.10-2.4 sha1sum:871f13d5f02c03d62b882cc1fa4c98dcff76d4c5" |
|
33870
27edd939f0ba
win32: add missing dependencies to devel environment
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33869
diff
changeset
|
95 | LIBGCC="${DOWNLOAD_HOST}mingw32-libgcc-4.8.0-6.1.noarch.rpm libgcc 4.8.0-6.1 sha1sum:ab599bf07bf2d56367c57b442440598358c943af" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
96 | LIBHB="${DOWNLOAD_HOST}mingw32-libharfbuzz0-0.9.14-1.5.noarch.rpm libharfbuzz 0.9.14-1.5 sha1sum:54106eb1e8ff42c79ea52c1ef64a066f1f2cb133" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
97 | LIBJASPER="${DOWNLOAD_HOST}mingw32-libjasper-1.900.1-6.4.noarch.rpm JasPer 1.900.1-6.4 sha1sum:25e01ed277b8dda6191afb7dd0e0928558c1f2d6" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
98 | LIBICU="${DOWNLOAD_HOST}mingw32-libicu-51.1-2.1.noarch.rpm ICU 51.1-2.1 sha1sum:97ec8264e38abceeadda4631730bb0b5f3f3ebfe" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
99 | LIBINTL="${DOWNLOAD_HOST}mingw32-libintl-0.18.1.1-13.4.noarch.rpm libintl 0.18.1.1-13.4 sha1sum:043c3b8eb9c872681faed5ec5263456a24bf29e4" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
100 | LIBJPEG="${DOWNLOAD_HOST}mingw32-libjpeg-8d-3.4.noarch.rpm libjpeg 8d-3.4 sha1sum:5d1db1eaabc6ababbed648408adbbe6eee0292fc" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
101 | LIBJSON="${DOWNLOAD_HOST}mingw32-libjson-glib-0.14.2-1.4.noarch.rpm json-glib 0.14.2-1.4 sha1sum:698194c97baf732bd6b109778f2834d71eedc524" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
102 | LIBLZMA="${DOWNLOAD_HOST}mingw32-liblzma-5.0.4-1.4.noarch.rpm liblzma 5.0.4-1.4 sha1sum:ef360fab4b6c77d1618891ccc8f52c2421f37c09" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
103 | LIBPNG="${DOWNLOAD_HOST}mingw32-libpng-1.5.11-1.4.noarch.rpm libpng 1.5.11-1.4 sha1sum:99d0a077f70e83f7df10f28915a2137a0ff34462" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
104 | LIBSOUP="${DOWNLOAD_HOST}mingw32-libsoup-2.40.3-1.9.noarch.rpm libsoup 2.40.3-1.9 sha1sum:d343f6f0661c4527901a0ba446f00af2f925e70f" |
|
33858
08c8eeaa173d
win32: move libssp to runtime-bundle, install default conversation theme, update glib to 2.36
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33857
diff
changeset
|
105 | LIBSSP="${DOWNLOAD_HOST}mingw32-libssp-4.8.0-6.1.noarch.rpm LibSSP 4.8.0-6.1 sha1sum:c05b2e0470f41d26f8ebfff93dfd51263842a4ea" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
106 | LIBSTDCPP="${DOWNLOAD_HOST}mingw32-libstdc++-4.8.0-6.1.noarch.rpm libstdc++ 4.8.0-6.1 sha1sum:627860950e951764fe1aa229d3a63bb01618ba90" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
107 | LIBTIFF="${DOWNLOAD_HOST}mingw32-libtiff-4.0.2-1.4.noarch.rpm libtiff 4.0.2-1.4 sha1sum:9a8f8b018e8bafd47067fe6fd0debc1e887239b1" |
|
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:
33861
diff
changeset
|
108 | LIBXML="${DOWNLOAD_HOST}mingw32-libxml2-2.9.0-2.1.noarch.rpm libxml 2.9.0-2.1 sha1sum:de73090544effcd167f94fcfe8e2d1f005adbea7" |
|
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:
33861
diff
changeset
|
109 | LIBXSLT="${DOWNLOAD_HOST}mingw32-libxslt-1.1.28-1.1.noarch.rpm libxslt 1.1.28-1.1 sha1sum:b43448edbbb04d72e355bd45d5bee94414395589" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
110 | MEANW="${DOWNLOAD_HOST}mingw32-meanwhile-1.0.2-3.1.noarch.rpm Meanwhile 1.0.2-3.1 sha1sum:89fc8c6c15bf4825a7d750a15134f14c8ae05c9c" |
|
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
111 | MOZNSS="${DOWNLOAD_HOST}mingw32-mozilla-nss-3.14.3-2.1.noarch.rpm NSS 3.14.3-2.1 sha1sum:0eec79ddee11f2453af34f85c5939e6d33f6c0c5" |
|
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
112 | MOZNSPR="${DOWNLOAD_HOST}mingw32-mozilla-nspr-4.9.6-3.1.noarch.rpm NSPR 4.9.6-3.1 sha1sum:87b562845f8e46d44e57262752dae406620ae6df" |
|
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
113 | PANGO="${DOWNLOAD_HOST}mingw32-pango-1.34.0-2.1.noarch.rpm Pango 1.34.0-2.1 sha1sum:f382abb3dfb822f647a902266039571c0506bfa4" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
114 | PIXMAN="${DOWNLOAD_HOST}mingw32-pixman-0.26.0-1.4.noarch.rpm pixman 0.26.0-1.4 sha1sum:f751fe428ea83996daf7e57bff6f4f79361b0d29" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
115 | PTHREADS="${DOWNLOAD_HOST}mingw32-pthreads-2.8.0-14.6.noarch.rpm pthreads 2.8.0-14.6 sha1sum:e948ae221f82bbcb4fbfd991638e4170c150fe9f" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
116 | SQLITE="${DOWNLOAD_HOST}mingw32-libsqlite-3.7.6.2-1.6.noarch.rpm SQLite 3.7.6.2-1.6 sha1sum:f61529bc0c996d9af28a94648ce6102d579ed928" |
|
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
|
117 | TCL="${DOWNLOAD_HOST}mingw32-tcl-8.5.9-13.6.noarch.rpm Tcl 8.5.9-13.6 sha1sum:442eaf5e761d59bb527cb1f9f93749ebc13b4367" |
|
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
|
118 | TK="${DOWNLOAD_HOST}mingw32-tk-8.5.9-8.6.noarch.rpm Tk 8.5.9-8.6 sha1sum:d0884c56f767f76981ddf7bc6d74d3c47237740a" |
|
33857
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
119 | |
|
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
120 | #webkit 1.10 crashes when calling document.createElement, so I grabbed 1.8 from openSUSE_Factory instead |
|
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
121 | #TODO: investigate it |
|
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
122 | #WEBKITGTK="${DOWNLOAD_HOST}mingw32-libwebkitgtk-1.10.2-1.3.noarch.rpm WebKitGTK+ 1.10.2-1.3 sha1sum:33b558d2110fc2caf2c3c0ab24a6c18645814893" |
|
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
123 | WEBKITGTK="${DOWNLOAD_HOST}mingw32-libwebkitgtk-1.8.3-1.14.noarch.rpm WebKitGTK+ 1.8.3-1.14 sha1sum:ade86455fc2da257f4fe5831367f500a61a1af9a" |
|
af0723304ab3
Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33854
diff
changeset
|
124 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
125 | ZLIB="${DOWNLOAD_HOST}mingw32-zlib-1.2.7-1.4.noarch.rpm zlib 1.2.7-1.4 sha1sum:83e91f3b4d14e47131ca33fc69e12b82aabdd589" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
126 | ALL="ATK CAIRO2 DBUS DBUS_GLIB ENCHANT FONTCONFIG FREETYPE GDK_PIXBUF GEOCLUE GLIB GST GST_INT GTK2 GTKSPELL LIBFFI LIBGCC LIBHB LIBJASPER LIBICU LIBINTL LIBJPEG LIBJSON LIBLZMA LIBPNG LIBSOUP LIBSSP LIBSTDCPP LIBTIFF LIBXML LIBXSLT MEANW MOZNSS MOZNSPR PANGO PIXMAN PTHREADS SQLITE TCL TK WEBKITGTK ZLIB" |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
127 | |
|
29806
aface02b85bc
mkdir -p is better than checking for directory existence
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
128 | mkdir -p $STAGE_DIR |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
129 | cd $STAGE_DIR |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
130 | |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
131 | rm -rf $INSTALL_DIR |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
132 | mkdir $INSTALL_DIR |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
133 | |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
134 | #new CONTENTS file |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
135 | echo Bundle Version $BUNDLE_VERSION > $CONTENTS_FILE |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
136 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
137 | #TODO: temporary mirror also |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
138 | CPIO_URL="https://dl.dropbox.com/u/5448886/pidgin-win32/cpio/bsdcpio-3.0.3-1.4.tar.gz" |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
139 | CPIO_SHA1SUM="0460c7a52f8c93d3c4822d6d1aaf9410f21bd4da" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
140 | CPIO_DIR="bsdcpio" |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
141 | FILE="bsdcpio.tar.gz" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
142 | if [ ! -e "$FILE" ]; then |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
143 | echo "Downloading 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:
33858
diff
changeset
|
144 | download "$CPIO_URL" "$FILE" || exit 1 |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
145 | fi |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
146 | CHECK_SHA1SUM=`sha1sum $FILE` |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
147 | CHECK_SHA1SUM=${CHECK_SHA1SUM%%\ *} |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
148 | if [ "$CHECK_SHA1SUM" != "$CPIO_SHA1SUM" ]; then |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
149 | echo "sha1sum ($CHECK_SHA1SUM) for $FILE doesn't match expected value of $CPIO_SHA1SUM" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
150 | rm $FILE |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
151 | exit 1 |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
152 | fi |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
153 | rm -rf "$CPIO_DIR" |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
154 | mkdir "$CPIO_DIR" |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
155 | tar xf "$FILE" --strip-components=1 --directory="$CPIO_DIR" || exit 1 |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
156 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
157 | function download_and_extract { |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
158 | URL=${1%%\ *} |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
159 | VALIDATION=${1##*\ } |
|
33391
e56515365c37
Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents:
30312
diff
changeset
|
160 | NAME=${1%\ *} |
|
e56515365c37
Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents:
30312
diff
changeset
|
161 | NAME=${NAME#*\ } |
|
30305
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
162 | FILE=$(basename $URL) |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
163 | MINGW_DIR="usr/i686-w64-mingw32/sys-root/mingw" |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
164 | MINGW_DIR_TOP="usr" |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
165 | if [ ! -e $FILE ]; 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:
33858
diff
changeset
|
166 | echo "Downloading $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:
33858
diff
changeset
|
167 | download "$URL" "$FILE" || exit 1 |
|
33391
e56515365c37
Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents:
30312
diff
changeset
|
168 | fi |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
169 | VALIDATION_TYPE=${VALIDATION%%:*} |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
170 | VALIDATION_VALUE=${VALIDATION##*:} |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
171 | if [ $VALIDATION_TYPE == 'sha1sum' ]; then |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
172 | CHECK_SHA1SUM=`sha1sum $FILE` |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
173 | CHECK_SHA1SUM=${CHECK_SHA1SUM%%\ *} |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
174 | if [ "$CHECK_SHA1SUM" != "$VALIDATION_VALUE" ]; then |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
175 | echo "sha1sum ($CHECK_SHA1SUM) for $FILE doesn't match expected value of $VALIDATION_VALUE" |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
176 | exit 1 |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
177 | fi |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
178 | elif [ $VALIDATION_TYPE == 'gpg' ]; then |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
179 | if [ ! -e "$FILE.asc" ]; then |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
180 | echo Downloading GPG key for $NAME |
|
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:
33858
diff
changeset
|
181 | download "$URL.asc" "$FILE.asc" || exit 1 |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
182 | fi |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
183 | #Use our own keyring to avoid adding stuff to the main keyring |
|
33417
156f37832487
Sign all the win32 binaries with GPG (in addition to the authenticode signing for the executables)
Daniel Atallah <datallah@pidgin.im>
parents:
33416
diff
changeset
|
184 | #This doesn't use $GPG_SIGN because we don't this validation to be bypassed when people are skipping signing output |
|
156f37832487
Sign all the win32 binaries with GPG (in addition to the authenticode signing for the executables)
Daniel Atallah <datallah@pidgin.im>
parents:
33416
diff
changeset
|
185 | GPG_BASE="gpg -q --keyring $STAGE_DIR/$VALIDATION_VALUE-keyring.gpg" |
|
33416
c259c9a6d184
Fix a couple things about validating the gpg key of downloaded GTK+ bundle components
Daniel Atallah <datallah@pidgin.im>
parents:
33415
diff
changeset
|
186 | if [[ ! -e $STAGE_DIR/$VALIDATION_VALUE-keyring.gpg \ |
|
33417
156f37832487
Sign all the win32 binaries with GPG (in addition to the authenticode signing for the executables)
Daniel Atallah <datallah@pidgin.im>
parents:
33416
diff
changeset
|
187 | || `$GPG_BASE --list-keys "$VALIDATION_VALUE" > /dev/null && echo -n "0"` -ne 0 ]]; then |
|
33416
c259c9a6d184
Fix a couple things about validating the gpg key of downloaded GTK+ bundle components
Daniel Atallah <datallah@pidgin.im>
parents:
33415
diff
changeset
|
188 | touch $STAGE_DIR/$VALIDATION_VALUE-keyring.gpg |
|
33417
156f37832487
Sign all the win32 binaries with GPG (in addition to the authenticode signing for the executables)
Daniel Atallah <datallah@pidgin.im>
parents:
33416
diff
changeset
|
189 | $GPG_BASE --no-default-keyring --keyserver pgp.mit.edu --recv-key "$VALIDATION_VALUE" || exit 1 |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
190 | fi |
|
33417
156f37832487
Sign all the win32 binaries with GPG (in addition to the authenticode signing for the executables)
Daniel Atallah <datallah@pidgin.im>
parents:
33416
diff
changeset
|
191 | $GPG_BASE --verify "$FILE.asc" || (echo "$FILE failed signature verification"; exit 1) || exit 1 |
|
33409
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
192 | else |
|
fb9fe934688e
Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents:
33408
diff
changeset
|
193 | echo "Unrecognized validation type of $VALIDATION_TYPE" |
|
33391
e56515365c37
Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents:
30312
diff
changeset
|
194 | exit 1 |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
195 | fi |
|
30305
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
196 | EXTENSION=${FILE##*.} |
|
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
197 | #This is an OpenSuSE build service RPM |
|
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
198 | if [ $EXTENSION == 'rpm' ]; then |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
199 | rm -rf $MINGW_DIR_TOP |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
200 | bsdcpio/bsdcpio.exe --quiet -f etc/fonts/conf.d -di < $FILE || exit 1 |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
201 | cp -rf $MINGW_DIR/* $INSTALL_DIR |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
202 | rm -rf $MINGW_DIR_TOP |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
203 | else |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
204 | unzip -q $FILE -d $INSTALL_DIR || exit 1 |
|
30305
00c325754ef7
Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents:
29862
diff
changeset
|
205 | fi |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
206 | echo "$NAME" >> $CONTENTS_FILE |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
207 | } |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
208 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
209 | echo "Downloading and extracting components..." |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
210 | for VAL in $ALL |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
211 | do |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
212 | VAR=${!VAL} |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
213 | download_and_extract "$VAR" |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
214 | done |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
215 | mv "${STAGE_DIR}/${INSTALL_DIR}/share/tcl8.5" "${STAGE_DIR}/${INSTALL_DIR}/lib/" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
216 | rm -rf $CPIO_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:
33858
diff
changeset
|
217 | rm "${STAGE_DIR}/../cacert.pem" |
|
33876
acd48a8a0b3b
win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33870
diff
changeset
|
218 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
219 | echo "All components ready" |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
220 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
221 | #Default GTK+ Theme to MS-Windows (already set) |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
222 | #echo gtk-theme-name = \"MS-Windows\" > $INSTALL_DIR/etc/gtk-2.0/gtkrc |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
223 | |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
224 | #Blow away translations that we don't have in Pidgin (temporarily not included) |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
225 | #for LOCALE_DIR in $INSTALL_DIR/share/locale/* |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
226 | #do |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
227 | # LOCALE=$(basename $LOCALE_DIR) |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
228 | # if [ ! -e $PIDGIN_BASE/po/$LOCALE.po ]; then |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
229 | # echo Removing $LOCALE translation as it is missing from Pidgin |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
230 | # rm -r $LOCALE_DIR |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
231 | # fi |
|
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
232 | #done |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
233 | |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
234 | #Generate zip file to be included in installer |
|
33415
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
235 | rm -f $ZIP_FILE |
|
51473787ff4f
Bake the sha1sums for the debug symbols and gtk runtime into the installer instead of downloading them.
Daniel Atallah <datallah@pidgin.im>
parents:
33409
diff
changeset
|
236 | zip -9 -r $ZIP_FILE Gtk |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
237 | |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
238 | if [ "`$GPG_SIGN -K 2> /dev/null`" != "" ]; then |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
239 | ($GPG_SIGN -ab $ZIP_FILE && $GPG_SIGN --verify $ZIP_FILE.asc) || exit 1 |
|
33904
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
240 | else |
|
623ab8519076
win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33876
diff
changeset
|
241 | echo "Warning: cannot sign generated bundle" |
|
33854
5744cfb1c3d1
Fix 3.0.0 compilation for win32, switch gtk (and others) runtimes from gnome.org to opensuse build service
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33742
diff
changeset
|
242 | fi |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
243 | |
|
30312
d2cb1662df79
Improve error handling
Daniel Atallah <datallah@pidgin.im>
parents:
30305
diff
changeset
|
244 | exit 0 |