Commit Graph

36 Commits

Author SHA1 Message Date
Tony Theodore 7e3678193a eigen: specifiy *.pc file install dir
fixes #2288
2019-03-02 13:47:19 +11:00
Tony Theodore 1df09125a6 eigen: update 3.2.5 --> 3.3.7 2019-02-27 04:14:38 +11:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Boris Nagaev e2fd9fe23a use cmake wrapper in all packages
Native binaries (libmysqlclient, vtk, vtk6) still build with `cmake`
instead of the cmake wrapper. Note that even in these cases MXE's cmake
is used (not system cmake), because $(PREFIX)/$(BUILD)/bin is added to
PATH by Makefile and MXE's cmake binary exists there.
2017-01-08 03:01:54 +01: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
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
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Timothy Gu 6c3c520171 Fix eigen 2015-07-08 18:40:06 -07:00
Timothy Gu d14a17c511 eigen/ffmpeg: update 2015-07-05 18:44:59 -07:00
Tobias Gruetzmacher 6bb70a6916 eigen: Update & enable shared build. 2014-10-10 00:15:46 +02:00
Timothy Gu f3254ddadb eigen: use eigen-3.2.1.tar.bz2 as file name
3.2.1.tar.bz2 looks really random.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-08-17 17:26:51 -07:00
Tony Theodore 7ae90663c6 package eigen: fix typo 2014-04-28 18:26:27 +10:00
Brad Pitcher 3632aea052 add eigen test
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-26 20:01:16 -07:00
Brad Pitcher 8a07313d43 update eigen to 3.2.1 2014-04-19 17:45:57 -07:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Niels Kristian Bech Jensen 156417a58b update package eigen 2013-09-07 23:16:43 +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
Niels Kristian Bech Jensen f0e96705c5 update package eigen 2013-04-20 14:48:34 +10:00
Martin Lambers bbb8cb14a3 Update package eigen.
The update script only found versions 2.x, but 3.x is current.
2012-12-07 20:32:02 +01:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Volker Grabsch 00f4690d3f Move full package names from src/*.mk into package list (index.html) 2012-03-29 21:41:44 +02:00
Volker Grabsch 7badad85c9 Move doc/index.html -> index.html 2012-03-29 12:14:15 +02:00
Volker Grabsch 7e6723adb5 Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html 2012-03-29 11:07:07 +02:00
Volker Grabsch defdff28f0 Rebrand to new project name MXE 2012-03-28 15:46:58 +02:00
Volker Grabsch e86ebf0526 Fix annoying whitespaces at EOL 2012-03-27 13:29:57 +02:00
Mark Brand 96f6219738 package eigen: fixed subdir 2011-12-22 09:58:03 +01:00
Volker Grabsch d2690bc6a6 Fixed download URL of package eigen: HTTP redirects to HTTPS, so we should use the HTTPS URL directly 2011-12-16 10:21:33 +01:00
Volker Grabsch 48be942f78 Fixed checksum of package eigen 2011-12-16 10:20:05 +01:00
Mark Brand 8dd29376bd update package eigen 2011-12-06 22:34:02 +01:00
Tony Theodore b3db813174 packages cgal, eigen, lapack: use CMAKE_TOOLCHAIN_FILE 2011-11-27 00:45:44 +11:00
Mark Brand 78fced81ef package eigen: fix filename 2011-10-22 10:59:03 +02:00
Mark Brand 456cf21c12 style improvements for projects cgal eigen mpfr 2011-10-22 00:53:46 +02:00
Brad Pitcher 4093ebb6cc new packages cgal eigen mpfr 2011-10-22 00:24:34 +02:00