pidgin/win32/nsis/generate_gtk_zip.sh

Sat, 08 Jun 2013 18:24:00 +0200

author
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
date
Sat, 08 Jun 2013 18:24:00 +0200
changeset 33961
3bd03baab70d
parent 33942
e0a388ced476
child 34270
3ee9b2690519
permissions
-rwxr-xr-x

VV: it works on win32 now, enable it

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
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
21 BUNDLE_SHA1SUM="df28047f00934e6a00a5962387a1005114ec772e"
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&gtk_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
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
80 ALL=""
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
81
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
82 ARC_ATK="${DOWNLOAD_HOST}mingw32-atk-2.8.0-1.5.noarch.rpm ATK 2.8.0-1.5 sha1sum:0c682eadc299963aaa5d7998d655e46ead7d7515"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
83 ALL+="ARC_ATK "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
84
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
85 ARC_CAIRO2="${DOWNLOAD_HOST}mingw32-libcairo2-1.10.2-8.12.noarch.rpm Cairo 1.10.2-8.12 sha1sum:e33c58603678a8ba113bffe282bec810bd70172e"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
86 ALL+="ARC_CAIRO2 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
87
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
88 ARC_DBUS="${DOWNLOAD_HOST}mingw32-dbus-1-1.7.0-2.1.noarch.rpm D-Bus 1.7.0-2.1 sha1sum:6961e4df15172b057e91b266dbb7cbd01a736e56"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
89 ALL+="ARC_DBUS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
90
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
91 ARC_DBUS_GLIB="${DOWNLOAD_HOST}mingw32-dbus-1-glib-0.100.2-1.2.noarch.rpm dbus-glib 0.100.2-1.2 sha1sum:72d27c0c01ce3e94e4dddc653c6ac0544c28362f"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
92 ALL+="ARC_DBUS_GLIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
93
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
94 ARC_ENCHANT="${DOWNLOAD_HOST}mingw32-enchant-1.6.0-3.9.noarch.rpm Enchant 1.6.0-3.9 sha1sum:a8569c8dcc77f69d065320388fca822ef5bf1fe5"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
95 ALL+="ARC_ENCHANT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
96
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
97 ARC_FONTCONFIG="${DOWNLOAD_HOST}mingw32-fontconfig-2.10.92-1.2.noarch.rpm fontconfig 2.10.92-1.2 sha1sum:d8da351f5d4d9816f02ac5287dd7887c711902ed"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
98 ALL+="ARC_FONTCONFIG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
99
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
100 ARC_FREETYPE="${DOWNLOAD_HOST}mingw32-freetype-2.4.11-2.1.noarch.rpm freetype 2.4.11-2.1 sha1sum:0eee29696e87d47e7487ba5e90530bf20159f31e"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
101 ALL+="ARC_FREETYPE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
102
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
103 ARC_GDK_PIXBUF="${DOWNLOAD_HOST}mingw32-gdk-pixbuf-2.28.0-1.2.noarch.rpm gdk-pixbuf 2.28.0-1.2 sha1sum:8673e06c3a838e47a093043bf86bb62ea3627fe0"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
104 ALL+="ARC_GDK_PIXBUF "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
105
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
106 ARC_GEOCLUE="${DOWNLOAD_HOST}mingw32-libgeoclue-0.12.99-1.10.noarch.rpm Geoclue 0.12.99-1.10 sha1sum:84410ca9a6d2fac46217c51e22ebbc5ac3cae040"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
107 ALL+="ARC_GEOCLUE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
108
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
109 ARC_GLIB="${DOWNLOAD_HOST}mingw32-glib2-2.36.1-1.1.noarch.rpm Glib 2.36.1-1.1 sha1sum:ed468f064f61c5a12b716c83cba8ccbe05d22992"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
110 ALL+="ARC_GLIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
111
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
112 ARC_GNUTLS="${DOWNLOAD_HOST}mingw32-libgnutls-2.12.22-2.2.noarch.rpm GnuTLS 2.12.22-2.2 sha1sum:ee65a8971582f55aa469dbce82eb180fb1b35705"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
113 ALL+="ARC_GNUTLS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
114
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
115 ARC_GNUTLS_GCRYPT="${DOWNLOAD_HOST}mingw32-libgcrypt-1.5.2-1.1.noarch.rpm libgcrypt 1.5.2-1.1 sha1sum:861335a6edaa8419bc8f2d4ba6104c8da197e8e2"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
116 ALL+="ARC_GNUTLS_GCRYPT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
117
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
118 ARC_GNUTLS_GPGERR="${DOWNLOAD_HOST}mingw32-libgpg-error-1.10-1.6.noarch.rpm gpg-error 1.10-1.6 sha1sum:51a649ee41167ed3fafd243f8ded5d30b53f213d"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
119 ALL+="ARC_GNUTLS_GPGERR "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
120
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
121 ARC_GTK2="${DOWNLOAD_HOST}mingw32-gtk2-2.24.14-2.7.noarch.rpm GTK+ 2.24.14-2.7 sha1sum:a6f98a0c974c0273127c6423d89fca5f48c7d30c"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
122 ALL+="ARC_GTK2 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
123
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
124 ARC_GTKSPELL="${DOWNLOAD_HOST}mingw32-gtkspell-2.0.16-2.10.noarch.rpm GtkSpell 2.0.16-2.10 sha1sum:623afdc7cc2c43c1f5d39be797c3ec8ee1ab5570"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
125 ALL+="ARC_GTKSPELL "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
126
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
127 ARC_LIBFFI="${DOWNLOAD_HOST}mingw32-libffi-3.0.10-2.7.noarch.rpm libffi 3.0.10-2.7 sha1sum:628b014349dc132d3aa46362b30fc1cdd61f6b97"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
128 ALL+="ARC_LIBFFI "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
129
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
130 ARC_LIBGCC="${DOWNLOAD_HOST}mingw32-libgcc-4.8.0-6.1.noarch.rpm libgcc 4.8.0-6.1 sha1sum:ab599bf07bf2d56367c57b442440598358c943af"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
131 ALL+="ARC_LIBGCC "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
132
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
133 ARC_LIBGNURX="${DOWNLOAD_HOST}mingw32-libgnurx-2.5-4.6.noarch.rpm libgnurx 2.5-4.6 sha1sum:51571e6b1e5e9fb865c110cae04c582ff3c44cb7"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
134 ALL+="ARC_LIBGNURX "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
135
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
136 ARC_LIBHB="${DOWNLOAD_HOST}mingw32-libharfbuzz0-0.9.16-3.1.noarch.rpm libharfbuzz 0.9.16-3.1 sha1sum:5c377190429f45e566b07439c99937798c4c13f0"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
137 ALL+="ARC_LIBHB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
138
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
139 ARC_LIBJASPER="${DOWNLOAD_HOST}mingw32-libjasper-1.900.1-6.6.noarch.rpm JasPer 1.900.1-6.6 sha1sum:1a0f0072e0b0f73bd8d4e26aed93baa10d77e504"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
140 ALL+="ARC_LIBJASPER "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
141
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
142 ARC_LIBICU="${DOWNLOAD_HOST}mingw32-libicu-51.1-2.3.noarch.rpm ICU 51.1-2.3 sha1sum:c259c9d7f9f58934ebb49ecc80b15b7492e5a245"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
143 ALL+="ARC_LIBICU "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
144
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
145 ARC_LIBINTL="${DOWNLOAD_HOST}mingw32-libintl-0.18.1.1-13.6.noarch.rpm libintl 0.18.1.1-13.6 sha1sum:0e6fde8e86788874366f308e25634f95613e906a"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
146 ALL+="ARC_LIBINTL "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
147
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
148 ARC_LIBJPEG="${DOWNLOAD_HOST}mingw32-libjpeg-8d-3.6.noarch.rpm libjpeg 8d-3.6 sha1sum:db85723377243045388a5d3c873262cd83ffa7e2"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
149 ALL+="ARC_LIBJPEG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
150
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
151 ARC_LIBJSON="${DOWNLOAD_HOST}mingw32-libjson-glib-0.14.2-2.1.noarch.rpm json-glib 0.14.2-2.1 sha1sum:366bf545855ced7fdfefc57b75ef7bbb5ebc249b"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
152 ALL+="ARC_LIBJSON "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
153
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
154 ARC_LIBLZMA="${DOWNLOAD_HOST}mingw32-liblzma-5.0.4-1.6.noarch.rpm liblzma 5.0.4-1.6 sha1sum:67bad5204ae09d163f799adec3286fff297e3bc8"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
155 ALL+="ARC_LIBLZMA "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
156
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
157 ARC_LIBPNG="${DOWNLOAD_HOST}mingw32-libpng-1.5.11-1.6.noarch.rpm libpng 1.5.11-1.6 sha1sum:bb28549351c1f0d7a8afd129ac656be18a616149"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
158 ALL+="ARC_LIBPNG "
33857
af0723304ab3 Fix compilation on OBS mingw, don't crash on webkitgtk
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33854
diff changeset
159
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
160 ARC_LIBSILC="${DOWNLOAD_HOST}mingw32-libsilc-1.1.10-2.1.noarch.rpm libsilc 1.1.10-2.1 sha1sum:b7690eac1a91caf2b02b058483a3768705a6f3df"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
161 ALL+="ARC_LIBSILC "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
162
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
163 ARC_LIBSILCCL="${DOWNLOAD_HOST}mingw32-libsilcclient-1.1.10-2.1.noarch.rpm libsilcclient 1.1.10-2.1 sha1sum:88b84ff4c43643ce4b8ec1eb345e73c139cc164a"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
164 ALL+="ARC_LIBSILCCL "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
165
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
166 ARC_LIBSOUP="${DOWNLOAD_HOST}mingw32-libsoup-2.42.2-1.1.noarch.rpm libsoup 2.42.2-1.1 sha1sum:f0af29ceb420daaa549dd5dc470fbd62bc732252"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
167 ALL+="ARC_LIBSOUP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
168
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
169 ARC_LIBSSP="${DOWNLOAD_HOST}mingw32-libssp-4.8.0-6.1.noarch.rpm LibSSP 4.8.0-6.1 sha1sum:c05b2e0470f41d26f8ebfff93dfd51263842a4ea"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
170 ALL+="ARC_LIBSSP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
171
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
172 ARC_LIBSTDCPP="${DOWNLOAD_HOST}mingw32-libstdc++-4.8.0-6.1.noarch.rpm libstdc++ 4.8.0-6.1 sha1sum:627860950e951764fe1aa229d3a63bb01618ba90"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
173 ALL+="ARC_LIBSTDCPP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
174
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
175 ARC_LIBTIFF="${DOWNLOAD_HOST}mingw32-libtiff-4.0.2-1.6.noarch.rpm libtiff 4.0.2-1.6 sha1sum:3a082540386748ead608d388ce55a0c1dd28715d"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
176 ALL+="ARC_LIBTIFF "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
177
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
178 ARC_LIBXML="${DOWNLOAD_HOST}mingw32-libxml2-2.9.0-2.1.noarch.rpm libxml 2.9.0-2.1 sha1sum:de73090544effcd167f94fcfe8e2d1f005adbea7"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
179 ALL+="ARC_LIBXML "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
180
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
181 ARC_LIBXSLT="${DOWNLOAD_HOST}mingw32-libxslt-1.1.28-1.2.noarch.rpm libxslt 1.1.28-1.2 sha1sum:6ee150c6271edded95f92285f59d02c2896e459e"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
182 ALL+="ARC_LIBXSLT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
183
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
184 ARC_MEANW="${DOWNLOAD_HOST}mingw32-meanwhile-1.0.2-3.2.noarch.rpm Meanwhile 1.0.2-3.2 sha1sum:6b0fd8d94205d80eba37ea3e3f19ded7a1297473"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
185 ALL+="ARC_MEANW "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
186
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
187 ARC_MOZNSS="${DOWNLOAD_HOST}mingw32-mozilla-nss-3.14.3-2.2.noarch.rpm NSS 3.14.3-2.2 sha1sum:b0353cda8b5670796f0246f1da27754c3205a009"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
188 ALL+="ARC_MOZNSS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
189
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
190 ARC_MOZNSPR="${DOWNLOAD_HOST}mingw32-mozilla-nspr-4.9.6-4.1.noarch.rpm NSPR 4.9.6-4.1 sha1sum:42b1a803c54639f6cf0aa1f6287324d0658c705c"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
191 ALL+="ARC_MOZNSPR "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
192
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
193 ARC_PANGO="${DOWNLOAD_HOST}mingw32-pango-1.34.0-2.3.noarch.rpm Pango 1.34.0-2.3 sha1sum:65b55b73c4f5c8107fdf48ef2e4f5c351189cd4f"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
194 ALL+="ARC_PANGO "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
195
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
196 ARC_PIXMAN="${DOWNLOAD_HOST}mingw32-pixman-0.26.0-1.6.noarch.rpm pixman 0.26.0-1.6 sha1sum:b0a440a3761e77d890a2e7de52405e2ce364c9b2"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
197 ALL+="ARC_PIXMAN "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
198
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
199 ARC_PTHREADS="${DOWNLOAD_HOST}mingw32-pthreads-2.8.0-14.6.noarch.rpm pthreads 2.8.0-14.6 sha1sum:e948ae221f82bbcb4fbfd991638e4170c150fe9f"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
200 ALL+="ARC_PTHREADS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
201
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
202 ARC_SQLITE="${DOWNLOAD_HOST}mingw32-libsqlite-3.7.6.2-1.6.noarch.rpm SQLite 3.7.6.2-1.6 sha1sum:f61529bc0c996d9af28a94648ce6102d579ed928"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
203 ALL+="ARC_SQLITE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
204
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
205 ARC_VV_FARST="${DOWNLOAD_HOST}mingw32-farstream-0.1.2-19.1.noarch.rpm farstream 0.1.2-19.1 sha1sum:1c46b2c2f6b669824a70ca05d3958b2dc2197dc3"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
206 ALL+="ARC_VV_FARST "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
207
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
208 ARC_VV_GST="${DOWNLOAD_HOST}mingw32-gstreamer-0.10.36-10.1.noarch.rpm GStreamer 0.10.36-10.1 sha1sum:79ec8a1c0613211345efd0e88e7f3e5668e01150"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
209 ALL+="ARC_VV_GST "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
210
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
211 ARC_VV_GST_LIB="${DOWNLOAD_HOST}mingw32-libgstreamer-0.10.36-10.1.noarch.rpm GStreamer-libgstreamer 0.10.36-10.1 sha1sum:3066c1047fba2181e688671fa9e12ed818d7df4a"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
212 ALL+="ARC_VV_GST_LIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
213
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
214 ARC_VV_GST_INT="${DOWNLOAD_HOST}mingw32-libgstinterfaces-0.10.36-15.1.noarch.rpm GStreamer-interfaces 0.10.36-15.1 sha1sum:77123565b8254bd2a741fce3b769ccaa2d5297f9"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
215 ALL+="ARC_VV_GST_INT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
216
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
217 ARC_VV_GST_PLBAD="${DOWNLOAD_HOST}mingw32-gst-plugins-bad-0.10.23-28.1.noarch.rpm GStreamer-plugins-bad 0.10.23-28.1 sha1sum:994ff1e2c7f839a5ef2dedfb01eeed0d9fcd4be3"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
218 ALL+="ARC_VV_GST_PLBAD "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
219
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
220 ARC_VV_GST_PLBASE="${DOWNLOAD_HOST}mingw32-gst-plugins-base-0.10.36-15.1.noarch.rpm GStreamer-plugins-base 0.10.36-15.1 sha1sum:e9026a63c3c7d3f3f8d8ccbf255ed8e865b34c39"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
221 ALL+="ARC_VV_GST_PLBASE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
222
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
223 ARC_VV_GST_PLGOOD="${DOWNLOAD_HOST}mingw32-gst-plugins-good-0.10.31-5.1.noarch.rpm GStreamer-plugins-good 0.10.31-5.1 sha1sum:96f24a739f2f243ab55bc3cc159d43256b464861"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
224 ALL+="ARC_VV_GST_PLGOOD "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
225
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
226 ARC_VV_LIBNICE="${DOWNLOAD_HOST}mingw32-libnice-0.1.4-19.1.noarch.rpm libnice 0.1.4-19.1 sha1sum:c1916d36f8083f76ef19437ddd255b12077ad465"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
227 ALL+="ARC_VV_LIBNICE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
228
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
229 ARC_VV_LIBOGG="${DOWNLOAD_HOST}mingw32-libogg-1.3.0-1.8.noarch.rpm libogg 1.3.0-1.8 sha1sum:1978cbd5148630fc95d4a6b1c5024f76f519fcd4"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
230 ALL+="ARC_VV_LIBOGG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
231
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
232 ARC_VV_LIBTHEORA="${DOWNLOAD_HOST}mingw32-libtheora-1.1.1-5.8.noarch.rpm libtheora 1.1.1-5.8 sha1sum:9809978e4e7c0a620dd735218bb1bd317fe32149"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
233 ALL+="ARC_VV_LIBTHEORA "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
234
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
235 ARC_VV_LIBVORBIS="${DOWNLOAD_HOST}mingw32-libvorbis-1.3.3-1.8.noarch.rpm libvorbis 1.3.3-1.8 sha1sum:c9efd698ed62c26cf62442dafc2d9d2dcbcd651c"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
236 ALL+="ARC_VV_LIBVORBIS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
237
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
238 ARC_WEBKITGTK="${DOWNLOAD_HOST}mingw32-libwebkitgtk-1.10.2-9.2.noarch.rpm WebKitGTK+ 1.10.2-9.2 sha1sum:010dbad413f824696cd1e32fe70046c9a1cb425f"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
239 ALL+="ARC_WEBKITGTK "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
240
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
241 ARC_ZLIB="${DOWNLOAD_HOST}mingw32-zlib-1.2.7-1.4.noarch.rpm zlib 1.2.7-1.4 sha1sum:83e91f3b4d14e47131ca33fc69e12b82aabdd589"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
242 ALL+="ARC_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
243
29806
aface02b85bc mkdir -p is better than checking for directory existence
Daniel Atallah <datallah@pidgin.im>
parents: 29798
diff changeset
244 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
245 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
246
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
247 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
248 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
249
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
250 #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
251 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
252
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
253 #TODO: temporary mirror also
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
254 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
255 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
256 CPIO_DIR="bsdcpio"
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
257 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
258 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
259 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
260 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
261 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
262 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
263 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
264 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
265 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
266 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
267 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
268 fi
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
269 rm -rf "$CPIO_DIR"
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
270 mkdir "$CPIO_DIR"
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
271 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
272
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
273 function rpm_install {
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
274 PKG_NAME=${NAME%%\ *}
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
275 if [ "$PKG_NAME" = "GStreamer-plugins-bad" ]; then
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
276 cp $MINGW_DIR/lib/gstreamer-0.10/libgstdirectdrawsink.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
277 cp $MINGW_DIR/lib/gstreamer-0.10/libgstdirectsoundsrc.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
278 cp $MINGW_DIR/lib/gstreamer-0.10/libgstliveadder.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
279 cp $MINGW_DIR/lib/gstreamer-0.10/libgstrtpmux.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
280 cp $MINGW_DIR/lib/gstreamer-0.10/libgstwinks.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
281 elif [ "$PKG_NAME" = "GStreamer-plugins-good" ]; then
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
282 cp $MINGW_DIR/lib/gstreamer-0.10/libgstalaw.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
283 cp $MINGW_DIR/lib/gstreamer-0.10/libgstdirectsoundsink.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
284 cp $MINGW_DIR/lib/gstreamer-0.10/libgstlevel.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
285 cp $MINGW_DIR/lib/gstreamer-0.10/libgstmulaw.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
286 cp $MINGW_DIR/lib/gstreamer-0.10/libgstrtp.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
287 cp $MINGW_DIR/lib/gstreamer-0.10/libgstrtpmanager.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
288 cp $MINGW_DIR/lib/gstreamer-0.10/libgstrtsp.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
289 cp $MINGW_DIR/lib/gstreamer-0.10/libgstwavparse.dll $INSTALL_DIR/lib/gstreamer-0.10/
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
290 else
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
291 cp -rf $MINGW_DIR/* $INSTALL_DIR
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
292 fi
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
293 }
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
294
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
295 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
296 URL=${1%%\ *}
33409
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
297 VALIDATION=${1##*\ }
33391
e56515365c37 Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents: 30312
diff changeset
298 NAME=${1%\ *}
e56515365c37 Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents: 30312
diff changeset
299 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
300 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
301 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
302 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
303 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
304 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
305 download "$URL" "$FILE" || exit 1
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
306 else
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
307 echo "Extracting $NAME"
33391
e56515365c37 Add sha1sum checking to the gtk bundle components that are downloaded
Daniel Atallah <datallah@pidgin.im>
parents: 30312
diff changeset
308 fi
33409
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
309 VALIDATION_TYPE=${VALIDATION%%:*}
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
310 VALIDATION_VALUE=${VALIDATION##*:}
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
311 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
312 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
313 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
314 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
315 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
316 exit 1
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
317 fi
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
318 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
319 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
320 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
321 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
322 fi
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
323 #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
324 #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
325 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
326 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
327 || `$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
328 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
329 $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
330 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
331 $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
332 else
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
333 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
334 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
335 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
336 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
337 #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
338 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
339 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
340 bsdcpio/bsdcpio.exe --quiet -f etc/fonts/conf.d -di < $FILE || exit 1
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
341 rpm_install
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
342 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
343 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
344 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
345 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
346 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
347 }
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
348
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
349 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
350 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
351 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
352 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
353 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
354 done
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
355 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
356 rm "${STAGE_DIR}/../cacert.pem"
33876
acd48a8a0b3b win32: update bunch of libraries; little cleanups
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33870
diff changeset
357
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
358 #mv "${STAGE_DIR}/${INSTALL_DIR}/share/tcl8.5" "${STAGE_DIR}/${INSTALL_DIR}/lib/"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
359 rm "${STAGE_DIR}/${INSTALL_DIR}/lib/gstreamer-0.10/libfsmsnconference.dll"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
360 rm "${STAGE_DIR}/${INSTALL_DIR}/lib/gstreamer-0.10/libgstgnomevfs.dll"
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
361
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
362 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
363
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
364 #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
365 #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
366
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
367 #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
368 #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
369 #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
370 # 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
371 # 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
372 # 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
373 # 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
374 # 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
375 #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
376
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
377 #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
378 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
379 zip -9 -r $ZIP_FILE Gtk
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
380
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
381 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
382 ($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
383 else
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
384 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
385 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
386
30312
d2cb1662df79 Improve error handling
Daniel Atallah <datallah@pidgin.im>
parents: 30305
diff changeset
387 exit 0

mercurial