Commit Graph

385 Commits

Author SHA1 Message Date
Tony Theodore 632085f2f7 add `nonetwork` lib to `shell` target dependencies 2016-04-11 21:04:18 +10:00
Boris Nagaev 87163ff7be add "make shell" command
It provides interactive shell with the environment of MXE build.
2016-04-11 03:30:08 +03:00
Boris Nagaev f11e66f365 fix dependencies of build-matrix.html
Dependencies of build-matrix.html were written without
regarding plugins. It resulted in the following error
on Debian Wheezy (which uses plugin "plugins/native/wheezy/"):

  $ make build-matrix.html
  make: *** No rule to make target `src/autoconf.mk',
  needed by `build-matrix.html'.  Stop.
2016-02-23 17:09:49 +03:00
Boris Pek ad883ac8f9 Makefile: fix make clean target when $$WINEPREFIX directory doesn't exist 2016-02-21 18:03:38 +03:00
Tony Theodore a2e79fec92 automatically set MXE_PLUGIN_DIRS for native requirements 2016-01-31 16:56:58 +11:00
Tony Theodore dfec326366 Makefile and mxe-conf: create basic non-empty directory hierarchy
https://github.com/mxe/mxe/pull/1061/files#r49049496
https://github.com/mxe/mxe/issues/1111#issuecomment-169280181
2016-01-12 15:17:21 +11:00
Boris Nagaev efc287a8d9 move patching functions and targets to patch.mk
See https://github.com/mxe/mxe/pull/1134#issuecomment-168873410
See https://github.com/mxe/mxe/pull/1134#issuecomment-169867926
2016-01-08 15:39:41 +03:00
Boris Nagaev adb07e2153 patch-tool-mxe can import all patches of a package 2016-01-08 15:39:41 +03:00
Boris Nagaev a516d920ef reimplement patch-tool-mxe in Makefile
fix #1063
2016-01-08 15:39:41 +03:00
Boris Nagaev 53a92a86df print Perl version to log
See https://github.com/mxe/mxe/issues/1108#issuecomment-169556116
See https://github.com/mxe/mxe/issues/1112
2016-01-07 17:59:52 +03:00
Tony Theodore 7804a5775c Makefile: don't clean build-matrix.html 2016-01-06 17:15:33 +11:00
Boris Nagaev d0f9a3df95 print Python version to log 2016-01-03 15:09:42 +03:00
Tony Theodore 0ccb9e2f6b Add git commit hash to log and build message
* use short form for build status
* use full hash and refs for logs
* add `TERM` to env whitelist (`git log` assumes a terminal)

closes #1095
2015-12-27 13:59:24 +11:00
Tony Theodore 5ebcb2ebde Makefile: error on paths with dollar signs
see #1085
2015-12-22 20:10:47 +11:00
Tony Theodore 11aee96888 Makefile: add link to gmake issue with spaces in filenames 2015-12-20 15:27:49 +11:00
Alexande B 8d44c858e7 #782 fix, wrong checksum calculation command for OSX 2015-12-13 16:40:06 +03:00
Tony Theodore d7a5efbbaa disable doxygen in MXE_CONFIGURE_OPTS
fixes #952 and should provide a general solution
2015-12-08 18:04:31 +11:00
Boris Nagaev b0f15f8a42 add unpacker for .deb files 2015-12-07 01:15:59 +03:00
Tony Theodore 46d0d0dac8 Makefile: remove cmake from requirements check 2015-12-06 02:42:56 +11:00
Tony Theodore c62b62966b Makefile: build universal nonetwork.dylib 2015-12-02 00:20:11 +11:00
Tony Theodore 768c11246e cmake wrapper: use common TryRunResults.cmake 2015-12-01 20:31:10 +11:00
Tony Theodore 79f424fb29 Makefile: echo nonetwork build and remove mkdir in recipe 2015-11-30 18:45:08 +11:00
Tony Theodore 8861c392ef Makefile: fix nonetwork location and `make -t` 2015-11-30 18:39:57 +11:00
Tony Theodore 2944ccde5d Makefile: remove *_MAKEFILE boilerplate and enable all-<plugin> target 2015-11-30 16:49:34 +11:00
Tony Theodore 70c4d91a07 Makefile: also disable networking during build on OSX
closes #986
2015-11-30 15:05:00 +11:00
Tony Theodore d6e2ad3805 Makefile: only call UPDATE if rule exists 2015-11-30 14:50:10 +11:00
Tony Theodore d6c4884455 Makefile: add plugins functionality to include makefiles from MXE_PLUGIN_DIRS 2015-11-26 16:48:53 +11:00
Tony Theodore cdb7e99dd6 remove optional native pkgs and build-requirements target 2015-11-26 15:01:47 +11:00
Tony Theodore 656d5c5066 Merge pull request #998 from LuaAndC/update-gh-packages
MXE_GET_GITHUB_TAGS: new argument, stripped prefix
2015-11-16 20:25:51 +11:00
Tony Theodore 51f6aef1f7 update requirement versions
fixes #978
2015-11-16 13:33:02 +11:00
Boris Nagaev b28501f031 MXE_GET_GITHUB_TAGS: new argument, stripped prefix 2015-11-15 18:41:26 +03:00
Tony Theodore 7875b279d9 Makefile: don't echo nonetwork.so recipe 2015-11-16 00:04:59 +11:00
Boris Nagaev 66514d4c96 set WGET=false when build
Prevent $(WGET) from downloading on platforms not supporting LD_PRELOAD.

fix #969
2015-11-10 11:19:45 +03:00
Boris Nagaev 8448d43531 disable networking with LD_PRELOAD when build
see #969
2015-11-10 11:19:45 +03:00
Tony Theodore 30b7b7164f enbale MXE_GCC_THREADS and allow target spec <triplet>.<link>.<threads>
* enables optional c++11 <thread>, <mutex>, and <future> in libgcc
* avoid double build advice:
  http://sigrok.org/gitweb/?p=sigrok-util.git;a=blob;f=cross-compile/mingw/README;h=248af546f939a81855dda33142d834eecf2979c2;hb=HEAD#l44
* not heavily tested but should be released for feedback
2015-10-31 20:18:21 +11:00
Tony Theodore 6b1a7962cf Makefile: filter out MXE_CONF_PKGS for inter-target deps 2015-10-27 21:29:47 +11:00
Tony Theodore 3a462ae25c Makefile: clean files created by build-pkg 2015-10-25 12:23:28 +11:00
Tony Theodore a8ed815d82 Makefile: add print-deps-for-build-pkg target with inter-target deps 2015-10-25 12:23:28 +11:00
Tony Theodore c8dd7556b4 Makefile: enable target deps and native pkg build rules 2015-10-25 12:23:27 +11:00
Boris Nagaev 08d7f265a1 remove strange quote from comment about MXE_TMP
see #929
2015-10-16 23:50:15 +03:00
Uwe Koloska 6fa3b9f986 add variable to define directory for tmp-directories
sometimes it's necessary to not build inside the mxe folder. The
variable MXE_TMP can be used to change the base directory for creating
tmp directories that are used for building.

Rationale: when using virtualbox to build the cross-compile environment
and the mxe project is in a shared folder, at least stripping is not
working because of an internal error of the shared filesystem.  So the
solution is to change the tmp-directory to a place inside the VM.
2015-10-14 16:48:15 +02:00
Boris Nagaev 94f55814e9 check-requirements: check for native gdk-pixbuf
Check with command `gdk-pixbuf-csource --help`.

close #927
2015-10-14 01:26:21 +03:00
Boris Nagaev 530d479b4f require patch number to start with a digit
MXE recongized file src/lua-rapidjson-1-use-unix-file-functions.patch
as a patch for lua, however it was intended to be a patch for lua-rapidjson.
Patch filename pattern was src/$(1)-*.patch.
* captured "rapidjson-1-use-unix-file-functions".

Currently * was replaced with [0-9]* to require patch name starting with
a digit.

close #921
2015-10-12 22:24:48 +03:00
Tony Theodore 6c01c7dc55 Makefile: fix download for script only packages
fixes #899

also cleanup download-foo dependencies
2015-10-01 14:52:33 +10:00
Tony Theodore 4cbbcfa0b6 Makefile: add note about WINEPREFIX 2015-10-01 12:38:39 +10:00
Tony Theodore 8e2d0e85c5 set WINEPREFIX to a readonly directory to force wine to fail
fixes #841
2015-09-30 14:57:37 +10:00
Tony Theodore 7996642c4b Revert "Make CHECK_PKG_ARCHIVE return true for packages without files"
This reverts commit e474e77244.
2015-09-30 14:21:34 +10:00
Tony Theodore 8a6a33a48c Makefile: rename CC/CXX_BUILD --> BUILD_CC/CXX
somewhat more aligned to the <target>-<tool> convention
2015-09-30 14:19:47 +10:00
Tony Theodore 3db411ccac Makefile: add CC/CXX_BUILD portability variables
fixes #900
2015-09-30 13:16:47 +10:00
Timothy Gu e474e77244 Make CHECK_PKG_ARCHIVE return true for packages without files
Should fix #899.
2015-09-29 16:29:17 -07:00