Commit Graph

27 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Boris Nagaev 74163f1794 add _WEBSITE and _DESCR fields to core packages
See https://github.com/mxe/mxe/issues/1422

Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
2016-12-22 22:25:48 +01:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Tony Theodore 54bcbae7e8 cegui: fix libxml2 and minizip; enable fribidi and glfw3
Boost and SDL2 aren't detected and need more work, other packages are
either outdated or missing from MXE.
2016-08-11 23:16:51 +10:00
Tony Theodore 36b261dc14 Merge branch 'master' into Quintus-cegui-0.8 2016-08-03 04:01:11 +10:00
Tony Theodore b07b534fd5 cegui: separate shared/static builds and manually configure pc files 2016-08-03 03:58:26 +10:00
Tony Theodore c2a1d8000a cegui: switch to tracking dev branch 2016-08-03 03:54:02 +10:00
Boris Nagaev 17e40d3884 use $(TEST_FILE) instead of $(2).c and other
The following script was applied:

    set -xue

    find src/ plugins/ -name '*.mk' -type f > mks

    # special cases for test file:
    # ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated
    sed 's@$(2).c@$(PWD)/src/$(PKG)-test.c@g' -i \
        src/{boost,freeimage,hdf5,lapack,sdl,sdl_image,sdl_sound}.mk
    sed 's@$(2).f@$(PWD)/src/$(PKG)-test.f@g' -i src/lapack.mk
    sed 's@$(PWD)/$(2).pro@$(PWD)/src/$(PKG)-test.pro@g' -i \
        src/qt.mk plugins/examples/custom-qt-min/overrides.mk
    sed 's@$(2)-CMakeLists.txt@$(PWD)/src/$(PKG)-test-CMakeLists.txt@g' \
        -i src/{sdl_image,sdl_sound}.mk

    # check
    for base in $(ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated); do
        ! grep -q '$(2)' "${base}.mk"
    done

    # other $(2)
    sed 's@$(2).cpp@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).cxx@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).c@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).ml@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).f@$(TEST_FILE)@g' -i $(cat mks)

    # check
    ! grep '$(2)' $(cat mks)

See https://github.com/mxe/mxe/issues/1452
2016-07-30 22:38:45 +03:00
Quintus 2190231a95 Enable CEGUI OpenGL3, Direct3D9, Direct3D10 renderers.
They build just fine. The Direct3D11 renderer fails to build with
an include error and hence has not been enabled.
2016-07-30 15:03:55 +02:00
Tony Theodore 1e00317615 cegui: enable shared and x86_64 builds 2016-07-30 00:59:31 +10:00
Tony Theodore b76e4b734b cegui: reformat and remove freetype2 workaround 2016-07-30 00:58:33 +10:00
Tony Theodore d55222f313 cegui: fix test and miminise invocation 2016-07-30 00:55:39 +10:00
Tony Theodore dafb826dbb cegui: unify patches 2016-07-30 00:54:28 +10:00
Quintus 8737985c5f Patch CEGUI build system to build the pkg-config files 2016-07-29 13:12:02 +02:00
Quintus d809a42c00 Fix glew build problems.
Cf. upstream ticket at
<https://bitbucket.org/cegui/cegui/issues/1131/opengl-renderers-fail-to-crosscompile-due>.
2016-07-29 12:43:43 +02:00
Quintus d3dc40229c Start work to upgrade to CEGUI 0.8.x.
The build fails in the OpenGL parser with "_imp__" errors in GLEW
currently.
2016-07-19 19:38:53 +02:00
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore ac7344aaef many packages: cleanup deps ordering 2015-09-23 17:41:16 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Tony Theodore 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Tony Theodore ef872e631a package cegui: fix update macro 2013-05-25 22:31:31 +10:00
Tony Theodore d57ce63c49 package cegui: add update macro 2013-05-25 22:03:21 +10:00
Tony Theodore 4f22b49c67 package cegui: fix libs to use xerces-c instead of tinyxml 2013-05-13 03:19:37 +10:00
Tony Theodore e0cf358067 package cegui: disable tinyxml 2013-05-13 01:02:53 +10:00
Quintus 17fb2b7f6c new package cegui 2013-05-12 16:35:51 +10:00