summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* build-pkg: add MXE_CONF_PKGS to deps of packagesBoris Nagaev2015-09-291-1/+3
| | | | close #890
* build-pkg: add a note about fakeroot ipc problemBoris Nagaev2015-09-271-0/+7
| | | | | | I faced with the problem after running build-pkg on this machine many-many times. Finally I found this method how to fix it without restarting the machine.
* build-pkg: use --[[ ... ]] syntax for long commentBoris Nagaev2015-09-271-17/+19
|
* build-pkg: rename testCommand to executeBoris Nagaev2015-09-211-3/+3
| | | | see #874
* build-pkg: pre-download all packagesBoris Nagaev2015-09-201-0/+2
| | | | | | | Run `make download -j 6 -k` until it downloads all packages successfully before running further steps. close #855
* build-pkg: check *.a files with nmBoris Nagaev2015-09-201-0/+13
| | | | | close #858 see #854
* build-pkg: add function testCommandBoris Nagaev2015-09-201-0/+9
| | | | | This function runs a command and return whether it finished successfully.
* Merge pull request #860 from LuaAndC/build-pkg-file-dereferenceTony Theodore2015-09-171-23/+17
|\ | | | | build-pkg: improve launching file tool
| * build-pkg: add option --brief to "file" commandBoris Nagaev2015-09-161-23/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Option --brief tells "file" not to prepend filenames to output lines. Using this option is better than parsing standard format of output of "file" with a regular expression. Some filenames contain ":". This confuses the regular expression: [build-pkg] i686-w64-mingw32.static Can't get type of file usr/i686-w64-mingw32.static/share/ gtk-doc/html/libgda-4.0/gen:sql_identifiers.html (libgda). file says "usr/i686-w64-mingw32.static/share/gtk-doc/html/ libgda-4.0/gen:sql_identifiers.html: HTML document, ASCII text"
| * build-pkg: catch symlinks with bad extensionsBoris Nagaev2015-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Example: usr/i686-w64-mingw32.static/bin/luajit This file must have '.exe' in name, but build-pkg doesn't catch this error, because it's type was "symbolic link to luajit-2.0.4". With option --dereference, "file" follows symlinks. For usr/i686-w64-mingw32.static/bin/luajit it returns "PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows".
* | build-pkg: report DLL files in /lib/Boris Nagaev2015-09-161-0/+3
|/ | | | | see #393 see #826
* build-pkg: no build mxe-requirements with fakerootBoris Nagaev2015-09-131-2/+2
| | | | | | | | | mxe-requirements package doesn't install any files therefore fakeroot is not required. Because no files were created with fakeroot, database file `deb.fakeroot' did not exist. close #840
* Merge pull request #845 from LuaAndC/build-pkg-fix-filenames-with-spacesTony Theodore2015-09-121-1/+17
|\ | | | | Build pkg fix filenames with spaces
| * build-pkg: remove quotes from filenames with spaceBoris Nagaev2015-09-121-0/+4
| | | | | | | | close #842
| * build-pkg: report not existing filesBoris Nagaev2015-09-121-1/+13
| | | | | | | | See #842
* | build-pkg: add env. var. MXE_DIRBoris Nagaev2015-09-101-1/+6
| |
* | build-pkg: add env. var. MXE_NO_DEBSBoris Nagaev2015-09-101-6/+21
|/ | | | | | | | To prevent build-pkg from creating deb packages, set environment variable MXE_NO_DEBS to 1 In this case fakeroot and dpkg-deb are not needed. Add a comment about MXE_MAX_PACKAGES.
* build-pkg: change path to .list file of commonBoris Nagaev2015-09-051-1/+1
| | | | | | | "%s.common-list" -> "common-%s.list" New style of name is closer to name format of other packages: "target-pkg.list".
* build-pkg: add more checks for generated filesBoris Nagaev2015-09-051-6/+73
| | | | | | | | | | | * PE32 files without .exe or .dll * .exe or .dll files which are not in PE32 format * files with other target in name * changed files * file belongs to the same target -- add a dependency * otherwise: log this message with label 'error' close #822
* build-pkg: create a variable with list of targetsBoris Nagaev2015-09-041-4/+10
|
* build-pkg: blacklist usr/<target>/share/(doc|info)Boris Nagaev2015-09-041-0/+2
| | | | Another directories with documentation.
* build-pkg: use git to find new/changed filesBoris Nagaev2015-09-041-24/+45
| | | | close #818
* build-pkg: add [build-pkg] to log messagesBoris Nagaev2015-09-041-1/+1
|
* build-pkg: function log() formats message stringBoris Nagaev2015-09-041-5/+5
|
* build-pkg: include target to name of .list fileBoris Nagaev2015-09-041-1/+1
| | | | | Do not overwrite .list files produced by one target with ones produced by other target.
* build-pkg: a function to generate .list file nameBoris Nagaev2015-09-041-4/+8
| | | | | | This operation (package_name .. '.list') was coded many times in many functions. I move it to function listFile(pkg) to keep it in one place.
* build-pkg: add release to mxe-requirements versionBoris Nagaev2015-09-041-1/+1
| | | | | | | | 2.23 -> 2.23jessie | 2.23wheezy Package mxe-requirements has different dependencies for Wheezy and Jessie. APT server reprepro doesn't allow to add two different packages with same name and version.
* build-pkg: pkgs with broken deps are also brokenbuild-2015-08-28Boris Nagaev2015-08-241-0/+1
| | | | | | | | | | | | | | | | | | | Bad behaviour prior to this commit: 1. The package is broken: pango 2. Package sdl_pango depends on broken pango 3. When t4k_common (which depends on sdl_pango) is built, pango is tried to build again. This issue was caused by the error fixed in this commit: if a package A depends on a broken package B, then the package A is also BROKEN. So if a package C depends on package A, then all of them are broken: (*)B <- A <- C B is not "rebuilt" for C.
* build-pkg: fix build success detectionBoris Nagaev2015-08-111-1/+12
| | | | | | | | | | | Previous code just checked if any new file was created. New code checks existance of the file created by MXE in case a build succeeded: "usr/<target>/installed/<package>". Without this improvement, some packages (e.g., pango) were falsely reported to be built successfully, because they have two or more targets and only first target succeded, creating *some* files (but not file "usr/<target>/installed/<package>").
* build-pkg: build for amd64 onlyBoris Nagaev2015-08-111-13/+10
| | | | | | | Packages containing native binaries (compiler, native libraries, yasm) are compatible only with build machine architecture. close #756
* build-pkg: take target common files to a packageBoris Nagaev2015-08-111-9/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | There are documentation and other shared files installed, which we don't need [1]. Some packages install files to same paths. There is a list of all packages which overlap and shared files [2]. Create a list of packages which have common files across targets. Some of them are a part of compiler chain (gcc-*), some are built natively intentionally: * gcc-isl * gcc-mpc * gcc-gmp * gcc-mpfr * gcc * yasm * ncurses * pkgconf [1] https://lists.nongnu.org/archive/html/mingw-cross-env-list/2015-06/msg00011.html [2] https://gist.github.com/starius/59625347cd68a21d9cc9 close #763 close #757
* build-pkg: fix a pattern in blacklistBoris Nagaev2015-08-111-1/+1
| | | | "-" should be %-escaped in Lua patterns.
* build-pkg: add target name to broken packages logBoris Nagaev2015-07-101-2/+6
|
* build-pkg: blacklist some file pathsBoris Nagaev2015-07-101-1/+17
| | | | | | | | | | | | | | | | * usr/share/ (doc, gcc-5.1.0, info, man) * usr/installed/check-requirements There are documentation and other shared files installed, which we don't need [1]. This commit doesn't cover all doc files. More files can be found by "find usr -name doc". Some packages install files to same paths. There is a list of all packages which overlap and shared files [2]. [1] https://lists.nongnu.org/archive/html/mingw-cross-env-list/2015-06/msg00011.html [2] https://gist.github.com/starius/59625347cd68a21d9cc9
* packages built by build-pkg.lua work on WheezyBoris Nagaev2015-07-101-7/+11
| | | | | | | | | | | | | | | | | | | After commit b14c1a3a9c25cf99c004b42e1ed , packages could not be installed on Debian <= Wheezy, because it lacks package libtool-bin. So package mxe-requirements should depend on libtool-bin only for Debian >= Jessie. This commit changes the function that builds packages mxe-requirements. Now it makes 4 .deb files: wheezy/ mxe-requirements_2.23_i386.deb mxe-requirements_2.23_amd64.deb jessie/ mxe-requirements_2.23_i386.deb mxe-requirements_2.23_amd64.deb see #754
* build-pkg.lua: fix too long lines of codeBoris Nagaev2015-07-101-4/+5
|
* build-pkg: Add libtool-bin and p7zip-full as depsTimothy Gu2015-07-061-2/+4
| | | | Fixes #753. Fixes #754.
* build-pkg: remove old name "mxedeb"Boris Nagaev2015-06-281-4/+4
| | | | | Fix description of the script: replace "DEB packages" with "binary packages".
* add tool build-pkg.luaBoris Nagaev2015-06-231-0/+356
| | | | | | | | | | | | | | This tool builds all packages for all targets and generates *.tar.xz and *.deb files. The latter ones can be uploaded to APT repository and installed to Debian machines. build-pkg.lua was previously known as mxedeb.lua See also: http://mxe.redjohn.tk/ https://github.com/starius/mxedeb https://lists.nongnu.org/archive/html/mingw-cross-env-list/2015-02/msg00010.html https://lists.nongnu.org/archive/html/mingw-cross-env-list/2015-03/msg00001.html
* minizip, tools/copydlldeps: Run "make cleanup-style"Volker Grabsch2015-01-111-1/+1
|
* copydlldeps: PEP 8-izeTimothy Gu2014-11-091-16/+33
| | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* copydlldeps: Fix typoTimothy Gu2014-11-091-1/+1
| | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* tool copydlldeps.py: function is_pe_file() must not fail on directoriesMartin Müllenhaupt2014-10-201-0/+2
|
* tool copydlldeps: fix Python 3 compatibilityMartin Müllenhaupt2014-10-151-12/+13
|
* copydlldeps tool: fix styleMartin Müllenhaupt2014-10-151-64/+64
|
* add python script for recursive copy of DLL dependenciesMartin Müllenhaupt2014-10-151-0/+157
|
* s3 sync: update server detailsTony Theodore2014-10-131-2/+4
|
* mxe-activate: add build-matrix.html to tab completionTony Theodore2014-10-101-1/+3
|
* tools: use a "compat-init.sh" for all compatibility variablesTimothy Gu2014-09-235-33/+32
| | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* patch-tool-mxe: Add support for changing patch fileTimothy Gu2014-09-181-9/+16
|