Commit Graph

37 Commits

Author SHA1 Message Date
Tony Theodore 6397c23af4 graphicsmagick: use BUILD_DIR, PKG_CONFIGURE_OPTS, etc.
see #2546
2020-08-01 13:25:24 +10:00
Mark Brand 1b6d820287 update: graphicsmagick vmime zstd 2019-07-22 00:12:35 +02:00
Mark Brand d367e3b2c4 update graphicsmagick 2019-07-06 16:26:25 +02:00
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
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
Tony Theodore 05380b49b7 gcc pthreads: build pthreads and mingw-w64 headers inline and enable libgomp
* fixes "~winpthreads changes ~pthread_signal.h" etc. reported by build-pkg
  mingw-w64 installs dummy headers if winpthreads isn't built
* enables libgomp to avoid double-build (see #331)
* no change in openmp-validation (still 20 failures - taken with a grain of
  salt as the batch file test runner isn't a reliable perl substitute)
* pthreads virtual package kept for future testing
2015-10-31 20:18:21 +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
Tom Molesworth 0c84e074e1 graphicsmagick build requires libgomp 2015-06-13 02:03:20 +01:00
Mark Brand bd326e51e2 graphicsmagick: update
As in libgomp.mk, the option -fopenmp prevents undefined dl* symbol
errors when linking to -lgomp. -ldl seems to work too.
2015-04-23 23:10:46 +02:00
Tony Theodore b672cd8266 update various packages (tested on i686-w64-mingw32.static)
ffmpeg flac gdk-pixbuf glew glib graphicsmagick ilmbase imagemagick
libffi libftdi1 libircclient libmicrohttpd libpaper librsvg libtool
libwebp libxml++ libxml2 mpg123 mxml nlopt oce openblas opencv
opusfile pfstools poco poppler primesieve x264 xine-lib
2014-12-01 23:51:26 +11:00
Tuukka Pasanen 8171009557 Updated grahicsmagick to shared 2014-02-10 15:22:09 +11:00
Tony Theodore 1ca4041cc8 package graphicsmagick: temporary workaround for pkgconf 2013-08-25 19:44:47 +10:00
Tony Theodore 44a8595688 packages graphicsmagick guile imagemagick sox: change libtool --> libltdl 2013-08-25 19:26:53 +10:00
Mark Brand 53049f26e4 package graphicsmagick: use lcms 2 2013-08-17 22:40:07 +02: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 06f89b26ae update package graphicsmagick 2013-03-29 20:32:46 +11:00
Mark Brand ae417c6192 update package graphicsmagick 2012-10-14 18:36:13 +02:00
Mark Brand 557d2ff265 package graphicsmagick: switch to xz archive 2012-08-17 14:40:30 +02:00
Mark Brand ad860d21ac update package graphicsmagick 2012-06-24 14:41:32 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Mark Brand f9251a3bd4 update package graphicsmagick 2012-05-05 17:25:07 +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 87d14f7e89 update package graphicsmagick 2012-02-26 09:07:52 +01:00
Tony Theodore 7f0254849c package graphicsmagick: fix xml2-config
issue seems to have been introduced here:

http://graphicsmagick.hg.sourceforge.net/hgweb/graphicsmagick/graphicsmagick/rev/c689797c628f
2012-02-04 16:43:41 +11:00
Mark Brand 8ff488a952 update package graphicsmagick 2011-12-26 10:52:51 +01:00
Mark Brand 0d20234f54 remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
2010-12-12 01:16:13 +01:00
Volker Grabsch b3cf720774 new package: graphicsmagick 2010-12-11 22:50:57 +01:00