commits on Aug 10 2018
success

msys2: don't try to link msys librt and libpthread In cmake on Win32, don't try to find librt or libpthread using find_library(), and on mingw just include -lpthread. For some reason the msys versions of librt and libpthread were being picked up when find_library() was being used.

rkitover authored to master

success

disable gcc stack protector, segfault on 8.2.0 Make gcc -fstack-protector-strong and associated options controlled by the cmake option ENABLE_SSP which defaults to OFF. This option causes a segfault on startup with gcc 8.2.0.

rkitover authored to master

success

fix cmake regression introduced in bfe21aee Before calling list(REMOVE_ITEM ...) check if the variable exists, if it doesn't cmake throws an error.

rkitover authored to master

success

remove -fpermissive compiler flag Remove -fpermissive from the list of flags passed to gcc and clang. Remove -fpermissive from the cxxflags from wxWidgets config as well. When checking wxWidgets ABI compatibility version, temporarily add -fpermissive to compiler flags on Win32 because minhook requires it.

rkitover authored to master

success

support mac-hosted mingw builds, misc. fixes - Add the cross root from the mingw-w64 mac brew to the cmake toolchain files. - Remove strerror_r/strerror_s from ConfigManager.cpp because the mingw-w64 brew does not support strerror_s for some reason. - Strip the vbam executable from the builder script in the build_project phase. - Change the bzip2 URL to the github mirror because the bzip.org domain expired. - Add libuuid as it's required by the new fontconfig, use the mingw version for mingw builds, for mingw also set UUID_LIBS to '-luuid_mingw -luuid' in mingw.sh for fontconfig, the mingw version is called uuid_mingw because uuid is a core win32 library. - Lower glib version to 2.57.2 stable. - Update wxwidgets version to current master sha. - Fix a bug in flex-2.5.3 post_build where it tries to build flex current but flex has been removed, and it was just rebuilding 2.5.3. - Fix "aggressive" relocation and the relocation of .l[ao] and .pc files in install_dist to ignore /usr/local, and only match /usr. - Add a "project" pre_build and post_build hooks. - Add getopt to host-only dists in mingw-cross.sh. - Use perl instead of readlink -f to get the absolute path of the cmake toolchain files in mingw-cross.sh, as readlink -f is linux-only. - In mingw-cross.sh, replace the glib post_build to rebuild gettext-target instead of gettext --without-included-glib. - Add overridable functions set_host_env_hook and unset_host_env_hook in mingw.sh to override in other scripts, in this case mac-cross-builder. - Update mingw glib patches to current fedora versions. - Add tools/win/mac-cross-builder script to build mingw windows binaries on mac, it borrows some necessary parts from the mac native builder for host dists, and inherits from mingw-cross.sh. TODO: currently the resulting mac-built binary segfaults due to gcc 8.2.0, just as the msys2-built binary does, this is a separate issue.

rkitover authored to master

commits on Jun 30 2018
success

builder: disable ccache for openssl ccache can apparently cause issues when building openssl, as I've noticed on Mac OS 10.13, save the original values of $CC and $CXX and pass them to make when building openssl.

rkitover authored to master

success

update changelog for new release

ZachBacon authored to refs/tags/v2.1.0

success

Cleanup

rkitover authored to master

failure

Libretro

retro-wertz authored to libretro

success

Libretro

retro-wertz authored to libretro

success

minor fix for mingw cross build Fix regex that changes the command to rebuild freetype with harfbuzz for cross building, as previous commit fixed that command.

rkitover authored to master

success

support older 32 bit macs running 10.7, fix build Make mac builder use -m32 in CFLAGS etc. to produce a 32 bit binary targetting 10.7 (Lion.) This provides the greatest backward compatibility for older macs, and also allows for asm filters. Fix an issue with m4 on 10.13 using a patch from macports. Support `-pX` patch level args in DIST_PATCHES in builder. Fix an issue with bison on 10.13 by bumping the version to 3.0.5. Build libxslt `--without-crypto` so that it doesn't try to link the brew libgcrypt. Invoke cmake for dists with -DCMAKE_C_COMPILER_LAUNCHER=ccache and -DCMAKE_CXX_COMPILER_LAUNCHER=ccache to use ccache, and set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the actual compilers not prefixed by ccache. When checking for ccache in vbam cmake code, check that CMAKE_CXX_COMPILER_LAUNCHER and CMAKE_C_COMPILER_LAUNCHER were not already defined (generally on the command line.) Remove align attributes from sections in 2xSaImmx.asm, macho format on mac does not support this and the filter works fine without them. In the Quartz2D renderer, pass the NSRect view.bounds through NSRectToCGRect when calling CGContextDrawImage(), this is necessary for the 32 bit API. Bump openssl to 1.0.2o. Bump libxml2 to 2.9.8. Update URL for urw fonts, and improve the dist downloading/unpacking code to handle URLs that do not contain the filename (for .tar.gz and .zip as identified by `file`.) Change post-build for harfbuzz from `rebuild_dist freetype;` to `rebuild_dist freetype --with-harfbuzz=yes;` as it was supposed to have been. Build cmake itself with --parallel and --enable-ccache. Silence errors from killed jobs due to tmp directory being gone. Write a couple of string functions, rtrim() and gsub(). Make path_exists() handle globs with spaces in them, by escaping the space. Use --host and --build args to autoconf configure to "cross-compile" for 32 bits, this is necessary for some dists, and does not work for others, remove it for dists where it does not wor

rkitover authored to master