Commit Graph

47 Commits

Author SHA1 Message Date
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 d08148a0da Revert "boost pthreads qt sdl: disable cmake tests"
This reverts commit f1dd70802a.
2015-10-17 11:53:28 +11:00
Tony Theodore f1dd70802a boost pthreads qt sdl: disable cmake tests
see #909
2015-10-08 09:20:17 +11:00
Tony Theodore ee5db756fa boost pthreads sdl: tidy up cmake tests
closes #887
2015-10-04 16:01:18 +11:00
Tony Theodore 1dd126b160 sdl: add cmake test 2015-10-03 16:33:41 +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
Uwe Hermann 04115c1554 sdl: don't install manpages
This gets rid of ca. 170 manpages.

Also, drop nonexisting 'bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS='.
2014-08-18 18:54:46 +02:00
Tuukka Pasanen a2dfea7b4e Updated SDL for shared build 2014-02-10 14:29:27 +11:00
Niels Kristian Bech Jensen b990625ce3 sdl packages: filter 1.x series in update macro 2013-11-10 17:44:12 +11: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 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 e8544e53e9 packages sdl sdl_image sdl_mixer: fixed update macros (thanks Laura) 2012-01-27 14:40:07 +01:00
Martin Gerhardy 035265be82 update packages sdl sdl_image sdl_mixer sdl_net 2012-01-25 22:46:08 +01:00
Volker Grabsch 98a2ee286d improved coding style regarding creation of symlinks 2011-08-15 12:40:35 +02:00
Volker Grabsch 8053624005 cleanup: remove unnecessary spaces 2010-11-27 00:26:52 +01:00
Volker Grabsch fa7b4a2a69 remove unrecognized ./configure option for package sdl 2010-11-26 19:43:08 +01:00
Volker Grabsch 2292137dc7 comple package sdl with --disable-stdio-redirect
For discussion around this change, see:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2010-11/msg00014.html
2010-11-26 19:42:47 +01:00
Tony Theodore 8caecd3e69 improve ffmpeg: move link creation to respective packages 2010-09-20 22:20:00 +10:00
Volker Grabsch 7877e44aa2 enable win32 threads explicitly in package sdl 2010-05-02 17:02:38 +02:00
Mark Brand 059874a74e use the ddraw.h from Wine/KDE-Win to support directx in SDL 2010-04-14 21:26:59 +02:00
Volker Grabsch 38ba243628 disable directx support in package sdl because sdl has trouble with the new ddraw.h 2010-04-14 03:30:53 +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 fcc25621b3 improved coding style 2010-02-16 03:49:06 +01:00
Volker Grabsch 834421011b hardcode the --static argument into i686-pc-mingw32-pkg-config 2010-02-14 18:49:22 +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 045a091b19 test program for package sdl 2010-01-22 03:53:37 +01:00
Volker Grabsch 8a3233b044 simplified file markers 2010-01-16 23:02:02 +01:00
Volker Grabsch 4b8643c230 use consequently "www.libsdl.org" instead of "libsdl.org" 2009-11-08 19:31:40 +01:00
Volker Grabsch 3c74da9895 update version of packages atk, gtk, sdl, sdl_image and sdl_mixer 2009-10-28 03:01:41 +01:00
Volker Grabsch a79acd1f3e improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf 2009-10-21 13:24:44 +02: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 b05d179c96 put all package's project websites into Make variables $($(PKG)_WEBSITE) 2009-03-01 16:35:21 +01:00
Volker Grabsch 465b1fc60e improved parallel builds of packages 'binutils', 'pdflib_lite' and 'sdl' 2008-11-09 05:22:56 +01:00
Volker Grabsch 0d90e444ed bugfix in the build rules of package 'sdl' 2008-11-09 01:56:12 +01:00
Volker Grabsch 75ce12fadd translated package: sdl 2008-11-09 01:06:16 +01:00