Commit Graph

42 Commits

Author SHA1 Message Date
Mark Brand 505a26167d replace stray tabs with spaces 2019-01-25 12:33:32 +01:00
Tony Theodore e9d4e7d1a0 freeimage: fix posix shared build 2018-12-29 16:31:38 +11:00
Charles Prévot eb21f0277b freeimage shared 2018-11-06 11:01:44 +01:00
Tony Theodore 7b51a9c67c freeimage: fix updater 2018-03-17 19:13:11 +11: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
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
fiesh 8540e9c19a fix freeimage build
Add the FREEIMAGE_LIB define in order to keep the build process from
defining dllspec specifications. Remove -fPIC to fix a warning.
2015-12-24 09:05:50 +01:00
fiesh 196a2414d8 also build and install FreeImagePlus 2015-12-17 12:18:23 +01: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
Andrew Kelley abfb1d9533 freeimage pkg-config should depend on libstdc++ 2015-02-10 12:15:09 -07:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +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 6008bd37db Merge branch 'stable' 2013-03-12 22:25:57 +11:00
Tony Theodore 9267c625d0 package freeimage: add -lws2_32 to pkg-config file 2013-03-12 22:25:36 +11:00
Tony Theodore 3f57e66418 Merge branch 'stable' 2013-03-12 04:44:11 +11:00
Tony Theodore a327292b95 package freeimage: create and use pkg-config file 2013-03-12 04:43:36 +11:00
Tony Theodore f1f65a96cd package freeimage: fix test program for stable branch 2013-03-12 04:00:17 +11:00
Tony Theodore 120046cdac package freeimage: fix test program for stable branch 2013-03-12 03:57:20 +11:00
Tony Theodore 6edd87aac4 package freeimage: fix static build and add test program 2013-03-12 03:26:37 +11:00
Mark Brand 01db47177e update package freeimage 2013-03-12 03:26:28 +11:00
Tony Theodore 31133c3f44 package freeimage: fix static build and add test program 2013-03-12 02:59:02 +11:00
Mark Brand 2eb0615d46 update package freeimage 2012-10-27 23:06:34 +02: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
Mark Brand fca2f975c4 update package freeimage
---
 src/freeimage-1-fixes.patch |   27 +++++++++++++++++----------
 src/freeimage.mk            |    4 ++--
 2 files changed, 19 insertions(+), 12 deletions(-)
2012-03-25 21:56:47 +02:00
Mark Brand e0eabfed4d update package freeimage 2012-02-20 10:01:09 +01:00
Mark Brand 4570c759bc update packages: fftw freeimage gdb libsigc++ libusb 2011-07-28 02:26:58 +02:00
Mark Brand 48ebf303e3 upgrade package freeimage 2011-01-23 20:57:31 +01:00
Volker Grabsch 77f47c13ca improved update script of all remaining SourceForge packages 2010-12-02 20:31:45 +01:00
Mark Brand bb8d86d861 update package freeimage 2010-09-03 18:48:54 +02:00
Volker Grabsch 9e4b402825 use $(INSTALL) instead of install in package freeimage 2010-02-19 04:37:27 +01:00
Volker Grabsch a7cae3a1f7 implemented version recognition for package freeimage 2010-02-16 21:47:03 +01:00
Volker Grabsch 5faa838de4 corrected download URL and version number style of package freeimage 2010-02-16 21:28:49 +01:00
Mark Brand 456d5a9d68 new package: freeimage 2010-02-16 12:22:34 +01:00