Commit Graph

53 Commits

Author SHA1 Message Date
PsychoXIVI a3b84ec9c8 Fixed `lua` copy executable command to source from `.exe` 2018-08-14 22:00:31 +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
Tony Theodore fcbd2fbcc7 Merge pull request #1458 from fiendish/proper_lua_dll_name
Windows Lua DLLs should not start with "lib"
2016-08-06 15:41:10 +10: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
fiendish b2fee50a51 Use official Lua DLL version naming 2016-07-27 17:19:53 +02:00
Boris Nagaev 8fa6300087 update lua from 5.3.2 to 5.3.3 2016-06-07 01:40:07 +03:00
Boris Nagaev aa49f5265b lua: create .gitkeep files in empty directories
Directories /lib/lua/5.3/ and /share/lua/5.3/ can be used by Lua modules
installed by luarocks, for example.

See https://gist.github.com/tonytheodore/4815252165e0f7eae740#file-build-pkg-only-deps2-L1350
2016-02-28 13:30:05 +03:00
Boris Nagaev 963ad441e4 lua: move common command to $(PKG)_BUILD_COMMON 2016-02-28 13:30:05 +03:00
Tony Theodore d9401362c5 lua: use $(BUILD_CC) variable 2016-01-06 13:10:40 +11:00
Tony Theodore 62906f9c9d lua: enable native build only in luarocks plugin 2015-12-12 10:29:21 +11:00
Tony Theodore 8bbae6525b lua: use libluaX.Y.dll naming convention
closes #910
2015-12-07 13:54:57 +11:00
Boris Nagaev a79bd18dac install lua symlinks to $(PREFIX)/$(BUILD)/bin
... instead of $(PREFIX)/bin, not to clobber the user's normal
tools.

See #1017
2015-12-06 05:38:24 +03:00
Boris Nagaev 5c58492295 move lua_SHORTVER from luarocks.mk to lua.mk
See #1017
2015-12-06 05:38:23 +03:00
Boris Nagaev 08488f9ecc lua: enable native target 2015-12-06 05:38:23 +03:00
Boris Nagaev 580be671e5 lua: install cross-compiled binary to <target>/bin 2015-12-06 05:38:23 +03:00
Boris Nagaev ad55df265c update Lua to 5.3.2 2015-11-30 23:33:58 +03:00
Tony Theodore ae19647c46 lua: disable native build temporarily 2015-10-05 17:42:36 +11: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 aed50d56ae lua: enable optional native build 2015-09-12 21:27:09 +10:00
Boris Nagaev bd6e6019e1 update Lua from 5.3.0 to 5.3.1
Lua 5.3.1 was released on 17 Jun 2015. It is a bug-fix release
of Lua 5.3. http://www.lua.org/bugs.html#5.3.0
2015-06-19 00:33:45 +03:00
Boris Nagaev c7526852f0 update Lua from 5.2.3 to 5.3.0
Package luabind was changed to be compatible with Lua 5.3.0:

 * do not use macro LUA_COMPAT_ALL. Lua 5.3 respects macros
   LUA_COMPAT_5_2 and LUA_COMPAT_5_1 and ignores macro
   LUA_COMPAT_ALL.

 * Instead, include needed compatibility defines into header
   luabind/config.hpp. Side effect of this is that C++ code
   using luabind doesn't need to define LUA_COMPAT_ALL.
   This definition was removed from the example of luabind.
2015-05-14 15:58:58 +03:00
Timothy Gu 5f13bbba27 lua: Fix static install
Fixes #461.
2014-08-16 14:30:13 -07:00
Timothy Gu 8e1be0a982 lua: enable shared
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 16:58:02 -07:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Niels Kristian Bech Jensen 49ddd67b26 update package lua 2013-12-26 13:38:47 +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 2768800103 update packages libgsf lua 2013-03-29 20:38:17 +11:00
Tony Theodore cf51a138ba package lua: add pkg-config file 2013-03-23 18:39:37 +11:00
Mark Brand 391190993f update package lua 2012-10-11 17:51:00 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
beoran 1c5da167d8 update package lua 2012-04-16 03:40:31 +10:00
Stefan Löffler 147390c66e Fix installation of lua.pc
Add missing "$(INSTALL) -d" to lua.mk
2012-04-13 12:48:27 +02: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 2b7790493f fix ranlib issues in package lua 2011-05-27 14:57:01 +02:00
Volker Grabsch 13d5d3aa15 install the *.pc script along with package lua 2011-04-30 15:32:20 +02:00
Volker Grabsch 2e669a02c5 adjusted coding style of the test program of package lua 2010-12-05 15:41:01 +01:00
Tony Theodore 2405db709f add test program for lua 2010-12-06 01:31:02 +11: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