Commit Graph

50 Commits

Author SHA1 Message Date
Viktor Szakats b9a47e838a Secure URLs 2018-07-27 12:18:03 +10: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 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 e94d07e978 openexr openscenegraph: remove -fpermissive from CXXFLAGS 2015-09-30 15:49:30 +10:00
Tony Theodore 3c96c291b2 ilmbase openexr: use BUILD_CXX portability variable 2015-09-30 15:31:45 +10: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
Tobias Gruetzmacher 43959ad147 Update OpenEXR (2.2.0) & fix build.
- Update autoconf stuff, since the shipped libtool has problems with
  64-bit builds (fixes #736)
- Manually execute dwaLookup, just like b44ExpLogTable
2015-08-01 12:39:10 +02:00
Martin Lambers fd70d8abab openexr: fix 64 bit build and build failure 2015-01-25 15:18:41 +01:00
Tobias Gruetzmacher cabea45f7c Package openexr: Enable shared build. 2014-03-08 22:00:18 +01:00
Niels Kristian Bech Jensen 71f60e259c update packages ilmbase openexr 2013-12-04 17:36:34 +11:00
Tony Theodore 9636406dff update packages gsl ilmbase libgcrypt openexr openscenegraph 2013-07-31 20:16:22 +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
Niels Kristian Bech Jensen 77c6235ddc update packages ilmbase openexr 2013-04-22 18:56:53 +10:00
Thomas Mayer 1ac9e0400b Github downloads are deprecated, using tags instead or remove Github as alternative URL. 2013-03-10 17:53:02 +01:00
Martin Lambers 8776c22604 package openexr: add link test 2013-02-06 16:57:57 +11:00
Tony Theodore a2971cdfc8 package openexr: portability fix for systems using dash as /bin/sh 2012-12-10 02:19:51 +11:00
Tony Theodore 0300eb2dbc update packages ilmbase openexr 2012-12-09 23:00:17 +11: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
Mark Brand 1c73eb1ec8 package openexr: explicit pthreads dependency 2012-02-25 16:07:56 +01:00
Tony Theodore b414605943 package openexr: fix for outdated config files in native ilmbase build 2011-11-30 22:13:21 +11:00
Volker Grabsch 148931b4ae replaced $(BUILD) with a more direct and less brittle construct
For discussion, see the following email and its follow-ups:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2011-11/msg00112.html
2011-11-28 09:51:56 +01:00
Mark Brand 3cce3e9b58 many packages: use --build instead of wine cross_compiling hack 2011-11-26 16:30:36 +01:00
Volker Grabsch 013f5fb12b bugfix for package openexr: ensure that ./configure uses the correct *-pkg-config 2011-06-02 20:45:48 +02:00
Volker Grabsch 0931f4704b improved comment 2011-06-02 20:13:31 +02:00
Mark de Wever 20ba0ddb87 fix missing dependencies 2011-02-14 20:26:33 +11:00
Tony Theodore ca610a8b7f bugfix for ilmbase: remove obsolete compiler options 2010-10-02 22:25:02 +10:00
Tony Theodore 6def825015 rollback previous commit 2010-09-27 01:25:24 +10:00
Tony Theodore 714a12ab02 use the more recent gcc42 on OSX 2010-09-27 01:12:56 +10:00
Volker Grabsch d70597fd94 bugfix for package ilmbase (by Tony Theodore) 2010-09-12 19:44:33 +02:00
Volker Grabsch ce869d393f bugfix for package ilmbase
The ilmbase package contains some basisms, so its ./configure call
needs a CONFIG_SHELL argument.
2010-09-12 16:18:13 +02:00
Mark Brand 872110b850 update packages: ilmbase openexr imagemagick 2010-09-03 19:19:12 +02:00
Volker Grabsch e1ab4466ff changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand) 2010-02-16 04:12:53 +01:00
Volker Grabsch 71f83a7e0d point consequently to "doc/index.html" instead of "doc/index.html or doc/README" 2010-02-08 00:58:06 +01:00
Volker Grabsch 8a3233b044 simplified file markers 2010-01-16 23:02:02 +01:00
Volker Grabsch f162381b1a improved version recognition, enable the notation of ignored (bad) package versions 2009-09-20 14:36:46 +02:00
Volker Grabsch 163b118424 replace the contact email address with hints to the project mailing list 2009-09-01 16:35:59 +02:00
Volker Grabsch 3c5ab4e280 add a copyright notice and license to each source file 2009-08-21 06:58:11 +02:00
Volker Grabsch 6a2cab9dbb validate downloads using SHA-1 checksums 2009-04-05 14:00:17 +02:00
Volker Grabsch 5deaef6eb0 improved the regexes for package version recognition 2009-03-02 06:00:03 +01:00
Volker Grabsch b05d179c96 put all package's project websites into Make variables $($(PKG)_WEBSITE) 2009-03-01 16:35:21 +01:00
Volker Grabsch 0741db89b3 new package: openexr (by Martin Lambers) 2009-02-15 00:04:04 +01:00