Commit Graph

36 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Boris Nagaev 2f1e4ad52d hdf5: update download URL 2017-12-04 22:24:36 +01:00
Tony Theodore 2194eb9855 hdf5: add *.pc file 2017-11-20 20:39:25 +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 c3c61932e6 update download URL and homepage of hdf4 and hdf5 2016-09-15 22:18:03 +03: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 46baacbd21 hdf5: add cmake test 2015-11-28 20:07:29 +11: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
Tony Theodore 44438d6e6a boost hdf5 qt qtbase: write to $(CMAKE_TOOLCHAIN_DIR) instead of $(CMAKE_TOOLCHAIN_FILE)
Fixes #823
2015-09-12 13:43:05 +10:00
Tony Theodore 3c67cefde7 boost hdf5 pkgconf qt: move cmake variables to respective packages 2014-12-08 20:22:39 +11:00
Timothy Gu 262aa647f0 Merge branch 'stable'
Conflicts:
	Makefile
	src/gd.mk
	src/gdal.mk
	src/imagemagick.mk
	src/pcl.mk
	src/qt.mk
2014-08-29 17:58:30 -07:00
Timothy Gu 1dc2468482 hdf5: Fix download
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-08-29 17:38:17 -07:00
Tony Theodore 845ae38c02 Revert "package hdf5: remove libtool workaround (actually a pthreads build issue)"
This reverts commit 698f49c14a.
2014-03-09 22:18:50 +11:00
Tony Theodore 698f49c14a package hdf5: remove libtool workaround (actually a pthreads build issue) 2014-03-08 16:33:01 +11:00
Tony Theodore 6cdb1fce4c package hdf5: enable shared builds and detection of pthreads and zlib 2014-02-27 04:02:48 +11:00
Tony Theodore 2c2cd131fe package hdf5: disable shared build and workaround for generated sources 2014-02-10 03:43:46 +11:00
Tony Theodore f491562090 package hdf5: fix checksum and autoconf version patch 2013-11-23 14:49:33 +11:00
Niels Kristian Bech Jensen 239bc4f238 update package hdf5 2013-11-19 13:10:26 +11:00
Tony Theodore 25a3a7f0ff package hdf5: add prefixed compiler wrappers and add to cmake toolchain file 2013-07-25 18:36:14 +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 682857e9a4 package hdf5: fix generated platform specific sources 2013-06-23 17:12:08 +10:00
Niels Kristian Bech Jensen 1253ce630d update package hdf5 2013-05-24 13:11:49 +10:00
Tony Theodore d470d17d9c package hdf5: automake 1.13 requires an m4 directory 2013-03-23 19:32:26 +11:00
Tony Theodore 74c61cb3f2 update packages hdf4 and hdf5 2013-02-14 22:22:16 +11:00
Tony Theodore 36555723f5 package hdf5: rename test program and re-style test invocation 2013-02-09 15:20:20 +11:00
Alois Schlögl 3b51d4e90b hdf5: add runtime test 2013-02-09 15:00:49 +11:00
root 399a0157ef hdf5 fixes to build on debian squeeze 6.0 2013-02-06 14:09:28 +04:00
Tony Theodore 417513d50e packages hdf4 hdf5: add update script 2012-12-12 22:12:26 +11:00
Martin Lambers 54afd00283 Remove unnecessary dependency on msvcr80.dll from hdf5 package.
This also removes linking with libmsvcr80.a for the netcdf and gdal packages.
2012-12-07 17:40:20 +11:00
Tony Theodore 7081702736 packages hdf4 hdf5 netcdf portablexdr: add TODO placeholder for update scripts 2012-12-06 00:25:58 +11:00
Tony Theodore 3b80e4667a package hdf5: bypass platform detection executables and use cross ar 2012-12-05 22:53:33 +11:00
Martin Lambers a36c93db65 Add package netcdf and its prerequisites hdf4, hdf5, and portablexdr.
Also enable the HDF4, HDF5 and NetCDF drivers for GDAL.
2012-12-05 18:26:56 +11:00