From b08e6b4c723efef245903caca49c2dafb11f8722 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Jul 2016 09:17:06 +0100 Subject: Fix GPL boilerplate. Add locked_sstream dependency. Remove Document::read_stream; improve Document::read_string efficiency. Use locked_stringstream instead of plain one to try to fix DCP-o-matic crashes on OS X. --- cscript | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'cscript') diff --git a/cscript b/cscript index 7857c40..a95e668 100644 --- a/cscript +++ b/cscript @@ -1,5 +1,28 @@ +# -*- mode: python -*- +# +# Copyright (C) 2016 Carl Hetherington +# +# This file is part of libcxml. +# +# libcxml is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# libcxml is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with libcxml. If not, see . +# + import os +def dependencies(target): + return (('locked_sstream', None)) + def build(target, options): cmd = './waf configure --prefix=%s' % target.directory if target.platform == 'linux': -- cgit v1.2.3