Commit Graph

38 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 bd2495b53f xerces: update download URL 2017-12-04 22:24:36 +01: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 dea607ff0f xerces: update
Version 3.1.2 is not available in upstream.

see https://github.com/mxe/mxe/issues/1519
2016-09-13 21:34:44 +03: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 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
Timothy Gu b6fd9dd0c8 xerces: Update 2015-06-18 19:01:48 -07: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 dd88ffb6fe package xerces: remove missing mirror and use primary download site 2013-06-19 23:21:52 +10:00
Tony Theodore 876b53a444 package xerces: enable pthreads 2013-03-24 01:49:35 +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
Volker Grabsch 6414eebdaa fix build scripts of packages: curl gnutls xerces 2010-11-29 01:15:43 +01:00
Volker Grabsch ac6e4c62e1 bugfix for package xerces 2010-09-23 02:48:50 +02:00
Tony Theodore 3b8afb8c9b bugfix for package xerces 2010-09-14 16:24:25 +02:00
Volker Grabsch 86ecf936d9 increase portability of package xerces by disabling SSE2 2010-07-16 14:07:34 +02:00
Volker Grabsch 040a708d86 bugfix: use consistently "CONFIG_SHELL=$(SHELL)" to fix packages that contain bashisms 2010-07-16 13:23:37 +02:00
Volker Grabsch 6b0b9e678b bugfix: compile the test program of package xerces with stricter compiler flags 2010-07-11 14:10:12 +02:00
Volker Grabsch 21d982e3a5 test program for package xerces 2010-07-11 14:05:15 +02:00
Volker Grabsch 9ff1828308 disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces 2010-05-02 17:58:37 +02:00
Volker Grabsch 3b8612201e improved version recognition of package xerces 2010-05-01 17:58:22 +02:00
Volker Grabsch 38163ac3de update package xerces (by Tony Theodore) 2010-05-01 17:50:13 +02:00
Volker Grabsch 7a4ffb7acc run the ./configure script with bash in package xerces
The reason is a bug in /bin/sh of OpenSolaris:
http://lists.gnu.org/archive/html/mingw-cross-env-list/2010-02/msg00100.html
2010-02-19 20:11:27 +01:00
Volker Grabsch 48d206d2c6 remove an option that is no longer needed since "pkg-config" gets always "--static" 2010-02-15 15:49:32 +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 7cd3e1657a update version of packages boost, gdal, gtk, libpano13 and xerces 2010-02-05 16:19:19 +01:00
Volker Grabsch 8a3233b044 simplified file markers 2010-01-16 23:02:02 +01:00
Volker Grabsch 75d77d4733 avoid rc (release candidate) versions of package xerces 2009-12-02 14:21:57 +01:00
Volker Grabsch fd77ca7c8f bugfix of curl integration into package xerces 2009-11-12 14:32:33 +01:00
Volker Grabsch a1c7f97efc new package: xerces 2009-11-12 13:02:43 +01:00