Commit Graph

59 Commits

Author SHA1 Message Date
Viktor Szakats c006c171f7 update/remove broken URLs 2018-11-20 10:27:31 +01:00
Viktor Szakats b9a47e838a Secure URLs 2018-07-27 12:18:03 +10:00
Boris Pek be40af4586 geos: configure with "--disable-inline" option
+ Update affected packages.
2018-03-30 16:25:21 +11:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Luke 9831e728e8 Update geos 2017-10-10 15:31:49 +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
Tony Theodore c255ff8b5a Add options to strip toolchain, executables, and libs
Minimal implementation to strip the [largest files][lf-gist] by
default, mostly made up of gcc/binutils and test programs.

gdal and geos both produce large libraries, but the libs themselves
aren't worth stripping, it's the 20 odd programs produced by gdal
with those libs statically linked that consume the most space.

I'm leaving these undocumented as the defaults seems reasonable and
the interface may well change when we enable debug/release variants.

closes #985
closes #1249

[lf-gist]:https://github.com/mxe/mxe/issues/1249#issuecomment-193392038
2016-10-23 17:59:21 +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 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
Rashad M 31a7e07771 geos: Enable shared builds
Modifications: don't define GEOS_INLINE.

See #534.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-10-21 21:21:54 -07:00
Timothy Gu 627ed07a8f geos: Fix geos-config script
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-10-18 18:52:35 -04:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Niels Kristian Bech Jensen 1795e432cb update package geos 2013-09-07 23:18:15 +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
Mark Brand b72af3a302 update package geos 2013-03-06 22:09:58 +01:00
Mark Brand cfe7c8dca8 update package geos 2013-01-23 10:51:10 +01:00
Mark Brand d1b7c683c3 update package geos 2012-11-15 20:35:40 +01:00
Mark Brand 679d673751 update package geos 2012-06-25 23:43:55 +02:00
Mark Brand 24c8334589 update package geos 2012-06-04 22:39:37 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Mark Brand 7861e60646 update package geos 2012-04-14 09:22:58 +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
Mark Brand ed4770987c update package geos 2012-01-05 20:29:44 +01:00
Mark Brand 93c8aa5ad2 update package geos 2011-09-27 23:46:33 +02:00
Mark Brand 7b8631c5e7 upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz 2011-06-08 08:53:36 +02:00
Volker Grabsch d14260461a test program for package geos 2011-05-18 13:43:57 +02:00
Volker Grabsch e1ba498eac upgrade package: geos 2011-05-18 13:31:19 +02:00
Volker Grabsch 4725dc3cd4 fix download URLs of package: gdal geos libgeotiff proj tiff 2010-11-29 01:52:16 +01:00
Mark Brand 734d34653d upgrade packages: atk geos glew glib libpaper pango pcre pixman 2010-04-19 21:54:23 +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 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 3898b19c56 update version of packages geos, libgcrypt, libsndfile, pango and xmlwrapp 2009-12-20 16:44:34 +01:00
Volker Grabsch 86ffb5c645 update version of packages geos and sqlite 2009-12-11 15:09:22 +01:00
Volker Grabsch 4fba6cd5bb update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer 2009-12-02 16:35:27 +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 555b11bc32 improved download URLs for packages gdal, geos, libgeotiff, proj and tiff 2009-09-01 21:00:20 +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 b2fe0692f3 update version of packages cairo, geos, libgsasl, pixman and sqlite 2009-06-16 22:39:25 +02:00
Volker Grabsch 6a2cab9dbb validate downloads using SHA-1 checksums 2009-04-05 14:00:17 +02:00
Volker Grabsch 1b0a25f0ac update version of packages geos, libgsasl and libidn 2009-04-04 11:11:19 +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 b43fe868d5 update version of packages geos and mingwrt 2009-02-03 02:45:05 +01:00