Commit Graph

17 Commits

Author SHA1 Message Date
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