--- libctl-3.1.0.orig/debian/Makefile +++ libctl-3.1.0/debian/Makefile @@ -0,0 +1,42 @@ +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 --- libctl-3.1.0.orig/debian/libctl-dev.install +++ libctl-3.1.0/debian/libctl-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/bin +debian/tmp/usr/include +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/libctl.so +debian/tmp/usr/share/man --- libctl-3.1.0.orig/debian/libctl3.postrm +++ libctl-3.1.0/debian/libctl3.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + ldconfig +fi + +#DEBHELPER# + +exit 0 --- libctl-3.1.0.orig/debian/changelog +++ libctl-3.1.0/debian/changelog @@ -0,0 +1,157 @@ +libctl (3.1.0-3build1) oneiric; urgency=low + + * gfortran-4.6 rebuild. + + -- Matthias Klose Sun, 11 Sep 2011 11:21:02 +0000 + +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 --- libctl-3.1.0.orig/debian/libctl-doc.doc-base +++ libctl-3.1.0/debian/libctl-doc.doc-base @@ -0,0 +1,16 @@ +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/* --- libctl-3.1.0.orig/debian/rules +++ libctl-3.1.0/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_MAKE_INSTALL_TARGET += pkgdatadir=/usr/share/libctl3 +DEB_CONFIGURE_EXTRA_FLAGS = --enable-shared + --- libctl-3.1.0.orig/debian/README.source +++ libctl-3.1.0/debian/README.source @@ -0,0 +1,4 @@ +This package uses dpatch for upstream source code patch management. Please read +/usr/share/doc/dpatch/README.source for more information how to apply, unapply, +add, modify or remove patches. + --- libctl-3.1.0.orig/debian/libctl-doc.examples +++ libctl-3.1.0/debian/libctl-doc.examples @@ -0,0 +1,7 @@ +examples/example.c +examples/README +examples/run.ctl +examples/example.scm +debian/Makefile +examples/main.c +examples/geom.c --- libctl-3.1.0.orig/debian/control +++ libctl-3.1.0/debian/control @@ -0,0 +1,45 @@ +Source: libctl +Section: devel +Priority: optional +Maintainer: Thorsten Alteholz +Build-Depends: debhelper (>= 5), cdbs, guile-1.8-dev, gfortran, dpatch +Standards-Version: 3.8.3 +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. --- libctl-3.1.0.orig/debian/libctl3.postinst +++ libctl-3.1.0/debian/libctl3.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + ldconfig +fi + +#DEBHELPER# + +exit 0 --- libctl-3.1.0.orig/debian/copyright +++ libctl-3.1.0/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Josselin Mouette on +Tue, 23 Oct 2001 15:01:46 +0200. + +It was downloaded from http://ab-initio.mit.edu/libctl/ + +Upstream Author: Steven G. Johnson + +Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Steven G. Johnson + +Licence: + + 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'. --- libctl-3.1.0.orig/debian/libctl3.symbols +++ libctl-3.1.0/debian/libctl3.symbols @@ -0,0 +1,159 @@ +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 --- libctl-3.1.0.orig/debian/watch +++ libctl-3.1.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ab-initio.mit.edu/wiki/index.php/Libctl http://ab-initio.mit.edu/libctl/libctl-(.*)\.tar\.gz --- libctl-3.1.0.orig/debian/libctl-doc.install +++ libctl-3.1.0/debian/libctl-doc.install @@ -0,0 +1 @@ +doc/* usr/share/doc/libctl-doc/html --- libctl-3.1.0.orig/debian/compat +++ libctl-3.1.0/debian/compat @@ -0,0 +1 @@ +5 --- libctl-3.1.0.orig/debian/libctl3.install +++ libctl-3.1.0/debian/libctl3.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libctl.so.* +debian/tmp/usr/share/libctl* --- libctl-3.1.0.orig/debian/patches/01-manpage.dpatch +++ libctl-3.1.0/debian/patches/01-manpage.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-manpage.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: just add a character in man page + +@DPATCH@ +diff -urNad libctl-3.0.3~/utils/gen-ctl-io.1 libctl-3.0.3/utils/gen-ctl-io.1 +--- libctl-3.0.3~/utils/gen-ctl-io.1 2006-03-28 03:30:19.000000000 +0200 ++++ libctl-3.0.3/utils/gen-ctl-io.1 2008-07-23 12:52:57.000000000 +0200 +@@ -26,7 +26,7 @@ + [OPTION]... [\fIspec-file\fR] + .SH DESCRIPTION + .PP +-." Add any additional description here ++.\" 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. --- libctl-3.1.0.orig/debian/patches/00list +++ libctl-3.1.0/debian/patches/00list @@ -0,0 +1,2 @@ +01-manpage.dpatch +02-configure.dpatch --- libctl-3.1.0.orig/debian/patches/02-configure.dpatch +++ libctl-3.1.0/debian/patches/02-configure.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-configure.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: -little needed for compiler on sh4 + +@DPATCH@ +diff -urNad libctl-3.1.0~/configure libctl-3.1.0/configure +--- libctl-3.1.0~/configure 2009-12-08 19:06:09.000000000 +0100 ++++ libctl-3.1.0/configure 2009-12-08 19:06:46.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"