Commit Graph

51 Commits

Author SHA1 Message Date
Mark Brand 4a04363c6f fix update macros: bzip2, gta, guile, id3lib, itpp, libgsasl 2019-05-14 11:34:53 +02:00
Tony Theodore a1f5c6852c gtkimageview guile libssh: fix gcc5 unrecognised options 2018-08-15 12:57:09 +10:00
Tony Theodore 69427ce20c guile: fix gcc7 build 2018-08-15 12:57:09 +10:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Viktor Szakats e961e447fb URL updates 2017-03-04 10:33:47 +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 97553b65c2 gmp guile icu4c ncurses xmlrpc: use BUILD_CC/CXX portability variable 2015-09-30 14:21:10 +10: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 c4eb5cb0ce Merge branch 'stable'
Conflicts:
	src/guile.mk
	src/xine-lib.mk
2014-10-20 22:25:20 -07:00
Timothy Gu badadead53 guile: Disable Texinfo info documents building
Might fix #537.
2014-10-20 12:27:57 -07:00
Tony Theodore 6506b8c033 guile: enable i686-w64-mingw32 build (see #492) 2014-10-10 15:45:44 +11:00
Tony Theodore 38d0a24c05 package guile: fix for gcc 4.9 -Werror=unused-value 2014-05-11 21:39:33 +10:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Timothy Gu 25ee3ce514 guile: update and fix update macro
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-12-29 11:44:03 -08:00
Tony Theodore 2cfde1a96d package guile: add -ldl to LIBS 2013-12-24 22:55:59 +11:00
Tony Theodore 44a8595688 packages graphicsmagick guile imagemagick sox: change libtool --> libltdl 2013-08-25 19:26:53 +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
Tony Theodore 9c32a4fbd8 packages guile mingwrt w32api: use patterns for ignored versions 2013-05-22 19:49:53 +10:00
Niels Kristian Bech Jensen f71ab8ce99 package guile: bump ignored version 2013-04-22 19:01:05 +10:00
Tony Theodore c5ce2ec4e3 package guile: tidy up test program 2013-03-04 03:03:13 +11:00
Tony Theodore c2b04c0175 package guile: fix test program 2013-03-04 01:13:36 +11:00
Tony Theodore 8de57b0d6d package guile: add libgnurx dependency 2013-03-03 21:13:58 +11:00
Tony Theodore 43b01d903f package guile: update ignored version 2012-12-12 21:57:49 +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
Tony Theodore c481284f8a package guile: increase ignored version to 2.0.5 2012-03-24 23:14:29 +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 d5661822a8 package guile: make use of new BUILD variable 2011-11-26 21:54:54 +01:00
Volker Grabsch bcca2ab269 still ignore guile-2.0.1 because major MinGW cross build issues haven't been fixed there yet 2011-05-17 14:14:05 +02:00
Volker Grabsch e68c339668 ignore version 2.0.0 of package guile (i.e. wait for the issues to be fixed in the next version) 2011-04-22 21:16:04 +02:00
Volker Grabsch 039b291ac0 fix compiler errors instead of suppressing them 2011-03-27 15:49:26 +02:00
Mark Brand 0748272bba package guile: allow unused vars 2011-03-26 01:25:02 +01:00
Volker Grabsch d52024be4e improved escaping 2011-03-17 01:38:08 +01:00
Tony Theodore f32de16f97 package guile: wine confuses native build steps so set CC_FOR_BUILD and --build 2011-03-17 05:53:41 +11:00
Volker Grabsch f6211a2851 don't use "struct timespec" from <pthreads.h> in package guile 2010-05-03 11:55:19 +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 1d686c1285 fixed typo 2010-04-15 02:52:58 +02:00
Volker Grabsch eed2405add prepare the guile build rules to work with future versions of guile, too 2010-04-15 02:26:45 +02:00
Volker Grabsch c4ed9e901c don't patch the configure.in files in package guile, thus avoiding timestamp problems (by Tony Theodore) 2010-04-15 01:41:54 +02:00
Volker Grabsch 28331d4050 don't generate guile-procedures.txt in package guile because this requires a native guile installation 2010-04-14 17:33:56 +02:00
Volker Grabsch 743e56fa1d avoid running the autotools after patching in package guile 2010-04-13 21:08:01 +02:00
Volker Grabsch ffa1134d7c avoid running the autotools when building package guile 2010-04-12 02:25:36 +02:00