syfi (0.6.1.dfsg-1) debian-dir only changes

Summary

 debian/README.source                   |   11 
 debian/cdbs/1/class/scons-vars.mk      |   52 ++
 debian/cdbs/1/class/scons.mk           |   70 ++
 debian/cdbs/1/rules/copyright-check.mk |  113 ++++
 debian/changelog                       |   27 +
 debian/compat                          |    1 
 debian/control                         |  156 ++++++
 debian/copyright                       |  401 ++++++++++++++++
 debian/copyright_hints                 |  781 +++++++++++++++++++++++++++++++++
 debian/libsyfi0-dev.install            |    3 
 debian/libsyfi0.install                |    1 
 debian/licensecheck                    |  566 +++++++++++++++++++++++
 debian/python-syfi0.install            |    2 
 debian/rules                           |   84 +++
 debian/syfi-bin.install                |    3 
 debian/syfi-doc.docs                   |    2 
 debian/watch                           |    3 
 17 files changed, 2276 insertions(+)

    
download this patch

Patch contents

--- syfi-0.6.1.dfsg.orig/debian/libsyfi0.install
+++ syfi-0.6.1.dfsg/debian/libsyfi0.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- syfi-0.6.1.dfsg.orig/debian/rules
+++ syfi-0.6.1.dfsg/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+
+unexport CXXFLAGS
+ifneq (,$(DEB_MAINTAINER_MODE))
+  # Enable stuff not policy compliant (eg. unsuitable for build daemons)
+  DEB_COPYRIGHT_CHECK_STRICT = yes
+endif
+
+include debian/cdbs/1/rules/copyright-check.mk
+include debian/cdbs/1/class/scons.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_COMPRESS_EXCLUDE := .py .cpp .h .pdf
+DEB_INSTALL_DOCS_ALL += AUTHORS README TODO
+DEB_SCONS_OPTIONS = prefix=/usr
+
+# Enable parallel building
+ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
+    PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \
+        sed -e 's/.*parallel=\([0-9]\+\).*/\1/')
+NJOBS := -j$(PARALLEL_JOBS)
+endif
+
+DEB_DH_INSTALL_SOURCEDIR = debian/tmp
+
+DEB_SCONS_BUILD_OPTIONS = $(NJOBS)
+
+DEB_SCONS_INSTALL_OPTIONS = DESTDIR=$(DEB_DESTDIR)
+
+USCAN_DESTDIR := $(CURDIR)
+
+clean::
+	find syfi -name "*.os" | xargs rm -f
+	find syfi -name "*.so*" | xargs rm -f
+	find scons -name "*.pyc" | xargs rm -f
+	rm -rf .sconf_temp
+	rm -f scons/.sconsign.dblite
+	rm -f scons/configure.log
+	rm -f scons/options.cache
+	rm -rf scons/pkgconfig
+	rm -f simula_scons.log
+	rm -f syfi.conf
+	rm -f syfi/scons.cfg
+	rm -f syfi/swig/SyFi.i
+	rm -f syfi/swig/SyFi.py
+	rm -f syfi/swig/SyFi_wrap.cc
+	rm -f syfi/syfi_version.h
+
+# Generate pkg-config file for SyFi based on pkg-config files 
+# in scons/pkgconfig:
+install/libsyfi0-dev::
+	cd $(DEB_DESTDIR)/usr/lib/pkgconfig && \
+	for req in `grep "^Requires:" syfi.pc | cut -d':' -f2`; \
+	do \
+	  if [ -e $$req.pc ]; \
+	  then \
+	    sed -i "/^Libs/s|$$|`PKG_CONFIG_PATH=$$PWD pkg-config $$req --libs` |" syfi.pc; \
+	    sed -i "/^Cflags/s|$$|`PKG_CONFIG_PATH=$$PWD pkg-config $$req --cflags` |" syfi.pc; \
+	    sed -i "/^Requires:/s/$$req//g" syfi.pc; \
+	  fi; \
+	done
+
+binary-install/python-syfi0::
+	dh_pycentral -p$(cdbs_curpkg)
+
+binary-install/syfi-bin::
+	dh_pycentral -p$(cdbs_curpkg)
+
+DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
+
+get-orig-source:
+	set -ex ; \
+	TMPDIR=`mktemp -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig.XXXXXX` ; \
+	uscan --force-download --check-dirname-level 0 --destdir "$$TMPDIR" --download-version $(DEB_STRIPPED_UPSTREAM_VERSION) --upstream-version $(DEB_STRIPPED_UPSTREAM_VERSION); \
+	tar -C "$$TMPDIR" --strip-components 1 -xzf "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz ; \
+	rm -rf "$$TMPDIR"/doc/papers ; \
+	rm -rf "$$TMPDIR"/doc/presentations ; \
+	rm -f "$$TMPDIR"/etc/tables.txt ; \
+	rm -f "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)*.tar.gz ; \
+	mv "$$TMPDIR" $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \
+	GZIP=-9 tar -czf $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \
+	rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig
+
+REVISION := $(shell echo $(DEB_UPSTREAM_VERSION) | cut -d'g' -f2)
--- syfi-0.6.1.dfsg.orig/debian/libsyfi0-dev.install
+++ syfi-0.6.1.dfsg/debian/libsyfi0-dev.install
@@ -0,0 +1,3 @@
+usr/lib/lib*.so
+usr/include/SyFi
+usr/lib/pkgconfig/syfi.pc
--- syfi-0.6.1.dfsg.orig/debian/syfi-doc.docs
+++ syfi-0.6.1.dfsg/debian/syfi-doc.docs
@@ -0,0 +1,2 @@
+demo
+doc/manual
--- syfi-0.6.1.dfsg.orig/debian/copyright_hints
+++ syfi-0.6.1.dfsg/debian/copyright_hints
@@ -0,0 +1,781 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=XXX
+Upstream-Name: Untrusted draft - double-check copyrights yourself!
+
+Files: AUTHORS
+	ChangeLog
+	INSTALL
+	SConstruct
+	TODO
+	copyright_diff
+	debian/compat
+	debian/control
+	debian/libsyfi0-dev.install
+	debian/libsyfi0.install
+	debian/python-syfi0.install
+	debian/rules
+	debian/syfi-bin.install
+	debian/syfi-doc.docs
+	debian/watch
+	demo/Advection-Diffusion/python/subdomains.xml.gz
+	demo/BratuProblem/python/demo.py
+	demo/Elements/cpp/Elements.ufl
+	demo/Elements/cpp/Makefile
+	demo/Elements/cpp/SConstruct
+	demo/HyperElasticity1D/cpp/HyperElasticity1D.ufl
+	demo/HyperElasticity1D/cpp/Makefile
+	demo/HyperElasticity1D/cpp/SConstruct
+	demo/HyperElasticity1D/cpp/manufactured_solution.py
+	demo/HyperElasticityMooneyRivlin/cpp/HyperElasticityMooneyRivlin.ufl
+	demo/HyperElasticityMooneyRivlin/cpp/Makefile
+	demo/HyperElasticityMooneyRivlin/cpp/SConstruct
+	demo/HyperElasticitySVK/cpp/HyperElasticitySVK.ufl
+	demo/HyperElasticitySVK/cpp/Makefile
+	demo/HyperElasticitySVK/cpp/SConstruct
+	demo/LinearElasticity/cpp/Makefile
+	demo/LinearElasticity/cpp/SConstruct
+	demo/NonLinearPoisson/python/demo.py
+	demo/NonLinearPoisson/python/manufactored_solution.py
+	demo/NonLinearVectorPoisson/python/demo.py
+	demo/Poisson1D/cpp/Makefile
+	demo/Poisson1D/cpp/Poisson1D.ufl
+	demo/Poisson1D/cpp/SConstruct
+	demo/Poisson2D/cpp/Makefile
+	demo/Poisson2D/cpp/Poisson.ufl
+	demo/Poisson2D/cpp/SConstruct
+	demo/Poisson3D/cpp/Makefile
+	demo/Poisson3D/cpp/Poisson3D.ufl
+	demo/Poisson3D/cpp/SConstruct
+	demo/Poisson3D/cpp/manufactured_solution.py
+	demo/Projection/cpp/Makefile
+	demo/Projection/cpp/Projection.ufl
+	demo/Projection/cpp/SConstruct
+	demo/Projection1D/cpp/Makefile
+	demo/Projection1D/cpp/Projection1D.ufl
+	demo/Projection1D/cpp/SConstruct
+	demo/ProjectionMixed/cpp/Makefile
+	demo/ProjectionMixed/cpp/ProjectionMixed.ufl
+	demo/ProjectionMixed/cpp/SConstruct
+	demo/ProjectionTensor/cpp/Makefile
+	demo/ProjectionTensor/cpp/ProjectionTensor.ufl
+	demo/ProjectionTensor/cpp/SConstruct
+	demo/ProjectionTensor/python/demo.py
+	demo/ProjectionVector/cpp/Makefile
+	demo/ProjectionVector/cpp/ProjectionVector.ufl
+	demo/ProjectionVector/cpp/SConstruct
+	demo/README
+	demo/SubDomains/cpp/Forms.ufl
+	demo/SubDomains/cpp/Makefile
+	demo/SubDomains/cpp/SConstruct
+	demo/cleanall.py
+	demo/data/cylinder.geo
+	demo/data/cylinder.xml
+	demo/data/gear.xml.gz
+	demo/makeall.py
+	doc/SConscript
+	doc/man/man1/sfc.1.gz
+	doc/manual/chapters/code_generation.tex
+	doc/manual/chapters/computing_element_matrices.tex
+	doc/manual/chapters/fem.tex
+	doc/manual/chapters/femexamples.tex
+	doc/manual/chapters/introduction.tex
+	doc/manual/chapters/mixedfem.tex
+	doc/manual/chapters/python.tex
+	doc/manual/code/defining_form.py
+	doc/manual/code/linear_elasticity.py
+	doc/manual/code/quickstart.py
+	doc/manual/figs/box.xfig
+	doc/manual/figs/box.xfig.bak
+	doc/manual/figs/box.xfig.eepicemu
+	doc/manual/figs/discont.xfig
+	doc/manual/figs/discont.xfig.eps
+	doc/manual/figs/line.xfig
+	doc/manual/figs/line.xfig.eepicemu
+	doc/manual/figs/rectangle.xfig
+	doc/manual/figs/rectangle.xfig.bak
+	doc/manual/figs/rectangle.xfig.eepicemu
+	doc/manual/figs/tetrahedron.xfig
+	doc/manual/figs/tetrahedron.xfig.bak
+	doc/manual/figs/tetrahedron.xfig.eepicemu
+	doc/manual/figs/triangle.xfig
+	doc/manual/figs/triangle.xfig.bak
+	doc/manual/figs/triangle.xfig.eepicemu
+	doc/manual/refs.bib
+	doc/manual/syfi-user-manual.tex
+	doc/manual/ttname.sty
+	doc/reference/makedoc.sh
+	doc/sfc_reference/makedoc.sh
+	etc/maketarball.sh
+	etc/syfi-install
+	sandbox/demo/DivMatrix/cpp/DivMatrix.ufl
+	sandbox/demo/DivMatrix/cpp/Makefile
+	sandbox/demo/DivMatrix/cpp/SConstruct
+	sandbox/demo/ElectroMechanics/cpp/ElectroMechanics.ufl
+	sandbox/demo/ElectroMechanics/cpp/Makefile
+	sandbox/demo/ElectroMechanics/cpp/SConstruct
+	sandbox/demo/ElectroMechanics/cpp/fibers.h
+	sandbox/demo/ElectroMechanics/cpp/functions.h
+	sandbox/demo/ElectroMechanics/cpp/run.sh
+	sandbox/demo/ElectroMechanics/cpp/subdomains.h
+	sandbox/demo/ElectroMechanics/cpp/testruns.py
+	sandbox/demo/HarmonicMap/cpp/HarmonicMap.ufl
+	sandbox/demo/HarmonicMap/cpp/Makefile
+	sandbox/demo/HarmonicMap/cpp/SConstruct
+	sandbox/demo/HarmonicMap/python/bugexample.py
+	sandbox/demo/HarmonicMap/python/clean.sh
+	sandbox/demo/HarmonicMap/python/demo.py
+	sandbox/demo/HarmonicMap/python/demo2.py
+	sandbox/demo/HyperElasticityFung/cpp/HyperElasticityFung.ufl
+	sandbox/demo/HyperElasticityFung/cpp/Makefile
+	sandbox/demo/HyperElasticityFung/cpp/SConstruct
+	sandbox/demo/HyperElasticityFung/cpp/manufactured_solution.py
+	sandbox/demo/HyperElasticityModels/cpp/Cell.ufl
+	sandbox/demo/HyperElasticityModels/cpp/HyperElasticity.ufl
+	sandbox/demo/HyperElasticityModels/cpp/Law.ufl
+	sandbox/demo/HyperElasticityModels/cpp/Makefile
+	sandbox/demo/HyperElasticityModels/cpp/SConstruct
+	sandbox/demo/HyperElasticitySVKTransient/cpp/HyperElasticitySVK.ufl
+	sandbox/demo/HyperElasticitySVKTransient/cpp/Makefile
+	sandbox/demo/HyperElasticitySVKTransient/cpp/SConstruct
+	sandbox/demo/HyperElasticitySVKTransient/cpp/manufactured_solution.py
+	sandbox/dolfinbug/cpp/Elements.ufl
+	sandbox/dolfinbug/cpp/Makefile
+	sandbox/dolfinbug/cpp/SConstruct
+	sandbox/scripts/print_tabulate_tensors
+	sandbox/scripts/revert_absolute_import.py
+	scons.local
+	scons/simula-scons/AUTHORS
+	scons/simula-scons/README
+	scons/simula-scons/TODO
+	scons/simula-scons/setup.py
+	scons/simula-scons/simula_scons/Customize.py
+	scons/simula-scons/simula_scons/Errors.py
+	scons/simula-scons/simula_scons/__init__.py
+	scons/simula-scons/simula_scons/_module.py
+	scons/simula-scons/simula_scons/latex.py
+	scons/simula-scons/simula_scons/pkgconfig.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/__init__.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/boost.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/cholmod.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/gmp.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/hypre.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/boost/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/cmake/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/dolfin/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/hypre/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/pkgconfig/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/scotch/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/trilinos/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/ufc/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/vtk/install.sh
+	scons/simula-scons/simula_scons/pkgconfiggenerators/libxml.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/mtl4.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/numeric.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/numpy.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/parmetis.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/petsc.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/python.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/scotch.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/slepc.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/superlu.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/trilinos.py
+	scons/simula-scons/simula_scons/pkgconfiggenerators/umfpack.py
+	scripts/sfc
+	site-packages/sfc/__init__.py
+	site-packages/sfc/codegeneration/__init__.py
+	site-packages/sfc/common/__init__.py
+	site-packages/sfc/common/paths.py
+	site-packages/sfc/common/version.py
+	site-packages/sfc/dofcode/DofT.py
+	site-packages/sfc/dofcode/Dof_Ptv.py
+	site-packages/sfc/dofcode/Ptv.py
+	site-packages/sfc/geometry/__init__.py
+	site-packages/sfc/representation/__init__.py
+	site-packages/sfc/symbolic_utils/__init__.py
+	syfi-0.6.1.tgz
+	syfi-0.6.1.tgz.cdbs-config_list
+	syfi/SConscript
+	syfi/scons.cfg.in
+	syfi/swig/README
+	syfi/swig/SyFi.i.in
+	syfi/swig/cpp2py_exceptions.i
+	syfi/syfi.pc.in
+	syfi/syfi_version.h.in
+	tests/cpp/AGENDA
+	tests/cpp/README
+	tests/cpp/SConscript
+	tests/cpp/arnoldfalkwinther.cpp
+	tests/cpp/barycenter_simplex.cpp
+	tests/cpp/box_ex1.cpp
+	tests/cpp/box_ex1.gar.r
+	tests/cpp/code_gen.cpp
+	tests/cpp/code_gen.gar.r
+	tests/cpp/compare_archives.cpp
+	tests/cpp/crouzeixraviart_ex.cpp
+	tests/cpp/crouzeixraviart_ex.gar.r
+	tests/cpp/crouzeixraviart_ex2.cpp
+	tests/cpp/crouzeixraviart_ex2.gar.r
+	tests/cpp/disconlagrange_ex.cpp
+	tests/cpp/dof_ex.cpp
+	tests/cpp/dof_ex2.cpp
+	tests/cpp/dof_ex3.cpp
+	tests/cpp/ex_inspection.cpp
+	tests/cpp/fe_ex1.cpp
+	tests/cpp/fe_ex1.gar.r
+	tests/cpp/fe_ex2.cpp
+	tests/cpp/fe_ex2.gar.r
+	tests/cpp/fe_ex3.cpp
+	tests/cpp/fe_ex3.gar.r
+	tests/cpp/fe_ex4.cpp
+	tests/cpp/fe_ex4.gar.r
+	tests/cpp/flop_counter.cpp
+	tests/cpp/hermite_ex1.cpp
+	tests/cpp/hermite_ex1.gar.r
+	tests/cpp/integral_ex1.cpp
+	tests/cpp/legendre.cpp
+	tests/cpp/legendre.gar.r
+	tests/cpp/line_ex1.cpp
+	tests/cpp/line_ex1.gar.r
+	tests/cpp/line_ex2.cpp
+	tests/cpp/line_ex2.gar.r
+	tests/cpp/line_ex3.cpp
+	tests/cpp/mxpoisson_ex.cpp
+	tests/cpp/mxpoisson_ex.gar.r
+	tests/cpp/nedelec_ex1.cpp
+	tests/cpp/nedelec_ex2.cpp
+	tests/cpp/new_r_files.sh
+	tests/cpp/new_ref_files.py
+	tests/cpp/nljacobian_ex.cpp
+	tests/cpp/nljacobian_ex.gar.r
+	tests/cpp/normal_vec.cpp
+	tests/cpp/pnpn2_ex.cpp
+	tests/cpp/pol.cpp
+	tests/cpp/pol.gar.r
+	tests/cpp/polh.cpp
+	tests/cpp/polh.gar.r
+	tests/cpp/raviartthomas_ex1.cpp
+	tests/cpp/raviartthomas_ex2.cpp
+	tests/cpp/rectangle_ex1.cpp
+	tests/cpp/rectangle_ex1.gar.r
+	tests/cpp/reg_test.sh
+	tests/cpp/robust.cpp
+	tests/cpp/robust.gar.r
+	tests/cpp/run_all.py
+	tests/cpp/simple.cpp
+	tests/cpp/simple2.cpp
+	tests/cpp/simple_test.cpp
+	tests/cpp/simplex.cpp
+	tests/cpp/symbol_factory.cpp
+	tests/cpp/taylorhood_ex.cpp
+	tests/cpp/taylorhood_ex.gar.r
+	tests/cpp/tetrahedron_ex1.cpp
+	tests/cpp/tetrahedron_ex1.gar.r
+	tests/cpp/tetrahedron_ex2.cpp
+	tests/cpp/tetrahedron_ex2.gar.r
+	tests/cpp/tetrahedron_ex3.cpp
+	tests/cpp/triangle_ex1.cpp
+	tests/cpp/triangle_ex1.gar.r
+	tests/cpp/triangle_ex2.cpp
+	tests/cpp/triangle_ex2.gar.r
+	tests/cpp/triangle_ex3.cpp
+	tests/pylintlog/cleanlogs.py
+	tests/pylintlog/import_pychecker.py
+	tests/pylintlog/runpylint.sh
+	tests/python/cachetest/test.py
+	tests/python/code_generation_lab/README
+	tests/python/code_generation_lab/regenerate.py
+	tests/python/code_generation_lab/ufl/CG1.ufl
+	tests/python/code_generation_lab/ufl/Elements.ufl
+	tests/python/code_generation_lab/ufl/HyperElasticity.ufl
+	tests/python/code_generation_lab/ufl/L2.ufl
+	tests/python/code_generation_lab/ufl/Mass.ufl
+	tests/python/code_generation_lab/ufl/Stiffness.ufl
+	tests/python/code_generation_lab/ufl/basics/c.ufl
+	tests/python/code_generation_lab/ufl/basics/f.ufl
+	tests/python/code_generation_lab/ufl/basics/fexp.ufl
+	tests/python/code_generation_lab/ufl/basics/findexed.ufl
+	tests/python/code_generation_lab/ufl/basics/fln.ufl
+	tests/python/code_generation_lab/ufl/basics/fpow.ufl
+	tests/python/code_generation_lab/ufl/basics/fsum.ufl
+	tests/python/code_generation_lab/ufl/basics/nindexed.ufl
+	tests/python/code_generation_lab/ufl/basics/ninterval.ufl
+	tests/python/code_generation_lab/ufl/basics/uv.ufl
+	tests/python/code_generation_lab/ufl/basics/uvfsum.ufl
+	tests/python/code_generation_lab/ufl/basics/uvindexed.ufl
+	tests/python/code_generation_lab/ufl/basics/v.ufl
+	tests/python/code_generation_lab/ufl/basics/vindexed.ufl
+	tests/python/code_generation_lab/ufl/basics/vsum.ufl
+	tests/python/newtests/_run_pychecker.py
+	tests/python/newtests/cell_assembly.py
+	tests/python/newtests/clean.sh
+	tests/python/newtests/codeformatter.py
+	tests/python/newtests/element_indexing.py
+	tests/python/newtests/element_representations.py
+	tests/python/newtests/jit.py
+	tests/python/newtests/quadjit.py
+	tests/python/newtests/sfc_commandline.py
+	tests/python/newtests/template.py
+	tests/python/newtests/test_symbols.py
+	tests/python/newtests/ufl2swiginac.py
+	tests/python/newtests/ufl_forms/H1norm.ufl
+	tests/python/newtests/ufl_forms/L2norm.ufl
+	tests/python/newtests/ufl_forms/convection_jacobi.ufl
+	tests/python/newtests/ufl_forms/convection_jacobi2.ufl
+	tests/python/newtests/ufl_forms/convection_vector.ufl
+	tests/python/newtests/ufl_forms/explicit_convection.ufl
+	tests/python/newtests/ufl_forms/mass.ufl
+	tests/python/newtests/ufl_forms/source.ufl
+	tests/python/newtests/ufl_forms/stiffness.ufl
+	tests/python/newtests/volumes.py
+	tests/python/tests/README
+	tests/python/tests/SyFi_polygons/__init__.py
+	tests/python/tests/SyFi_polygons/spacetimedomain.py
+	tests/python/tests/codeformatting/__init__.py
+	tests/python/tests/codeformatting/codeformatter.py
+	tests/python/tests/demos/__init__.py
+	tests/python/tests/demos/crouzeixraviart.py
+	tests/python/tests/demos/geom_test.py
+	tests/python/tests/demos/poisson1.py
+	tests/python/tests/demos/simple.py
+	tests/python/tests/demos/simple2.py
+	tests/python/tests/demos/test_integration.py
+	tests/python/tests/demos/time_element_test.py
+	tests/python/tests/run.py
+	tests/python/tests/run_pychecker.py
+	tests/python/tests/runall.py
+	tests/python/tests/runall.sh
+	tests/python/tests/sfc_callbacks/__init__.py
+	tests/python/tests/sfc_callbacks/callback_forms.py
+	tests/python/tests/sfc_callbacks/clean.sh
+	tests/python/tests/sfc_callbacks/scratch.py
+	tests/python/tests/sfc_commandline/__init__.py
+	tests/python/tests/sfc_commandline/forms/H1norm.form
+	tests/python/tests/sfc_commandline/forms/L2norm.form
+	tests/python/tests/sfc_commandline/forms/convection_jacobi.form
+	tests/python/tests/sfc_commandline/forms/convection_jacobi2.form
+	tests/python/tests/sfc_commandline/forms/convection_vector.form
+	tests/python/tests/sfc_commandline/forms/explicit_convection.form
+	tests/python/tests/sfc_commandline/forms/mass.form
+	tests/python/tests/sfc_commandline/forms/source.form
+	tests/python/tests/sfc_commandline/forms/stiffness.form
+	tests/python/tests/sfc_jit/__init__.py
+	tests/python/tests/sfc_jit/test.py
+	tests/python/tests/sympy_test/fem_sympy.py
+	tests/python/tests/sympy_test/fem_sympy_core.py
+	tests/python/tests/sympy_test/run.sh
+	tests/python/tests/sympy_test/run.v
+	tests/python/tests/sympy_test/syfi_test.py
+	tests/python/tests/sympy_test/sympy_core_test.py
+	tests/python/tests/sympy_test/sympy_test.py
+	tests/python/tests/templatetestdir/__init__.py
+	tests/python/verify_tensors/FIXME
+	tests/python/verify_tensors/README
+	tests/python/verify_tensors/clean.sh
+	tests/python/verify_tensors/hypeltiming.txt
+	tests/python/verify_tensors/hypufl/Elasticity.ufl
+	tests/python/verify_tensors/hypufl/HyperElasticity1D.ufl
+	tests/python/verify_tensors/hypufl/HyperElasticityFung.ufl
+	tests/python/verify_tensors/hypufl/HyperElasticitySVK.ufl
+	tests/python/verify_tensors/options/__init__.py
+	tests/python/verify_tensors/options/default.py
+	tests/python/verify_tensors/options/quad.py
+	tests/python/verify_tensors/options/quad3.py
+	tests/python/verify_tensors/options/quad5.py
+	tests/python/verify_tensors/options/quad7.py
+	tests/python/verify_tensors/options/quad9.py
+	tests/python/verify_tensors/options/symb.py
+	tests/python/verify_tensors/output/README
+	tests/python/verify_tensors/print_references.py
+	tests/python/verify_tensors/reference/Heat_L.ref
+	tests/python/verify_tensors/reference/Heat_a.ref
+	tests/python/verify_tensors/reference/Mass_a.ref
+	tests/python/verify_tensors/reference/README
+	tests/python/verify_tensors/reference/Stiffness_a.ref
+	tests/python/verify_tensors/runtests.py
+	tests/python/verify_tensors/test.py
+	tests/python/verify_tensors/ufl/README
+	tests/python/verify_tensors/ufl/element_tests/mixed.ufl
+	tests/python/verify_tensors/ufl/hyperelasticity/HyperElasticity1D.ufl
+	tests/python/verify_tensors/ufl/hyperelasticity/HyperElasticityFung.ufl
+	tests/python/verify_tensors/ufl/hyperelasticity/HyperElasticitySVK.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/ConvectionJacobi.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/ConvectionJacobi2.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/ConvectionVector.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Elasticity.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/ExplicitConvection.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/H1norm.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/HornSchunck.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/HyperElasticity.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/HyperElasticity1D.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/L2norm.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/MassAD.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/MixedElasticity.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/MixedPoisson2.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/NonlinearPoisson.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/PowAD.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/ProjectionSystem.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/README
+	tests/python/verify_tensors/ufl/ufl_demo/SimpleDiff.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SimpleDiff2.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SimpleDiff3.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SimpleDiff4.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SimpleDiff5.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Source.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Stiffness.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/StiffnessAD.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/TupleNotation.ufl
+Copyright: *No copyright*
+License: UNKNOWN
+
+Files: syfi/ArnoldFalkWintherWeakSym.cpp
+	syfi/ArnoldFalkWintherWeakSym.h
+	syfi/BrezziDouglasMarini.cpp
+	syfi/BrezziDouglasMarini.h
+	syfi/Bubble.cpp
+	syfi/Bubble.h
+	syfi/CrouzeixRaviart.cpp
+	syfi/CrouzeixRaviart.h
+	syfi/DiscontinuousLagrange.cpp
+	syfi/DiscontinuousLagrange.h
+	syfi/Dof.cpp
+	syfi/Dof.h
+	syfi/DofT.cpp
+	syfi/DofT.h
+	syfi/Dof_OrderedPtvSet.cpp
+	syfi/Dof_OrderedPtvSet.h
+	syfi/Dof_Ptv.cpp
+	syfi/Dof_Ptv.h
+	syfi/ElementComputations.cpp
+	syfi/ElementComputations.h
+	syfi/FE.cpp
+	syfi/FE.h
+	syfi/Hermite.cpp
+	syfi/Hermite.h
+	syfi/Lagrange.cpp
+	syfi/Lagrange.h
+	syfi/MixedFE.cpp
+	syfi/MixedFE.h
+	syfi/Nedelec.cpp
+	syfi/Nedelec.h
+	syfi/Nedelec2Hdiv.cpp
+	syfi/Nedelec2Hdiv.h
+	syfi/OrderedPtvSet.cpp
+	syfi/OrderedPtvSet.h
+	syfi/P0.cpp
+	syfi/P0.h
+	syfi/Polygon.cpp
+	syfi/Polygon.h
+	syfi/Ptv.cpp
+	syfi/Ptv.h
+	syfi/Ptv_tools.cpp
+	syfi/Ptv_tools.h
+	syfi/RaviartThomas.cpp
+	syfi/RaviartThomas.h
+	syfi/Robust.cpp
+	syfi/Robust.h
+	syfi/SpaceTimeElement.cpp
+	syfi/SpaceTimeElement.h
+	syfi/SyFi.h
+	syfi/containers.h
+	syfi/diff_tools.cpp
+	syfi/diff_tools.h
+	syfi/ginac_tools.cpp
+	syfi/ginac_tools.h
+	syfi/symbol_factory.cpp
+	syfi/symbol_factory.h
+	syfi/tools.h
+	syfi/utilities.cpp
+	syfi/utilities.h
+Copyright: 2006-2009, Kent-Andre Mardal <kent-and@simula.no> and Simula Research Laboratory
+License: GPL-2
+
+Files: demo/Elements/cpp/main.cpp
+	demo/HyperElasticity1D/cpp/main.cpp
+	demo/HyperElasticityMooneyRivlin/cpp/main.cpp
+	demo/HyperElasticitySVK/cpp/main.cpp
+	demo/Poisson1D/cpp/main.cpp
+	demo/Poisson2D/cpp/main.cpp
+	demo/Poisson3D/cpp/main.cpp
+	demo/Projection/cpp/main.cpp
+	demo/Projection1D/cpp/main.cpp
+	demo/ProjectionMixed/cpp/main.cpp
+	demo/ProjectionTensor/cpp/main.cpp
+	demo/ProjectionVector/cpp/main.cpp
+	demo/SubDomains/cpp/main.cpp
+	sandbox/demo/ElectroMechanics/cpp/main.cpp
+	sandbox/demo/HarmonicMap/cpp/main.cpp
+	sandbox/demo/HyperElasticityFung/cpp/main.cpp
+	sandbox/demo/HyperElasticityModels/cpp/main.cpp
+	sandbox/demo/HyperElasticitySVKTransient/cpp/main.cpp
+	sandbox/dolfinbug/cpp/main.cpp
+Copyright: 2009-2009, Martin Sandve Alns
+License: LGPL-3.0
+
+Files: site-packages/sfc/codegeneration/cellintegralcg.py
+	site-packages/sfc/codegeneration/codeformatting.py
+	site-packages/sfc/codegeneration/dofmapcg.py
+	site-packages/sfc/codegeneration/exteriorfacetintegralcg.py
+	site-packages/sfc/codegeneration/finiteelementcg.py
+	site-packages/sfc/codegeneration/formcg.py
+	site-packages/sfc/codegeneration/integralcg.py
+	site-packages/sfc/common/names.py
+	site-packages/sfc/common/options.py
+	site-packages/sfc/jit.py
+	site-packages/sfc/quadrature/quadrature_code.py
+	site-packages/sfc/representation/cellintegralrepresentation.py
+	site-packages/sfc/representation/exteriorfacetintegralrepresentation.py
+	site-packages/sfc/representation/formrepresentation.py
+	site-packages/sfc/representation/integralrepresentation.py
+	site-packages/sfc/representation/interiorfacetintegralrepresentation.py
+	site-packages/sfc/representation/swiginac_eval.py
+Copyright: 2008-2009, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2
+
+Files: site-packages/sfc/codegeneration/interiorfacetintegralcg.py
+	site-packages/sfc/common/ParameterDict.py
+	site-packages/sfc/common/output.py
+	site-packages/sfc/dofcode/__init__.py
+	site-packages/sfc/geometry/UFCCell.py
+	site-packages/sfc/quadrature/__init__.py
+	site-packages/sfc/quadrature/quad_tables.py
+	site-packages/sfc/quadrature/quadrature.py
+	site-packages/sfc/representation/elementrepresentation.py
+Copyright: 2008, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/EnergyNorm.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Heat.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/PoissonSystem.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Stokes.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/TensorWeightedPoisson.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/EnergyNorm.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/PoissonSystem.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Stokes.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/TensorWeightedPoisson.ufl
+Copyright: 2005-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Constant.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Equation.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/FunctionOperators.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/MixedMixedElement.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Constant.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Equation.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/FunctionOperators.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/MixedMixedElement.ufl
+Copyright: 2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: syfi/swig/ex.1.3.i
+	syfi/swig/ex.1.4.i
+	syfi/swig/ex.1.5.i
+	syfi/swig/typemaps.1.3.i
+	syfi/swig/typemaps.1.4.i
+	syfi/swig/typemaps.1.5.i
+Copyright: 2003-2005
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Mass.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/NavierStokes.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Optimization.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Poisson.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Mass.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/NavierStokes.ufl
+Copyright: 2004-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/NeumannProblem.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/P5tet.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/P5tri.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/NeumannProblem.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/P5tet.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/P5tri.ufl
+Copyright: 2006-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/code_generation_lab/ufl/functionals/Interval.ufl
+	tests/python/code_generation_lab/ufl/functionals/Tetrahedron.ufl
+	tests/python/code_generation_lab/ufl/functionals/Triangle.ufl
+	tests/python/verify_tensors/ufl/functionals/Interval.ufl
+	tests/python/verify_tensors/ufl/functionals/Tetrahedron.ufl
+	tests/python/verify_tensors/ufl/functionals/Triangle.ufl
+Copyright: 2009-2009, Martin Sandve Alnes <martinal@simula.no> (martinal@simula.no)
+License: GPL-3+
+
+Files: site-packages/sfc/common/utilities.py
+	site-packages/sfc/geometry/mappings.py
+	site-packages/sfc/symbolic_utils/integration.py
+	site-packages/sfc/symbolic_utils/symbolic_utils.py
+Copyright: 2007-2009, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2
+
+Files: tests/python/newtests/test.py
+	tests/python/tests/SyFi_polygons/test.py
+	tests/python/tests/sfc_commandline/test.py
+	tests/python/tests/templatetestdir/test.py
+Copyright: for c in classes
+License: UNKNOWN
+
+Files: demo/Advection-Diffusion/python/demo.py
+	demo/LinearElasticity/python/demo.py
+	demo/Poisson1D/python/demo.py
+Copyright: 2007, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>
+License: LGPL-2.1
+
+Files: doc/manual/chapters/sfctech.tex
+	doc/manual/chapters/sfcuser.tex
+	doc/reference/DoxyfileHTML
+Copyright: *No copyright*
+License: UNKNOWN (GENERATED FILE)
+
+Files: debian/cdbs/1/class/scons-vars.mk
+	debian/cdbs/1/class/scons.mk
+Copyright: 2005, Matthew A. Nicholson <matt@matt-land.com>
+License: GPL
+
+Files: site-packages/sfc/geometry/affine_map.py
+	site-packages/sfc/quadrature/QuadRule.py
+Copyright: 2007, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/PoissonDG.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/PoissonDG.ufl
+Copyright: 2006-2007, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl> and Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/VectorLaplaceGradCurl.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/VectorLaplaceGradCurl.ufl
+Copyright: 2007, Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/SubDomains.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SubDomains.ufl
+Copyright: 2008, Anders Logg <logg@simula.no> and Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>@tudelft.nl)
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/SubDomain.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SubDomain.ufl
+Copyright: 2008, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/QuadratureElement.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/QuadratureElement.ufl
+Copyright: 2008, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>@tudelft.nl)
+License: LGPL-2.1
+
+Files: scons/simula-scons/simula_scons/ExtendedEnvironment.py
+Copyright: HOLDERS AND CONTRIBUTORS
+	2006, Richard Levitte <richard@levitte.org>
+License: BSD (2 clause)
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/hypre/hypre-configure
+Copyright: 2006, The Regents of the University of California
+	2003, Free Software Foundation, Inc
+License: GPL (GENERATED FILE)
+
+Files: doc/manual/chapters/software.tex
+Copyright: *No copyright*
+License: GPL
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/hypre/hypre-struct_overlap_innerprod.c
+Copyright: 2006, The Regents of the University of California
+License: GPL
+
+Files: debian/cdbs/1/rules/copyright-check.mk
+Copyright: \s*(\S.*?)\s*\
+License: GPL
+
+Files: site-packages/sfc/codegeneration/codegeneration.py
+Copyright: 2008-2009, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2 (GENERATED FILE)
+
+Files: doc/manual/fenicsmanual.cls
+Copyright: 2005, Anders Logg <logg@simula.no>
+License: GPL-2
+
+Files: README
+Copyright: 2006-2009, Kent-Andre Mardal <kent-and@simula.no> and Simula Resarch
+	2007-2009, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch
+License: GPL-2
+
+Files: site-packages/sfc/symbolic_utils/symbol_factory.py
+Copyright: 2007-2008, Martin Sandve Alnes <martinal@simula.no> and Simula Resarch Laboratory
+License: GPL-2
+
+Files: debian/licensecheck
+Copyright: 2007-2008, Adam D. Barratt
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/Poisson.ufl
+Copyright: 2004-2008, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Elasticity.ufl
+Copyright: 2005, Johan Jansson <johanjan@math.chalmers.se>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/Heat.ufl
+Copyright: 2005-2009, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/MixedPoisson.ufl
+Copyright: 2006-2007, Anders Logg <logg@simula.no> and Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/MixedPoisson.ufl
+Copyright: 2006-2009, Anders Logg <logg@simula.no> and Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: demo/LinearElasticity/cpp/LinearElasticity.ufl
+Copyright: 2005, Johan Jansson <johanjan@math.chalmers.se>
+License: LGPL-2.1
+
+Files: demo/LinearElasticity/cpp/main.cpp
+Copyright: 2006-2009, Johan Jansson <johanjan@math.chalmers.se> and Anders Logg <logg@simula.no>
+License: LGPL-2.1
+
+Files: demo/Poisson2D/python/demo.py
+Copyright: 2007-2008, Anders Logg <logg@simula.no>
+License: LGPL-2.1
+
+Files: sandbox/demo/DivMatrix/cpp/main.cpp
+Copyright: 2009-2009, Kent Andre Mardal
+License: LGPL-3.0
+
+Files: scons/simula-scons/LICENSE
+Copyright: HOLDERS BE
+	2007-2008, Aasmund Oedegaard <aasmund@simula.no> and Simula Research Laboratory
+License: MIT/X11 (BSD like)
+
+Files: COPYING
+Copyright: 1989, 1991, Free Software Foundation, Inc
+	the software, and
+License: UNKNOWN
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/dolfin.py
+Copyright: 2006, Simula Research Laboratory
+License: UNKNOWN
+
+Files: demo/Advection-Diffusion/python/velocity.xml.gz
+Copyright: 6 =Vg9V, =
+License: UNKNOWN
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/commonPkgConfigUtils.py
+Copyright: C (2006) Simula Research Laboratory
+License: UNKNOWN
+
+Files: doc/manual/syfi-user-manual.pdf
+Copyright: OP&Dlm~?tV}RhllNl!38}_I<&Q
+License: UNKNOWN
+
+Files: tests/cpp/arnoldfalkwinther.gar.r
+Copyright: 
+License: UNKNOWN
+
+Files: demo/Advection-Diffusion/python/mesh.xml.gz
+Copyright: ]1vI*SOU)OHf+S)O}xS//@OKy_[nsR_b?
+License: UNKNOWN
+
+Files: tests/cpp/pnpn2_ex.gar.r
+Copyright: ~--~ #>Tft5M`[q,,
+License: UNKNOWN
+
--- syfi-0.6.1.dfsg.orig/debian/licensecheck
+++ syfi-0.6.1.dfsg/debian/licensecheck
@@ -0,0 +1,566 @@
+#!/usr/bin/perl -w
+# This script was originally based on the script of the same name from
+# the KDE SDK (by dfaure@kde.org)
+#
+# This version is
+#   Copyright (C) 2007, 2008 Adam D. Barratt
+#
+# This program 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.
+#
+# This program 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 this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+=head1 NAME
+
+licensecheck - simple license checker for source files
+
+=head1 SYNOPSIS
+
+B<licensecheck> B<--help|--version>
+
+B<licensecheck> [B<--no-conf>] [B<--verbose>] [B<--copyright>]
+[B<-l|--lines=N>] [B<-i|--ignore=regex>] [B<-c|--check=regex>]
+[B<-r|--recursive>] I<list of files and directories to check>
+
+=head1 DESCRIPTION
+
+B<licensecheck> attempts to determine the license that applies to each file
+passed to it, by searching the start of the file for text belonging to
+various licenses.
+
+If any of the arguments passed are directories, B<licensecheck> will add
+the files contained within to the list of files to process.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<--verbose> B<--no-verbose>
+
+Specify whether to output the text being processed from each file before
+the corresponding license information.
+
+Default is to be quiet.
+
+=item B<-l=N> B<--lines=N>
+
+Specify the number of lines of each file's header which should be parsed 
+for license information. (Default is 60).
+
+=item B<-i=regex> B<--ignore=regex>
+
+When processing the list of files and directories, the regular 
+expression specified by this option will be used to indicate those which 
+should not be considered (e.g. backup files, VCS metadata). 
+
+=item B<-r> B<--recursive>
+
+Specify that the contents of directories should be added 
+recursively.
+
+=item B<-c=regex> B<--check=regex>
+
+Specify a pattern against which filenames will be matched in order to 
+decide which files to check the license of.
+
+The default includes common source files.
+
+=item B<--copyright>
+
+Also display copyright text found within the file
+
+=item B<--no-conf> B<--noconf>
+Do not read any configuration files. This can only be used as the first
+option given on the command-line.
+
+=back
+
+=head1 CONFIGURATION VARIABLES
+
+The two configuration files F</etc/devscripts.conf> and
+F<~/.devscripts> are sourced by a shell in that order to set
+configuration variables.  Command line options can be used to override
+configuration file settings.  Environment variable settings are
+ignored for this purpose.  The currently recognised variables are:
+
+=over 4
+
+=item B<LICENSECHECK_VERBOSE>
+
+If this is set to I<yes>, then it is the same as the --verbose command
+line parameter being used. The default is I<no>.
+
+=item B<LICENSECHECK_PARSELINES>
+
+If this is set to a positive number then the specified number of lines
+at the start of each file will be read whilst attempting to determine
+the license(s) in use.  This is equivalent to the --lines command line
+option.
+
+=back
+
+=head1 LICENSE
+
+This code is copyright by Adam D. Barratt <adam@adam-barratt.org.uk>, 
+all rights reserved; based on a script of the same name from the KDE 
+SDK, which is copyright by <dfaure@kde.org>.
+This program comes with ABSOLUTELY NO WARRANTY.
+You are free to redistribute this code under the terms of the GNU 
+General Public License, version 2 or later.
+
+=head1 AUTHOR
+
+Adam D. Barratt <adam@adam-barratt.org.uk>
+
+=cut
+
+use strict;
+use warnings;
+use Getopt::Long;
+use File::Basename;
+
+sub fatal($);
+sub parse_copyright($);
+sub parselicense($);
+
+my $progname = basename($0);
+
+# From dpkg-source
+my $default_ignore_regex = '
+# Ignore general backup files
+(?:^|/).*~$|
+# Ignore emacs recovery files
+(?:^|/)\.#.*$|
+# Ignore vi swap files
+(?:^|/)\..*\.swp$|
+# Ignore baz-style junk files or directories
+(?:^|/),,.*(?:$|/.*$)|
+# File-names that should be ignored (never directories)
+(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
+# File or directory names that should be ignored
+(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|
+\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
+';
+
+# Take out comments and newlines
+$default_ignore_regex =~ s/^#.*$//mg;
+$default_ignore_regex =~ s/\n//sg;
+
+my $default_check_regex = '\.(c(c|pp|xx)?|h(h|pp|xx)?|f(77|90)?|p(l|m)|xs|sh|php|py|rb|java|vala|el|sc(i|e)|cs)$';
+
+my $modified_conf_msg;
+
+my ($opt_verbose, $opt_lines, $opt_noconf, $opt_ignore_regex, $opt_check_regex)
+  = ('', '', '', '', '');
+my $opt_recursive = 0;
+my $opt_copyright = 0;
+my ($opt_help, $opt_version);
+my $def_lines = 60;
+
+# Read configuration files and then command line
+# This is boilerplate
+
+if (@ARGV and $ARGV[0] =~ /^--no-?conf$/) {
+    $modified_conf_msg = "  (no configuration files read)";
+    shift;
+} else {
+    my @config_files = ('/etc/devscripts.conf', '~/.devscripts');
+    my %config_vars = (
+		       'LICENSECHECK_VERBOSE' => 'no',
+		       'LICENSECHECK_PARSELINES' => $def_lines,
+		      );
+    my %config_default = %config_vars;
+
+    my $shell_cmd;
+    # Set defaults
+    foreach my $var (keys %config_vars) {
+	$shell_cmd .= qq[$var="$config_vars{$var}";\n];
+    }
+    $shell_cmd .= 'for file in ' . join(" ", @config_files) . "; do\n";
+    $shell_cmd .= '[ -f $file ] && . $file; done;' . "\n";
+    # Read back values
+    foreach my $var (keys %config_vars) { $shell_cmd .= "echo \$$var;\n" }
+    my $shell_out = `/bin/bash -c '$shell_cmd'`;
+    @config_vars{keys %config_vars} = split /\n/, $shell_out, -1;
+
+    # Check validity
+    $config_vars{'LICENSECHECK_VERBOSE'} =~ /^(yes|no)$/
+	or $config_vars{'LICENSECHECK_VERBOSE'} = 'no';
+    $config_vars{'LICENSECHECK_PARSELINES'} =~ /^[1-9][0-9]*$/
+	or $config_vars{'LICENSECHECK_PARSELINES'} = $def_lines;
+
+    foreach my $var (sort keys %config_vars) {
+	if ($config_vars{$var} ne $config_default{$var}) {
+	    $modified_conf_msg .= "  $var=$config_vars{$var}\n";
+	}
+    }
+    $modified_conf_msg ||= "  (none)\n";
+    chomp $modified_conf_msg;
+
+    $opt_verbose = $config_vars{'LICENSECHECK_VERBOSE'} eq 'yes' ? 1 : 0;
+    $opt_lines = $config_vars{'LICENSECHECK_PARSELINES'};
+}
+
+GetOptions("help|h" => \$opt_help,
+	   "version|v" => \$opt_version,
+	   "verbose!" => \$opt_verbose,
+	   "lines|l=i" => \$opt_lines,
+	   "ignore|i=s" => \$opt_ignore_regex,
+	   "recursive|r" => \$opt_recursive,
+	   "check|c=s" => \$opt_check_regex,
+	   "copyright" => \$opt_copyright,
+	   "noconf" => \$opt_noconf,
+	   "no-conf" => \$opt_noconf,
+	   )
+    or die "Usage: $progname [options] filelist\nRun $progname --help for more details\n";
+
+$opt_lines = $def_lines if $opt_lines !~ /^[1-9][0-9]*$/;
+$opt_ignore_regex = $default_ignore_regex if ! length $opt_ignore_regex;
+$opt_check_regex = $default_check_regex if ! length $opt_check_regex;
+
+if ($opt_noconf) {
+    fatal "--no-conf is only acceptable as the first command-line option!";
+}
+if ($opt_help) { help(); exit 0; }
+if ($opt_version) { version(); exit 0; }
+
+die "Usage: $progname [options] filelist\nRun $progname --help for more details\n" unless @ARGV;
+
+$opt_lines = $def_lines if not defined $opt_lines;
+
+my @files = ();
+my @find_args = ();
+my $files_count = @ARGV;
+
+push @find_args, qw(-maxdepth 1) unless $opt_recursive;
+push @find_args, qw(-follow -type f -print);
+
+while (@ARGV) {
+    my $file = shift @ARGV;
+
+    if (-d $file) {
+	open FIND, '-|', 'find', $file, @find_args
+	    or die "$progname: couldn't exec find: $!\n";
+
+	while (<FIND>) {
+	    chomp;
+	    next unless m%$opt_check_regex%;
+	    push @files, $_ unless m%$opt_ignore_regex%;
+	}
+	close FIND;
+    } else {
+	next unless ($files_count == 1) or $file =~ m%$opt_check_regex%;
+	push @files, $file unless $file =~ m%$opt_ignore_regex%;
+    }
+}
+
+while (@files) {
+    my $file = shift @files;
+    my $content = '';
+    my $copyright_match;
+    my $copyright = '';
+    my $license = '';
+    my %copyrights;
+
+    open (F, "<$file") or die "Unable to access $file\n";
+    while (<F>) {
+        last if ($. > $opt_lines);
+        $content .= $_;
+	$copyright_match = parse_copyright($_);
+	if ($copyright_match) {
+	    $copyrights{lc("$copyright_match")} = "$copyright_match";
+	}
+    }
+    close(F);
+
+    $copyright = join(" / ", values %copyrights);
+
+    print qq(----- $file header -----\n$content----- end header -----\n\n)
+	if $opt_verbose;
+
+    $content =~ tr/\t\r\n/ /;
+    # Remove C / C++ comments
+    $content =~ s#(\*/|/[/*])##g;
+    $content =~ tr% A-Za-z.,@;0-9\(\)/-%%cd;
+    $content =~ s/ c //g; # Remove fortran comments
+    $content =~ tr/ //s;
+
+    $license = parselicense($content);
+    print "$file: ";
+    print "*No copyright* " unless $copyright;
+    print $license . "\n";
+    print "  [Copyright: " . $copyright . "]\n"
+      if $copyright and $opt_copyright;
+    print "\n" if $opt_copyright;
+}
+
+sub parse_copyright($) {
+    my $copyright = '';
+    my $match;
+
+    my $copyright_indicator_regex = '
+	(?:copyright	# The full word
+	|copr\.		# Legally-valid abbreviation
+	|\x{00a9}	# Unicode character COPYRIGHT SIGN
+	|\xc2\xa9	# Unicode copyright sign encoded in iso8859
+	|\(c\)		# Legally-null representation of sign
+	)';
+    my $copyright_disindicator_regex = '
+	\b(?:info(?:rmation)?	# Discussing copyright information
+	|notice			# Discussing the notice
+	|and|or                 # Part of a sentence
+	)\b';
+
+    if (m%$copyright_indicator_regex(?::\s*|\s+)(\S.*)$%ix) {
+	$match = $1;
+
+	# Ignore lines matching "see foo for copyright information" etc.
+	if ($match !~ m%^\s*$copyright_disindicator_regex%ix) {
+	    # De-cruft
+	    $match =~ s/([,.])?\s*$//;
+	    $match =~ s/$copyright_indicator_regex//igx;
+	    $match =~ s/^\s+//;
+	    $match =~ s/\s{2,}/ /g;
+	    $match =~ s/\\@/@/g;
+
+	    $match =~ s/"//g;
+	    $match =~ s/Anders Logg( <[^>]*>)?( \([^\)]*\))?/Anders Logg <logg\@simula.no>/g;
+	    $match =~ s/Garth N\.? ?Wells( <[^>]*>)?/Garth N. Wells <gnw20\@cam.ac.uk>/g;
+	    $match =~ s/Johan ?Hoffman( <[^>]*>)?/Johan Hoffman <hoffman\@csc.kth.se>/g;
+	    $match =~ s/Johan ?Jansson( <[^>]*>)?( \([^\)]*\))?/Johan Jansson <johanjan\@math.chalmers.se>/g;
+	    $match =~ s/Kristian ?(B\. )?.*lgaard( <[^>]*>)?/Kristian B. Oelgaard <k.b.oelgaard\@tudelft.nl>/g;
+	    $match =~ s/(Ola )?Skavhaug( <[^>]*>)?/Ola Skavhaug <skavhaug\@simula.no>/g;
+	    $match =~ s/Johannes ?Ring( <[^>]*>)?/Johannes Ring <johannr\@simula.no>/g;
+	    $match =~ s/Dag ?Lindbo( <[^>]*>)?/Dag Lindbo <dag\@csc.kth.se>/g;
+	    $match =~ s/(Martin )?(Sandve )?Aln.?s( <[^>]*>)?/Martin Sandve Alnes <martinal\@simula.no>/g;
+	    $match =~ s/Kent-Andre ?Mardal( <[^>]*>)?/Kent-Andre Mardal <kent-and\@simula.no>/g;
+	    $match =~ s/(Gustav )?Magnus ?Vikstr.?.?m( <[^>]*>)?/Gustav Magnus Vikstrom <gustavv\@ifi.uio.no>/g;
+	    $match =~ s/Benjamin ?Kehlet( <[^>]*>)?/Benjamin Kehlet <benjamik\@student.matnat.uio.no>/g;
+	    $match =~ s/Johan ?Hake( <[^>]*>)?/Johan Hake <hake\@simula.no>/g;
+	    $match =~ s/Jim ?Tilander( <[^>]*>)?/Jim Tilander <jt\@dd.chalmers.se>/g;
+	    $match =~ s/Evan ?Lezar( <[^>]*>)?( \([^\)]*\))?/Evan Lezar <elezar\@sun.ac.za>/g;
+	    $match =~ s/Glenn ?Terje ?Lines( <[^>]*>)?/Glenn Terje Lines <glennli\@simula.no>/g;
+	    $match =~ s/Rolv ?Erlend ?Bredesen( <[^>]*>)?/Rolv Erlend Bredesen <rolv\@simula.no>/g;
+	    $match =~ s/Ilmar ?Wilbers( <[^>]*>)?/Ilmar Wilbers <ilmarw\@simula.no>/g;
+	    $match =~ s/Marie ?Rognes( <[^>]*>)?( \([^\)]*\))?/Marie Rognes <meg\@math.uio.no>/g;
+	    $match =~ s/Solveig ?Bruvoll( <[^>]*>)?/Solveig Bruvoll <solveio\@ifi.uio.no>/g;
+	    $match =~ s/Kristoffer ?Selim( <[^>]*>)?/Kristoffer Selim <selim\@simula.no>/g;
+	    $match =~ s/Joachim B\. ?Haga( <[^>]*>)?/Joachim B. Haga <jobh\@broadpark.no>/g;
+	    $match =~ s/(St.?phane )?Popinet( <[^>]*>)?/Stephane Popinet <s.popinet\@niwa.co.nz>/g;
+	    $match =~ s/Jonathan Richard ?Shewchuk( <[^>]*>)?/Jonathan Richard Shewchuk <jrs\@cs.berkeley.edu>/g;
+	    $match =~ s/Harald ?Svensson( <[^>]*>)?/Harald Svensson <harald.s\@home.se>/g;
+	    $match =~ s/Erik ?Svensson( <[^>]*>)?/Erik Svensson <eriksv\@math.chalmers.se>/g;
+	    $match =~ s/Nuno ?(David )?Lopes( <[^>]*>)?/Nuno David Lopes <ndl\@ptmat.fc.ul.pt>/g;
+	    $match =~ s/.?smund .?.?deg.?.?rd( <[^>]*>)?/Aasmund Oedegaard <aasmund\@simula.no>/g;
+
+	    $copyright = $match;
+	}
+    }
+
+    return $copyright;
+}
+
+sub help {
+   print <<"EOF";
+Usage: $progname [options] filename [filename ...]
+Valid options are:
+   --help, -h             Display this message
+   --version, -v          Display version and copyright info
+   --no-conf, --noconf    Don't read devscripts config files; must be
+                          the first option given
+   --verbose              Display the header of each file before its
+                            license information
+   --lines, -l            Specify how many lines of the file header
+                            should be parsed for license information
+                            (Default: $def_lines)
+   --check, -c            Specify a pattern indicating which files should
+                             be checked
+                             (Default: '$default_check_regex')
+   --recursive, -r        Add the contents of directories recursively
+   --copyright            Also display the file's copyright
+   --ignore, -i		  Specify that files / directories matching the
+                            regular expression should be ignored when
+                            checking files
+                            (Default: '$default_ignore_regex')
+
+Default settings modified by devscripts configuration files:
+$modified_conf_msg
+EOF
+}
+
+sub version {
+    print <<"EOF";
+This is $progname, from the Debian devscripts package, version 2.10.50
+Copyright (C) 2007, 2008 by Adam D. Barratt <adam\@adam-barratt.org.uk>; based
+on a script of the same name from the KDE SDK by <dfaure\@kde.org>.
+
+This program comes with ABSOLUTELY NO WARRANTY.
+You are free to redistribute this code under the terms of the
+GNU General Public License, version 2, or (at your option) any 
+later version.
+EOF
+}
+
+sub parselicense($) {
+    my ($licensetext) = @_;
+
+    my $gplver = "";
+    my $extrainfo = "";
+    my $license = "";
+
+    if ($licensetext =~ /version ([^ ]+) (?:\(?only\)?.? )?(?:of the GNU (Affero )?General Public License )?as published by the Free Software Foundation/i or
+	$licensetext =~ /GNU (Affero )?General Public License as published by the Free Software Foundation; version ([^ ]+) /i) {
+
+	$gplver = " (v$1)";
+    } elsif ($licensetext =~ /GNU (Affero ?)General Public License, version ([^ ]+?)[ .]/) {
+	$gplver = " (v$1)";
+    } elsif ($licensetext =~ /either version ([^ ]+) of the License, or \(at your option\) any later version/) {
+	$gplver = " (v$1 or later)";
+    }
+
+    if ($licensetext =~ /(?:675 Mass Ave|59 Temple Place|51 Franklin Steet|02139|02111-1307)/i) {
+	$extrainfo = " (with incorrect FSF address)$extrainfo";
+    }
+
+    if ($licensetext =~ /permission (?:is (also granted|given))? to link (the code of )?this program with (any edition of )?(Qt|the Qt library)/i) {
+	$extrainfo = " (with Qt exception)$extrainfo"
+    }
+
+    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (EDIT|delete this file)|Generated by)/i) {
+	$license = "GENERATED FILE";
+    }
+
+    if ($licensetext =~ /is free software.? you can redistribute it and\/or modify it under the terms of the (GNU (Library|Lesser) General Public License|LGPL)/i) {
+	$license = "LGPL$gplver$extrainfo $license";
+    }
+    
+    if ($licensetext =~ /is free software.? you can redistribute it and\/or modify it under the terms of the (GNU Affero General Public License|AGPL)/i) {
+	$license = "AGPL$gplver$extrainfo $license";
+    }
+
+    if ($licensetext =~ /is free software.? you (can|may) redistribute it and\/or modify it under the terms of (?:version [^ ]+ (?:\(?only\)? )?of )?the GNU General Public License/i) {
+	$license = "GPL$gplver$extrainfo $license";
+    }
+
+    if ($licensetext =~ /is distributed under the terms of the GNU General Public License,/
+	and length $gplver) {
+	$license = "GPL$gplver$extrainfo $license";
+    }
+
+    if ($licensetext =~ /is distributed.*terms.*GPL/) {
+	$license = "GPL (unversioned/unknown version) $license";
+    }
+
+    if ($licensetext =~ /GNU ([^ ]+) [V|v]ersion ([^ ]+) or any later version/) {
+	$license = "$1-$2+ $license";
+    } elsif ($licensetext =~ /GNU ([^ ]+) [V|v]ersion (\d+\.\d+|\d+)\.?/) {
+	$license = "$1-$2 $license";
+    }
+
+    if ($licensetext =~ /This file is part of the .*Qt GUI Toolkit. This file may be distributed under the terms of the Q Public License as defined/) {
+	$license = "QPL (part of Qt) $license";
+    } elsif ($licensetext =~ /may be distributed under the terms of the Q Public License as defined/) {
+	$license = "QPL $license";
+    }
+
+    if ($licensetext =~ /http:\/\/opensource\.org\/licenses\/mit-license\.php/) {
+	$license = "MIT/X11 (BSD like) $license";
+    } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the Software\), to deal in the Software/) {
+	$license = "MIT/X11 (BSD like) $license";
+    }
+
+    if ($licensetext  =~ /Permission to use, copy, modify, and(\/or)? distribute this software for any purpose with or without fee is hereby granted, provided.*copyright notice.*permission notice.*all copies/) {
+	$license = "ISC $license";
+    }
+
+    if ($licensetext =~ /THIS SOFTWARE IS PROVIDED .*AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY/) {
+	if ($licensetext =~ /All advertising materials mentioning features or use of this software must display the following acknowledge?ment.*This product includes software developed by/i) {
+	    $license = "BSD (4 clause) $license";
+	} elsif ($licensetext =~ /(The name of .*? may not|Neither the names? of .*? nor the names of (its|their) contributors may) be used to endorse or promote products derived from this software/i) {
+	    $license = "BSD (3 clause) $license";
+	} elsif ($licensetext =~ /Redistributions of source code must retain the above copyright notice/i) {
+	    $license = "BSD (2 clause) $license";
+	} else {
+	    $license = "BSD $license";
+	}
+    }
+
+    if ($licensetext =~ /Mozilla Public License Version ([^ ]+)/) {
+	$license = "MPL (v$1) $license";
+    }
+
+    if ($licensetext =~ /Released under the terms of the Artistic License ([^ ]+)/) {
+	$license = "Artistic (v$1) $license";
+    }
+
+    if ($licensetext =~ /is free software under the Artistic [Ll]icense/) {
+	$license = "Artistic $license";
+    }
+
+    if ($licensetext =~ /This program is free software; you can redistribute it and\/or modify it under the same terms as Perl itself/) {
+	$license = "Perl $license";
+    }
+
+    if ($licensetext =~ /under the Apache License, Version ([^ ]+) \(the License\)/) {
+	$license = "Apache (v$1) $license";
+    }
+
+    if ($licensetext =~ /This source file is subject to version ([^ ]+) of the PHP license/) {
+	$license = "PHP (v$1) $license";
+    }
+
+    if ($licensetext =~ /under the terms of the CeCILL /) {
+	$license = "CeCILL $license";
+    }
+
+    if ($licensetext =~ /under the terms of the CeCILL-([^ ]+) /) {
+	$license = "CeCILL-$1 $license";
+    }
+
+    if ($licensetext =~ /under the SGI Free Software License B/) {
+	$license = "SGI Free Software License B $license";
+    }
+
+    if ($licensetext =~ /is in the public domain/i) {
+	$license = "Public domain";
+    }
+
+    if ($licensetext =~ /terms of the Common Development and Distribution License(, Version ([^(]+))? \(the License\)/) {
+	$license = "CDDL " . ($1 ? "(v$2) " : '') . $license;
+    }
+
+    if ($licensetext =~ /Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license \(the \"Software\"\)/ or
+	$licensetext =~ /Boost Software License([ ,-]+Version ([^ ]+)?(\.))/i) {
+	$license = "BSL " . ($1 ? "(v$2) " : '') . $license;
+    }
+
+    if ($licensetext =~ /PYTHON SOFTWARE FOUNDATION LICENSE (VERSION ([^ ]+))/i) {
+	$license = "PSF " . ($1 ? "(v$2) " : '') . $license;
+    }
+
+    if ($licensetext =~ /The origin of this software must not be misrepresented.*Altered source versions must be plainly marked as such.*This notice may not be removed or altered from any source distribution/ or
+        $licensetext =~ /see copyright notice in zlib\.h/) {
+	$license = "zlib/libpng $license";
+    }
+
+    $license = "UNKNOWN" if (!length($license));
+
+    return $license;
+}
+
+sub fatal($) {
+    my ($pack,$file,$line);
+    ($pack,$file,$line) = caller();
+    (my $msg = "$progname: fatal error at line $line:\n@_\n") =~ tr/\0//d;
+    $msg =~ s/\n\n$/\n/;
+    die $msg;
+}
--- syfi-0.6.1.dfsg.orig/debian/README.source
+++ syfi-0.6.1.dfsg/debian/README.source
@@ -0,0 +1,11 @@
+SyFi source for Debian
+--------------------------
+
+1. The pdf files that cannot be re-generated from the tarball have
+   been removed from the archive.
+
+2. An attachment from the book "P. Solin, K. Segeth and I. Dolezel:
+   Higher-Order Finite Element Methods", Chapman & Hall/CRC Press,
+   2003, has been removed from the archive.
+
+ -- Johannes Ring <johannr@simula.no>  Tue, 09 Feb 2010 09:58:39 +0100
--- syfi-0.6.1.dfsg.orig/debian/copyright
+++ syfi-0.6.1.dfsg/debian/copyright
@@ -0,0 +1,401 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=48
+Name: SyFi
+Maintainer: syfi@lists.launchpad.net
+	http://www.fenics.org/wiki/SyFi
+Source: http://launchpad.net/dolfin
+
+Files: *
+Copyright: 2006-2009, Kent-Andre Mardal <kent-and@simula.no>
+	2006-2009, Martin Sandve Alnæs <martinal@simula.no>
+License: GPL-2
+
+Files: syfi/ArnoldFalkWintherWeakSym.cpp
+	syfi/ArnoldFalkWintherWeakSym.h
+	syfi/BrezziDouglasMarini.cpp
+	syfi/BrezziDouglasMarini.h
+	syfi/Bubble.cpp
+	syfi/Bubble.h
+	syfi/CrouzeixRaviart.cpp
+	syfi/CrouzeixRaviart.h
+	syfi/DiscontinuousLagrange.cpp
+	syfi/DiscontinuousLagrange.h
+	syfi/Dof.cpp
+	syfi/Dof.h
+	syfi/DofT.cpp
+	syfi/DofT.h
+	syfi/Dof_OrderedPtvSet.cpp
+	syfi/Dof_OrderedPtvSet.h
+	syfi/Dof_Ptv.cpp
+	syfi/Dof_Ptv.h
+	syfi/ElementComputations.cpp
+	syfi/ElementComputations.h
+	syfi/FE.cpp
+	syfi/FE.h
+	syfi/Hermite.cpp
+	syfi/Hermite.h
+	syfi/Lagrange.cpp
+	syfi/Lagrange.h
+	syfi/MixedFE.cpp
+	syfi/MixedFE.h
+	syfi/Nedelec.cpp
+	syfi/Nedelec.h
+	syfi/Nedelec2Hdiv.cpp
+	syfi/Nedelec2Hdiv.h
+	syfi/OrderedPtvSet.cpp
+	syfi/OrderedPtvSet.h
+	syfi/P0.cpp
+	syfi/P0.h
+	syfi/Polygon.cpp
+	syfi/Polygon.h
+	syfi/Ptv.cpp
+	syfi/Ptv.h
+	syfi/Ptv_tools.cpp
+	syfi/Ptv_tools.h
+	syfi/RaviartThomas.cpp
+	syfi/RaviartThomas.h
+	syfi/Robust.cpp
+	syfi/Robust.h
+	syfi/SpaceTimeElement.cpp
+	syfi/SpaceTimeElement.h
+	syfi/SyFi.h
+	syfi/containers.h
+	syfi/diff_tools.cpp
+	syfi/diff_tools.h
+	syfi/ginac_tools.cpp
+	syfi/ginac_tools.h
+	syfi/symbol_factory.cpp
+	syfi/symbol_factory.h
+	syfi/tools.h
+	syfi/utilities.cpp
+	syfi/utilities.h
+Copyright: 2006-2009, Kent-Andre Mardal <kent-and@simula.no>
+	2006-2009, Simula Research Laboratory
+License: GPL-2+
+
+Files: demo/Elements/cpp/main.cpp
+	demo/HyperElasticity1D/cpp/main.cpp
+	demo/HyperElasticityMooneyRivlin/cpp/main.cpp
+	demo/HyperElasticitySVK/cpp/main.cpp
+	demo/Poisson1D/cpp/main.cpp
+	demo/Poisson2D/cpp/main.cpp
+	demo/Poisson3D/cpp/main.cpp
+	demo/Projection/cpp/main.cpp
+	demo/Projection1D/cpp/main.cpp
+	demo/ProjectionMixed/cpp/main.cpp
+	demo/ProjectionTensor/cpp/main.cpp
+	demo/ProjectionVector/cpp/main.cpp
+	demo/SubDomains/cpp/main.cpp
+	sandbox/demo/ElectroMechanics/cpp/main.cpp
+	sandbox/demo/HarmonicMap/cpp/main.cpp
+	sandbox/demo/HyperElasticityFung/cpp/main.cpp
+	sandbox/demo/HyperElasticityModels/cpp/main.cpp
+	sandbox/demo/HyperElasticitySVKTransient/cpp/main.cpp
+	sandbox/dolfinbug/cpp/main.cpp
+Copyright: 2009, Martin Sandve Alnæs <martinal@simula.no>
+License: LGPL-3.0
+
+Files: site-packages/sfc/codegeneration/cellintegralcg.py
+	site-packages/sfc/codegeneration/codeformatting.py
+	site-packages/sfc/codegeneration/dofmapcg.py
+	site-packages/sfc/codegeneration/exteriorfacetintegralcg.py
+	site-packages/sfc/codegeneration/finiteelementcg.py
+	site-packages/sfc/codegeneration/formcg.py
+	site-packages/sfc/codegeneration/integralcg.py
+	site-packages/sfc/common/names.py
+	site-packages/sfc/common/options.py
+	site-packages/sfc/jit.py
+	site-packages/sfc/quadrature/quadrature_code.py
+	site-packages/sfc/representation/cellintegralrepresentation.py
+	site-packages/sfc/representation/exteriorfacetintegralrepresentation.py
+	site-packages/sfc/representation/formrepresentation.py
+	site-packages/sfc/representation/integralrepresentation.py
+	site-packages/sfc/representation/interiorfacetintegralrepresentation.py
+	site-packages/sfc/representation/swiginac_eval.py
+Copyright: 2008-2009, Martin Sandve Alnæs <martinal@simula.no>
+	2008-2009, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: site-packages/sfc/codegeneration/interiorfacetintegralcg.py
+	site-packages/sfc/common/ParameterDict.py
+	site-packages/sfc/common/output.py
+	site-packages/sfc/dofcode/__init__.py
+	site-packages/sfc/geometry/UFCCell.py
+	site-packages/sfc/quadrature/__init__.py
+	site-packages/sfc/quadrature/quad_tables.py
+	site-packages/sfc/quadrature/quadrature.py
+	site-packages/sfc/representation/elementrepresentation.py
+Copyright: 2008, Martin Sandve Alnæs <martinal@simula.no>
+	2008, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/EnergyNorm.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Heat.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/PoissonSystem.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Stokes.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/TensorWeightedPoisson.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/EnergyNorm.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/PoissonSystem.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Stokes.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/TensorWeightedPoisson.ufl
+Copyright: 2005-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Constant.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Equation.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/FunctionOperators.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/MixedMixedElement.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Constant.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Equation.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/FunctionOperators.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/MixedMixedElement.ufl
+Copyright: 2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: syfi/swig/ex.1.3.i
+	syfi/swig/ex.1.4.i
+	syfi/swig/ex.1.5.i
+	syfi/swig/typemaps.1.3.i
+	syfi/swig/typemaps.1.4.i
+	syfi/swig/typemaps.1.5.i
+Copyright: 2003-2005, Ola Skavhaug <skavhaug@simula.no>
+	2003-2005, Ondrej Certik <ondrej@certik.cz>
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Mass.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/NavierStokes.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Optimization.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/Poisson.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/Mass.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/NavierStokes.ufl
+Copyright: 2004-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/NeumannProblem.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/P5tet.ufl
+	tests/python/verify_tensors/ufl/ffc_demo/P5tri.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/NeumannProblem.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/P5tet.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/P5tri.ufl
+Copyright: 2006-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/code_generation_lab/ufl/functionals/Interval.ufl
+	tests/python/code_generation_lab/ufl/functionals/Tetrahedron.ufl
+	tests/python/code_generation_lab/ufl/functionals/Triangle.ufl
+	tests/python/verify_tensors/ufl/functionals/Interval.ufl
+	tests/python/verify_tensors/ufl/functionals/Tetrahedron.ufl
+	tests/python/verify_tensors/ufl/functionals/Triangle.ufl
+Copyright: 2009, Martin Sandve Alnæs <martinal@simula.no>
+License: GPL-3+
+
+Files: site-packages/sfc/common/utilities.py
+	site-packages/sfc/geometry/mappings.py
+	site-packages/sfc/symbolic_utils/integration.py
+	site-packages/sfc/symbolic_utils/symbolic_utils.py
+Copyright: 2007-2009, Martin Sandve Alnæs <martinal@simula.no>
+	2007-2009, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: demo/Advection-Diffusion/python/demo.py
+	demo/LinearElasticity/python/demo.py
+	demo/Poisson1D/python/demo.py
+Copyright: 2007, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>
+License: LGPL-2.1
+
+Files: debian/*
+Copyright: 2008-2010, Johannes Ring <johannr@simula.no>
+License: GPL-2+
+
+Files: debian/cdbs/1/class/scons-vars.mk
+	debian/cdbs/1/class/scons.mk
+Copyright: 2005, Matthew A. Nicholson <matt@matt-land.com>
+License: GPL-2+
+
+Files: site-packages/sfc/geometry/affine_map.py
+	site-packages/sfc/quadrature/QuadRule.py
+Copyright: 2007, Martin Sandve Alnæs <martinal@simula.no>
+	2007, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/PoissonDG.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/PoissonDG.ufl
+Copyright: 2006-2007, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>
+	2006-2007, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/VectorLaplaceGradCurl.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/VectorLaplaceGradCurl.ufl
+Copyright: 2007, Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/SubDomains.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SubDomains.ufl
+Copyright: 2008, Anders Logg <logg@simula.no>
+	Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/SubDomain.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/SubDomain.ufl
+Copyright: 2008, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/QuadratureElement.ufl
+	tests/python/verify_tensors/ufl/ufl_demo/QuadratureElement.ufl
+Copyright: 2008, Kristian B. Oelgaard <k.b.oelgaard@tudelft.nl>
+License: LGPL-2.1
+
+Files: scons/simula-scons/*
+Copyright: 2007-2008, Åsmund Ødegård <aasmund@simula.no>
+        2007-2008, Simula Research Laboratory
+License: MIT
+
+Files: scons/simula-scons/simula_scons/ExtendedEnvironment.py
+Copyright: 2006, Richard Levitte <richard@levitte.org>
+License: BSD-C2
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/hypre/hypre-configure
+Copyright: 2006, The Regents of the University of California
+	2003, Free Software Foundation, Inc
+License: LGPL-2.1
+
+Files: scons/simula-scons/simula_scons/pkgconfiggenerators/install_packages/hypre/hypre-struct_overlap_innerprod.c
+Copyright: 2006, The Regents of the University of California
+License: LGPL-2.1
+
+Files: debian/cdbs/1/rules/copyright-check.mk
+Copyright: 2005-2008, Jonas Smedegaard <dr@jones.dk>
+License: GPL-2+
+
+Files: site-packages/sfc/codegeneration/codegeneration.py
+Copyright: 2008-2009, Martin Sandve Alnæs <martinal@simula.no>
+	2008-2009, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: doc/manual/fenicsmanual.cls
+Copyright: 2005, Anders Logg <logg@simula.no>
+License: GPL-2
+
+Files: site-packages/sfc/symbolic_utils/symbol_factory.py
+Copyright: 2007-2008, Martin Sandve Alnæs <martinal@simula.no>
+	2007-2008, Simula Resarch Laboratory
+License: GPL-2+
+
+Files: debian/licensecheck
+Copyright: 2007-2008, Adam D. Barratt
+License: GPL-2+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/Poisson.ufl
+Copyright: 2004-2008, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/Elasticity.ufl
+Copyright: 2005, Johan Jansson <johanjan@math.chalmers.se>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/Heat.ufl
+Copyright: 2005-2009, Anders Logg <logg@simula.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ffc_demo/MixedPoisson.ufl
+Copyright: 2006-2007, Anders Logg <logg@simula.no>
+	2006-2007, Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: tests/python/verify_tensors/ufl/ufl_demo/MixedPoisson.ufl
+Copyright: 2006-2009, Anders Logg <logg@simula.no>
+	2006-2009, Marie Rognes <meg@math.uio.no>
+License: GPL-3+
+
+Files: demo/LinearElasticity/cpp/LinearElasticity.ufl
+Copyright: 2005, Johan Jansson <johanjan@math.chalmers.se>
+License: LGPL-2.1
+
+Files: demo/LinearElasticity/cpp/main.cpp
+Copyright: 2006-2009, Johan Jansson <johanjan@math.chalmers.se>
+	2006-2009, Anders Logg <logg@simula.no>
+License: LGPL-2.1
+
+Files: demo/Poisson2D/python/demo.py
+Copyright: 2007-2008, Anders Logg <logg@simula.no>
+License: LGPL-2.1
+
+Files: sandbox/demo/DivMatrix/cpp/main.cpp
+Copyright: 2009, Kent Andre Mardal <kent-and@simula.no>
+License: LGPL-3.0
+
+License: GPL-2
+ On Debian systems, the complete text of the GNU General Public License
+ (GPL) version 2 can be found at "/usr/share/common-licenses/GPL-2".
+
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General Public License
+ (GPL) version 2 can be found at "/usr/share/common-licenses/GPL-2".
+
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ (GPL) version 3 can be found at "/usr/share/common-licenses/GPL-3".
+
+License: LGPL-2+
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License (LGPL) version 2 can be found at
+ "/usr/share/common-licenses/LGPL-2".
+
+License: LGPL-2.1
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License (LGPL) version 2.1 can be found at
+ "/usr/share/common-licenses/LGPL-2.1".
+
+License: LGPL-3
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License (LGPL) version 3 can be found at
+ "/usr/share/common-licenses/LGPL-3".
+
+License: MIT 
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: BSD-C3
+ On Debian systems, the complete text of the three-clause BSD license
+ can be found at "/usr/share/common-licenses/BSD".
+
+License: BSD-C2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+   2. Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
--- syfi-0.6.1.dfsg.orig/debian/syfi-bin.install
+++ syfi-0.6.1.dfsg/debian/syfi-bin.install
@@ -0,0 +1,3 @@
+usr/bin/sfc
+usr/lib/python*/*-packages/sfc
+usr/share/man/man1/sfc.1.gz
--- syfi-0.6.1.dfsg.orig/debian/python-syfi0.install
+++ syfi-0.6.1.dfsg/debian/python-syfi0.install
@@ -0,0 +1,2 @@
+usr/lib/python*/*-packages/SyFi.py
+usr/lib/python*/*-packages/_SyFi.so
--- syfi-0.6.1.dfsg.orig/debian/changelog
+++ syfi-0.6.1.dfsg/debian/changelog
@@ -0,0 +1,27 @@
+syfi (0.6.1.dfsg-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    - Add DM-Upload-Allowed: yes.
+    - Bump Standards-Version to 3.8.4.
+    - Update description of all packages.
+    - Add missing python-ufc to Depends for binary package syfi-bin.
+  * debian/watch:
+    - Update download URL.
+    - Update for DFSG mangle.
+  * debian/copyright: Update Maintainer and Source fields.
+  * debian/rules: Remove get-hg-source target.
+  * debian/{python-syfi0.install,syfi-bin.install}: Allow both
+    site-packages and dist-packages.
+  * Bump dh compat level to 7.
+  * Remove debian/patches/ginac-1.5.patch since GiNaC 1.5 is now supported.
+  * Add debian/README.source.
+
+ -- Johannes Ring <johannr@simula.no>  Mon, 15 Feb 2010 13:42:46 +0100
+
+syfi (0.6.0.dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #528633)
+
+ -- Johannes Ring <johannr@simula.no>  Wed, 15 Oct 2008 13:19:28 +0200
+
--- syfi-0.6.1.dfsg.orig/debian/compat
+++ syfi-0.6.1.dfsg/debian/compat
@@ -0,0 +1 @@
+7
--- syfi-0.6.1.dfsg.orig/debian/control
+++ syfi-0.6.1.dfsg/debian/control
@@ -0,0 +1,156 @@
+Source: syfi
+Section: devel
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>
+Uploaders: Christophe Prud'homme <prudhomm@debian.org>, Johannes Ring <johannr@simula.no>
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), python-all-dev, 
+ python-central (>= 0.5.6), scons, libginac-dev, swig, pkg-config,
+ python-numpy
+Standards-Version: 3.8.4
+XS-Python-Version: >= 2.5
+Homepage: http://www.fenics.org/wiki/SyFi
+DM-Upload-Allowed: yes
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/syfi/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/syfi/
+
+Package: libsyfi0-dev
+Section: libdevel
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: swig, ufc, python-numpy, libsyfi0 (= ${binary:Version}),
+ ${shlibs:Depends}, ${misc:Depends}
+Suggests: python-swiginac (>= 1.5.1)
+Description: Shared links and header files for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains the development files.
+
+Package: syfi-dev
+Section: libdevel
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: libsyfi0-dev (>= ${source:Version}), ${misc:Depends}
+Description: Empty package depending on latest SyFi development package
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package will always depend on the most recent version of libsyfiX-dev
+ (X=version), so if you install it then you will get upgrades automatically.
+
+Package: libsyfi0
+Section: libs
+Architecture: any
+Conflicts: syfi
+Replaces: syfi
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: syfi-doc, libsyfi0-dbg, python-syfi0
+Description: Shared libraries for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains the shared libraries.
+
+Package: libsyfi0-dbg
+Section: debug
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: libsyfi0 (= ${binary:Version}), ${misc:Depends}
+Description: Shared libraries with debugging symbols for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains the shared libraries with debugging symbols.
+
+Package: python-syfi0
+Section: python
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: python-numpy, python-swiginac, libsyfi0 (= ${binary:Version}),
+ ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Suggests: syfi-doc
+Description: Python interface for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains the Python interface for SyFi.
+
+Package: syfi-doc
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Section: doc
+Depends: libsyfi0-dev (>= ${source:Version}), syfi-bin (= ${source:Version}),
+ ${misc:Depends}
+Description: Documentation and demo programs for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains documentation and demo programs for SyFi.
+
+Package: syfi-bin
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: python-ufl, python-numpy, python-ufc, 
+ python-syfi0 (>= ${source:Version}), ${python:Depends}, ${misc:Depends}
+Description: Executable scripts for SyFi
+ The finite element method (FEM) package SyFi is a C++ library built on top of
+ the symbolic math library GiNaC. The name SyFi stands for Symbolic Finite
+ Elements. The package provides polygonal domains, polynomial spaces, and
+ degrees of freedom as symbolic expressions that are easily manipulated. This
+ makes it easy to define finite elements and variational forms. These elements
+ and forms are then used to generate efficient C++ code.
+ .
+ SyFi is similar to FFC in the sense that it has a compiler that generates UFC
+ code based on variational forms and finite elements. It is also similar to
+ FIAT in the sense that it implements many different finite elements. 
+ .
+ This package contains sfc and other executable scripts for SyFi.
--- syfi-0.6.1.dfsg.orig/debian/watch
+++ syfi-0.6.1.dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\.dfsg// \
+ http://launchpad.net/fenics-syfi/+download http://launchpad.net/fenics-syfi/.*/syfi-(.*)\.tgz
--- syfi-0.6.1.dfsg.orig/debian/cdbs/1/rules/copyright-check.mk
+++ syfi-0.6.1.dfsg/debian/cdbs/1/rules/copyright-check.mk
@@ -0,0 +1,113 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2008 Jonas Smedegaard <dr@jones.dk>
+# Description: Check for changes to copyright notices in source
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_copyright_check
+_cdbs_rules_copyright_check := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7)
+
+# Set to yes to fail on changed/new hints are found
+#DEB_COPYRIGHT_CHECK_STRICT := yes
+
+# Single regular expression for files to include or ignore
+DEB_COPYRIGHT_CHECK_REGEX = .*
+#DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^debian/(changelog|copyright(|_hints|_newhints))$
+
+pre-build:: debian/stamp-copyright-check
+
+debian/stamp-copyright-check:
+	@echo 'Scanning upstream source for new/changed copyright notices...'
+	@echo debian/licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
+		"| some-output-filtering..."
+
+# Perl in shell in make requires extra care:
+#  * Single-quoting ('...') protects against shell expansion
+#  * Double-dollar ($$) expands to plain dollar ($) in make
+	@debian/licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
+		| LC_ALL=C perl -e \
+	'print "Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=XXX\n";'\
+	'print "Upstream-Name: Untrusted draft - double-check copyrights yourself!\n\n";'\
+	'$$n=0; while (<>) {'\
+	'	s/[^[:print:]]//g;'\
+	'	if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\
+	'		$$files[$$n]{name}=$$1;'\
+	'		$$files[$$n]{license}=$$2;'\
+	'	};'\
+	'	if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\
+	'		$$files[$$n]{copyright}=$$1;'\
+	'	};'\
+	'	/^$$/ and $$n++;'\
+	'};'\
+	'foreach $$file (@files) {'\
+	'	$$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\
+	'	$$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\
+	'	$$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\
+	'	$$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\
+	'	$$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\
+	'	$$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\
+	'	$$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\
+	'	$$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\
+	'	$$file->{copyright} =~ s/\b(\d{4})\s+([\S^\d])/$$1, $$2/g;'\
+	'	$$file->{copyright} =~ s/^\W*\s+\/\s+//g;'\
+	'	$$file->{copyright} =~ s/\s+\/\s+\W*$$//;'\
+	'	$$file->{copyright} =~ s/\s+\/\s+/\n\t/g;'\
+	'	$$pattern = "$$file->{license} [$$file->{copyright}]";'\
+	'	push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\
+	'};'\
+	'foreach $$pattern ( sort {'\
+	'			@{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\
+	'			||'\
+	'			$$a cmp $$b'\
+	'		} keys %patternfiles ) {'\
+	'	($$license, $$copyright) = $$pattern =~ /(.*) \[(.*)\]/s;'\
+	'	print "Files: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\
+	'	print "Copyright: $$copyright\n";'\
+	'	print "License: $$license\n\n";'\
+	'};'\
+		> debian/copyright_newhints
+	@patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \
+		echo "Found $$patterncount different copyright and licensing combinations."
+	@if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
+	@newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \
+		if [ -n "$$newstrings" ]; then \
+			echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \
+			echo; \
+			echo "$$newstrings"; \
+			echo; \
+			echo "To fix the situation please do the following:"; \
+			echo "  1) Investigate the above changes and update debian/copyright as needed"; \
+			echo "  2) Replace debian/copyright_hints with debian/copyright_newhints"; \
+			$(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \
+		else \
+			echo 'No new copyright notices found - assuming no news is good news...'; \
+			rm -f debian/copyright_newhints; \
+		fi
+	touch $@
+
+clean::
+	rm -f debian/stamp-copyright-check
+
+endif
--- syfi-0.6.1.dfsg.orig/debian/cdbs/1/class/scons.mk
+++ syfi-0.6.1.dfsg/debian/cdbs/1/class/scons.mk
@@ -0,0 +1,70 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005 Matthew A. Nicholson <matt@matt-land.com>
+# Description: Builds and cleans packages which have a SConstruct file
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_scons
+_cdbs_class_scons := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+#include $(_cdbs_class_path)/scons-vars.mk$(_cdbs_makefile_suffix)
+include debian/cdbs/1/class/scons-vars.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), scons
+
+DEB_PHONY_RULES += scons-clean
+
+common-build-arch common-build-indep:: debian/stamp-scons-build
+debian/stamp-scons-build:
+	$(DEB_SCONS_INVOKE) $(DEB_SCONS_BUILD_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_BUILD_OPTIONS)
+	touch debian/stamp-scons-build
+
+clean:: scons-clean
+scons-clean::
+	$(DEB_SCONS_INVOKE) $(DEB_SCONS_CLEAN_TARGET) $(DEB_SCONS_OPTIONS) --keep-going --clean || true
+	rm -f debian/stamp-scons-build
+	rm -rf .sconf_temp/
+	rm -f .sconsign.dblite config.log
+
+common-install-arch common-install-indep:: common-install-impl
+common-install-impl::
+	@if test -n "$(DEB_SCONS_INSTALL_TARGET)"; then \
+	  echo $(DEB_SCONS_INVOKE) $(DEB_SCONS_INSTALL_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_INSTALL_OPTIONS); \
+	  $(DEB_SCONS_INVOKE) $(DEB_SCONS_INSTALL_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_INSTALL_OPTIONS); \
+	else \
+	  echo "DEB_SCONS_INSTALL_TARGET unset, skipping default scons.mk common-install target"; \
+	fi
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+common-post-build-arch common-post-build-indep:: common-post-build-impl
+common-post-build-impl::
+	@if test -n "$(DEB_SCONS_CHECK_TARGET)"; then \
+	  echo $(DEB_SCONS_INVOKE) $(DEB_SCONS_CHECK_TARGET); \
+	  $(DEB_SCONS_INVOKE) $(DEB_SCONS_CHECK_TARGET) $(DEB_SCONS_OPTIONS); \
+	else \
+	   echo "DEB_SCONS_CHECK_TARGET unset, not running checks"; \
+	fi
+endif
+
+endif
--- syfi-0.6.1.dfsg.orig/debian/cdbs/1/class/scons-vars.mk
+++ syfi-0.6.1.dfsg/debian/cdbs/1/class/scons-vars.mk
@@ -0,0 +1,52 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005 Matthew A. Nicholson <matt@matt-land.com>
+# Description: Defines useful variables for packages which have a SConstruct
+#              file
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_scons_vars
+_cdbs_class_scons_vars := 1
+
+include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)
+
+DEB_SCONS_ENVVARS = 
+DEB_SCONS_INVOKE = $(DEB_SCONS_ENVVARS) scons --directory="$(DEB_BUILDDIR)" CC="$(CC)" CFLAGS="$(if $(CFLAGS_$(cdbs_curpkg)),$(CFLAGS_$(cdbs_curpkg)),$(CFLAGS))" CXX="$(CXX)" CXXFLAGS="$(if $(CXXFLAGS_$(cdbs_curpkg)),$(CXXFLAGS_$(cdbs_curpkg)),$(CXXFLAGS))"
+
+# general options (passed on all scons commands)
+DEB_SCONS_OPTIONS =
+
+# build target and options (only passed on build)
+DEB_SCONS_BUILD_TARGET =
+DEB_SCONS_BUILD_OPTIONS =
+
+# install target and options (only passed on install)
+DEB_SCONS_INSTALL_TARGET = install
+DEB_SCONS_INSTALL_OPTIONS =
+
+# clean target
+DEB_SCONS_CLEAN_TARGET = .
+
+DEB_SCONS_CHECK_TARGET =
+
+endif