Commit Graph

6 Commits

Author SHA1 Message Date
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +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 e16ff720d8 package gtkimageview: suppress warnings more selectively 2013-03-24 06:58:36 +11:00
Tony Theodore b4fad93dd4 package gtkimageview: add update macro 2013-03-24 03:27:45 +11:00
Tony Theodore 4d65b7bb3c package gtkimageview: suppress -Werror and add test program 2013-03-24 03:16:27 +11:00
Niels Kristian Bech Jensen 513f5264dc add package gtkimageview 2013-03-24 03:13:27 +11:00