Commit Graph

29 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore 395864e32c qt5-freeze plugin: enable side-by-side install
Closes #1980
2017-11-18 14:07:21 +11:00
Tony Theodore ab5d9a7185 qttools: read test from current directory and freeze example 5.7 plugin
see: https://github.com/mxe/mxe/issues/1901#issuecomment-333551106
2017-10-10 23:46:31 +11:00
Luke 3f6b2cc041 Update host-toolchain make-w32; the old download package was no longer available 2017-10-10 15:31:48 +11:00
Tony Theodore a6351242b6 winpthreads-host: use mingw-w64 patches 2017-10-09 15:19:53 +11:00
Tony Theodore c8c6aa0720 gcc: workaround parallel build failure 2017-10-09 15:19:53 +11:00
Tony Theodore 762fb617d1 gcc-host plugin: use gcc patches
prevents mismatches when other gcc plugins are used
2017-10-09 15:19:53 +11:00
Tony Theodore 3537ffab03 qt5: read deps from files in current directory
fixes #1901
2017-09-30 17:12:28 +10:00
Tony Theodore 9f793b72dc add qt5 freeze example plugin (e.g. winxp support) 2017-07-19 15:58:24 +10:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Tony Theodore c6a3c25993 gcc cloog: remove unnecessary rules/variables/options 2017-02-04 19:11:48 +11:00
Tony Theodore c255ff8b5a Add options to strip toolchain, executables, and libs
Minimal implementation to strip the [largest files][lf-gist] by
default, mostly made up of gcc/binutils and test programs.

gdal and geos both produce large libraries, but the libs themselves
aren't worth stripping, it's the 20 odd programs produced by gdal
with those libs statically linked that consume the most space.

I'm leaving these undocumented as the defaults seems reasonable and
the interface may well change when we enable debug/release variants.

closes #985
closes #1249

[lf-gist]:https://github.com/mxe/mxe/issues/1249#issuecomment-193392038
2016-10-23 17:59:21 +03:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Tony Theodore ef80a64393 host-tools plugin: install prefixed binutils and strip binaries 2016-08-08 19:45:57 +10:00
Tony Theodore ffda3812ac host-toolchain plugin: fix shared libgcc and qt tools
add winpthreads until gcc is built once per arch #1019

fixes #950
2016-08-07 02:11:13 +10:00
Boris Nagaev 17e40d3884 use $(TEST_FILE) instead of $(2).c and other
The following script was applied:

    set -xue

    find src/ plugins/ -name '*.mk' -type f > mks

    # special cases for test file:
    # ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated
    sed 's@$(2).c@$(PWD)/src/$(PKG)-test.c@g' -i \
        src/{boost,freeimage,hdf5,lapack,sdl,sdl_image,sdl_sound}.mk
    sed 's@$(2).f@$(PWD)/src/$(PKG)-test.f@g' -i src/lapack.mk
    sed 's@$(PWD)/$(2).pro@$(PWD)/src/$(PKG)-test.pro@g' -i \
        src/qt.mk plugins/examples/custom-qt-min/overrides.mk
    sed 's@$(2)-CMakeLists.txt@$(PWD)/src/$(PKG)-test-CMakeLists.txt@g' \
        -i src/{sdl_image,sdl_sound}.mk

    # check
    for base in $(ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated); do
        ! grep -q '$(2)' "${base}.mk"
    done

    # other $(2)
    sed 's@$(2).cpp@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).cxx@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).c@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).ml@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).f@$(TEST_FILE)@g' -i $(cat mks)

    # check
    ! grep '$(2)' $(cat mks)

See https://github.com/mxe/mxe/issues/1452
2016-07-30 22:38:45 +03:00
Tony Theodore bc5c058fe7 host-toolchain plugin: use new BUILD_DIR, SOURCE_DIR, $(PKG)_PATCHES variables 2016-07-16 16:53:58 +10:00
Tony Theodore e9299c0204 host-toolchain plugin: add pkgconf/pkg-config 2016-07-16 16:53:58 +10:00
Tony Theodore 109e905f56 host-toolchain plugin: improve README 2016-07-16 16:53:58 +10:00
Tony Theodore bc77cb384e host-toolchain plugin: binary compare gcc cross and host output 2016-07-16 16:53:58 +10:00
Tony Theodore fd90cc7b6d host-toolchain plugin: add cmake notes 2016-07-16 16:53:58 +10:00
Tony Theodore 884922d11c host-toolchain plugin: build qt5 test and cmake, add `make` binary download 2016-07-16 16:53:58 +10:00
Tony Theodore de9611cfee gcc-host plugin: fix conflict with target libiconv 2016-07-12 14:27:52 +10:00
Tony Theodore ff380791b7 qt5-host-tools: update README 2016-07-09 21:43:17 +10:00
Tony Theodore 0bc628650f add qt5-host-tools example plugin
starting point for #950, builds `qmake.exe`, `rcc.exe`, etc
2016-07-09 21:16:12 +10:00
Tony Theodore 5b666dc479 custom-qt-min plugin: fix for doc example 2016-07-05 16:26:16 +10:00
Tony Theodore f0e9cf6f5d plugins/qt5-deps: move to examples 2016-07-05 16:26:15 +10:00
Tony Theodore ff8278ad07 add host toolchain example plugin 2016-06-18 16:14:03 +10:00
Tony Theodore d466214b55 plugins: move custom-qt-min to examples 2015-12-09 22:07:13 +11:00