Tony Theodore
5da8168263
allow non-default exception handling targets
7 years ago
Tony Theodore
9bb609a73e
Merge branch 'LuaAndC-levmar-ua' of https://github.com/tonytheodore/mxe into ua
8 years ago
Tony Theodore
48e792b9e7
Makefile: simplify setting default user agent
8 years ago
Tony Theodore
4fa1f12db8
Makefile: fix target validation checks
...
fixes #1497
8 years ago
Boris Nagaev
ff36def5d3
add new packages backup: gitlab
...
See http://lists.nongnu.org/archive/html/mingw-cross-env-list/2017-01/msg00005.html
8 years ago
Boris Nagaev
2a9736d370
make core to be the first item of MXE_PLUGIN_DIRS
...
see https://github.com/mxe/mxe/issues/1614
8 years ago
Boris Nagaev
23c5e209d4
add descriptions and websites to packages.json
...
See https://github.com/mxe/mxe/issues/1422
8 years ago
Boris Nagaev
5d832ebf70
core packages are now a plugin
...
See https://github.com/mxe/mxe/issues/1422
8 years ago
Boris Nagaev
f06ef1c01b
mv docs/versions.json docs/packages.json
...
See https://github.com/mxe/mxe/issues/1422
8 years ago
Boris Nagaev
f1a5deded9
fix detection of openssl in Debian Sid
...
$ openssl --help
Invalid command '--help'; type "help" for a list.
$ echo $?
1
$ openssl help
...
$ echo $?
0
fix https://github.com/mxe/mxe/issues/1593
8 years ago
Boris Nagaev
f82e39dcef
cleanup-deps-style: omit pkgs with derived deps
...
Do not touch lines like this:
$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
...
(src/qt5.mk)
8 years ago
Boris Nagaev
1e9d757021
make cleanup-deps-style aware of plugins
8 years ago
Boris Nagaev
592c429875
fix updating docs/versions.json with plugins
...
fix https://github.com/mxe/mxe/issues/1580
8 years ago
Boris Nagaev
894608bf4d
pkg download: do not append to previous attempt
...
Slow HTTP server with lag for tests:
https://gist.github.com/45472174f8bd97989c1eb9bc64d50468
Fix https://github.com/mxe/mxe/issues/1552
8 years ago
Boris Nagaev
634054b51d
add MXE_PLUGIN_DIRS to autogenerated settings.mk
8 years ago
Boris Nagaev
b826422ab8
add new variables: BUILD_CROSS, BUILD_NATIVE
...
They are useful for applying flags only to cross or only to native targets.
8 years ago
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
8 years ago
Tony Theodore
08ea4ee0e6
Makefile: enable relative paths for SOURCE_TREE
8 years ago
Boris Nagaev
0420370efd
allow to change User Agent; fix levmar download
...
Parameter $(PKG)_UA overrides default user agent used by wget to download
a package. It is needed, because download server www.ics.forth.gr from where
levmar is downloaded, crashes on default user agent Wget/1.13.4.
User agent for levmar was set to MXE. Now the server works.
see https://github.com/mxe/mxe/issues/1519
8 years ago
Boris Nagaev
fa636a2eab
print wget command to download logs
...
This command is useful for downloading problems debugging.
8 years ago
Boris Nagaev
4e8c132550
move CNAME to docs/
...
See https://github.com/mxe/mxe/issues/1500
8 years ago
Boris Nagaev
8e35c23242
move index.html to docs/
...
See https://github.com/mxe/mxe/issues/1500
8 years ago
Boris Nagaev
cce8094fb0
add missing things
...
index.html: make docs/build-matrix.html a link
mxe-activate: add versions.json
add .PHONY for build-matrix.html
8 years ago
Boris Nagaev
f5567f2c37
mv versions.json build-matrix.html assets docs/
...
See https://github.com/mxe/mxe/issues/1500
8 years ago
Boris Nagaev
d0e424038e
rename doc/ to docs/
...
See https://github.com/mxe/mxe/issues/1500
8 years ago
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
8 years ago
Boris Nagaev
d8543d104b
fix MXE_GET_GITHUB_TAGS
...
Error message:
$ make update-package-pire
...
bash: -c: line 0: syntax error near unexpected token `|'
...
Overlooked in b52d3c0c9c
See https://github.com/mxe/mxe/pull/1439
8 years ago
Tony Theodore
ca90832bd7
Makefile: enable local $(PKG)_SOURCE_TREE
...
This is very handy for testing against a local repo, especially when
upstream changes are happening quickly.
See also #183
8 years ago
Boris Nagaev
071e3062f0
remove trailing spaces from main log
8 years ago
Tony Theodore
f88bbe7ffd
Makefile: add BUILD_TYPE [debug | release] varaibles for pkg build rules
8 years ago
Boris Nagaev
b52d3c0c9c
refactor macro MXE_GET_GITHUB_ALL_TAGS
...
It is needed to get full list of tags and apply grep or sed manually.
8 years ago
Tony Theodore
5920eb8de3
Makefile: add `TEST_FILE` to variables for pkg build rules
8 years ago
Tony Theodore
1d75e1f353
Makefile: add SOURCE_DIR and BUILD_DIR variables
...
* use `*.build_` until all packages are converted
see #1159
This commit was amended by Boris Nagaev on Jul 11, 2016.
8 years ago
Tony Theodore
a0a3340772
Makefile: allow packages to specify a list of zero or more patches
8 years ago
Boris Nagaev
b791ffd4e7
Merge pull request #1417 from tonytheodore/make-target-specific
...
Makefile: note use of target-specific variables
8 years ago
Tony Theodore
0030112958
Makefile: note use of target-specific variables
8 years ago
Tony Theodore
85de732ad4
fix multiple downloads of same file
...
see #1415
fixes #1079
8 years ago
Boris Nagaev
aab2b70253
create tmp-*/readonly instead of usr/readonly
...
Removing MXE directory with "rm -rf" used to fail on file
usr/readonly/.gitkeep because directory usr/readonly was readonly.
Now readonly directory is created in tmp-* directory and .gitkeep
is not created for it (because tmp-* is not under usr/).
Problems with removing MXE directory are fixed even in case
of interrupted build.
fix #1221
8 years ago
Tony Theodore
959bb5f85d
fix native plugins when additional dirs are specified
...
When plugins are specified on the command line, automatic native plugins
are not included (for darwin and wheezy):
```
$ make gmsl-print-MXE_PLUGIN_DIRS MXE_PLUGIN_DIRS=plugins/apps/
MXE_PLUGIN_DIRS = plugins/apps/
```
https://www.gnu.org/software/make/manual/make.html#Override-Directive
https://github.com/mxe/mxe/issues/1259#issuecomment-217376756
8 years ago
Thomas Danckaert
31ecd36182
Treat files ending in .tar.Z as gzipped tar files.
8 years ago
Boris Nagaev
3672fda373
add host compiler version to log
...
see #1351
8 years ago
Tony Theodore
580828183a
clarify rationale for env whitelist entries
...
* add EDITOR, PS1, TERM for basic functionality of interactive shells
* separate mxe related variables
* identify source of ACLOCAL_PATH and LD_LIBRARY_PATH
8 years ago
Tony Theodore
632085f2f7
add `nonetwork` lib to `shell` target dependencies
8 years ago
Boris Nagaev
87163ff7be
add "make shell" command
...
It provides interactive shell with the environment of MXE build.
8 years ago
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.
8 years ago
Boris Pek
ad883ac8f9
Makefile: fix make clean target when $$WINEPREFIX directory doesn't exist
8 years ago
Tony Theodore
a2e79fec92
automatically set MXE_PLUGIN_DIRS for native requirements
9 years ago
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
9 years ago
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
9 years ago
Boris Nagaev
adb07e2153
patch-tool-mxe can import all patches of a package
9 years ago
Boris Nagaev
a516d920ef
reimplement patch-tool-mxe in Makefile
...
fix #1063
9 years ago
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
9 years ago
Tony Theodore
7804a5775c
Makefile: don't clean build-matrix.html
9 years ago
Boris Nagaev
d0f9a3df95
print Python version to log
9 years ago
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
9 years ago
Tony Theodore
5ebcb2ebde
Makefile: error on paths with dollar signs
...
see #1085
9 years ago
Tony Theodore
11aee96888
Makefile: add link to gmake issue with spaces in filenames
9 years ago
Alexande B
8d44c858e7
#782 fix, wrong checksum calculation command for OSX
9 years ago
Tony Theodore
d7a5efbbaa
disable doxygen in MXE_CONFIGURE_OPTS
...
fixes #952 and should provide a general solution
9 years ago
Boris Nagaev
b0f15f8a42
add unpacker for .deb files
9 years ago
Tony Theodore
46d0d0dac8
Makefile: remove cmake from requirements check
9 years ago
Tony Theodore
c62b62966b
Makefile: build universal nonetwork.dylib
9 years ago
Tony Theodore
768c11246e
cmake wrapper: use common TryRunResults.cmake
9 years ago
Tony Theodore
79f424fb29
Makefile: echo nonetwork build and remove mkdir in recipe
9 years ago
Tony Theodore
8861c392ef
Makefile: fix nonetwork location and `make -t`
9 years ago
Tony Theodore
2944ccde5d
Makefile: remove *_MAKEFILE boilerplate and enable all-<plugin> target
9 years ago
Tony Theodore
70c4d91a07
Makefile: also disable networking during build on OSX
...
closes #986
9 years ago
Tony Theodore
d6e2ad3805
Makefile: only call UPDATE if rule exists
9 years ago
Tony Theodore
d6c4884455
Makefile: add plugins functionality to include makefiles from MXE_PLUGIN_DIRS
9 years ago
Tony Theodore
cdb7e99dd6
remove optional native pkgs and build-requirements target
9 years ago
Tony Theodore
656d5c5066
Merge pull request #998 from LuaAndC/update-gh-packages
...
MXE_GET_GITHUB_TAGS: new argument, stripped prefix
9 years ago
Tony Theodore
51f6aef1f7
update requirement versions
...
fixes #978
9 years ago
Boris Nagaev
b28501f031
MXE_GET_GITHUB_TAGS: new argument, stripped prefix
9 years ago
Tony Theodore
7875b279d9
Makefile: don't echo nonetwork.so recipe
9 years ago
Boris Nagaev
66514d4c96
set WGET=false when build
...
Prevent $(WGET) from downloading on platforms not supporting LD_PRELOAD.
fix #969
9 years ago
Boris Nagaev
8448d43531
disable networking with LD_PRELOAD when build
...
see #969
9 years ago
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
9 years ago
Tony Theodore
6b1a7962cf
Makefile: filter out MXE_CONF_PKGS for inter-target deps
9 years ago
Tony Theodore
3a462ae25c
Makefile: clean files created by build-pkg
9 years ago
Tony Theodore
a8ed815d82
Makefile: add print-deps-for-build-pkg target with inter-target deps
9 years ago
Tony Theodore
c8dd7556b4
Makefile: enable target deps and native pkg build rules
9 years ago
Boris Nagaev
08d7f265a1
remove strange quote from comment about MXE_TMP
...
see #929
9 years ago
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.
9 years ago
Boris Nagaev
94f55814e9
check-requirements: check for native gdk-pixbuf
...
Check with command `gdk-pixbuf-csource --help`.
close #927
9 years ago
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
9 years ago
Tony Theodore
6c01c7dc55
Makefile: fix download for script only packages
...
fixes #899
also cleanup download-foo dependencies
9 years ago
Tony Theodore
4cbbcfa0b6
Makefile: add note about WINEPREFIX
9 years ago
Tony Theodore
8e2d0e85c5
set WINEPREFIX to a readonly directory to force wine to fail
...
fixes #841
9 years ago
Tony Theodore
7996642c4b
Revert "Make CHECK_PKG_ARCHIVE return true for packages without files"
...
This reverts commit e474e77244
.
9 years ago
Tony Theodore
8a6a33a48c
Makefile: rename CC/CXX_BUILD --> BUILD_CC/CXX
...
somewhat more aligned to the <target>-<tool> convention
9 years ago
Tony Theodore
3db411ccac
Makefile: add CC/CXX_BUILD portability variables
...
fixes #900
9 years ago
Timothy Gu
e474e77244
Make CHECK_PKG_ARCHIVE return true for packages without files
...
Should fix #899 .
9 years ago
Timothy Gu
252128a30b
add macro MXE_GET_GITHUB_TAGS
...
Source: https://github.com/mxe/mxe/pull/649#issuecomment-143390677
9 years ago
Boris Nagaev
b76e14d777
style: move pipe to new line
9 years ago
Tony Theodore
eb7eaa7b9e
Makefile: add cmake shared/static boolean variables
9 years ago
Tony Theodore
fc0ed34fb9
all packages: really use sha256 checksums
9 years ago
Tony Theodore
df6f8926c2
Makefile: add cleanup-deps-style to reorder deps
9 years ago
Tony Theodore
a228c0488f
all packages: switch to sha256 checksums
...
closes #871
9 years ago
Boris Nagaev
164e7435c9
report downloading from backup
9 years ago
Tony Theodore
19d1be38ae
Move general configuration from pkgconf to mxe-conf and add cmake/mxe-conf.d
9 years ago