Commit Graph

6029 Commits

Author SHA1 Message Date
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
Boris Nagaev fbda4a9e93 add CMake module FindFriBiDi.cmake
Now the following CMake code finds FriBiDi:

  find_package(FriBiDi)
2015-10-19 04:50:53 +03:00
Tony Theodore afd117ac96 Merge pull request #944 from LuaAndC/wt-website
change Wt homepage to http://www.webtoolkit.eu
2015-10-19 12:06:56 +11:00
Boris Nagaev 0d0b9518ac change Wt homepage to http://www.webtoolkit.eu
witty.sourceforge.net redirects to www.webtoolkit.eu
2015-10-19 01:47:02 +03:00
Boris Nagaev 4aca056a30 qtbase: fix log corruption with many zero bytes
close #938
2015-10-18 21:09:17 +02:00
Timothy Gu 4cb95b14f3 openscenegraph-3: Use uintptr_t
Prevents theoretical undefined (or implementation-defined?) behavior on 32-bit machines.
2015-10-17 17:01:10 -07:00
MXEBot as Travis CI 5c61e160be Update versions.json 2015-10-17 12:52:24 +00:00
Mark Brand 106222714e sqlite: update 2015-10-17 14:37:08 +02:00
Tony Theodore 069b03d511 qt5: remove download related variables
in rare cases, it would try downloading qtbase again
2015-10-17 13:46:20 +11:00
Tony Theodore d08148a0da Revert "boost pthreads qt sdl: disable cmake tests"
This reverts commit f1dd70802a.
2015-10-17 11:53:28 +11:00
Boris Nagaev 08d7f265a1 remove strange quote from comment about MXE_TMP
see #929
2015-10-16 23:50:15 +03:00
Boris Nagaev 34a4b53db9 Merge pull request #929 from kolewu/fix-tmpdir
add variable to define directory for tmp-directories
2015-10-16 23:48:43 +03:00
Mark Brand a868bf635e qtbase: improve update macro 2015-10-16 10:44:41 +02:00
MXEBot as Travis CI 8e65d7a3ba Update versions.json 2015-10-16 08:41:57 +00:00
Mark Brand f89ee05517 harfbuzz: update 2015-10-16 10:40:11 +02:00
Tony Theodore 91d952eb11 Merge pull request #940 from LuaAndC/decrease-cmake-version
Decrease cmake version and check for policies used
2015-10-16 12:50:18 +11:00
Tony Theodore a7aa0377e7 Merge pull request #939 from LuaAndC/build-pkg-gtar
build-pkg: use gtar, gnutar, gmake, gnumake if available + improvements
2015-10-16 12:38:13 +11:00
Tony Theodore fcafb2b326 Merge pull request #933 from LuaAndC/fix-cmake-build
cmake wrapper: don't pass -DCMAKE_TOOLCHAIN_FILE to cmake when  with --build
2015-10-16 12:18:04 +11:00
Boris Nagaev f2496929dc cmake test: use policy CMP0020 only if available
Policy CMP0020 was introduced in cmake 2.8.11.
Debian CMake version 2.8.9 is sufficient for building Qt.

See https://github.com/LuaAndC/mxe/commit/6133f6ec74aee1b5fa531782e585710

close #909
2015-10-16 03:42:25 +03:00
Boris Nagaev cea54f1cfa cmake test: decrease min version 2.8.11 -> 2.8.9
Debian Wheezy has CMake version 2.8.9 and it is sufficient for building Qt
(version 2.8.11 was chosen as it is recommended by Qt docs).

see #909
2015-10-16 03:41:14 +03:00