Commit Graph

33 Commits

Author SHA1 Message Date
Mark Brand ff835cad08 update: freetds, libgcrypt, mxml, ogg, poppler 2019-09-01 00:22:27 +02:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore c840a7ee1e update github tag tracking packages to new conf style 2017-11-09 17:13:49 +11:00
Tony Theodore f6621190d8 mxml: update 2.10 --> 2.11 and enable shared 2017-10-30 19:29:53 +11:00
Boris Pek c78fdfb576 mxml: update WEBSITE 2017-03-29 16:09:42 +03:00
Boris Pek d70a7c025c mxml: use GH_CONF 2017-03-29 14:36:24 +03:00
Boris Pek 77c8f14f1f mxml: update from 2.9 to 2.10 + fix pkg url 2017-03-29 14:20:40 +03:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Boris Nagaev f4df52c6c3 fix broken download URL of mxml
The project was moved to GitHub on 27 Feb 2017
https://michaelrsweet.github.io/

Broken build: https://travis-ci.org/mxe/mxe/builds/205984065#L479
2017-02-28 00:13:25 +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
Tony Theodore b672cd8266 update various packages (tested on i686-w64-mingw32.static)
ffmpeg flac gdk-pixbuf glew glib graphicsmagick ilmbase imagemagick
libffi libftdi1 libircclient libmicrohttpd libpaper librsvg libtool
libwebp libxml++ libxml2 mpg123 mxml nlopt oce openblas opencv
opusfile pfstools poco poppler primesieve x264 xine-lib
2014-12-01 23:51:26 +11:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Mark Brand 7bcc3df7ac update package mxml 2014-03-17 10:57:43 +01: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 1e26d0b054 package mxml: fix update macro 2013-04-27 18:22:22 +10:00
Niels Kristian Bech Jensen 026b092960 package mxml: update website 2013-04-27 18:18:11 +10: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 11fed72382 update packages mxml pcre 2011-12-21 10:20:16 +01:00
Mark Brand 0d20234f54 remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
2010-12-12 01:16:13 +01:00
Volker Grabsch 8469492843 simple test program for package mxml 2010-11-27 00:33:03 +01:00
Volker Grabsch 70e9562af3 enable thread safety in package mxml 2010-11-27 00:16:17 +01:00
Volker Grabsch 877babebd5 improved build rules of package: mxml 2010-11-27 00:07:42 +01:00
Volker Grabsch 32b068a6b9 improved version recognition of package: mxml 2010-11-26 23:22:52 +01:00
Volker Grabsch f7436a8ba3 cleanup package: mxml 2010-11-26 23:16:08 +01:00
Martin Gerhardy a9f237186c new package: mxml 2010-11-26 23:11:23 +01:00