Commit Graph

6200 Commits

Author SHA1 Message Date
Tony Theodore 05380b49b7 gcc pthreads: build pthreads and mingw-w64 headers inline and enable libgomp
* fixes "~winpthreads changes ~pthread_signal.h" etc. reported by build-pkg
  mingw-w64 installs dummy headers if winpthreads isn't built
* enables libgomp to avoid double-build (see #331)
* no change in openmp-validation (still 20 failures - taken with a grain of
  salt as the batch file test runner isn't a reliable perl substitute)
* pthreads virtual package kept for future testing
2015-10-31 20:18:21 +11:00
Tony Theodore 0ad42f9aa4 Merge pull request #959 from LuaAndC/build-pkg-install-source
build-pkg: install source, refactoring and other improvements
2015-10-28 11:31:08 +11:00
Boris Nagaev af25251ae9 build-pkg: exclude usr and settings.mk from source 2015-10-28 03:19:56 +03:00
Boris Nagaev eac808245f build-pkg: use current date as Debian patch version
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.
2015-10-28 02:46:12 +03:00
Boris Nagaev 0886967de8 build-pkg: replace _ with . in versions
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.
2015-10-28 02:46:12 +03:00
Boris Nagaev 97a8038a8b build-pkg: add package mxe-source
close #946
2015-10-28 02:46:04 +03:00
Boris Nagaev c0b7e48c29 build-pkg: rename makeMxeRequirementsDeb
rename makeMxeRequirementsDeb to makeMxeRequirementsPackage
2015-10-28 02:45:37 +03:00
Boris Nagaev f50add7fc0 build-pkg: refactor package building function
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().
2015-10-28 02:45:37 +03:00
Boris Nagaev ac1543115b build-pkg: find build arch with dpkg-architecture 2015-10-28 02:45:36 +03:00
Boris Nagaev 36cddeb56d build-pkg: refactor Debian control generating
Function debianControl() takes parameters of the Debian package
and returns the contents of the Debian control file.
2015-10-28 02:45:36 +03:00
Boris Nagaev 69220922e5 build-pkg: don't pre-download if MXE_MAX_ITEMS
MXE_MAX_ITEMS is used mostly for debugging purposes.
Waiting all packages to download (2Gb) is boring.
2015-10-28 02:45:36 +03:00
Tony Theodore 6b1a7962cf Makefile: filter out MXE_CONF_PKGS for inter-target deps 2015-10-27 21:29:47 +11:00
Tony Theodore ba7c553c66 mxe-conf: add CMAKE_PREFIX_PATH to toolchain file
see #904
2015-10-27 20:59:44 +11:00
MXEBot as Travis CI 4d9bddf04a Update versions.json 2015-10-27 09:05:43 +00:00
Mark Brand dd6bf281dc dbus: update 2015-10-27 10:01:14 +01:00
Tony Theodore ca6a84316a Merge branch 'enginefeeder101-issue690' 2015-10-27 17:06:50 +11:00
Engine Feeder 2b396da560 postgresql: fix socket error checking for mingw
When the client library of PostgreSQL is compiled with a MinGW-w64
environment the resulting libpq does not work. This has been reported
upstream with two bug reports and a patch was submitted by
Michael Cronenworth <mike(at)cchtml(dot)com> (1) but it has not been
picked up by upstream.

This is confirmed to build on Arch Linux x64 with targets:

x86_64-w64-mingw32.static and i686-w64-mingw32.static

and works under Wine, Windows 7 and Windows 10 (both 32/64bit binaries)

(1) http://www.postgresql.org/message-id/520EBC3D.1010103@cchtml.com

fixes #690
2015-10-27 17:05:47 +11:00
Tony Theodore 3f96743b43 aspell: disable curses support 2015-10-27 12:13:09 +11:00
MXEBot as Travis CI 03a941bfc4 Update versions.json 2015-10-25 02:02:48 +00:00
Tony Theodore ffca3f5b83 Merge pull request #925 from tonytheodore/toolchain
Toolchain re-org - target dependencies
2015-10-25 13:02:30 +11:00
Tony Theodore 99ff9ca3fe gendef: install to target specific prefix 2015-10-25 12:23:29 +11:00
Tony Theodore eec1eb66cf build-pkg: keep deb-control files 2015-10-25 12:23:29 +11:00
Tony Theodore 16e8f7d773 .gitignore: also ignore debian control files 2015-10-25 12:23:29 +11:00
Tony Theodore 3a462ae25c Makefile: clean files created by build-pkg 2015-10-25 12:23:28 +11:00
Boris Nagaev 4ed7cd1b1e build-pkg: use config.guess to get native target 2015-10-25 12:23:28 +11:00
Boris Nagaev 987f8a09de build-pkg: don't blacklist usr/share/cmake 2015-10-25 12:23:28 +11:00
Boris Nagaev 894df38048 build-pkg: log cross-target dependencies
Don't log dependencies on native target.
2015-10-25 12:23:28 +11:00
Boris Nagaev 1c3e1e9a3b build-pkg: pass MXE_TARGETS to "make pkg"
"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.
2015-10-25 12:23:28 +11:00
Boris Nagaev 79717d12cc build-pkg: fix test for library format
Fix warnings like:

    [build-pkg]     File usr/x86_64-unknown-linux-gnu/lib/libyasm.a
    (x86_64-unknown-linux-gnu~yasm): not recognized library
2015-10-25 12:23:28 +11:00
Boris Nagaev f15fc358a6 build-pkg: add function searching for a substring
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.
2015-10-25 12:23:28 +11:00
Boris Nagaev 856f1d3b09 update build-pkg.lua for toolchain re-org
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
2015-10-25 12:23:28 +11:00
Boris Nagaev 477f909947 build-pkg: rename local var "item" to "member"
I want to use name "item" for something else.
2015-10-25 12:23:28 +11:00
Tony Theodore 7c43d12a11 build-pkg: remove most of the COMMON_FILES
Source: https://github.com/mxe/mxe/pull/925#issuecomment-147992049

see #925
2015-10-25 12:23:28 +11:00
Tony Theodore a8ed815d82 Makefile: add print-deps-for-build-pkg target with inter-target deps 2015-10-25 12:23:28 +11:00
Tony Theodore c96a007c6a gcc: cleanup lib installation 2015-10-25 12:23:28 +11:00
Tony Theodore 9732e4dc29 pkgconf yasm: enable native builds and consolidate rules 2015-10-25 12:23:28 +11:00
Tony Theodore 870e439d0f mxe-conf: consolidate rules and install cmake modules under usr 2015-10-25 12:23:28 +11:00
Tony Theodore 3185b292b0 gcc and deps: use native builds and consolidate rules 2015-10-25 12:23:27 +11:00
Tony Theodore 3132accaf1 remove gcc-* virtual packages 2015-10-25 12:23:27 +11:00
Tony Theodore c8dd7556b4 Makefile: enable target deps and native pkg build rules 2015-10-25 12:23:27 +11:00
Tony Theodore b5d2ade2bf box2d: fix case in subdir
closes #954
2015-10-24 20:08:44 +11:00
Mark Brand 546151eb85 qtbase: rebase patches 2015-10-23 10:15:47 +02:00
Tony Theodore 8e7e506d28 tools: note source of make-shared-from-static 2015-10-22 18:15:46 +11:00
Tony Theodore 531d608ecf vamp-plugin-sdk: use MAKE_SHARED_FROM_STATIC for shared build 2015-10-22 17:36:25 +11:00
MXEBot as Travis CI fc2c723ce8 Update versions.json 2015-10-21 10:32:56 +00:00
Tony Theodore f9a95ca556 liblaxjson: update and use cmake build/install commands
still needs some work to provide static/shared as an option
2015-10-21 21:31:37 +11:00
MXEBot as Travis CI db24d5c686 Update versions.json 2015-10-21 09:36:44 +00:00
Tony Theodore 5989573ccd box2d: move to github and update
also fixes dll installation
2015-10-21 20:35:19 +11:00
Tony Theodore 201d7d3c4a liblaxjson: fix installation directories 2015-10-21 19:30:14 +11:00
Tony Theodore ea6c694a22 Merge pull request #945 from LuaAndC/fribidi-cmake
add CMake module FindFriBiDi.cmake
2015-10-19 12:59:06 +11:00