pidgin/win32/nsis/generate_gtk_zip.sh

Sat, 08 Dec 2018 21:34:48 -0600

author
Mike Ruprecht <cmaiku@gmail.com>
date
Sat, 08 Dec 2018 21:34:48 -0600
changeset 39413
f45e8a9c6fc1
parent 39251
c6a81a49ef65
child 39709
d0816d93cf9d
permissions
-rwxr-xr-x

Remove/edit comments which mention PURPLE_PLUGINS define

Now that GPlugin and libpurple plugin support are both required,
this patch removes mentions of PURPLE_PLUGINS from documentation
and comments in example plugins/code.

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
35138
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
13 if [ ! -e $PIDGIN_BASE/VERSION ]; then
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
14 cd ../../..
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
15 make -f Makefile.mingw VERSION
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
16 cd - > /dev/null
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
17 fi
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
18
33409
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
19 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
20 #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
21 INSTALL_DIR=Gtk
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
22 SRC_INSTALL_DIR=src_install
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
23 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
24 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
25
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
26 #This needs to be changed every time there is any sort of change.
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
27 BUNDLE_VERSION=2.24.18.0
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
28 BUNDLE_SHA1SUM="5957b0bf3f5e520863cf8ba64db7592383e9dd42"
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
29 ZIP_FILE="$PIDGIN_BASE/pidgin/win32/nsis/gtk-runtime-$BUNDLE_VERSION.zip"
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
30 SRC_ZIP_FILE="$PIDGIN_BASE/pidgin/win32/nsis/gtk-runtime-$BUNDLE_VERSION-src.zip"
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
31 #BUNDLE_URL="https://pidgin.im/win32/download_redir.php?version=$PIDGIN_VERSION&gtk_version=$BUNDLE_VERSION&dl_pkg=gtk"
35138
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
32 BUNDLE_URL="https://pidgin.im/~twasilczyk/win32/gtk-runtime-$BUNDLE_VERSION.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
33
35904
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
34 if [ "x`uname`" == "xLinux" ]; then
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
35 is_win32="no"
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
36 else
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
37 is_win32="yes"
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
38 fi
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
39
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
40 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
41 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
42 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
43 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
44 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
45 failed=0
33905
eb212da4069d win32: check NSIS, fix installers
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33904
diff changeset
46 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
47 || 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
48 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
49 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
50 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
51 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
52 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
53 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
54 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
55 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
56 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
57 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
58 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
59 }
1892a62590cf Initial implementation for prepare-workspace.sh script; temporary 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
60
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
61 #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
62 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
63 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
64 echo "Downloading the existing file"
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
65 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
66 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
67 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
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 # 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
78 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
79 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
80 else
34270
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33961
diff changeset
81 echo "Couldn't download GTK+ Bundle"
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
82 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
83 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
84 else
34270
3ee9b2690519 win32: gtk.zip generation more verbose, add missing files to uninstaller, add missing dependencies for build
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33961
diff changeset
85 echo "GTK+ Bundle is up to date"
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
86 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
87 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
88
35138
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
89 # origin: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_12.3/noarch/
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
90 DOWNLOAD_HOST="https://pidgin.im/~twasilczyk/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
91
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
92 ALL=""
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
93 #Format for packages is "binary_url name version binary_validation src_url src_validation"
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
94 #TODO: Fix packages SRC handling
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
95
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
96 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
97 ALL+="ARC_ATK "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
98
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
99 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
100 ALL+="ARC_CAIRO2 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
101
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
102 ARC_DBUS="${DOWNLOAD_HOST}mingw32-dbus-1-1.8.0-1.19.noarch.rpm D-Bus 1.8.0-1.19 sha1sum:c951d935f58212abb70ba5edf1794390f8434832"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
103 ALL+="ARC_DBUS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
104
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
105 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
106 ALL+="ARC_DBUS_GLIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
107
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
108 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
109 ALL+="ARC_ENCHANT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
110
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
111 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
112 ALL+="ARC_FONTCONFIG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
113
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
114 ARC_FREETYPE="${DOWNLOAD_HOST}mingw32-freetype-2.4.12-3.10.noarch.rpm freetype 2.4.12-3.10 sha1sum:d0c8fc8ba3785f5445a429ae7b6a3fce6d1f0333"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
115 ALL+="ARC_FREETYPE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
116
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
117 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
118 ALL+="ARC_GDK_PIXBUF "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
119
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
120 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
121 ALL+="ARC_GEOCLUE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
122
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
123 ARC_GLIB="${DOWNLOAD_HOST}mingw32-glib2-2.38.0-1.4.noarch.rpm Glib 2.38.0-1.4 sha1sum:e71d8c2f105548e752df4a0b6ba5958ab4826707"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
124 ALL+="ARC_GLIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
125
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
126 ARC_GNUTLS="${DOWNLOAD_HOST}mingw32-libgnutls-3.1.22-1.3.noarch.rpm GnuTLS 3.1.22-1.3 sha1sum:e744435362f4124210a7b70d75f154b7ac0bf1fd"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
127 ALL+="ARC_GNUTLS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
128
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
129 ARC_GNUTLS_GCRYPT="${DOWNLOAD_HOST}mingw32-libgcrypt-1.6.0-2.4.noarch.rpm libgcrypt 1.6.0-2.4 sha1sum:1d6ce973a866d93dc083888b19d64a7891ff224f"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
130 ALL+="ARC_GNUTLS_GCRYPT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
131
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
132 ARC_GNUTLS_GPGERR="${DOWNLOAD_HOST}mingw32-libgpg-error-1.12-2.5.noarch.rpm gpg-error 1.12-2.5 sha1sum:af3a21a58fce483196e882ab1bf801203535f46e"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
133 ALL+="ARC_GNUTLS_GPGERR "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
134
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
135 ARC_GTK2="${DOWNLOAD_HOST}mingw32-gtk2-2.24.18-3.4.noarch.rpm GTK+ 2.24.18-3.4 sha1sum:31bc7f8aa2222517a3ec614924a07432983dc20d"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
136 ALL+="ARC_GTK2 "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
137
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
138 ARC_LIBFFI="${DOWNLOAD_HOST}mingw32-libffi-3.0.13-2.2.noarch.rpm libffi 3.0.13-2.2 sha1sum:0751dddb44eba3f553534c0a2a8ed438ed84a793"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
139 ALL+="ARC_LIBFFI "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
140
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
141 ARC_LIBGADU="${DOWNLOAD_HOST}mingw32-libgadu-1.12.0rc3-6.1.noarch.rpm libgadu 1.12.0rc3-6.1 sha1sum:ec2f3ccbc850c29bb26318a46ccba4db39b0a328"
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
142 ALL+="ARC_LIBGADU "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
143
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
144 ARC_LIBGCC="${DOWNLOAD_HOST}mingw32-libgcc-4.8.2-3.7.noarch.rpm libgcc 4.8.2-3.7 sha1sum:91ab8f6881ce1004dda5279920742f78743e897b"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
145 ALL+="ARC_LIBGCC "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
146
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
147 ARC_LIBGMP="${DOWNLOAD_HOST}mingw32-libgmp-5.0.5-2.2.noarch.rpm libgmp 5.0.5-2.2 sha1sum:30c8c403d4d2dead7674e567d83c8c069b603e49"
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
148 ALL+="ARC_LIBGMP "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
149
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
150 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
151 ALL+="ARC_LIBGNURX "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
152
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
153 ARC_LIBHB="${DOWNLOAD_HOST}mingw32-libharfbuzz-0.9.19-3.5.noarch.rpm libharfbuzz 0.9.19-3.5 sha1sum:a31cd8ed4a7a8b75cf7b1252706f79b19e612d68"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
154 ALL+="ARC_LIBHB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
155
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
156 ARC_LIBHOGWEED="${DOWNLOAD_HOST}mingw32-libhogweed-2.7-2.2.noarch.rpm libhogweed 2.7-2.2 sha1sum:c22ea84a8a5037be6021f9494b8252861dee63b5"
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
157 ALL+="ARC_LIBHOGWEED "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
158
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
159 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
160 ALL+="ARC_LIBJASPER "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
161
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
162 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
163 ALL+="ARC_LIBICU "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
164
35905
e123a17b6c0b win32: add missing dependencies (libidn and ncurses)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35904
diff changeset
165 ARC_LIBIDN="${DOWNLOAD_HOST}mingw32-libidn-1.22-3.8.noarch.rpm libidn 1.22-3.8 sha1sum:2052ea6fc2e789b2c252f621a7134ea4286cf5cc"
e123a17b6c0b win32: add missing dependencies (libidn and ncurses)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35904
diff changeset
166 ALL+="ARC_LIBIDN "
e123a17b6c0b win32: add missing dependencies (libidn and ncurses)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35904
diff changeset
167
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
168 ARC_LIBINTL="${DOWNLOAD_HOST}mingw32-libintl-0.18.1.1-15.11.noarch.rpm libintl 0.18.1.1-15.11 sha1sum:29812544f7362dde1378f71feb31fed4f9cb640e"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
169 ALL+="ARC_LIBINTL "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
170
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
171 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
172 ALL+="ARC_LIBJPEG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
173
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
174 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
175 ALL+="ARC_LIBJSON "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
176
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
177 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
178 ALL+="ARC_LIBLZMA "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
179
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
180 ARC_LIBNETTLE="${DOWNLOAD_HOST}mingw32-libnettle-2.7-2.2.noarch.rpm libnettle 2.7-2.2 sha1sum:45337e6ccb46c0752d2761b6c48a20e97dd09195"
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
181 ALL+="ARC_LIBNETTLE "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
182
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
183 ARC_LIBP11="${DOWNLOAD_HOST}mingw32-libp11-kit0-0.20.1-4.3.noarch.rpm libp11 0.20.1-4.3 sha1sum:ee5b7a3e16b29f26ee1c275d8228ba0bb6a27190"
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
184 ALL+="ARC_LIBP11 "
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
185
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
186 ARC_LIBPNG="${DOWNLOAD_HOST}mingw32-libpng-1.5.17-2.11.noarch.rpm libpng 1.5.17-2.11 sha1sum:ff2c29197b5529d2cdc936f7b2b61af5c1175d29"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
187 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
188
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
189 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
190 ALL+="ARC_LIBSILC "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
191
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
192 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
193 ALL+="ARC_LIBSILCCL "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
194
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
195 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
196 ALL+="ARC_LIBSOUP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
197
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
198 ARC_LIBSSP="${DOWNLOAD_HOST}mingw32-libssp-4.8.2-3.7.noarch.rpm LibSSP 4.8.2-3.7 sha1sum:bc42038985d5c75dd3b1511849db2c9f80dbbd7e"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
199 ALL+="ARC_LIBSSP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
200
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
201 ARC_LIBSTDCPP="${DOWNLOAD_HOST}mingw32-libstdc++-4.8.2-3.7.noarch.rpm libstdc++ 4.8.2-3.7 sha1sum:1f9779c16afb0bbfab6dc79389cf6f6198292062"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
202 ALL+="ARC_LIBSTDCPP "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
203
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
204 ARC_LIBTASN="${DOWNLOAD_HOST}mingw32-libtasn1-3.3-3.2.noarch.rpm libtasn 3.3-3.2 sha1sum:3d5bb0df8eb7ed5e3f05b5378d3d61dbbbdbbd3f"
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
205 ALL+="ARC_LIBTASN "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
206
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
207 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
208 ALL+="ARC_LIBTIFF "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
209
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
210 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
211 ALL+="ARC_LIBXML "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
212
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
213 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
214 ALL+="ARC_LIBXSLT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
215
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
216 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
217 ALL+="ARC_MEANW "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
218
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
219 ARC_MOZNSS="${DOWNLOAD_HOST}mingw32-mozilla-nss-3.14.5-3.9.noarch.rpm NSS 3.14.5-3.9 sha1sum:434bcb5073bae6d16ab248280b2b033507d20453"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
220 ALL+="ARC_MOZNSS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
221
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
222 ARC_MOZNSPR="${DOWNLOAD_HOST}mingw32-mozilla-nspr-4.10.2-2.8.noarch.rpm NSPR 4.10.2-2.8 sha1sum:ca61d4453042725e4f700a4b51859dc5f58110c4"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
223 ALL+="ARC_MOZNSPR "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
224
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
225 ARC_NCURSES="${DOWNLOAD_HOST}mingw32-ncurses-5.9-20140422.1.noarch.rpm ncurses 5.9-20140422.1 sha1sum:4873c22e5f67d0bc72bbb89b71a3967bce6067e0"
35905
e123a17b6c0b win32: add missing dependencies (libidn and ncurses)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35904
diff changeset
226 ALL+="ARC_NCURSES "
e123a17b6c0b win32: add missing dependencies (libidn and ncurses)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35904
diff changeset
227
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
228 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
229 ALL+="ARC_PANGO "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
230
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
231 ARC_PIXMAN="${DOWNLOAD_HOST}mingw32-pixman-0.30.0-3.10.noarch.rpm pixman 0.30.0-3.10 sha1sum:ed63261f29c356a58276435df013376e688a3a6b"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
232 ALL+="ARC_PIXMAN "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
233
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
234 ARC_PROTOBUFC="${DOWNLOAD_HOST}mingw32-protobuf-c-0.15-6.1.noarch.rpm protobuf-c 0.15-6.1 sha1sum:b58ef0aca3c99d956479ec1510e3ca62d79a443f"
35139
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
235 ALL+="ARC_PROTOBUFC "
c30787ce6256 Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35138
diff changeset
236
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
237 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
238 ALL+="ARC_PTHREADS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
239
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
240 ARC_SQLITE="${DOWNLOAD_HOST}mingw32-libsqlite3-0-3.8.4.1-1.4.noarch.rpm SQLite 3.8.4.1-1.4 sha1sum:1c42db1a48f616d824c3ae8e0a8eb0693ddac88f"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
241 ALL+="ARC_SQLITE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
242
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
243 ARC_VV_FARST="${DOWNLOAD_HOST}mingw32-farstream-0.1.2-5.3.noarch.rpm farstream 0.1.2-5.3 sha1sum:0334213ece2f339cba38aff9290ef07238763c5c"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
244 ALL+="ARC_VV_FARST "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
245
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
246 ARC_VV_GST="${DOWNLOAD_HOST}mingw32-gstreamer-0.10.36-6.3.noarch.rpm GStreamer 0.10.36-6.3 sha1sum:3fd80dfc05c64f277d787c60799638701e0f058e"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
247 ALL+="ARC_VV_GST "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
248
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
249 ARC_VV_GST_LIB="${DOWNLOAD_HOST}mingw32-libgstreamer-0.10.36-6.3.noarch.rpm GStreamer-libgstreamer 0.10.36-6.3 sha1sum:eef44d1ff93f0c2ddffdbaecc65f08a5617b4724"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
250 ALL+="ARC_VV_GST_LIB "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
251
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
252 ARC_VV_GST_INT="${DOWNLOAD_HOST}mingw32-libgstinterfaces-0.10.36-5.4.noarch.rpm GStreamer-interfaces 0.10.36-5.4 sha1sum:d974b38c1da02191103c253e27a15ec7f160000f"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
253 ALL+="ARC_VV_GST_INT "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
254
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
255 ARC_VV_GST_PLBAD="${DOWNLOAD_HOST}mingw32-gst-plugins-bad-0.10.23-5.4.noarch.rpm GStreamer-plugins-bad 0.10.23-5.4 sha1sum:d2754a1358edab0c06b4038123274025f58af6ef"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
256 ALL+="ARC_VV_GST_PLBAD "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
257
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
258 ARC_VV_GST_PLBASE="${DOWNLOAD_HOST}mingw32-gst-plugins-base-0.10.36-5.4.noarch.rpm GStreamer-plugins-base 0.10.36-5.4 sha1sum:9e642d5a1e71dfeaa5b38b7ebf0ade4442ee763b"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
259 ALL+="ARC_VV_GST_PLBASE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
260
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
261 ARC_VV_GST_PLGOOD="${DOWNLOAD_HOST}mingw32-gst-plugins-good-0.10.31-5.4.noarch.rpm GStreamer-plugins-good 0.10.31-5.4 sha1sum:3e0daa815e4d51749fc6d2e9353245d09ee9854d"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
262 ALL+="ARC_VV_GST_PLGOOD "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
263
36106
54633b4e4a98 win32: switch to the official opensuse mingw32 binaries (from twasilczyk's packages)
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35912
diff changeset
264 ARC_VV_LIBNICE="${DOWNLOAD_HOST}mingw32-libnice-0.1.4-5.3.noarch.rpm libnice 0.1.4-5.3 sha1sum:abbabaa03d81202f2d78adca2b833d1072dfecf0"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
265 ALL+="ARC_VV_LIBNICE "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
266
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
267 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
268 ALL+="ARC_VV_LIBOGG "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
269
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
270 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
271 ALL+="ARC_VV_LIBTHEORA "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
272
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
273 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
274 ALL+="ARC_VV_LIBVORBIS "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
275
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
276 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
277 ALL+="ARC_WEBKITGTK "
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
278
35906
9baff8e0812f win32: update bunch of dependencies
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35905
diff changeset
279 ARC_ZLIB="${DOWNLOAD_HOST}mingw32-zlib-1.2.8-2.6.noarch.rpm zlib 1.2.8-2.6 sha1sum:bb75b2a341309eb75daacb93d43d6c072c71923c"
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
280 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
281
29806
aface02b85bc mkdir -p is better than checking for directory existence
Daniel Atallah <datallah@pidgin.im>
parents: 29798
diff changeset
282 mkdir -p $STAGE_DIR
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
283 mkdir -p $STAGE_DIR/src
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
284 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
285
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
286 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
287 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
288
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
289 rm -rf $SRC_INSTALL_DIR
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
290 mkdir $SRC_INSTALL_DIR
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
291
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
292 #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
293 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
294
35904
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
295 if [ $is_win32 = "yes" ]; then
35138
77d7303db326 Move all win32 deps from my dropbox to pidgin.im
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34270
diff changeset
296 CPIO_URL="https://pidgin.im/~twasilczyk/win32/devel-deps/cpio/bsdcpio-3.0.3-1.4.tar.gz"
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
297 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
298 CPIO_DIR="bsdcpio"
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
299 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
300 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
301 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
302 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
303 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
304 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
305 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
306 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
307 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
308 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
309 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
310 fi
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
311 rm -rf "$CPIO_DIR"
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
312 mkdir "$CPIO_DIR"
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
313 tar xf "$FILE" --strip-components=1 --directory="$CPIO_DIR" || exit 1
35904
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
314 BSDCPIO=bsdcpio/bsdcpio.exe
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
315 else
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
316 BSDCPIO=`which bsdcpio`
778834c9b236 cross-win32: fix generate_gtk_zip.sh for linux
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35297
diff changeset
317 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
318
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
319 function rpm_install {
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
320 PKG_NAME=${NAME%%\ *}
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
321 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
322 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
323 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
324 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
325 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
326 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
327 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
328 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
329 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
330 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
331 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
332 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
333 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
334 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
335 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
336 else
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
337 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
338 fi
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
339 }
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
340
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
341 function validate_file {
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
342 VALIDATION=$1
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
343 FILE=$2
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
344 VALIDATION_TYPE=${VALIDATION%%:*}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
345 VALIDATION_VALUE=${VALIDATION##*:}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
346 if [ $VALIDATION_TYPE == 'sha1sum' -o $VALIDATION_TYPE == 'sha256sum' ]; then
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
347 CHECK_SUM=`$VALIDATION_TYPE "$FILE"`
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
348 CHECK_SUM=${CHECK_SUM%%\ *}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
349 if [ "$CHECK_SUM" != "$VALIDATION_VALUE" ]; then
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
350 echo "$VALIDATION_TYPE ($CHECK_SUM) for $FILE doesn't match expected value of $VALIDATION_VALUE"
33409
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
351 exit 1
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
352 fi
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
353 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
354 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
355 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
356 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
357 fi
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
358 #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
359 #This doesn't use $GPG_SIGN because we don't this validation to be bypassed when people are skipping signing output
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
360 GPG_BASE="gpg -q --keyring $STAGE_DIR/$VALIDATION_VALUE-keyring.gpg"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
361 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
362 || `$GPG_BASE --list-keys "$VALIDATION_VALUE" > /dev/null && echo -n "0"` -ne 0 ]]; then
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
363 touch "$STAGE_DIR/$VALIDATION_VALUE-keyring.gpg"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
364 $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
365 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
366 $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
367 else
fb9fe934688e Use the gpg signature, if available to validate downloaded GTK+ components
Daniel Atallah <datallah@pidgin.im>
parents: 33408
diff changeset
368 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
369 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
370 fi
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
371 }
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
372
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
373 function download_and_validate {
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
374 PREFIX=$1
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
375 URLS=$2
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
376 VALIDATIONS=$3
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
377 EXTRACT=$4
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
378 OLD_IFS=$IFS
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
379 IFS='|'
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
380 URL_SPLIT=($URLS)
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
381 VALIDATION_SPLIT=($VALIDATIONS)
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
382 IFS=$OLD_IFS
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
383
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
384 if [ ${#URL_SPLIT[@]} -ne ${#VALIDATION_SPLIT[@]} ]; then
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
385 echo "URL and validation counts don't match for $VAL"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
386 exit 1
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
387 fi
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
388
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
389 if [ "x$PREFIX" != "x" ]; then
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
390 mkdir -p "$PREFIX"
30305
00c325754ef7 Add support for the binaries built by the opensuse build service to the
Daniel Atallah <datallah@pidgin.im>
parents: 29862
diff changeset
391 fi
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
392
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
393 LEN=${#URL_SPLIT[@]}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
394 for (( i = 0; i < ${LEN}; i++ )); do
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
395 URL=${URL_SPLIT[$i]}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
396 VALIDATION=${VALIDATION_SPLIT[$i]}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
397 FILE=${PREFIX}$(basename $URL)
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
398 if [ ! -e "$FILE" ]; then
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
399 echo Downloading $FILE for $NAME ...
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
400 download "$URL" "$FILE" || exit 1
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
401 else
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
402 echo "Extracting $NAME"
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
403 fi
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
404 validate_file "$VALIDATION" "$FILE"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
405 EXTENSION=${FILE##*.}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
406 #This is an OpenSuSE build service RPM
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
407 if [ $EXTRACT == "1" ]; then
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
408 if [ $EXTENSION == 'rpm' ]; then
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
409 rm -rf $MINGW_DIR_TOP
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
410 $BSDCPIO --quiet -f etc/fonts/conf.d -di < $FILE || exit 1
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
411 rpm_install
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
412 rm -rf $MINGW_DIR_TOP
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
413 else
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
414 unzip -q "$FILE" -d "$INSTALL_DIR" || exit 1
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
415 fi
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
416 else
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
417 mkdir -p "$SRC_INSTALL_DIR/$PREFIX"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
418 cp "$FILE" "$SRC_INSTALL_DIR/$FILE"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
419 fi
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
420 done
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
421 }
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
422
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
423 function process_package {
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
424 SPLIT=($1)
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
425 URL=${SPLIT[0]}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
426 NAME="${SPLIT[1]} ${SPLIT[2]}"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
427 VALIDATION=${SPLIT[3]}
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
428 download_and_validate "" "$URL" "$VALIDATION" "1"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
429
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
430 # SRC_URL=${SPLIT[4]}
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
431 # SRC_VALIDATION=${SPLIT[5]}
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
432 # download_and_validate "src/$NAME/" "$SRC_URL" "$SRC_VALIDATION" "0"
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
433
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
434 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
435 }
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
436
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
437 MINGW_DIR="usr/i686-w64-mingw32/sys-root/mingw"
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
438 MINGW_DIR_TOP="usr"
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
439
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
440 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
441 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
442 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
443 VAR=${!VAL}
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
444 SPLIT=($VAR)
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
445 # if [ ${#SPLIT[@]} -lt 6 ]; then
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
446 if [ ${#SPLIT[@]} -lt 4 ]; then
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
447 echo "$VAL has only ${#SPLIT[@]} attributes"
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
448 exit 1
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
449 fi
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
450 process_package "$VAR"
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
451 done
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
452
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
453 rm -rf $CPIO_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
454
33961
3bd03baab70d VV: it works on win32 now, enable it
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33942
diff changeset
455 #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
456 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
457 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
458
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
459 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
460
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
461 #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
462 #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
463
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
464 #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
465 #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
466 #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
467 # 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
468 # 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
469 # 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
470 # 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
471 # 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
472 #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
473
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
474 #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
475 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
476 zip -9 -r $ZIP_FILE Gtk
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
477
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
478 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
479 ($GPG_SIGN -ab $ZIP_FILE && $GPG_SIGN --verify $ZIP_FILE.asc) || exit 1
36308
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
480 (cd $SRC_INSTALL_DIR/src && zip -9 -r $SRC_ZIP_FILE *)
4432aff3b90d Merge with release-2.x.y
Daniel Atallah <datallah@pidgin.im>
parents: 36106 36307
diff changeset
481 ($GPG_SIGN -ab $SRC_ZIP_FILE && $GPG_SIGN --verify $SRC_ZIP_FILE.asc) || exit 1
33904
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
482 else
623ab8519076 win32: fix gtk runtime generation script
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33876
diff changeset
483 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
484 fi
36297
41f86d6ff6b0 win32: update gtk+ download to generate a source zip. Refs #16502
Daniel Atallah <datallah@pidgin.im>
parents: 35283
diff changeset
485
30312
d2cb1662df79 Improve error handling
Daniel Atallah <datallah@pidgin.im>
parents: 30305
diff changeset
486 exit 0

mercurial