Commit Graph

16 Commits

Author SHA1 Message Date
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
Thomas Mayer 8b5ef44806 json-c update to 0.11 2013-04-26 00:21:09 +02:00
Thomas Mayer f8eff20cb2 json-c downloads have moved to Amazon S3 (see https://github.com/json-c/json-c/issues/72) 2013-03-20 00:08:09 +01:00
Thomas Mayer 1ac9e0400b Github downloads are deprecated, using tags instead or remove Github as alternative URL. 2013-03-10 17:53:02 +01:00
Tony Theodore 7337ea85ee run make cleanup-style 2012-12-05 18:18:54 +11:00
Mark Brand 9af45ac48c package json-c: fix update macro 2012-10-11 16:59:27 +02:00
Thomas Mayer 5763978027 Test application for json-c.
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.
2012-08-10 21:05:20 +02:00
Thomas Mayer 03fcf50a34 json-c update to version 0.10, using github downloads.
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.
2012-07-17 23:18:18 +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
Tony Theodore 2bb8068e5d package json-c: add update macro 2012-03-24 22:55:04 +11:00
Volker Grabsch ac7cb3750d Fix annoying TABs and missing newlines at EOF 2012-03-22 10:50:34 +01:00
Thomas Mayer 5c413ab92f new package json-c 2012-01-31 14:32:21 +01:00