Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to v2.14.1 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ This Cygwin/MSYS tool creates a build environment for Pidgin on Windows, automat
## License and copyright

Copyright (c) 2012-2016 Renato Silva.
Copyright (c) 2021 Jeremiah Blanchard.
Licensed under the terms of the [3-clause BSD license](LICENSE).
14 changes: 8 additions & 6 deletions pidgin-windev.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#!/bin/bash
#!/usr/bin/env bash

version="2016.6.27"
pidgin_version="2.11.0"
version="2021.03.10"
pidgin_version="2.14.1"
devroot="$1"
path="$2"

if [[ "$1" = -* || -z "$devroot" || ( -n "$path" && "$path" != --path ) ]]; then echo "
Pidgin Windows Development Setup ${version}
Target Pidgin version ${pidgin_version}
Copyright 2012-2016 Renato Silva
Copyright 2021 Jeremiah Blanchard
Licensed under BSD

This Cygwin/MSYS script sets up a Windows build environment for Pidgin in
Expand Down Expand Up @@ -80,7 +81,7 @@ intltool="intltool_0.40.4-1_win32"
perl_version="5.20.1.1"
perl="strawberry-perl-$perl_version-32bit"
perl_dir="strawberry-perl-${perl_version%.*}"
pidgin_base_url="https://developer.pidgin.im/static/win32"
pidgin_base_url="http://developer.pidgin.im/static/win32"
gnome_base_url="http://ftp.gnome.org/pub/gnome/binaries"
mingw_base_url="http://sourceforge.net/projects/mingw/files/MinGW/Base"
mingw_gcc44_url="$mingw_base_url/gcc/Version4/Previous%20Release%20gcc-4.4.0"
Expand All @@ -95,12 +96,13 @@ available() {

download() {
filename="${2%/download}"
[ $filename == $2 ] && filename="${2%/}"
filename="${filename##*/}"
info "Fetching" "$filename"
file="$1/$filename"
mkdir -p "$1"
[[ -f "$file" && ! -s "$file" ]] && rm "$file"
[[ ! -e "$file" ]] && { wget --no-check-certificate --quiet --output-document "$file" "$2" || oops "failed downloading from ${2}"; }
[[ ! -e "$file" ]] && { wget --no-hsts --no-check-certificate --quiet --output-document "$file" "$2" || oops "failed downloading from ${2}"; }
}

extract() {
Expand Down Expand Up @@ -176,7 +178,7 @@ echo

# Download GCC
step "Downloading specific MinGW GCC"
download "${cache}/${mingw}" "${mingw_base_url}/binutils/binutils-2.23.1/binutils-2.23.1-1-mingw32-bin.tar.lzma/download"
download "${cache}/${mingw}" "${mingw_base_url}/binutils/binutils-2.24/binutils-2.24-1-mingw32-bin.tar.xz/download"
download "${cache}/${mingw}" "${mingw_base_url}/gcc/Version4/gcc-4.7.2-1/gcc-core-4.7.2-1-mingw32-bin.tar.lzma/download"
download "${cache}/${mingw}" "${mingw_base_url}/gcc/Version4/gcc-4.7.2-1/${gcc_source}.tar.lzma/download"
download "${cache}/${mingw}" "${mingw_base_url}/gcc/Version4/gcc-4.7.2-1/libgcc-4.7.2-1-mingw32-dll-1.tar.lzma/download"
Expand Down