Commit Graph

28 Commits

Author SHA1 Message Date
Mark Brand 0683703062 fix some update macros for sourceforge packages 2018-03-25 16:27:53 +02:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Boris Nagaev 9fefd891d8 update lensfun to 0.3.2 2017-03-18 05:28:38 +01:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Viktor Szakats e961e447fb URL updates 2017-03-04 10:33:47 +00:00
Boris Nagaev c5864def02 remove unneeded cmake vars specified by packages 2017-01-08 03:01:54 +01:00
Boris Nagaev e2fd9fe23a use cmake wrapper in all packages
Native binaries (libmysqlclient, vtk, vtk6) still build with `cmake`
instead of the cmake wrapper. Note that even in these cases MXE's cmake
is used (not system cmake), because $(PREFIX)/$(BUILD)/bin is added to
PATH by Makefile and MXE's cmake binary exists there.
2017-01-08 03:01:54 +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
Timothy Gu 94d534524a lensfun: Update
Fixes #542.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-10-21 19:34:27 -07:00
Timothy Gu 339037a2ca lensfun: increase verbosity of `make` to ease debugging
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-21 19:46:51 -07:00
Niels Kristian Bech Jensen 50e081c0e7 Use $(SORT) variable in lensfun.mk
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-21 19:43:29 -07:00
Timothy Gu a2bf78270f lensfun: enable shared build
Some good side effects:

* fixed pkg-config file is now a patch instead of a rule in recipe
* Doxygen is disabled

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-21 19:33:20 -07:00
Timothy Gu 0f2849ed8b Merge branch 'stable'
Signed-off-by: Timothy Gu <timothygu99@gmail.com>

Conflicts:
	src/lensfun.mk
2014-04-19 19:39:08 -07:00
Niels Kristian Bech Jensen 5a29aa3f2f Lensfun has moved to sourceforge.net
The lensfun project has moved to sourceforge.net pending the close-down of
berlios.de by the end of April. This patch updates lensfun.mk accordingly.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-19 18:30:49 -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 190d2368b8 update package lensfun 2013-11-09 14:18:10 +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 523f4abf6b package lensfun: replace make with $(MAKE) 2013-04-28 03:16:13 +10:00
Tony Theodore 6504367d54 package lensfun: portability fix for /usr/bin/python 2013-04-28 03:10:16 +10:00
Niels Kristian Bech Jensen 5d91f98d1a package lensfun: add libgnurx support 2013-04-20 14:39:18 +10:00
Tony Theodore 88c31662cb packages cfitsio lensfun: add update macros 2013-03-24 14:27:21 +11:00
Tony Theodore 4ec70adaed packages cfitsio lensfun: add update macro placeholder 2013-03-24 06:53:46 +11:00
Tony Theodore d4f2dcf3f0 package lensfun: add pkg-config file and test program 2013-03-24 06:33:47 +11:00
Niels Kristian Bech Jensen 71ca588308 add packages cfitsio and lensfun 2013-03-24 05:00:16 +11:00