Commit Graph

100 Commits

Author SHA1 Message Date
Boris Nagaev 634d80dc56 gcc5 plugin: update gcc from 5.3 to 5.4
Gcc 5.3 fails to build with gcc 6.
The error message is:

    cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959
See https://github.com/mxe/mxe/pull/1527#issuecomment-256273786
2016-10-29 04:42:11 +03:00
Boris Nagaev 953d7c3f0c luarocks wrapper: remove lock if failed
Luarocks wrapper used to keep lock dir not removed if luarocks process
failed. To run it again, the lock directory should have been removed
manually.
2016-10-27 23:18:38 +03:00
Boris Nagaev aaf961d1ed gcc6 plugin: mark itk problem as resolved 2016-10-26 00:28:30 +03: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
darealshinji 1901a950ff Disable shared libraries for native targets 2016-10-23 00:31:43 +04:00
Boris Nagaev c2012dc328 s/environmental variable/environment variable/
"Environment variable" is more commonly used.
2016-10-02 19:27:32 +03:00
Boris Nagaev 54a3183fc6 keepassx: update download URL
see https://github.com/mxe/mxe/issues/1519
2016-09-10 00:10:55 +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
Mark Brand ee152317c8 update gcc6 overlay 2016-08-24 11:08:25 +02:00
Tony Theodore 4677f44038 gcc6 plugin: remove link to upx fix
issues with gcc6 are only for native builds
2016-08-20 16:31:30 +10:00
Tony Theodore 8a17e67350 gcc6 plugin: link to upx fix 2016-08-17 09:32:21 +10:00
Tony Theodore 0b9341e206 gcc6 plugin: link to ucl fix 2016-08-17 09:28:10 +10: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
Tony Theodore fcbd2fbcc7 Merge pull request #1458 from fiendish/proper_lua_dll_name
Windows Lua DLLs should not start with "lib"
2016-08-06 15:41:10 +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
fiendish b2fee50a51 Use official Lua DLL version naming 2016-07-27 17:19:53 +02: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
Boris Nagaev 1d4a6c891b README of go plugin: use make var. instead of env 2016-07-07 01:47:19 +03:00
Tony Theodore b57e1bc835 go plugin: fix build on darwin
build fails with:

```
fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)
```

building with `-ldflags -linkmode=external`[1] and `CGO_ENABLED=1` has no
affect on `go-native`, it does let `go` bootstrap, but then fails with a
similar error:

```
fatal error: runtime: bsdthread_register error
```

easiest to unset DYLD_INSERT_LIBRARIES - no need to check for `darwin` as it
only exists on that platform.

[1] https://github.com/golang/go/issues/8801#issuecomment-66460009
2016-07-06 19:09:41 +10:00
Boris Nagaev ed68885143 add Go plugin 2016-07-05 12:25:23 +03:00
Tony Theodore b27725c753 plugins/README.md: fix typos 2016-07-05 19:11:51 +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 422eab6f0a plugins/README: expand background and usage 2016-07-05 16:26:15 +10:00
Boris Nagaev 33a6582295 plugins/README: clarify how to enable many plugins
fix #1407
2016-06-30 12:08:21 +03:00
Tony Theodore cead35df4a Merge pull request #1397 from tonytheodore/host-toolchain
Add host toolchain example plugin
2016-06-19 23:27:46 +10:00
Boris Nagaev 4fc76ba64f Merge pull request #1375 from saiarcot895/upstream-poppler-qt5
Add plugin file to compile some libraries with Qt 5 only
2016-06-18 19:59:19 +04:00
Tony Theodore ff8278ad07 add host toolchain example plugin 2016-06-18 16:14:03 +10:00
Martin Müllenhaupt 35909aded2 Update README.md 2016-06-14 21:15:00 +02:00
Tony Theodore fc0f1e98e4 Merge pull request #1366 from rr-/plugin-info
docs: add mini-tutorial on plugins
2016-06-10 16:57:42 +10:00
Saikrishna Arcot 3b3af3e8b9
Simplify overrides, and add shared build support to poppler. 2016-06-05 17:35:41 -05:00
Saikrishna Arcot 62c2fcbb15
Add plugin file to compile some libraries with Qt 5 only (instead of using Qt 4). 2016-06-05 09:48:36 -05:00
Boris Nagaev 9f1a2f567d qbittorrent: link with boost_random, boost_chrono 2016-05-30 13:17:35 +10:00
Boris Nagaev 8bd70f6d44 qbittorrent, libtorrent: Boost.Asio is header only
Fix link errors in qbittorrent after libtorrent-rasterbar 1.1.0.

Disable BOOST_ASIO_SEPARATE_COMPILATION
See http://www.boost.org/doc/libs/1_45_0/doc/html/boost_asio/using.html
2016-05-30 13:17:35 +10:00
Daniel Burr 6ab369edde Always use the included version of libxml 2016-05-29 08:33:26 +02:00
rr- 7f58b03f44 docs: add mini-tutorial on plugins 2016-05-26 23:01:50 +02:00
Tony Theodore 37f5d463d9 add native build of gettext for Ubuntu 14.04 Trusty
fixes #1341
2016-05-09 20:15:44 +10:00
Boris Pek 3b8c39c656 cc6 plugin: update info about wxwidgets pkg in README.md 2016-05-05 19:12:44 +03:00
Boris Pek 0bcfdad559 cc6 plugin: update info about dcmtk pkg in README.md 2016-05-05 16:34:28 +03:00
Boris Pek f913661fba gcc6 plugin: update info about fdk-aac pkg in README.md 2016-05-05 15:13:17 +03:00
Boris Pek 01c5c63fe1 gcc6 plugin: update info about freeimage pkg in README.md 2016-05-04 19:17:51 +03:00