Commit Graph

189 Commits

Author SHA1 Message Date
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
Boris Pek f593aef0b2 gcc6 plugin: update info about flann pkg in README.md 2016-05-04 16:45:44 +03:00
Boris Pek 7e3e75cc7a gcc6 plugin: update info about jsoncpp pkg in README.md
GCC 6.x related fix was in 0bc73f7. And it may be interesting
for users who want to use GCC 6.x. As for a1cc019 -- just
cosmetic change for common style in README.
2016-05-04 12:09:29 +03:00
Boris Pek 3414a5d8ff gcc6 plugin: update info about qt3d pkg in README.md 2016-05-04 12:06:32 +03:00
Tony Theodore 3d816111a9 gcc6: link final jsoncpp fix and add note to test earlier gcc versions 2016-05-03 14:15:37 +10:00
Boris Nagaev 0314d3eec1 gcc6: add "static" to static-only packages 2016-05-02 14:18:11 +03:00
Boris Nagaev 0210f16641 gcc6: add 3 more broken packages
* guile
  * ocaml-lablgtk2
  * qtwebkit
2016-05-02 14:18:11 +03:00
Boris Nagaev 1a5234c4d6 gcc6: more space for target column 2016-05-02 14:18:11 +03:00
Boris Nagaev 0fad6ffd4d gcc6: remove "..." from the end of the table 2016-05-02 14:18:11 +03:00
Boris Nagaev 8212c4fb37 gcc6: libical is not broken
Log: https://gist.github.com/8b3c9547b89d3c0ca29762adcf3a7bb5
2016-05-02 14:18:11 +03:00
Tony Theodore d8f1d36d71 Merge pull request #1317 from tehnick/gcc6-plugin
Add gcc6 plugin
2016-05-01 17:40:08 +10:00
Boris Pek 970fa1e617 gcc6 plugin: update README.md 2016-05-01 03:34:41 +03:00
Boris Nagaev c03bcd35dd add package luv to luarocks plugin 2016-04-30 23:35:03 +03:00
Boris Pek 282e6b7907 gcc6 plugin: add README.md with notes about new GCC 2016-04-30 22:09:12 +03:00
Boris Pek 0cbf0b5358 gcc5 plugin: add reserve url to isl sources 2016-04-30 21:50:44 +03:00
Boris Pek 670a6d300d Add gcc6 plugin 2016-04-30 21:50:44 +03:00
Boris Nagaev 2ad80c24c5 update qbittorrent to 3.3.4
The following patches were included in the upstream:

  * convert includes like <Windows.h> to lowercase
    https://github.com/qbittorrent/qBittorrent/pull/4505
  * fix library list
    https://github.com/qbittorrent/qBittorrent/pull/4824
2016-04-18 09:17:42 +03:00
Tony Theodore c351cdd43d add native build of `patch` for darwin (#1295)
same as #1170, MacPorts has `gpatch` but Homebrew and Rudix don't
2016-04-13 00:13:44 +10:00
Boris Nagaev eb68548794 add package "wrk" to plugins/apps
wrk is modern HTTP benchmarking tool.
2016-04-06 22:56:38 +03:00
Boris Nagaev e7ce1f4300 enable native build of luajit in plugin "apps" 2016-04-06 22:56:38 +03:00
Boris Nagaev 5081fb9ab0 tor: fix linking errors if mman-win32 is installed 2016-02-28 13:26:27 +03:00
Tony Theodore ddb0b19de4 add native plugin for wheezy requirements
closes #1177 and #1178
2016-01-31 16:33:31 +11:00
Tony Theodore eae41ccbfd gcc plugin: rename gcc52 to gcc5 and update 5.2.0 --> 5.3.0 2016-01-22 02:42:36 +11:00
Tony Theodore 3a75348797 add gnu patch to native plugins 2016-01-17 13:14:05 +11:00
Boris Nagaev 4f2f9bf806 update luarocks from 2.2.2 to 2.3.0 2016-01-13 23:27:07 +03:00
Boris Nagaev cd9e79dc62 luarocks: unify the patch 2016-01-13 23:27:07 +03:00
Boris Nagaev 199f2e53b8 luarocks wrapper: exit with non-zero on failure 2016-01-13 23:27:07 +03:00
Boris Nagaev b853064a34 qbittorrent: import/export patch
This commit was not ammended into previous commit to
keep diff of previous commit simple.
2016-01-05 23:55:04 +03:00
Boris Nagaev 8e207b6df7 qbittorrent: update from 3.2.3 to 3.3.1
* many files were renamed
  * file filterparserthread.h no longer include Winsock2.h
  * patch "remove unused members of peerlistwidget" was removed
    because peerlistwidget no longer has these members
  * embeded GeoIP.dat is not needed
    https://github.com/qbittorrent/qBittorrent/pull/3186
    remove geoip-database from dependencies
  * --with-qt4=yes (now Qt5 is the default if both present)
  * patch "do not check qmake existance" was improved:
    its target file has multiple equal contexts for the diff
    and it was applied to wrong section; now applying to all
2016-01-05 23:17:28 +03:00
Boris Nagaev 9594d78dd0 qbittorrent: consolidate patches 2016-01-05 17:57:00 +03:00
Boris Nagaev 1974c8ecfe add package "qbittorrent" to plugin "apps"
The qBittorrent project aims to provide a Free Software
alternative to µtorrent. Additionally, qBittorrent runs and
provides the same features on all major platforms (Linux,
Mac OS X, Windows, OS/2, FreeBSD).

qBittorrent is based on Qt4 toolkit and libtorrent-rasterbar.

http://www.qbittorrent.org/

See also https://github.com/mxe/mxe/pull/812
2015-12-12 23:50:14 +03:00
Tony Theodore 62906f9c9d lua: enable native build only in luarocks plugin 2015-12-12 10:29:21 +11:00
Tony Theodore d466214b55 plugins: move custom-qt-min to examples 2015-12-09 22:07:13 +11:00
Tony Theodore 0ce7656f60 move TCL/Tk to plugins/tcl.tk 2015-12-08 12:10:26 +11:00
Tony Theodore e6f1f26114 luarocks: create the lock dir's parent
Source: https://github.com/mxe/mxe/pull/1017#issuecomment-162260698
2015-12-06 05:38:24 +03:00
Boris Nagaev 51a6141cf9 luarocks wrapper prevents race condition
See https://github.com/mxe/mxe/pull/1017#issuecomment-161557440
See http://wiki.bash-hackers.org/howto/mutex
2015-12-06 05:38:24 +03:00
Boris Nagaev ab3635cbd5 remove virtual package all-rocks
> There's also now an automatic all-<plugin> target which is the
> last segment of the plugin path. all-rocks.mk can be removed
> and make all-luarocks MXE_PLUGIN_DIRS=plugins/luarocks ...
> will work.

See #1017
2015-12-06 05:38:24 +03:00
Boris Nagaev e8d8052192 switch to new argument for MXE_GET_GITHUB_TAGS 2015-12-06 05:38:24 +03:00
Boris Nagaev f89bc0824b lpeg.mk, luarocks.mk: s/sort/$(SORT)/ 2015-12-06 05:38:24 +03:00
Boris Nagaev f37f78b541 add _WEBSITE and _OWNER to luarocks/*.mk 2015-12-06 05:38:24 +03:00
Boris Nagaev a79bd18dac install lua symlinks to $(PREFIX)/$(BUILD)/bin
... instead of $(PREFIX)/bin, not to clobber the user's normal
tools.

See #1017
2015-12-06 05:38:24 +03:00
Boris Nagaev 5c58492295 move lua_SHORTVER from luarocks.mk to lua.mk
See #1017
2015-12-06 05:38:23 +03:00
Boris Nagaev c7885483fd luarocks: separate build and install
> install doesn't depend on build so (on OSX) the symlink is
> created first and doesn't have execute permissions. These
> steps should be separated.

See #1017
2015-12-06 05:38:23 +03:00
Boris Nagaev 43cb3196e6 add plugin luarocks
LuaRocks plugin adds

  * package "luarocks"
  * several packages with rocks (lpeg, luasocket, llthreads2, lua-rapidjson)
  * plugins/luarocks/README.md
  * virtual rock "all-rocks" depending on all rocks
  * short test for rocks
2015-12-06 05:38:23 +03:00
Boris Nagaev b885e09922 add package "tor" to plugin "apps"
Tor is free software and an open network that helps you defend
against traffic analysis, a form of network surveillance that
threatens personal freedom and privacy, confidential business
activities and relationships, and state security.

https://www.torproject.org/
2015-12-04 02:10:45 +03:00
Tony Theodore 7ed108ef7a qt-min plugin: echo inclusion of override 2015-12-03 23:15:11 +11:00
Tony Theodore ac63ff22c8 plugins: remove *_MAKEFILE boilerplate 2015-11-30 16:50:24 +11:00
Tony Theodore 710abc5559 gettext, libiconv, libtool native plugins: fix variable redefinition 2015-11-30 16:47:41 +11:00
Tony Theodore 5e63e416b1 plugins: add gcc52 overlay 2015-11-26 16:48:53 +11:00
Tony Theodore 5e6a9e2a66 plugins: add qt override example with minimal deps and custom cflags 2015-11-26 16:48:53 +11:00
Tony Theodore a6ba06c526 add native and apps plugin packages 2015-11-26 16:48:53 +11:00