| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
close #946
|
| |
| |
| |
| | |
rename makeMxeRequirementsDeb to makeMxeRequirementsPackage
|
| |
| |
| |
| |
| |
| | |
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().
|
| | |
|
| |
| |
| |
| |
| | |
Function debianControl() takes parameters of the Debian package
and returns the contents of the Debian control file.
|
| |
| |
| |
| |
| | |
MXE_MAX_ITEMS is used mostly for debugging purposes.
Waiting all packages to download (2Gb) is boring.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Don't log dependencies on native target.
|
| |
| |
| |
| |
| |
| |
| | |
"make target~pkg" doesn't work if target is not in
MXE_TARGETS. I believe such behaviout to be a feature
not a bug, because it seems to work faster with lesser
MXE_TARGETS.
|
| |
| |
| |
| |
| |
| |
| | |
Fix warnings like:
[build-pkg] File usr/x86_64-unknown-linux-gnu/lib/libyasm.a
(x86_64-unknown-linux-gnu~yasm): not recognized library
|
| |
| |
| |
| |
| |
| | |
str:match(pattern) treats pattern as a regular expression.
str:find(substring, 1, true) searches for a substring.
The latter is needed to check if a filename contains a target.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Remove common packages.
Common packages served a replacement for native target.
Now we have native target and don't need common packages.
Existing common files (ncurses) have to be fixed.
2. Package -> Item.
Item means a string "target~package".
All functions which used packages now use items.
3. One build list instead of 4 build lists.
All items are sorted and built together without separation
by target.
4. No module-global variable "target".
All functions using target now get "item" and target is
extracted from item. All remaining module-global variables
don't change (are constants) or are created in the bottom
of the module.
5. MXE_MAX_PACKAGES -> MXE_MAX_ITEMS
see #925
see #919
|
| |
| |
| |
| | |
I want to use name "item" for something else.
|
| |
| |
| |
| |
| |
| | |
Source: https://github.com/mxe/mxe/pull/925#issuecomment-147992049
see #925
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
File ownership is set as string "root/root" in Debian files. So numeric
owners are converted to strings anyway. On FreeBSD numeric group "0" is
converted to "wheel" instead of "root".
see #901
|
| |
| |
| |
| |
| |
| |
| | |
Don't wait for downloading completed if something is wrong
with dependencies.
see #908
|
| |
| |
| |
| |
| | |
see #901
see 4743e7939d10d9983e01f085c94b24e4c317811d
|
|/
|
|
| |
close #901
|
|
|
|
| |
close #890
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
see #874
|
|
|
|
|
|
|
| |
Run `make download -j 6 -k` until it downloads all packages
successfully before running further steps.
close #855
|
|
|
|
|
| |
close #858
see #854
|
|
|
|
|
| |
This function runs a command and return whether it
finished successfully.
|
|\
| |
| | |
build-pkg: improve launching file tool
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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"
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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".
|
|/
|
|
|
| |
see #393
see #826
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Build pkg fix filenames with spaces
|
| |
| |
| |
| | |
close #842
|
| |
| |
| |
| | |
See #842
|
| | |
|
|/
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
"%s.common-list" -> "common-%s.list"
New style of name is closer to name format of other packages:
"target-pkg.list".
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
Another directories with documentation.
|
|
|
|
| |
close #818
|
| |
|
| |
|
|
|
|
|
| |
Do not overwrite .list files produced by one target with
ones produced by other target.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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>").
|