Commit Graph

296 Commits

Author SHA1 Message Date
Tony Theodore c8ae0e2798 waf: unpack in build dir and don't install for general use 2018-03-12 14:28:14 +11:00
Tony Theodore 4f21088b48 build-pkg: build nonet and check-reqs early, ignore .waf* artefacts 2018-03-12 14:28:14 +11:00
Tony Theodore 38c43b5017 sub makefiles: standardize names and add to build-pkg 2018-03-12 14:28:14 +11:00
Tony Theodore 02e11b8dc1 build-pkg: add usage notes for pkg list and dry run 2018-03-12 14:28:14 +11:00
Tony Theodore b7d071aaca build-pkg.lua: update debian deps and notes for other systems
closes #2065
2018-03-05 21:59:24 +11:00
Tony Theodore 9d39a40a2b Makefile and build-pkg: use {pkg}~{target} directly
Required for the case where a cross package is independent of it's
native package (e.g. libiconv) and the native pkg may not have been
built in the dep chain. Calling:
```
make pkg MXE_TARGETS=...
```
will then cause `make` to build the native pkg as well. (MXE_TARGETS
is still required otherwise it will be picked up from settings.mk)
2017-12-23 08:19:00 +11:00
Tony Theodore 3a26dafbd1 add virtual toolchain package cc 2017-12-23 08:18:52 +11:00
Tony Theodore 51217e01d2 updates: move to separate file and add generic updater function 2017-11-18 16:19:55 +11:00
Tony Theodore 9afe25191d s3-fetch-and-sync: cleanup log (make clean-junk removed) 2017-11-13 13:43:49 +11:00
Tony Theodore 75417437a2 Makefile and s3: add mxe mirror and tidy output 2017-11-13 11:20:54 +11:00
Tony Theodore ba358185fa Makefile: also create suffixed archives for backup downloads
See:
https://github.com/mxe/mxe/pull/1681#issuecomment-280887497
2017-11-12 15:07:21 +11:00
Tony Theodore 2461c19dab build-pkg: exclude waf cache directory
When `waf` executes, it creates a cache directory in:
`./usr/$(BUILD)/bin/.waf-<version>-<checksum>`

This causes conflicting files in `build-pkg` (see #1840) and should
be blacklisted.
2017-10-31 23:34:15 +11:00
Tony Theodore b815f6cc2d tools/skeleton.py: update pkg-config template 2017-10-30 15:14:03 +11:00
Tony Theodore e8fdb8f0f7 run make cleanup-style 2017-10-10 16:22:37 +11:00
Boris Nagaev e54509e5f0 Merge pull request #1908 from LuaAndC/build-pkg-installed-size
build-pkg, Debian: set Installed-Size field
2017-09-29 02:53:07 +01:00
Boris Nagaev ce28d4e5bf Merge pull request #1907 from LuaAndC/build-pkg-ignore-some-gitkeep
build-pkg: blacklist {installed,lib}/.gitkeep
2017-09-27 00:11:38 +01:00
Boris Nagaev 9c20c227f2 build-pkg, Debian: set Installed-Size field
See https://github.com/mxe/mxe/issues/1886#issuecomment-325927828
2017-09-24 18:22:36 +02:00
Boris Nagaev 74e2d77090 build-pkg: blacklist {installed,lib}/.gitkeep
The following files are installed by both cmake-conf and mxe-conf:

usr/i686-w64-mingw32.shared/installed/.gitkeep
usr/i686-w64-mingw32.static/installed/.gitkeep
usr/x86_64-unknown-linux-gnu/installed/.gitkeep
usr/x86_64-unknown-linux-gnu/lib/.gitkeep
usr/x86_64-w64-mingw32.shared/installed/.gitkeep
usr/x86_64-w64-mingw32.static/installed/.gitkeep

In all cases a package installs other files to the same library, so these
.gitkeep files can be safely added to the blacklist.

See https://github.com/mxe/mxe/issues/1886#issuecomment-331719282
2017-09-24 18:01:04 +02:00
Boris Nagaev c17f035098 build-pkg: pack empty packages as well
See https://github.com/mxe/mxe/issues/1886#issue-253920956
See https://github.com/mxe/mxe/issues/968
2017-09-24 17:49:28 +02:00
Boris Nagaev 9971cb923a Merge pull request #1903 from LuaAndC/misspell
fix typos found by misspell tool
2017-09-24 15:42:51 +01:00
Boris Nagaev d2d244a9ea fix typos found by misspell tool 2017-09-24 16:37:34 +02:00
Boris Nagaev df1ed2b339 build-pkg: ignore all copies of nonetwork.so
See https://github.com/mxe/mxe/issues/1886#issuecomment-325927308
2017-09-24 16:35:41 +02:00
Gregorio Litenstein be2e33c9d4 copydlldeps.sh: Fixes for macOS.
The current version fails in macOS due to some differences in “find” and “cp”. This takes that into account.
2017-07-22 11:49:48 -04:00
Gregorio Litenstein c0ba8a7e27 copydlldeps.sh: Fix syntax error (missing space) 2017-07-22 11:49:35 -04:00
Viktor Szakats d916c63717 secure URLs 2017-05-19 11:12:41 +00:00
Tony Theodore 66a638e420 tools/skeleton.py: add gh_conf support 2017-03-19 00:39:19 +11:00
Viktor Szakats f91b7de2dd add option to install Linux packages as well 2017-03-14 20:50:23 +00:00
Viktor Szakats e1471ec055 rewrite hardcoded absolute paths 2017-03-14 16:08:02 +00:00
Viktor Szakats d37b0deb49 use curl+gpg instead of relying on gpg's curling capabilities 2017-03-14 16:08:00 +00:00
Viktor Szakats db4ce95e85 refer to LICENSE.md, TOFIX->FIXME 2017-03-14 13:14:41 +00:00
Viktor Szakats 466e24cf4e add bash script to install packages on non-Linux systems
*BSD systems are currently supported and macOS actually tested.

Ref: https://github.com/mxe/mxe/issues/1708
2017-03-13 12:39:25 +00:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Boris Nagaev 19de5951d0 build-pkg: disable usr/share/gtk-doc
This path is buggy.
Packages installing files there have options --disable-gtk-doc
and --disable-gtk-doc-html, but they don't help.
2017-03-05 04:08:11 +01:00
Boris Nagaev 4a7b9526f0 add tools to create and update backup of packages 2017-01-07 05:19:09 +01:00
Boris Nagaev cf8930dde0 skeleton.py: put website and description to .mk
... instead of index.html

See https://github.com/mxe/mxe/issues/1422
2016-12-22 22:28:29 +01:00
Boris Nagaev f06ef1c01b mv docs/versions.json docs/packages.json
See https://github.com/mxe/mxe/issues/1422
2016-12-22 22:25:48 +01:00
Boris Nagaev a0dba601f9 install-deps: install libtool-bin on Debian Sid
See https://github.com/mxe/mxe/issues/1593
2016-12-14 01:02:00 +01:00
Boris Nagaev a3ee6c082c add go to plugins-with-additional-packages.sh 2016-11-19 01:21:19 +03:00
Boris Nagaev c14f15b447 skeleton.py: use shutil.move instead of os.rename
Function os.rename fails if files are in different filesystems,
e.g. if /tmp is mounted as tmpfs.
2016-10-29 01:19:37 +03:00
Boris Nagaev 846b981165 build-pkg: system requirements are recommendations
... not dependencies.

fix #1537
2016-10-12 04:11:40 +03:00
Boris Nagaev 767bf6f3e1 travis: download packages of plugins as well
List of plugins with additional packages was moved from s3-fetch-and-sync
to plugins-with-additional-packages.sh.
2016-09-16 22:53:48 +03:00
Boris Nagaev 185d92c30a travis-push.sh: do not push to gh-pages
See https://github.com/mxe/mxe/pull/1503#issuecomment-241625181
2016-08-27 12:31:30 +03:00
Boris Nagaev 4e8c132550 move CNAME to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev 8e35c23242 move index.html to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
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
2016-08-27 12:31:30 +03:00
Boris Nagaev f5567f2c37 mv versions.json build-matrix.html assets docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev d0e424038e rename doc/ to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +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
Boris Nagaev 1a59d510a6 build-pkg: fix crash if package breaks in 1st pass
fix https://github.com/mxe/mxe/issues/1471
2016-08-03 02:19:43 +03:00
Boris Nagaev 0e45796eeb build-pkg: track all files including gitignored
See https://github.com/mxe/mxe/pull/1443#issuecomment-233181951
2016-07-20 11:37:49 +03:00