summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1054 from LuaAndC/fix-patch-tool-diffsTony Theodore2015-12-141-1/+1
|\ | | | | patch-tool-mxe: do not replace object id with 000
| * patch-tool-mxe: do not replace object id with 000Boris Nagaev2015-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously patch-tool-mxe produced the following diffs: diff --git a/CMakeLists.txt b/CMakeLists.txt index 0000000..0000000 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt patch tool refused to apply this patch: The next patch would create the file CMakeLists.txt, which already exists! Assume -R? [n] This commit replaces 0000000..0000000 with 1111111..2222222.
* | Merge pull request #1057 from LuaAndC/build-pkg-exit-statusTony Theodore2015-12-141-0/+5
|\ \ | | | | | | build-pkg: exit with code 1 if a package is broken
| * | build-pkg: exit with code 1 if a package is brokenBoris Nagaev2015-12-131-0/+5
| |/
* | Merge pull request #1058 from LuaAndC/build-pkg-no-empty-depsTony Theodore2015-12-141-3/+6
|\ \ | | | | | | build-pkg: do not provide empty dependency list
| * | build-pkg: do not provide empty dependency listBoris Nagaev2015-12-131-3/+6
| |/ | | | | | | | | | | | | | | | | | | Debian packages with "Depends: " do not work: > Reading package lists... Error! > E: Problem parsing dependency Depends > E: Error occurred while processing mxe-source (NewVersion2) > E: Problem with MergeList /var/lib/apt/lists/pkg.mxe.cc_repos_apt_debian_dists_wheezy_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.
* | Merge pull request #1056 from LuaAndC/build-empty-dependencies-of-nonemptyTony Theodore2015-12-141-5/+24
|\ \ | | | | | | build-pkg: build empty dependencies of non-empty
| * | build-pkg: build empty dependencies of non-emptyBoris Nagaev2015-12-131-5/+24
| |/ | | | | | | | | | | | | | | Otherwise empty dependency produces no .deb file preventing non-empty package from being installed. Example: non-empty package gcc depends on empty package mingw-w64.
* | build-pkg: flush stdout after echoingBoris Nagaev2015-12-131-0/+1
|/
* s3-fetch-and-sync: note mirror.mxe.ccTony Theodore2015-12-111-1/+1
|
* build-pkg: mxe.redjohn.tk -> pkg.mxe.ccBoris Nagaev2015-12-101-1/+1
|
* s3-fetch-and-sync: add IPv6 address and gatewayTony Theodore2015-12-101-1/+4
|
* Merge pull request #1016 from LuaAndC/patch-tool-improvementsTony Theodore2015-12-041-11/+11
|\ | | | | Patch tool improvements
| * patch-tool-mxe: replace commit hash with zerosBoris Nagaev2015-11-291-0/+1
| | | | | | | | | | | | Decrease patch diff size. See #983
| * patch-tool-mxe: replace object names with zerosBoris Nagaev2015-11-291-1/+2
| | | | | | | | | | | | Decrease patch diff size. See #983
| * patch-tool-mxe: omit signature with git versionBoris Nagaev2015-11-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | Signature is a string like: -- 1.9.1 Decrease patch diff size. See #983
| * patch-tool-mxe: git format-patch *--no-numbered*Boris Nagaev2015-11-291-1/+1
| | | | | | | | | | | | Decrease patch diff size. See #983
| * fix "patch-tool-mxe init" for gccBoris Nagaev2015-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | gcc (and maybe other packages) has both $(PKG)_FILE and $(PKG)_FILE_$(BUILD). Previously the following error occurred: $ ./tools/patch-tool-mxe init gcc ./tools/patch-tool-mxe: line 57: [: too many arguments see #983
| * patch-tool-mxe: fix getting patch_nameBoris Nagaev2015-11-291-4/+1
| | | | | | | | | | | | | | Previous implementation failed with "set -o nounset": ./tools/patch-tool-mxe: line 10: $3: unbound variable see #983
| * patch-tool-mxe: do not replace author with "MXE"Boris Nagaev2015-11-291-6/+2
| | | | | | | | | | | | | | Replace existing "From: MXE" with "From: fix@me". Authors of such patches can be found using git history. see #983
* | patch-tool-mxe: do not download dependenciesBoris Nagaev2015-12-021-3/+3
|/
* cleanup styleTony Theodore2015-11-211-1/+1
|
* suppress git commit error in TravisBoris Nagaev2015-11-191-1/+1
| | | | | See #924 See https://travis-ci.org/mxe/mxe/builds/91781012#L99
* Merge pull request #924 from LuaAndC/travis-build-pullsTony Theodore2015-11-181-0/+13
|\ | | | | fix travis builds for pull requests
| * travis-push: make sure "git commit" succeededBoris Nagaev2015-10-131-1/+1
| |
| * travis: commit and push only if GH_TOKEN is setBoris Nagaev2015-10-131-0/+13
| | | | | | | | | | This allows to enable travis build for a pull request without failing it. This is useful to check at leat that Makefile syntax is correct.
* | build-pkg: round argument of os.dateTony Theodore2015-11-161-1/+1
| | | | | | | | fixes #1001
* | Merge branch 'build-pkg-dlls-and-empty' of https://github.com/LuaAndC/mxe ↵Tony Theodore2015-11-161-2/+46
|\ \ | | | | | | | | | into LuaAndC-build-pkg-dlls-and-empty
| * | build-pkg: report non-empty depending on emptyBoris Nagaev2015-11-091-0/+7
| | | | | | | | | | | | fix #968
| * | build-pkg: do not pack empty packagesBoris Nagaev2015-11-091-1/+7
| | | | | | | | | | | | see #968
| * | build-pkg: report shared items installing no .dllBoris Nagaev2015-11-091-0/+31
| | | | | | | | | | | | | | | | | | Report only if the item installs .a See https://github.com/mxe/mxe/pull/966#issuecomment-153712570
| * | build-pkg: typoBoris Nagaev2015-11-091-1/+1
| | |
* | | Merge pull request #977 from LuaAndC/nonetworkTony Theodore2015-11-142-0/+37
|\ \ \ | | | | | | | | disable networking with LD_PRELOAD when build
| * | | build-pkg: blacklist nonetwork.soBoris Nagaev2015-11-101-0/+1
| | | |
| * | | disable networking with LD_PRELOAD when buildBoris Nagaev2015-11-101-0/+36
| | | | | | | | | | | | | | | | see #969
* | | | build-pkg: add EOL after last line in *.list fileBoris Nagaev2015-11-111-1/+1
|/ / / | | | | | | | | | fix #979
* | | build-pkg: improve the progress printer accuracyBoris Nagaev2015-11-091-5/+34
| | | | | | | | | | | | | | | | | | | | | There are 20 huge packages like gcc that are compiled for a half of the build time. The time left expected by the progess printer changes dramatically after building a huge package. Information about huge packages smoothes the changes.
* | | build-pkg: separate progress printing codeBoris Nagaev2015-11-091-12/+28
| | |
* | | build-pkg: print progressBoris Nagaev2015-11-091-1/+13
| | | | | | | | | | | | | | | | | | Example: [ 4/100] The build is expected to complete in 0.3 hours, on Thu Oct 29 23:03:27 2015
* | | build-pkg: add logging function echoBoris Nagaev2015-11-091-1/+5
|/ / | | | | | | | | echo is format + print log is echo('[build-pkg]', ...)
* | build-pkg: exclude usr and settings.mk from sourceBoris Nagaev2015-10-281-2/+0
| |
* | build-pkg: use current date as Debian patch versionBoris Nagaev2015-10-271-1/+4
| | | | | | | | | | | | | | Example: "4_1_3" -> "4.1.3-20151028". Adding build-unique (making two builds in one day is unlikely) Debian patch version tells APT that the package was updated.
* | build-pkg: replace _ with . in versionsBoris Nagaev2015-10-271-1/+1
| | | | | | | | | | | | Underscores in versions were previously replaced with dashes. Example: 4_1_3 -> 4-1-3 (package winpcap). "-3" is interpreted as Debian patch version, which is wrong.
* | build-pkg: add package mxe-sourceBoris Nagaev2015-10-271-1/+31
| | | | | | | | close #946
* | build-pkg: rename makeMxeRequirementsDebBoris Nagaev2015-10-271-3/+3
| | | | | | | | rename makeMxeRequirementsDeb to makeMxeRequirementsPackage
* | build-pkg: refactor package building functionBoris Nagaev2015-10-271-74/+58
| | | | | | | | | | | | Move common code (making a directory, control file, running tar, dpkg-deb, etc) to function makePackage(). This function is used by functions makeDeb() and makeMxeRequirementsDeb().
* | build-pkg: find build arch with dpkg-architectureBoris Nagaev2015-10-271-2/+3
| |
* | build-pkg: refactor Debian control generatingBoris Nagaev2015-10-271-24/+36
| | | | | | | | | | Function debianControl() takes parameters of the Debian package and returns the contents of the Debian control file.
* | build-pkg: don't pre-download if MXE_MAX_ITEMSBoris Nagaev2015-10-271-1/+3
| | | | | | | | | | MXE_MAX_ITEMS is used mostly for debugging purposes. Waiting all packages to download (2Gb) is boring.
* | build-pkg: keep deb-control filesTony Theodore2015-10-251-0/+3
| |