Commit Graph

55 Commits

Author SHA1 Message Date
Harmen Stoppels 86c6dda223 Bump glew 2019-12-06 19:20:39 +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
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
Guilherme Lima Bernal 8d18f9e94e Fix compilation of GLEW
1. pkg-config wrongly adds the flag `-I/usr/include`, creating conflict with system headers.
2. cflags contains a define on static builds, so it must come before sources when compiling the test.
2015-03-21 23:42:41 -03:00
Sergey Perepelitsa ffaf62367c GLEW updated to version 1.12.0 2015-03-14 20:16:30 +03: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
Tony Theodore e94aa0a901 apr glew: portability fix for $(MAKE) 2014-11-30 21:02:46 +11:00
Timothy Gu c6e5480b0e glew: install the static lib as libglew32 too
Initial patch based on that of: Sergey <non_2001@mail.ru>

Modifications made to build on master branch, and to make it work with
shared build.

See #442.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-08-04 16:57:18 -07:00
Tobias Gruetzmacher d0752c568c Package glew: Enable shared build & use original makefile.
- Using the upstream makefile looks like the cleaner approch.
- Still needs minor patching of the pkg-config files.
- For shared builds, we use -O0 instead of -O2, otherwise the resulting
  DLL does not work...
2014-03-24 00:04:59 +01:00
Tony Theodore a1243c7c7f update packages glew harfbuzz libidn libntlm 2013-07-31 12:59:17 +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
Niels Kristian Bech Jensen 588c434a83 package glew: fix update macro 2013-06-21 17:02:08 +10:00
Mark Brand ec7ec4c196 update package glew 2012-08-12 10:55:26 +02:00
Mark Brand b3627a7503 update package glew 2012-07-18 09:09:46 +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
Martin Lambers ab35909e4d Make the glew package build and install GLEWmx.
GLEWmx is the multi-context version of GLEW.
---
 src/glew-test.c |    9 +++++++++
 src/glew.mk     |   24 ++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
2012-03-07 21:50:40 +01:00
Tony Theodore aeaa49d81e package glew: add test program 2011-09-19 22:57:11 +10:00
Mark Brand 64a7421542 binutils glew imagemagick libffi x264 2011-08-28 21:26:01 +02:00
Martin Lambers ee8656d5a8 bugfix for the pkg-config script of package glew 2011-05-21 01:48:59 +02:00
Volker Grabsch 9506a12ea1 upgrade packages: glew imagemagick libpaper x264 2011-05-18 03:49:34 +02:00
Tony Theodore 3bb2b8fcae update packages glew, gtkmm, imagemagick, pangomm, suitesparse, x264, xvidcore 2011-03-01 23:09:17 +11:00
Martin Lambers 353a604d77 package glew: make use of the provided pkg-config file 2011-01-05 14:30:15 +01:00
Volker Grabsch 9c11e9e39b improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets 2010-12-01 03:44:21 +01: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
Mark Brand 23a61018f8 upgrade package glew 2010-09-09 21:30:41 +02:00
Mark Brand 10b237f4c0 fixed sourceforge URLs in UPDATE macros 2010-09-09 21:24:32 +02:00
Mark Brand ab12b85a67 upgrade packages curl freetype gcc glew gnutls gst* libarchive libevent libgcrypt pcre sqlite w32api
New requirement XZ Utils for unpacking w32api lzma archive.
2010-08-29 11:40:18 +02:00
Volker Grabsch b7ef3664ea improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets 2010-06-04 23:05:41 +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
Mark Brand 734d34653d upgrade packages: atk geos glew glib libpaper pango pcre pixman 2010-04-19 21:54:23 +02: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 a9b7c1c25d update version of package glew (by Martin Lambers) 2010-01-12 21:03:32 +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 ad09fd28ae improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used 2009-09-02 00:55:53 +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 2cce10cbcb improved version recognition for sourceforge packages 2009-08-10 13:24:12 +02:00
Volker Grabsch 6a2cab9dbb validate downloads using SHA-1 checksums 2009-04-05 14:00:17 +02:00
Volker Grabsch fe9811173c portability fix for Open Solaris: when "ginstall" exists, use that instead of "install" 2009-03-07 08:52:50 +01:00