Commit Graph

52 Commits

Author SHA1 Message Date
Jan-Michael Brummer b93047dd1b librsvg: Enable module generation for shared build 2020-06-03 13:36:54 +10:00
Mark Brand b304870088 fix gitlab GNOME packages update macros 2019-05-14 10:04:27 +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 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 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
Timothy Gu 7fcf5ae9c5 librsvg: update
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-09-17 17:11:17 -07:00
Tony Theodore 4dec295411 Revert "packages libgsf librsvg: disable shared build"
This reverts commit ec032cf938.
2014-04-08 02:43:38 +10:00
Tony Theodore ec032cf938 packages libgsf librsvg: disable shared build 2014-04-07 03:54:02 +10:00
Tobias Gruetzmacher b9c3fc9cff Package librsvg: Enable shared build, fix dependency. 2014-03-12 22:43:19 +01:00
Niels Kristian Bech Jensen d201f6eab0 update package librsvg 2013-11-23 14:43:05 +11:00
Niels Kristian Bech Jensen be8dd135fb update packages librsvg libusb m4 openscenegraph 2013-11-10 17:41:49 +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
Niels Kristian Bech Jensen 512947acc8 update package glib and friends 2013-06-29 22:41:43 +10:00
Tony Theodore 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Mark Brand acce23c09b update package cairo 2013-01-10 15:59:19 +01:00
Mark Brand fef16f87e3 package librsvg: build test program with -mwindows option to avoid link errors 2012-11-18 12:37:24 +01:00
Mark Brand 71c560a5a7 update package librsvg 2012-10-16 03:31:09 +02:00
Mark Brand 1d6a6d7334 update package librsvg 2012-09-02 20:31:46 +02:00
Mark Brand 684557ddf3 update package librsvg 2012-08-20 11:19:59 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Mark Brand 7daf04c4aa update package librsvg 2012-04-17 12:15:17 +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 4308fe142f update package librsvg 2012-03-26 16:12:08 +02:00
Mark Brand f54669bcea update package librsvg 2012-02-25 15:48:33 +01:00
Mark Brand 42e7bd8dba update package librsvg 2012-01-23 13:21:00 +01:00
Mark Brand 1af2a92e69 update package librsvg 2011-11-15 00:07:42 +01:00
Mark Brand db9e7501f6 update packages: imagemagick librsvg x264 2011-09-07 16:32:11 +02:00
Mark Brand 525f53d636 update package librsvg 2011-04-04 08:44:19 +02:00
Tony Theodore 70e86cda31 rename gtk-->gtk2 in preparation for gtk3 2011-02-21 20:20:41 +11:00
Volker Grabsch a7525b5645 upgrade packages: atkmm gdal gdk-pixbuf glew glib gtk imagemagick lapack librsvg libvpx libxml2 ogg pixman vorbis x264 2010-11-28 19:07:21 +01:00
Volker Grabsch 3a63259ef5 improved update scripts of packages: glib librsvg sdl_sound sdl_ttf 2010-10-04 03:23:07 +02:00
Mark Brand d8553fcb2c disable dynamic module loading in package gdk-pixbuf
Also use included modules in gdk-pixbuf.

A consequence seems to be that librsvg cannot built a module for
gdk-pixbuf.
2010-09-27 21:19:20 +02:00
Mark Brand 21f3f5bb9d upgrade package librsvg 2010-09-27 12:47:49 +02:00
Mark Brand c25a0e0ccf upgrade packages boost gdal glew gst-plugins-base gstreamer gtk libgpg_error libgsf libpng librsvg libunistring taglib 2010-05-12 01:48:28 +02:00
Volker Grabsch 0a25c6d63f improved version recognition of package librsvg 2010-04-21 01:13:04 +02:00
Mark Brand e048543324 upgrade package: librsvg 2010-04-19 22:50:28 +02:00
Volker Grabsch e3534c7d70 new package: libcroco 2010-02-24 13:55:41 +01:00
Volker Grabsch 6129e49143 add missing dependency to package librsvg 2010-02-16 11:19:16 +01: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 0b1e593a49 test program for package librsvg 2010-02-16 03:18:23 +01:00