debian/0000775000000000000000000000000012313420204007157 5ustar debian/copyright0000664000000000000000000000235411671362147011137 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: libctl Source: http://ab-initio.mit.edu/wiki/index.php/Libctl Files: * Copyright: (C) 1998, 1999, 2000, 2001, 2002, 2006 Steven G. Johnson Comment: Upstream Author: Steven G. Johnson License: GPL2+ This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: (C) 2001 Josselin Mouette (C) 2008-2011 Thorsten Alteholz License: GPL2+ see above debian/README.source0000664000000000000000000000353511670415240011355 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/libctl3.symbols0000664000000000000000000001070611670414627012152 0ustar libctl.so.3 libctl3 #MINVER# SCM_list_ref@Base 3.0.3 SCM_object_property@Base 3.0.3 adaptive_integration@Base 3.0.3 adaptive_integration_scm@Base 3.0.3 boolean_list_ref@Base 3.0.3 boolean_object_property@Base 3.0.3 booleanlistref_@Base 3.0.3 booleanobjectproperty_@Base 3.0.3 cadaptive_integration@Base 3.0.3 cadaptive_integration_scm@Base 3.0.3 cmatrix3x32scm@Base 3.0.3 cmatrix3x3_equal@Base 3.0.3 cmatrix3x3_im@Base 3.0.3 cmatrix3x3_list_ref@Base 3.0.3 cmatrix3x3_object_property@Base 3.0.3 cmatrix3x3_re@Base 3.0.3 cnumber2scm@Base 3.0.3 cnumber_conj@Base 3.0.3 cnumber_equal@Base 3.0.3 cnumber_list_ref@Base 3.0.3 cnumber_object_property@Base 3.0.3 ctl_fix_path@Base 3.0.3 ctl_get_SCM@Base 3.0.3 ctl_get_boolean@Base 3.0.3 ctl_get_cmatrix3x3@Base 3.0.3 ctl_get_cnumber@Base 3.0.3 ctl_get_cvector3@Base 3.0.3 ctl_get_function@Base 3.0.3 ctl_get_integer@Base 3.0.3 ctl_get_list@Base 3.0.3 ctl_get_matrix3x3@Base 3.0.3 ctl_get_number@Base 3.0.3 ctl_get_object@Base 3.0.3 ctl_get_string@Base 3.0.3 ctl_get_vector3@Base 3.0.3 ctl_include@Base 3.0.3 ctl_set_SCM@Base 3.0.3 ctl_set_boolean@Base 3.0.3 ctl_set_cmatrix3x3@Base 3.0.3 ctl_set_cnumber@Base 3.0.3 ctl_set_cvector3@Base 3.0.3 ctl_set_function@Base 3.0.3 ctl_set_integer@Base 3.0.3 ctl_set_list@Base 3.0.3 ctl_set_matrix3x3@Base 3.0.3 ctl_set_number@Base 3.0.3 ctl_set_object@Base 3.0.3 ctl_set_string@Base 3.0.3 ctl_set_vector3@Base 3.0.3 ctlgetboolean_@Base 3.0.3 ctlgetinteger_@Base 3.0.3 ctlgetlist_@Base 3.0.3 ctlgetnumber_@Base 3.0.3 ctlgetobject_@Base 3.0.3 ctlgetstring_@Base 3.0.3 ctlgetvector3_@Base 3.0.3 ctlsetboolean_@Base 3.0.3 ctlsetinteger_@Base 3.0.3 ctlsetlist_@Base 3.0.3 ctlsetnumber_@Base 3.0.3 ctlsetobject_@Base 3.0.3 ctlsetstring_@Base 3.0.3 ctlsetvector3_@Base 3.0.3 cvector32scm@Base 3.0.3 cvector3_equal@Base 3.0.3 cvector3_im@Base 3.0.3 cvector3_list_ref@Base 3.0.3 cvector3_object_property@Base 3.0.3 cvector3_re@Base 3.0.3 f_scm_wrapper@Base 3.0.3 function_list_ref@Base 3.0.3 function_object_property@Base 3.0.3 integer_list_ref@Base 3.0.3 integer_object_property@Base 3.0.3 integerlistref_@Base 3.0.3 integerobjectproperty_@Base 3.0.3 list_length@Base 3.0.3 list_list_ref@Base 3.0.3 list_object_property@Base 3.0.3 listlength_@Base 3.0.3 listlistref_@Base 3.0.3 listobjectproperty_@Base 3.0.3 make_SCM_list@Base 3.0.3 make_boolean_list@Base 3.0.3 make_cmatrix3x3@Base 3.0.3 make_cmatrix3x3_list@Base 3.0.3 make_cnumber@Base 3.0.3 make_cnumber_list@Base 3.0.3 make_cvector3@Base 3.0.3 make_cvector3_list@Base 3.0.3 make_function_list@Base 3.0.3 make_hermitian_cmatrix3x3@Base 3.0.3 make_integer_list@Base 3.0.3 make_list_list@Base 3.0.3 make_matrix3x3_list@Base 3.0.3 make_number_list@Base 3.0.3 make_object_list@Base 3.0.3 make_string_list@Base 3.0.3 make_vector3_list@Base 3.0.3 makebooleanlist_@Base 3.0.3 makeintegerlist_@Base 3.0.3 makelistlist_@Base 3.0.3 makenumberlist_@Base 3.0.3 makeobjectlist_@Base 3.0.3 makevector3list_@Base 3.0.3 matrix3x32scm@Base 3.0.3 matrix3x3_determinant@Base 3.0.3 matrix3x3_equal@Base 3.0.3 matrix3x3_inverse@Base 3.0.3 matrix3x3_list_ref@Base 3.0.3 matrix3x3_mult@Base 3.0.3 matrix3x3_object_property@Base 3.0.3 matrix3x3_row1@Base 3.0.3 matrix3x3_row2@Base 3.0.3 matrix3x3_row3@Base 3.0.3 matrix3x3_transpose@Base 3.0.3 matrix3x3_transpose_vector3_mult@Base 3.0.3 matrix3x3_vector3_mult@Base 3.0.3 number_list_ref@Base 3.0.3 number_object_property@Base 3.0.3 numberlistref_@Base 3.0.3 numberobjectproperty_@Base 3.0.3 object_is_member@Base 3.0.3 object_list_ref@Base 3.0.3 object_object_property@Base 3.0.3 objectismember_@Base 3.0.3 objectlistref_@Base 3.0.3 objectobjectproperty_@Base 3.0.3 scm2cmatrix3x3@Base 3.0.3 scm2cnumber@Base 3.0.3 scm2cvector3@Base 3.0.3 scm2matrix3x3@Base 3.0.3 scm2vector3@Base 3.0.3 string_list_ref@Base 3.0.3 string_object_property@Base 3.0.3 stringlistref_@Base 3.0.3 stringobjectproperty_@Base 3.0.3 subplex@Base 3.0.3 subplex_scm@Base 3.0.3 unit_vector3@Base 3.0.3 vector32scm@Base 3.0.3 vector3_cross@Base 3.0.3 vector3_dot@Base 3.0.3 vector3_equal@Base 3.0.3 vector3_list_ref@Base 3.0.3 vector3_minus@Base 3.0.3 vector3_norm@Base 3.0.3 vector3_object_property@Base 3.0.3 vector3_plus@Base 3.0.3 vector3_scale@Base 3.0.3 vector3cross_@Base 3.0.3 vector3dot_@Base 3.0.3 vector3listref_@Base 3.0.3 vector3minus_@Base 3.0.3 vector3norm_@Base 3.0.3 vector3objectproperty_@Base 3.0.3 vector3plus_@Base 3.0.3 vector3scale_@Base 3.0.3 debian/libctl3.postrm0000664000000000000000000000012411670414627011777 0ustar #!/bin/sh set -e if [ "$1" = "remove" ]; then ldconfig fi #DEBHELPER# exit 0 debian/Makefile0000664000000000000000000000227711670414627010650 0ustar SPECIFICATION_FILE = example.scm MY_SOURCES = example.c # plus any other .c/.h files you need MY_LIBS = # extra libs you need go here MY_LDFLAGS = # extra -L flags go here MY_CPPFLAGS = # extra -I include flags go here MY_DEFS = # extra -D define flags go here VERSION_STRING = "example 0.1" # System settings LIBCTL_DIR = /usr/share/libctl3 GEN_CTL_IO = /usr/bin/gen-ctl-io LIBCTL = -lctl # Where to install the package data pkgdatadir = /usr/local/share/example CTL_DEFS = -DCTL_SCM='"'$(LIBCTL_DIR)/base/ctl.scm'"' \ -DINCLUDE_SCM='"'$(LIBCTL_DIR)/base/include.scm'"' \ -DSPEC_SCM='"'$(pkgdatadir)/$(SPECIFICATION_FILE)'"' \ -DVERSION_STRING='"'$(VERSION_STRING)'"' OBJS = main.o geom.o ctl-io.o example: $(OBJS) gcc -Wall $(MY_LDFLAGS) $(MY_LIBS) $(LIBCTL) -o $@ $(OBJS) .c.o: gcc -Wall -c $(MY_CPPFLAGS) $(MY_DEFS) $(CTL_DEFS) -o $*.o $*.c ctl-io.c: $(SPECIFICATION_FILE) $(LIBCTL_DIR)/utils/geom.scm $(GEN_CTL_IO) --code -o $@ $(SPECIFICATION_FILE) $(LIBCTL_DIR) ctl-io.h: $(SPECIFICATION_FILE) $(LIBCTL_DIR)/utils/geom.scm $(GEN_CTL_IO) --header -o $@ $(SPECIFICATION_FILE) $(LIBCTL_DIR) clean: rm -f *.o ctl-io.* .PHONY: clean debian/libctl3.install0000664000000000000000000000004611671370044012117 0ustar usr/lib/libctl.so.* usr/share/libctl* debian/changelog0000664000000000000000000001275112313420200011033 0ustar libctl (3.1.0-5ubuntu1) trusty; urgency=low * Use autoreconf helper for newer arches, resolving FTBFS. -- Daniel T Chen Sat, 22 Mar 2014 19:44:47 -0400 libctl (3.1.0-5) unstable; urgency=low * debian/rules: use cp instead of install -- Thorsten Alteholz Tue, 13 Dec 2011 18:30:25 +0100 libctl (3.1.0-4) unstable; urgency=low * debian/control: moved to dh 8 * debian/control: remove dependency on dpatch * debian/control: remove dependency on cdbs * debian/control: standards version 3.9.2, no changes * debian/source: switch to format 3.0 (quilt) * debian/README.source: moved to quilt * debian/copyright: changed to DEP5 format * debian/patches: moved from dpatch to quilt -- Thorsten Alteholz Mon, 12 Dec 2011 18:44:32 +0100 libctl (3.1.0-3) unstable; urgency=low * *.la files removed (Closes: #621516) * Standards-Version changed to 3.9.1 (no changes needed) -- Thorsten Alteholz Sat, 09 Apr 2011 19:00:01 +0200 libctl (3.1.0-2) unstable; urgency=low * Standards-Version changed to 3.8.3 (no changes needed) * patch in configure for sh4 added (Closes: #555525) * debian/README.source added * debian/control: DM-Upload-Allowed added -- Thorsten Alteholz Tue, 09 Dec 2009 19:00:01 +0100 libctl (3.1.0-1) unstable; urgency=low * new upstream release - New ellipsoid_overlap_with_object function, analogous to box_overlap_with_object function. - Bug fix in include function for recent versions of Guile, to properly keep track of the current include directory. - Bug fix in numerical-derivative routine, which didn't converge when the error was exactly zero. * as there is no NLopt package availabe, NLopt is disabled * changed Standards-Version to 3.8.2 * changed copyright notice from GPL to GPL-2 (pedantic lintian hint) -- Thorsten Alteholz Wed, 29 Jul 2009 19:00:01 +0100 libctl (3.0.3-3) unstable; urgency=low * added ldconfig in postinst and postrm to meet requirements of policy 8.1.1 * switched from guile-1.6 to guile-1.8 (Closes: #518804) patch from Evan Broder * changed Standards-Version to 3.8.1 -- Thorsten Alteholz Wed, 02 Apr 2009 21:30:01 +0100 libctl (3.0.3-2) unstable; urgency=low * removed lintian warnings: - added watch file - symbols control file added - dependency for misc:Depends added in control file -- Thorsten Alteholz Fri, 30 Jan 2009 19:45:01 +0100 libctl (3.0.3-1) unstable; urgency=low * New upstream release * New maintainer (Closes: #481039) -- Thorsten Alteholz Thu, 22 Jul 2008 18:30:01 +0200 libctl (3.0.2-1) unstable; urgency=low * New upstream release * New maintainer (Closes: #393104) -- Loic Le Guyader Sun, 12 Nov 2006 10:29:01 +0100 libctl (3.0.1-2) unstable; urgency=low * Orphan package. -- Josselin Mouette Sun, 15 Oct 2006 03:15:32 +0200 libctl (3.0.1-1) unstable; urgency=low * New upstream release (closes: #361676). * Major rework of the debian/ directory. Switch to cdbs. * Migrate Scheme files to a versioned location to allow several versions to be installed at once. * Write a Makefile to put with the example. * Update copyright, the library is now GPL. * Use gfortran for the F77 wrappers. * Standards-version is 3.7.0. -- Josselin Mouette Mon, 1 May 2006 20:25:01 +0200 libctl (2.2-3) unstable; urgency=low * Build-depend on guile 1.6. * Standards version 3.5.8. * Use debhelper mode 4 and dh_install. * Corrected short descriptions. * configure.ac: suppress that crappy -lctl in $LIBS. * re-ran autoconf. * base/Makefile.in: link libctl with its dependencies. * examples/Makefile.in: add -lctl. * Changed library package name to libctl2scm16 to prevent breakage. -- Josselin Mouette Wed, 5 Feb 2003 12:47:33 +0100 libctl (2.2-2) unstable; urgency=low * Created a libctl-doc package, containing HTML documentation and the example. * debian/control: fixed minor typo. -- Josselin Mouette Fri, 13 Sep 2002 14:54:29 +0200 libctl (2.2-1) unstable; urgency=low * New upstream release * debian/rules: a bit of cleaning, also added a -V to dh_makeshlibs * debian/control: moved standards version to 3.5.7 -- Josselin Mouette Fri, 13 Sep 2002 11:09:48 +0200 libctl (2.1-3) unstable; urgency=low * Makefile.in: removal of base/f77_func.h * debian/control: moved libctl2 to section libs. -- Josselin Mouette Wed, 19 Jun 2002 12:04:34 +0200 libctl (2.1-2) unstable; urgency=low * debian/control: changed maintainer email. * debian/control: corrected typo. * First upload to Debian (closes: #143264). -- Josselin Mouette Wed, 17 Apr 2002 10:36:45 +0200 libctl (2.1-1) unstable; urgency=low * New upstream release -- Josselin Mouette Thu, 21 Mar 2002 10:59:10 +0100 libctl (2.0-1) unstable; urgency=low * New upstream release -- Josselin Mouette Tue, 12 Mar 2002 13:41:48 +0100 libctl (1.5-1) unstable; urgency=low * New upstream release -- Josselin Mouette Mon, 19 Nov 2001 12:39:18 +0100 libctl (1.4.1-1) unstable; urgency=low * Initial Release. -- Josselin Mouette Tue, 23 Oct 2001 15:01:46 +0200 debian/libctl3.postinst0000664000000000000000000000012711670414627012341 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then ldconfig fi #DEBHELPER# exit 0 debian/libctl-doc.doc-base0000664000000000000000000000104111670414627012607 0ustar Document: libctl Title: libctl manual Author: Steven G. Johnson Abstract: This manual documents libctl. libctl is a free Guile-based library implementing flexible control files for scientific simulations. It was written to support the MIT Photonic-Bands program, but will hopefully prove useful in other programs too. . This documentation explains how to install libctl and use of its basic and advanced features. Section: Programming Format: HTML Index: /usr/share/doc/libctl-doc/html/index.html Files: /usr/share/doc/libctl-doc/html/* debian/libctl-doc.examples0000664000000000000000000000017111670414627012753 0ustar examples/example.c examples/README examples/run.ctl examples/example.scm debian/Makefile examples/main.c examples/geom.c debian/patches/0000775000000000000000000000000011671363404010624 5ustar debian/patches/manpage.patch0000664000000000000000000000110411671363310013245 0ustar Description: lintian warnings in man page removed Author: Thorsten Alteholz Last-Update: 2011-12-12 Index: libctl/utils/gen-ctl-io.1 =================================================================== --- libctl.orig/utils/gen-ctl-io.1 2011-12-09 16:36:29.000000000 +0100 +++ libctl/utils/gen-ctl-io.1 2011-12-09 16:37:19.000000000 +0100 @@ -26,7 +26,6 @@ [OPTION]... [\fIspec-file\fR] .SH DESCRIPTION .PP -." Add any additional description here .B gen-ctl-io generates C code to import/export the input/output variables used in a libctl control file. debian/patches/series0000664000000000000000000000004011671355435012040 0ustar sh4-support.patch manpage.patch debian/patches/sh4-support.patch0000664000000000000000000000127311671363404014060 0ustar Description: sh4 support added Author: Thorsten Alteholz Last-Update: 2011-12-12 Index: libctl/configure =================================================================== --- libctl.orig/configure 2011-12-12 11:46:56.000000000 +0100 +++ libctl/configure 2011-12-12 11:47:16.000000000 +0100 @@ -16561,7 +16561,7 @@ ;; # Ignore these flags. - -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) + -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" debian/watch0000664000000000000000000000015611670414627010233 0ustar version=3 http://ab-initio.mit.edu/wiki/index.php/Libctl http://ab-initio.mit.edu/libctl/libctl-(.*)\.tar\.gz debian/libctl-doc.install0000664000000000000000000000004411670414627012602 0ustar doc/* usr/share/doc/libctl-doc/html debian/control0000664000000000000000000000341412313420147010572 0ustar Source: libctl Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Thorsten Alteholz Build-Depends: debhelper (>= 8), guile-1.8-dev, gfortran, dh-autoreconf Standards-Version: 3.9.2 Homepage: http://ab-initio.mit.edu/wiki/index.php/Libctl DM-Upload-Allowed: yes Package: libctl-dev Section: libdevel Architecture: any Depends: libctl3 (= ${binary:Version}), libc6-dev, guile-1.8-dev, ${misc:Depends} Recommends: libctl-doc Description: library for flexible control files, development version libctl is a free Guile-based library implementing flexible control files for scientific simulations. It was written to support the MIT Photonic-Bands program, but will hopefully prove useful in other programs too. . This package contains the header files and static libraries. Package: libctl3 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: library for flexible control files libctl is a free Guile-based library implementing flexible control files for scientific simulations. It was written to support the MIT Photonic-Bands program, but will hopefully prove useful in other programs too. . This package contains the runtime libraries required to run any software using libctl. Package: libctl-doc Section: doc Architecture: all Recommends: libctl-dev Depends: ${misc:Depends} Description: library for flexible control files, documentation libctl is a free Guile-based library implementing flexible control files for scientific simulations. It was written to support the MIT Photonic-Bands program, but will hopefully prove useful in other programs too. . This package contains the documentation in HTML format and a simple example of how to use it. debian/source/0000775000000000000000000000000011670422762010477 5ustar debian/source/format0000664000000000000000000000001411670422762011705 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000211670415173010373 0ustar 8 debian/rules0000775000000000000000000000217512313420127010250 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 install_file = /usr/bin/install -p -o root -g root -m 644 %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-shared override_dh_installdocs: dh_installdocs mkdir -p debian/libctl-doc/usr/share/doc/libctl-doc cp AUTHORS debian/libctl-doc/usr/share/doc/libctl-doc/AUTHORS cp NEWS debian/libctl-doc/usr/share/doc/libctl-doc/NEWS cp TODO debian/libctl-doc/usr/share/doc/libctl-doc/TODO cp README debian/libctl-doc/usr/share/doc/libctl-doc/README mkdir -p debian/libctl-dev/usr/share/doc/libctl-dev cp AUTHORS debian/libctl-dev/usr/share/doc/libctl-dev/AUTHORS cp NEWS debian/libctl-dev/usr/share/doc/libctl-dev/NEWS cp TODO debian/libctl-dev/usr/share/doc/libctl-dev/TODO cp README debian/libctl-dev/usr/share/doc/libctl-dev/README mkdir -p debian/libctl3/usr/share/doc/libctl3 cp AUTHORS debian/libctl3/usr/share/doc/libctl3/AUTHORS cp NEWS debian/libctl3/usr/share/doc/libctl3/NEWS cp TODO debian/libctl3/usr/share/doc/libctl3/TODO cp README debian/libctl3/usr/share/doc/libctl3/README debian/libctl-dev.install0000664000000000000000000000010311671370071012602 0ustar usr/bin usr/include usr/lib/lib*.a usr/lib/libctl.so usr/share/man