summaryrefslogtreecommitdiffstats
path: root/src/json-c.mk
Commit message (Collapse)AuthorAgeFilesLines
* add _WEBSITE and _DESCR fields to core packagesBoris Nagaev2016-12-221-0/+1
| | | | | | See https://github.com/mxe/mxe/issues/1422 Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
* Copyright headers: point to LICENSE.md and shortenBoris Nagaev2016-08-271-2/+1
| | | | | | | | | | | | | | | | | | | 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
* use $(TEST_FILE) instead of $(2).c and otherBoris Nagaev2016-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* all packages: really use sha256 checksumsTony Theodore2015-09-231-1/+1
|
* all packages: switch to sha256 checksumsTony Theodore2015-09-231-1/+1
| | | | closes #871
* json-c: Update, enable shared & refresh patch.Tobias Gruetzmacher2014-10-121-9/+5
| | | | This fixes CVE-2013-6371 and CVE-2013-6370.
* many packages: explicitly disable shared buildsTony Theodore2014-04-061-0/+2
| | | | closes #369
* Move package versions from index.html back into the src/*.mk filesVolker Grabsch2013-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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)
* json-c update to 0.11Thomas Mayer2013-04-251-2/+3
|
* json-c downloads have moved to Amazon S3 (see ↵Thomas Mayer2013-03-191-6/+7
| | | | https://github.com/json-c/json-c/issues/72)
* Github downloads are deprecated, using tags instead or remove Github as ↵Thomas Mayer2013-03-101-6/+6
| | | | alternative URL.
* run make cleanup-styleTony Theodore2012-12-051-1/+1
|
* package json-c: fix update macroMark Brand2012-10-111-3/+2
|
* Test application for json-c.Thomas Mayer2012-08-101-0/+5
| | | | | | | | | | | | | | | | Squashed commit of the following: commit 1ad29ec164b9f07781f68fbe39276428105e3d8e Author: Thomas Mayer <thomas@residuum.org> Date: Fri Aug 10 20:51:42 2012 +0200 Test for json-c actually outputs something instead of just return 0 or 1. commit 2650c38c79a627f25c7dda9e89dd1acaca8d3663 Author: Thomas Mayer <thomas@residuum.org> Date: Sat Aug 4 16:46:28 2012 +0200 Test case for json-c.
* json-c update to version 0.10, using github downloads.Thomas Mayer2012-07-171-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit a93e1e80e4a6b668009bd024923e387f71eff7a3 Author: Thomas Mayer <thomas@residuum.org> Date: Tue Jul 17 23:16:59 2012 +0200 Patches for: - missing file - remove check for rpl_* functions commit ad94ec0c30381acb9ac25db96182a1308b9fbd3c Author: Thomas Mayer <thomas@residuum.org> Date: Tue Jul 17 19:08:40 2012 +0200 Fixed indentation commit 78b51e08e5174454495b8df547c4bccdc06bef73 Author: Thomas Mayer <thomas@residuum.org> Date: Tue Jul 17 01:13:08 2012 +0200 json-c compiles correctly (finally). commit 0c4bb3a6b4b6db1ac6a6d098ce55041db55bc8ab Author: Thomas Mayer <thomas@residuum.org> Date: Fri Jul 13 22:16:41 2012 +0200 Changes to json-c files according to current MXE standards. commit a533fe5439d56de76c2d3b9d634c597cba94ff52 Author: Thomas Mayer <thomas@residuum.org> Date: Thu Jul 12 22:27:54 2012 +0200 Update to json-c 0.10, and use github repository.
* all packages: use $(WGET) portability variableTony Theodore2012-05-161-1/+1
|
* Move full package names from src/*.mk into package list (index.html)Volker Grabsch2012-03-291-1/+0
|
* Move doc/index.html -> index.htmlVolker Grabsch2012-03-291-1/+1
|
* Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.htmlVolker Grabsch2012-03-291-2/+0
|
* Rebrand to new project name MXEVolker Grabsch2012-03-281-1/+1
|
* package json-c: add update macroTony Theodore2012-03-241-0/+3
|
* Fix annoying TABs and missing newlines at EOFVolker Grabsch2012-03-221-1/+1
|
* new package json-cThomas Mayer2012-01-311-0/+25