Changeset d752afd in git


Ignore:
Timestamp:
18/01/14 23:26:12 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
45c9d00
Parents:
963e611
Message:

buildmacosx.sh: Update to use wx 3.0.0, and add a checksum check for
the downloaded wx sources. Thanks to David A. Riggs for his work on
getting the Mac OS X build going with wx 3.0.0.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r963e611 rd752afd  
     1Sat Jan 18 23:24:47 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * buildmacosx.sh: Update to use wx 3.0.0, and add a checksum check for
     4          the downloaded wx sources.  Thanks to David A. Riggs for his work on
     5          getting the Mac OS X build going with wx 3.0.0.
     6
    17Sat Jan 18 23:09:12 GMT 2014  Olly Betts <olly@survex.com>
    28
  • buildmacosx.sh

    r963e611 rd752afd  
    3232# following requirements:
    3333#   - It must be built with OpenGL support (--with-opengl).
    34 #   - It must be the Carbon version.
    3534#   - It probably should be a "Unicode" build (--enable-unicode).
    3635
    3736set -e
    3837
    39 # 2.8.12 doesn't work:
    40 # /bin/sh: line 0: cd: ../build/bakefiles/wxpresets/presets: No such file or directory
    41 # cp: wx.bkl: No such file or directory
    42 # [...]
    43 WXVERSION=2.8.11
     38WXVERSION=3.0.0
     39WX_SHA256=ff340539bcb6e45d8dbce848d3c13ebce34da6ffb9004a0a88e9541bec45bf85
    4440
    4541# Sadly, you can only specify one arch via -arch at a time (a restriction of
     
    6056    wxtarball=wxWidgets-$WXVERSION.tar.bz2
    6157    test -f "$wxtarball" || \
    62       curl -O "ftp://ftp.wxwidgets.org/pub/$WXVERSION/$wxtarball"
     58      curl -O "http://ftp.wxwidgets.org/pub/$WXVERSION/$wxtarball"
     59    if echo "$WX_SHA256  $wxtarball" | shasum -a256 -c ; then
     60      : # OK
     61    else
     62      echo "Checksum of downloaded file '$wxtarball' is incorrect, aborting."
     63      exit 1
     64    fi
    6365    echo "+++ Extracting $wxtarball"
    6466    test -d "wxWidgets-$WXVERSION" || tar jxf "$wxtarball"
Note: See TracChangeset for help on using the changeset viewer.