Commit Graph

274 Commits

Author SHA1 Message Date
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
Lars Engelhard 4d76a91cd2 tools/copydlldeps: removing exit 0 at the end 2016-07-15 22:50:17 +10:00
Lars 0eda283b50 tools/copydlldeps: introducing excludepattern and whitelist of DLLs 2016-07-15 22:50:09 +10:00
Lars 73ae658c4a tools/copydlldeps: multiCall + case insensitivity 2016-07-15 22:50:00 +10:00
Boris Nagaev 38a5c97d0b skeleton: don't truncate index.html on write error
Write new version to a temporary file and rename it to index.html.
2016-07-12 11:37:22 +03:00
Boris Nagaev f1581d20bf make skeleton.py Python 3 compatible 2016-07-12 11:26:15 +03:00
Boris Nagaev 56ab126366 use $(TEST_FILE) in skeleton.py 2016-07-11 19:24:39 +03:00
Boris Nagaev 50b311964f skeleton: use SOURCE_DIR and BUILD_DIR
and do not mkdir build dir.
2016-07-11 09:32:10 +03:00
Boris Nagaev ff1867021c add tool skeleton.py
This tool creates a skeleton of new MXE package.
2016-07-10 18:41:35 +03:00
Boris Nagaev b328e24458 install-deps: install bc to compare versions 2016-06-29 01:42:19 +03:00
Boris Nagaev 7003fa837b install-deps: fix syntax in condition for libtool
Without external `(` and `)` the condition is evaluated to false
on Debian Jessie.
2016-06-29 01:40:28 +03:00
Boris Nagaev f0d60ac7de install-deps: run apt-get with --yes
Otherwise it will make interactive prompts.
2016-06-29 01:30:31 +03:00
Boris Nagaev 2bafd7b4be add tool install-deps 2016-06-13 17:01:47 +03:00
Boris Nagaev fba599d2d7 build-pkg: add env. var to change targets
MXE_BUILD_PKG_TARGETS
2016-06-11 21:54:26 +03:00
Boris Nagaev 4d43e1fe47 build-pkg: prefix evn. vars with "MXE_BUILD_PKG"
to distinguish them from environment variables of MXE itself.
2016-06-11 21:51:45 +03:00
Boris Nagaev 3ee3445f90 build-pkg: limit number of retries of downloading
fix #1308
2016-05-02 14:16:07 +03:00
Boris Nagaev c5c610b085 build-pkg, second pass: fix fail on broken package
If a package is found to be broken on the first pass, then
prev_files = nil, because this structure is filled only
for non-broken packages.

See https://github.com/mxe/mxe/pull/1243#issuecomment-211137555
2016-04-20 23:35:13 +03:00
Boris Nagaev 9da2e477d3 build-pkg: provide more info about removed files 2016-04-20 23:35:13 +03:00
Boris Nagaev 6784792540 build-pkg: detect broken symlink and removed file 2016-04-20 23:35:13 +03:00
Boris Nagaev ea511c193c build-pkg: use "git add" with --all
From the warning produced by "git add ." after removing a file with "rm":

> warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
> whose behaviour will change in Git 2.0 with respect to paths you removed.
> Paths like 'foo.txt' that are
> removed from your working tree are ignored with this version of Git.
>
> * 'git add --ignore-removal <pathspec>', which is the current default,
>   ignores paths you removed from your working tree.
>
> * 'git add --all <pathspec>' will let you also record the removals.
>
> Run 'git status' to check the paths you removed from your working tree.

$ git status --porcelain
 D foo.txt

$ git add --all .

$ git status --porcelain
D  foo.txt

$ git --version
git version 1.9.1
2016-04-20 23:35:13 +03:00
Boris Nagaev 732169d86a build-pkg: exit with non-zero if second pass fails 2016-04-20 23:35:13 +03:00
Boris Nagaev f3de04c954 build-pkg: provide a way to disable second pass 2016-04-20 23:35:13 +03:00
Boris Nagaev aa4744cea4 build-pkg: add second pass
The second pass is done after the first one. During the second pass,
an item is built in tree of files from all other items. It checks that:

  * packages can be built in any order satisfying dependencies;
  * a package can be rebuilt after its dependee.

For both cases, not only build status is checked but also two sets of
files are compared. Currently content of files is not checked, only
their existance in both passes.

See #1111
2016-04-20 23:35:13 +03:00