debian/0000755000000000000000000000000012151740013007160 5ustar debian/cif2cbf.10000644000000000000000000000462512151740013010547 0ustar .\" Hey, EMACS: -*- nroff -*- .TH CIF2CBF 1 "April 2008" .\" Please adjust this date whenever revising the manpage. .SH NAME cif2cbf \- convert a CIF to a CBF file .SH SYNOPSIS .B cif2cbf .RI [ options ] .SH DESCRIPTION .B cif2cbf is a program that accepts either a CIF or a CBF as input and outputs a CBF file. .SH OPTIONS .TP .BI \-i " input_cif" (default: stdin) the input file in CIF or CBF format. If input_cif is not specified or is given as "\-", it is copied from stdin to a temporary file. .TP .BI \-o " output_cbf" (default: stdout) the output cif (if base64 or quoted\-printable encoding is used) or cbf (if no encoding is used). if no output_cif is specified or is given as "\-", the output is written to stdout if the output_cbf is /dev/null, no output is written. .PP The remaining options specify the characteristics of the output cbf. The characteristics of the input cif are derived from context. .TP .BI \-c " compression_scheme" (packed, canonical, byte_offset, v2packed, flatpacked or none, default packed) .TP .BI \-m " [no]headers" (default headers for cifs, noheaders for cbfs) selects MIME (N. Freed, N. Borenstein, RFC 2045, November 1996) headers within binary data value text fields. .TP .BI \-d " [no]digest" (default md5 digest [R. Rivest, RFC 1321, April 1992 using"RSA Data Security, Inc. MD5 Message-Digest Algorithm"] when MIME headers are selected) .TP .BI \-e " encoding" (base64, quoted\-printable or none, default base64) specifies one of the standard MIME encodings for an ascii cif or "none" for a binary cbf .TP .BI \-b " byte_order" (forward or backwards, default forward (1234) on little\-endian machines, backwards (4321) on big\-endian machines .TP .BI \-p " K_of_padding" (0, 1, 2, 4) for no padding after binary data 1023, 2047 or 4095 bytes of padding after binary data .TP .BI \-v " dictionary" specifies a dictionary to be used to validate the input cif and to apply aliases to the output cif. This option may be specified multiple times, with dictionaries layered in the order given. .TP .B \-w process wide (2048 character) lines .SH SEE ALSO .BR convert_image (1), .BR img2cif (1), .BR makecbf (1). .SH AUTHOR .B cif2cbf was written by Herbert J. Bernstein. .PP This manual page was written by Morten Kjeldgaard , for the Debian project (but may be used by others). debian/watch0000644000000000000000000000016212151740013010210 0ustar version=3 opts=dversionmangle=s/\.\d$// \ http://www.bernstein-plus-sons.com/software/CBF ../CBFlib_(.*)\.tar\.gz debian/makecbf.10000644000000000000000000000166012151740013010635 0ustar .\" Hey, EMACS: -*- nroff -*- .TH MAKECBF 1 "April 2008" .\" Please adjust this date whenever revising the manpage. .SH NAME makecbf \- convert detector images to CBF format .SH SYNOPSIS .B makecbf .I imagefile .I cbffile .SH DESCRIPTION .PP \fBmakecbf\fP is a program to convert certain detector images to CBF format. Currently, the program knows how to convert images from the following detector types: .TP MAR180, MAR300, MAR345 and ADSC quantum. .PP .B makecbf writes the CBF-format image to disk, reads it in again, and then compares it to the original. .B makecbf works only from stated files on disk, so that random I/O can be used. .SH SEE ALSO .BR cif2cbf (1), .BR convert_image (1), .BR img2cif (1). .SH AUTHOR .B makecbf was written by Herbert J. Bernstein. .PP This manual page was written by Morten Kjeldgaard , for the Debian project (but may be used by others). debian/copyright0000644000000000000000000003150212151740013011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CBFlib Upstream-Contact: Herbert J. Bernstein Files: * Copyright: 2006, 2007, 2008, 2010 Herbert J. Bernstein License: GPL-2 or LGPL-2.1 YOU MAY REDISTRIBUTE THE CBFLIB PACKAGE UNDER THE TERMS OF THE GPL ALTERNATIVELY YOU MAY REDISTRIBUTE THE CBFLIB API UNDER THE TERMS OF THE LGPL . On Debian systems, the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-2' and the complete text of the GNU Lesser General Public License in '/usr/share/common-licenses/LGPL-2.1'. . --------------------------------------------------------------------- . Stanford University Notices for the CBFlib software package that incorporates SLAC software on which copyright is disclaimed . This software . The term 'this software', as used in these Notices, refers to those portions of the software package CBFlib that were created by employees of the Stanford Linear Accelerator Center, Stanford University. . Stanford disclaimer of copyright . Stanford University, owner of the copyright, hereby disclaims its copyright and all other rights in this software. Hence, anyone may freely use it for any purpose without restriction. . Acknowledgement of sponsorship . This software was produced by the Stanford Linear Accelerator Center, Stanford University, under Contract DE-AC03-76SFO0515 with the Department of Energy. . Government disclaimer of liability . Neither the United States nor the United States Department of Energy, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any data, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. . Stanford disclaimer of liability . Stanford University makes no representations or warranties, express or implied, nor assumes any liability for the use of this software. . Maintenance of notices . In the interest of clarity regarding the origin and status of this software, this and all the preceding Stanford University notices are to remain affixed to any copy or derivative of this software made or distributed by the recipient and are to be affixed to any copy of software made or distributed by the recipient that contains a copy or derivative of this software. . Based on SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03 . ---------------------------------------------------------------------- . The IUCr Policy for the Protection and the Promotion of the STAR File and CIF Standards for Exchanging and Archiving Electronic Data . Overview . The Crystallographic Information File (CIF)[1] is a standard for information interchange promulgated by the International Union of Crystallography (IUCr). CIF (Hall, Allen & Brown, 1991) is the recommended method for submitting publications to Acta Crystallographica Section C and reports of crystal structure determinations to other sections of Acta Crystallographica and many other journals. The syntax of a CIF is a subset of the more general STAR File[2] format. The CIF and STAR File approaches are used increasingly in the structural sciences for data exchange and archiving, and are having a significant influence on these activities in other fields. . Statement of intent . The IUCr's interest in the STAR File is as a general data interchange standard for science, and its interest in the CIF, a conformant derivative of the STAR File, is as a concise data exchange and archival standard for crystallography and structural science. . Protection of the standards . To protect the STAR File and the CIF as standards for interchanging and archiving electronic data, the IUCr, on behalf of the scientific community, . * holds the copyrights on the standards themselves, . * owns the associated trademarks and service marks, and . * holds a patent on the STAR File. . These intellectual property rights relate solely to the interchange formats, not to the data contained therein, nor to the software used in the generation, access or manipulation of the data. . Promotion of the standards . The sole requirement that the IUCr, in its protective role, imposes on software purporting to process STAR File or CIF data is that the following conditions be met prior to sale or distribution. . * Software claiming to read files written to either the STAR File or the CIF standard must be able to extract the pertinent data from a file conformant to the STAR File syntax, or the CIF syntax, respectively. . * Software claiming to write files in either the STAR File, or the CIF, standard must produce files that are conformant to the STAR File syntax, or the CIF syntax, respectively. . * Software claiming to read definitions from a specific data dictionary approved by the IUCr must be able to extract any pertinent definition which is conformant to the dictionary definition language (DDL)[3] associated with that dictionary. . The IUCr, through its Committee on CIF Standards, will assist any developer to verify that software meets these conformance conditions. . Glossary of terms . [1] CIF: . is a data file conformant to the file syntax defined at http://www.iucr.org/iucr-top/cif/spec/index.html . [2] STAR File: . is a data file conformant to the file syntax defined at http://www.iucr.org/iucr-top/cif/spec/star/index.html . [3] DDL: . is a language used in a data dictionary to define data items in terms of "attributes". Dictionaries currently approved by the IUCr, and the DDL versions used to construct these dictionaries, are listed at http://www.iucr.org/iucr-top/cif/spec/ddl/index.html . Last modified: 30 September 2000 . IUCr Policy Copyright (C) 2000 International Union of Crystallography . ---------------------------------------------------------------------- . CBFlib V0.1 Notice . The following Diclaimer Notice applies to CBFlib V0.1, from which this version is derived. * The items furnished herewith were developed under the sponsorship of the U.S. Government. Neither the U.S., nor the U.S. D.O.E., nor the Leland Stanford Junior University, nor their employees, makes any warranty, express or implied, or assumes any liability or responsibility for accuracy, completeness or usefulness of any information, apparatus, product or process disclosed, or represents that its use will not infringe privately-owned rights. Mention of any product, its manufacturer, or suppliers shall not, nor is it intended to, imply approval, disapproval, or fitness for any particular use. The U.S. and the University at all times retain the right to use and disseminate the furnished items for any purpose whatsoever. * Notice 91 02 01 . ---------------------------------------------------------------------- . CIFPARSE notice . Portions of this software are loosely based on the CIFPARSE software package from the NDB at Rutgers university (see http://ndbserver.rutgers.edu/NDB/mmcif/software). CIFPARSE is part of the NDBQUERY application, a program component of the Nucleic Acid Database Project [ H. M. Berman, W. K. Olson, D. L. Beveridge, J. K. Westbrook, A. Gelbin, T. Demeny, S. H. Shieh, A. R. Srinivasan, and B. Schneider. (1992). The Nucleic Acid Database: A Comprehensive Relational Database of Three-Dimensional Structures of Nucleic Acids. Biophys J., 63, 751-759.], whose cooperation is gratefully acknowledged, especially in the form of design concepts created by J. Westbrook. . Please be aware of the following notice in the CIFPARSE API: * This software is provided WITHOUT WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER WARRANTY, EXPRESS OR IMPLIED. RUTGERS MAKE NO REPRESENTATION OR WARRANTY THAT THE SOFTWARE WILL NOT INFRINGE ANY PATENT, COPYRIGHT OR OTHER PROPRIETARY RIGHT. . ---------------------------------------------------------------------- . MPACK notice . Portions of this library are adapted from the "mpack/munpack version 1.5" routines, written by John G. Myers. Mpack and munpack are utilities for encoding and decoding (respectively) binary files in MIME (Multipurpose Internet Mail Extensions) format mail messages. The mpack software used is (C) Copyright 1993,1994 by Carnegie Mellon University, All Rights Reserved, and is subject to the following notice: * Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Carnegie Mellon University not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Carnegie Mellon University makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. . ---------------------------------------------------------------------- . MD5 Notice . The following notice applies to the message digest software in md5.h and md5.c which are optionally used by this library. To that extent, this library is a work "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm". . The software in md5.h and md5.c is Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved, and is subject to the following notice: * License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. * License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. * RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. * These notices must be retained in any copies of any part of this documentation and/or software. . ---------------------------------------------------------------------- . CCP4 Packed Compression Notice . The CBF_PACKED and CBF_PACKED_V2 compression and decompression code incorporated in CBFlib is derived in large part from the J. P. Abrahams pack_c.c compression code in CCP4. This code is incorporated in CBFlib under the GPL and the LGPL with both the permission Jan Pieter Abrahams, the original author of pack_c.c (email from Jan Pieter Abrahams of 15 January 2007) and of the CCP4 project (email from Martyn Winn on 12 January 2007). The cooperation of J. P. Abrahams and of the CCP4 project is gratefully acknowledged. . ---------------------------------------------------------------------- Files: debian/* Copyright: 2008, 2010, 2013 Teemu Ikonen , Morten Kjeldgaard License: GPL-2+ 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/cbflib-bin.install0000644000000000000000000000016212151740013012536 0ustar debian/tmp/usr/bin/cif2cbf debian/tmp/usr/bin/convert_image debian/tmp/usr/bin/img2cif debian/tmp/usr/bin/makecbf debian/cbflib-doc.install0000644000000000000000000000055012151740013012534 0ustar doc/CBFlib.html usr/share/doc/cbflib-doc/html doc/CBFlib_NOTICES.html usr/share/doc/cbflib-doc/html doc/ChangeLog.html usr/share/doc/cbflib-doc/html doc/cif_img_1.5.4_28Jul07.html usr/share/doc/cbflib-doc/html doc/cbf_definition_rev.html usr/share/doc/cbflib-doc/html html_graphics/* usr/share/doc/cbflib-doc/html_graphics debian/libcbf0.install0000644000000000000000000000010612151740013012046 0ustar debian/tmp/usr/lib/*/libcbf.so.0 debian/tmp/usr/lib/*/libcbf.so.0.0.0 debian/changelog0000644000000000000000000000511012151740013011027 0ustar cbflib (0.9.2.2-1) unstable; urgency=low [ Teemu Ikonen ] * New upstream version (closes: #594600). * New maintainer: Debian Science Maintainers. * dpkg-shlibdeps no longer complains about symbols not found (closes: #558842) * New patch: types.patch, fixes compilation error on 64-bit architectures. * Use source format 3.0 (quilt). * Remove debian/README.source. * Use debhelper compat-level 9. * Install libraries to multiarch paths. * control: - Update standards-version to 3.9.4. - Remove build-dep from cdbs and quilt. - Remove unnecessary substvars. - Remove duplicate Section: from cbflib-bin. - Add Morten Kjeldgaard and Teemu Ikonen to Uploaders. * rules: Rewrite with dh. * Add libcbf0.symbols file. * Do not install examples to cbflib-doc. * Do not install .la file in libcbf-dev. * copyright: Use latest format, update years, fixes. [ Andreas Tille ] * DM-upload-allowed is obsolete -- Teemu Ikonen Thu, 30 May 2013 21:46:47 +0200 cbflib (0.9.1-1) UNRELEASED; urgency=low * New upstream version. * Add debian/README.source * rules: Move libtool directory out of the way during build. * control: Update to standards-version 3.9.1 * control: Add debhelper substvars to dependencies. * copyright: Update and convert to dep5 format. * Refresh autotools.patch for new source files and add libm to LDFLAGS. -- Teemu Ikonen Fri, 27 Aug 2010 18:07:01 +0200 cbflib (0.7.9.1-3) unstable; urgency=low [Morten Kjeldgaard] * Non-maintainer upload. [Andreas Tille] * DM-Upload-Allowed: yes -- Morten Kjeldgaard Mon, 08 Dec 2008 07:07:21 +0100 cbflib (0.7.9.1-2) unstable; urgency=low * Fixed watch file to agree with upstream website changes. -- Morten Kjeldgaard Sun, 30 Nov 2008 13:12:27 +0100 cbflib (0.7.9.1-1) unstable; urgency=low [ Teemu Ikonen ] * Initial release (Closes: #467655) [ Morten Kjeldgaard ] * debian/patches: autotools building tools, added with patches. * debian/control: - name of -dev package renamed to reflect standard convention: cbflib-dev -> libcbf-dev. - cbflib-bin is a new package containing utility binaries. - libcbf0 is a new package containing the shared library. - description shortened. - mok takes over as maintainer * debian/*.1: authored manpages for binaries in -bin package. * debian/rules: modified to allow building the autotools * debian/cbflib-doc.doc-base: longer description -- Morten Kjeldgaard Wed, 02 Apr 2008 19:42:21 +0200 debian/img2cif.10000644000000000000000000000534112151740013010565 0ustar .\" Hey, EMACS: -*- nroff -*- .TH IMG2CIF 1 "April 2008" .\" Please adjust this date whenever revising the manpage. .SH NAME img2cif \- filter to convert detector images to CBF format .SH SYNOPSIS .B img2cif .RI [ options ] " files" ... .SH DESCRIPTION .B \img2cif is a program that converts an image file from a MAR180, MAR300, MAR345 or ADSC CCD detector to CBF format. In addition, .B img2cif includes code to process files from stdin and to stdout, so the program can be used in a pipe. .SH OPTIONS .TP .BI \-i " input_image" (default: stdin) the input_image file in MAR300, MAR345 or ADSC CCD detector format is given. If no input_image file is specified or is given as "\-", an image is copied from stdin to a temporary file. .TP .BI \-o " output_cif" (default: stdout) the output cif (if base64 or quoted-printable encoding is used) or cbf (if no encoding is used). if no output_cif is specified or is given as "\-", the output is written to stdout .TP .BI \-c " compression_scheme" (packed, canonical or none, default packed) .TP .BI \-m " [no]headers" (default headers for cifs, noheaders for cbfs) selects MIME (N. Freed, N. Borenstein, RFC 2045, November 1996) headers within binary data value text fields. .TP .BI \-d " [no]digest" (default md5 digest [R. Rivest, RFC 1321, April 1992 using"RSA Data Security, Inc. MD5 Message-Digest Algorithm"] when MIME headers are selected) .TP .BI \-e " encoding" (base64, quoted-printable, decimal, hexadecimal, octal or none, default: base64) specifies one of the standard MIME encodings (base64 or quoted-printable) or a non-standard decimal, hexamdecimal or octal encoding for an ascii cif or "none" for a binary cbf .TP .BI \-b " direction" (forward or backwards, default: natural direction) specifies the direction of mapping of bytes into words for decimal, hexadecimal or octal output, marked by '>' for forward or '<' for backwards as the second character of each line of output, and in '#' comment lines. .SH SEE ALSO .BR convert_image (1), .BR cif2cbf (1), .BR makecbf (1). .SH AUTHOR .B img2cif was written by Herbert J. Bernstein. .PP This manual page was written by Morten Kjeldgaard , for the Debian project (but may be used by others). debian/cbflib-doc.doc-base0000644000000000000000000000141512151740013012544 0ustar Document: cbflib Title: CBFlib -- An API for CBF/imgCIF Crystallographic Binary Files with ASCII Support Author: Paul J. Ellis, Herbert J. Bernstein and others Abstract: CBFlib (Crystallographic Binary File library) is a library of ANSI-C functions providing a simple mechanism for accessing Crystallographic Binary Files (CBF files) and Image-supporting CIF (imgCIF) files. The CBFlib API is loosely based on the CIFPARSE API for mmCIF files. Like CIFPARSE, CBFlib does not perform any semantic integrity checks; rather it simply provides functions to create, read, modify and write CBF binary data files and imgCIF ASCII data files. Section: Science/Data Analysis Format: HTML Index: /usr/share/doc/cbflib-doc/html/CBFlib.html Files: /usr/share/doc/cbflib-doc/html/*.html debian/libcbf-dev.install0000644000000000000000000000012412151740013012542 0ustar debian/tmp/usr/lib/*/libcbf.a debian/tmp/usr/lib/*/libcbf.so debian/tmp/usr/include debian/source/0000755000000000000000000000000012151740013010460 5ustar debian/source/format0000644000000000000000000000001412151740013011666 0ustar 3.0 (quilt) debian/convert_image.10000644000000000000000000000504312151740013012066 0ustar .\" Hey, EMACS: -*- nroff -*- .TH CONVERT_IMAGE 1 "April, 2008" .SH NAME convert_image \- convert images to CBF format using a template .SH SYNOPSIS .B convert_image .RI [ options ] .SH DESCRIPTION .B convert_image is a program that can convert images from a MAR180, MAR300, MAR345 or ADSC CCD detector and convert them to CBF format. .P .B convert_image requires two arguments: imagefile and cbffile. Those are the primary input and output. The detector type is extracted from the image file or from the command line, converted to lower case and used to construct the name of a template cbf file to use for the copy. The template file name is of the form template_name_columnsxrows. .P To run makecbf with the example image, type: .TP makecbf example.mar2300 test.cbf .SH OPTIONS .TP .BI \-i " input_img" (default: stdin) the input file as an image in smv, mar300, or mar345 format. If input_img is not specified or is given as "\-", it is copied from stdin to a temporary file. .TP .BI \-p " template_cbf" the template for the final cbf to be produced. If template_cbf is not specified the name is constructed from the first token of the detector name and the image size as template__x.cbf .TP .BI \-o " output_cbf" (default: stdout ) the output cbf combining the image and the template. If the output_cbf is not specified or is given as "\-", it is written to stdout. .TP .BI \-d " detectorname" a detector name to be used if none is provided in the image header. .TP .B \-F when writing packed compression, treat the entire image as one line with no averaging .TP .BI \-m " [x|y|x=y]" (default x=y, square arrays only) mirror the array in the x-axis (y \-> \-y) in the y-axis (x \-> \-x) or in x=y ( x \-> y, y-> x) .TP .BI \-r " n" rotate the array n times 90 degrees counter clockwise x \-> y, y \-> \-x for each rotation, n = 1, 2 or 3 .TP .B \-R if setting a beam center, set reference values of axis settings as well as standard settings .TP .BI \-z " distance" detector distance along Z-axis .TP .BI \-c " category_alias=category_root" .TP .BI \-t " tag_alias=tagroot" map the given alias to the given root, so that instead of outputting the alias, the root will be presented in the output cbf instead. These options may be repeated as many times as needed. .SH SEE ALSO .BR cif2cbf (1), .BR img2cif (1), .BR makecbf (1). .SH AUTHOR .B convert_image was written by Herbert J. Bernstein. .PP This manual page was written by Morten Kjeldgaard , for the Debian project (but may be used by others). debian/compat0000644000000000000000000000000212151740013010356 0ustar 9 debian/libcbf0.symbols0000644000000000000000000003527312151740013012105 0ustar libcbf.so.0 libcbf0 #MINVER# MD5Final@Base 0.7.9.1 MD5Init@Base 0.7.9.1 MD5Update@Base 0.7.9.1 cbf_add_child@Base 0.7.9.1 cbf_add_columnrow@Base 0.7.9.1 cbf_add_contextconnection@Base 0.7.9.1 cbf_add_fileconnection@Base 0.7.9.1 cbf_add_link@Base 0.7.9.1 cbf_add_new_child@Base 0.7.9.1 cbf_add_offset@Base 0.7.9.1 cbf_add_offsetv2@Base 0.7.9.1 cbf_add_positioner_axis@Base 0.7.9.1 cbf_alloc@Base 0.7.9.1 cbf_append_node@Base 0.7.9.1 cbf_apply_ws@Base 0.9.2.2 cbf_binary_parameters@Base 0.7.9.1 cbf_blockitem_number@Base 0.7.9.1 cbf_calculate_initial_position@Base 0.7.9.1 cbf_calculate_position@Base 0.7.9.1 cbf_category_name@Base 0.7.9.1 cbf_check_category_tags@Base 0.7.9.1 cbf_check_digest@Base 0.7.9.1 cbf_check_type_contents@Base 0.9.2.2 cbf_child_index@Base 0.7.9.1 cbf_cistrcmp@Base 0.7.9.1 cbf_cistrncmp@Base 0.7.9.1 cbf_close_temporary@Base 0.7.9.1 cbf_column_name@Base 0.7.9.1 cbf_column_number@Base 0.7.9.1 cbf_compare_bitcodes@Base 0.7.9.1 cbf_compose_itemname@Base 0.7.9.1 cbf_compress@Base 0.7.9.1 cbf_compress_byte_offset@Base 0.7.9.1 cbf_compress_canonical@Base 0.7.9.1 cbf_compress_none@Base 0.7.9.1 cbf_compress_packed@Base 0.7.9.1 cbf_compress_predictor@Base 0.7.9.1 cbf_compute_cell_volume@Base 0.7.9.1 cbf_compute_hashcode@Base 0.7.9.1 cbf_compute_reciprocal_cell@Base 0.7.9.1 cbf_connect_axes@Base 0.7.9.1 cbf_construct_detector@Base 0.7.9.1 cbf_construct_functions_dictionary@Base 0.9.2.2 cbf_construct_goniometer@Base 0.7.9.1 cbf_construct_reference_detector@Base 0.7.9.1 cbf_construct_tree@Base 0.7.9.1 cbf_convert_dictionary@Base 0.7.9.1 cbf_convert_dictionary_definition@Base 0.7.9.1 cbf_copy_category@Base 0.9.2.2 cbf_copy_cbf@Base 0.9.2.2 cbf_copy_datablock@Base 0.9.2.2 cbf_copy_file@Base 0.7.9.1 cbf_copy_string@Base 0.7.9.1 cbf_copy_strings@Base 0.9.2.2 cbf_copy_value@Base 0.9.2.2 cbf_count_bits@Base 0.7.9.1 cbf_count_blockitems@Base 0.7.9.1 cbf_count_categories@Base 0.7.9.1 cbf_count_children@Base 0.7.9.1 cbf_count_columns@Base 0.7.9.1 cbf_count_datablocks@Base 0.7.9.1 cbf_count_elements@Base 0.7.9.1 cbf_count_getopt_options@Base 0.9.2.2 cbf_count_rows@Base 0.7.9.1 cbf_count_saveframes@Base 0.7.9.1 cbf_count_typed_children@Base 0.7.9.1 cbf_count_values@Base 0.7.9.1 cbf_create_bracket_tree@Base 0.9.2.2 cbf_create_list@Base 0.7.9.1 cbf_datablock_name@Base 0.7.9.1 cbf_decode32k_bit_op@Base 0.7.9.1 cbf_decompress@Base 0.7.9.1 cbf_decompress_byte_offset@Base 0.7.9.1 cbf_decompress_byte_offset_fast@Base 0.9.2.2 cbf_decompress_byte_offset_slow@Base 0.9.2.2 cbf_decompress_canonical@Base 0.7.9.1 cbf_decompress_none@Base 0.7.9.1 cbf_decompress_packed@Base 0.7.9.1 cbf_decompress_parameters@Base 0.7.9.1 cbf_decompress_predictor@Base 0.7.9.1 cbf_delete_columnrow@Base 0.7.9.1 cbf_delete_contextconnection@Base 0.7.9.1 cbf_delete_fileconnection@Base 0.7.9.1 cbf_delete_row@Base 0.7.9.1 cbf_encode32k_bit_op@Base 0.7.9.1 cbf_end_digest@Base 0.7.9.1 cbf_endianFix@Base 0.7.9.1 cbf_error@Base 0.7.9.1 cbf_file_connections@Base 0.7.9.1 cbf_find_bracketstring@Base 0.9.2.2 cbf_find_category@Base 0.7.9.1 cbf_find_category_root@Base 0.7.9.1 cbf_find_child@Base 0.7.9.1 cbf_find_column@Base 0.7.9.1 cbf_find_datablock@Base 0.7.9.1 cbf_find_hashedvalue@Base 0.7.9.1 cbf_find_last_child@Base 0.7.9.1 cbf_find_last_typed_child@Base 0.7.9.1 cbf_find_local_tag@Base 0.7.9.1 cbf_find_nextrow@Base 0.7.9.1 cbf_find_parent@Base 0.7.9.1 cbf_find_row@Base 0.7.9.1 cbf_find_saveframe@Base 0.7.9.1 cbf_find_tag@Base 0.7.9.1 cbf_find_tag_category@Base 0.7.9.1 cbf_find_tag_root@Base 0.7.9.1 cbf_find_typed_child@Base 0.7.9.1 cbf_flog@Base 0.9.2.2 cbf_flush_bits@Base 0.7.9.1 cbf_flush_characters@Base 0.7.9.1 cbf_foldtextline@Base 0.7.9.1 cbf_force_new_category@Base 0.7.9.1 cbf_force_new_datablock@Base 0.7.9.1 cbf_force_new_saveframe@Base 0.7.9.1 cbf_free@Base 0.7.9.1 cbf_free_compressdata@Base 0.7.9.1 cbf_free_context@Base 0.7.9.1 cbf_free_detector@Base 0.7.9.1 cbf_free_file@Base 0.7.9.1 cbf_free_getopt_handle@Base 0.9.2.2 cbf_free_goniometer@Base 0.7.9.1 cbf_free_handle@Base 0.7.9.1 cbf_free_node@Base 0.7.9.1 cbf_free_positioner@Base 0.7.9.1 cbf_free_string@Base 0.7.9.1 cbf_free_text@Base 0.7.9.1 cbf_free_value@Base 0.7.9.1 cbf_frombase32k@Base 0.7.9.1 cbf_frombase64@Base 0.7.9.1 cbf_frombasex@Base 0.7.9.1 cbf_fromqp@Base 0.7.9.1 cbf_generate_canonicalcodes@Base 0.7.9.1 cbf_generate_codelengths@Base 0.7.9.1 cbf_get_3d_array@Base 0.7.9.1 cbf_get_3d_array_size@Base 0.7.9.1 cbf_get_3d_image@Base 0.7.9.1 cbf_get_3d_image_size@Base 0.7.9.1 cbf_get_array_id@Base 0.7.9.1 cbf_get_arraydimensions@Base 0.9.2.2 cbf_get_arrayparameters@Base 0.7.9.1 cbf_get_arrayparameters_wdims@Base 0.7.9.1 cbf_get_axis_offset@Base 0.7.9.1 cbf_get_axis_reference_setting@Base 0.7.9.1 cbf_get_axis_setting@Base 0.7.9.1 cbf_get_axis_type@Base 0.7.9.1 cbf_get_axis_vector@Base 0.7.9.1 cbf_get_beam_center@Base 0.7.9.1 cbf_get_bin_sizes@Base 0.7.9.1 cbf_get_binary@Base 0.7.9.1 cbf_get_bintext@Base 0.7.9.1 cbf_get_bit@Base 0.7.9.1 cbf_get_bits@Base 0.7.9.1 cbf_get_block@Base 0.7.9.1 cbf_get_buffer@Base 0.7.9.1 cbf_get_character@Base 0.7.9.1 cbf_get_child@Base 0.7.9.1 cbf_get_code@Base 0.7.9.1 cbf_get_columnrow@Base 0.7.9.1 cbf_get_crystal_id@Base 0.7.9.1 cbf_get_datestamp@Base 0.7.9.1 cbf_get_detector_axes@Base 0.9.2.2 cbf_get_detector_axis_fast@Base 0.9.2.2 cbf_get_detector_axis_slow@Base 0.9.2.2 cbf_get_detector_distance@Base 0.7.9.1 cbf_get_detector_id@Base 0.7.9.1 cbf_get_detector_normal@Base 0.7.9.1 cbf_get_dictionary@Base 0.7.9.1 cbf_get_diffrn_id@Base 0.7.9.1 cbf_get_divergence@Base 0.7.9.1 cbf_get_doublevalue@Base 0.7.9.1 cbf_get_element_id@Base 0.7.9.1 cbf_get_filecoordinates@Base 0.7.9.1 cbf_get_fileposition@Base 0.7.9.1 cbf_get_gain@Base 0.7.9.1 cbf_get_getopt_data@Base 0.9.2.2 cbf_get_image@Base 0.7.9.1 cbf_get_image_size@Base 0.7.9.1 cbf_get_inferred_pixel_size@Base 0.7.9.1 cbf_get_integer@Base 0.7.9.1 cbf_get_integerarray@Base 0.7.9.1 cbf_get_integerarrayparameters@Base 0.7.9.1 cbf_get_integerarrayparameters_wdims@Base 0.7.9.1 cbf_get_integervalue@Base 0.7.9.1 cbf_get_integration_time@Base 0.7.9.1 cbf_get_link@Base 0.7.9.1 cbf_get_local_integer_byte_order@Base 0.7.9.1 cbf_get_local_real_byte_order@Base 0.7.9.1 cbf_get_local_real_format@Base 0.7.9.1 cbf_get_map_array_id@Base 0.7.9.1 cbf_get_map_segment@Base 0.7.9.1 cbf_get_map_segment_mask@Base 0.7.9.1 cbf_get_map_segment_size@Base 0.7.9.1 cbf_get_mpint_code@Base 0.9.2.2 cbf_get_name@Base 0.7.9.1 cbf_get_orientation_matrix@Base 0.7.9.1 cbf_get_overload@Base 0.7.9.1 cbf_get_pixel_area@Base 0.7.9.1 cbf_get_pixel_coordinates@Base 0.7.9.1 cbf_get_pixel_normal@Base 0.7.9.1 cbf_get_pixel_size@Base 0.7.9.1 cbf_get_polarization@Base 0.7.9.1 cbf_get_real_3d_image@Base 0.7.9.1 cbf_get_real_image@Base 0.7.9.1 cbf_get_real_map_segment@Base 0.7.9.1 cbf_get_real_map_segment_mask@Base 0.7.9.1 cbf_get_realarray@Base 0.7.9.1 cbf_get_realarrayparameters@Base 0.7.9.1 cbf_get_realarrayparameters_wdims@Base 0.7.9.1 cbf_get_reciprocal@Base 0.7.9.1 cbf_get_reciprocal_cell@Base 0.7.9.1 cbf_get_rotation_axis@Base 0.7.9.1 cbf_get_rotation_range@Base 0.7.9.1 cbf_get_table@Base 0.7.9.1 cbf_get_timestamp@Base 0.7.9.1 cbf_get_typeofvalue@Base 0.7.9.1 cbf_get_unit_cell@Base 0.7.9.1 cbf_get_value@Base 0.7.9.1 cbf_get_value_type@Base 0.7.9.1 cbf_get_wavelength@Base 0.7.9.1 cbf_getopt_parse@Base 0.9.2.2 cbf_gregorian_julian@Base 0.7.9.1 cbf_increment_column@Base 0.7.9.1 cbf_initialise_compressdata@Base 0.7.9.1 cbf_insert_columnrow@Base 0.7.9.1 cbf_insert_node@Base 0.7.9.1 cbf_insert_row@Base 0.7.9.1 cbf_isBigEndian@Base 0.7.9.1 cbf_is_base64digest@Base 0.7.9.1 cbf_is_binary@Base 0.7.9.1 cbf_is_blank@Base 0.7.9.1 cbf_is_mimebinary@Base 0.7.9.1 cbf_lex@Base 0.7.9.1 cbf_lex_unget@Base 0.9.2.2 cbf_lex_wrapper@Base 0.7.9.1 cbf_log@Base 0.7.9.1 cbf_make_child@Base 0.7.9.1 cbf_make_compressdata@Base 0.7.9.1 cbf_make_context@Base 0.7.9.1 cbf_make_file@Base 0.7.9.1 cbf_make_getopt_handle@Base 0.9.2.2 cbf_make_handle@Base 0.7.9.1 cbf_make_new_child@Base 0.7.9.1 cbf_make_new_node@Base 0.7.9.1 cbf_make_node@Base 0.7.9.1 cbf_make_positioner@Base 0.7.9.1 cbf_make_widefile@Base 0.7.9.1 cbf_match@Base 0.9.2.2 cbf_maximum_size@Base 0.7.9.1 cbf_md5digest@Base 0.7.9.1 cbf_md5digest_to64@Base 0.7.9.1 cbf_mime_temp@Base 0.7.9.1 cbf_mpint_add_acc@Base 0.7.9.1 cbf_mpint_clear_acc@Base 0.7.9.1 cbf_mpint_decrement_acc@Base 0.7.9.1 cbf_mpint_get_acc_bitlength@Base 0.9.2.2 cbf_mpint_increment_acc@Base 0.7.9.1 cbf_mpint_leftshift_acc@Base 0.7.9.1 cbf_mpint_load_acc@Base 0.7.9.1 cbf_mpint_negate_acc@Base 0.7.9.1 cbf_mpint_rightshift_acc@Base 0.7.9.1 cbf_mpint_store_acc@Base 0.7.9.1 cbf_name_new_node@Base 0.7.9.1 cbf_name_node@Base 0.7.9.1 cbf_nblen@Base 0.7.9.1 cbf_new_category@Base 0.7.9.1 cbf_new_column@Base 0.7.9.1 cbf_new_datablock@Base 0.7.9.1 cbf_new_row@Base 0.7.9.1 cbf_new_saveframe@Base 0.7.9.1 cbf_next_blockitem@Base 0.7.9.1 cbf_next_category@Base 0.7.9.1 cbf_next_column@Base 0.7.9.1 cbf_next_datablock@Base 0.7.9.1 cbf_next_getopt_option@Base 0.9.2.2 cbf_next_row@Base 0.7.9.1 cbf_next_saveframe@Base 0.7.9.1 cbf_open_temporary@Base 0.7.9.1 cbf_order_node@Base 0.7.9.1 cbf_pack_chunk@Base 0.7.9.1 cbf_pack_nextchunk@Base 0.7.9.1 cbf_parse@Base 0.7.9.1 cbf_parse_binaryheader@Base 0.7.9.1 cbf_parse_mimeheader@Base 0.7.9.1 cbf_put_bits@Base 0.7.9.1 cbf_put_block@Base 0.7.9.1 cbf_put_character@Base 0.7.9.1 cbf_put_code@Base 0.7.9.1 cbf_put_integer@Base 0.7.9.1 cbf_put_mpint_code@Base 0.9.2.2 cbf_put_stopcode@Base 0.7.9.1 cbf_put_string@Base 0.7.9.1 cbf_put_table@Base 0.7.9.1 cbf_read_buffered_file@Base 0.9.2.2 cbf_read_character@Base 0.7.9.1 cbf_read_file@Base 0.7.9.1 cbf_read_line@Base 0.7.9.1 cbf_read_mime@Base 0.7.9.1 cbf_read_positioner_axis@Base 0.7.9.1 cbf_read_template@Base 0.7.9.1 cbf_read_widefile@Base 0.7.9.1 cbf_realloc@Base 0.7.9.1 cbf_reduce_list@Base 0.7.9.1 cbf_remove_category@Base 0.7.9.1 cbf_remove_column@Base 0.7.9.1 cbf_remove_datablock@Base 0.7.9.1 cbf_remove_row@Base 0.7.9.1 cbf_remove_saveframe@Base 0.7.9.1 cbf_require_category@Base 0.7.9.1 cbf_require_category_root@Base 0.7.9.1 cbf_require_column@Base 0.7.9.1 cbf_require_column_doublevalue@Base 0.7.9.1 cbf_require_column_integervalue@Base 0.7.9.1 cbf_require_column_value@Base 0.7.9.1 cbf_require_datablock@Base 0.7.9.1 cbf_require_detector@Base 0.7.9.1 cbf_require_dictionary@Base 0.7.9.1 cbf_require_diffrn_id@Base 0.7.9.1 cbf_require_doublevalue@Base 0.7.9.1 cbf_require_integervalue@Base 0.7.9.1 cbf_require_nextrow@Base 0.7.9.1 cbf_require_reference_detector@Base 0.7.9.1 cbf_require_row@Base 0.7.9.1 cbf_require_tag_root@Base 0.7.9.1 cbf_require_value@Base 0.7.9.1 cbf_reset_bits@Base 0.7.9.1 cbf_reset_buffer@Base 0.7.9.1 cbf_reset_category@Base 0.7.9.1 cbf_reset_characters@Base 0.7.9.1 cbf_reset_column@Base 0.7.9.1 cbf_reset_datablock@Base 0.7.9.1 cbf_reset_datablocks@Base 0.7.9.1 cbf_reset_in_bits@Base 0.9.2.2 cbf_reset_refcounts@Base 0.7.9.1 cbf_reset_saveframe@Base 0.7.9.1 cbf_return_text@Base 0.7.9.1 cbf_reverse_bitcodes@Base 0.7.9.1 cbf_rewind_blockitem@Base 0.7.9.1 cbf_rewind_category@Base 0.7.9.1 cbf_rewind_column@Base 0.7.9.1 cbf_rewind_datablock@Base 0.7.9.1 cbf_rewind_getopt_option@Base 0.9.2.2 cbf_rewind_row@Base 0.7.9.1 cbf_rewind_saveframe@Base 0.7.9.1 cbf_rotate_vector@Base 0.7.9.1 cbf_row_number@Base 0.7.9.1 cbf_save_character@Base 0.7.9.1 cbf_save_character_at@Base 0.9.2.2 cbf_save_character_trim@Base 0.9.2.2 cbf_saveframe_name@Base 0.7.9.1 cbf_select_blockitem@Base 0.7.9.1 cbf_select_category@Base 0.7.9.1 cbf_select_column@Base 0.7.9.1 cbf_select_datablock@Base 0.7.9.1 cbf_select_getopt_option@Base 0.9.2.2 cbf_select_row@Base 0.7.9.1 cbf_select_saveframe@Base 0.7.9.1 cbf_set_3d_array@Base 0.7.9.1 cbf_set_3d_image@Base 0.7.9.1 cbf_set_axis_reference_setting@Base 0.7.9.1 cbf_set_axis_setting@Base 0.7.9.1 cbf_set_beam_center@Base 0.7.9.1 cbf_set_bin_sizes@Base 0.7.9.1 cbf_set_binary@Base 0.7.9.1 cbf_set_bintext@Base 0.7.9.1 cbf_set_buffersize@Base 0.7.9.1 cbf_set_category_root@Base 0.7.9.1 cbf_set_cbf_logfile@Base 0.7.9.1 cbf_set_children@Base 0.7.9.1 cbf_set_column_name@Base 0.9.2.2 cbf_set_columnrow@Base 0.7.9.1 cbf_set_crystal_id@Base 0.7.9.1 cbf_set_current_timestamp@Base 0.7.9.1 cbf_set_datablockname@Base 0.7.9.1 cbf_set_datestamp@Base 0.7.9.1 cbf_set_dictionary@Base 0.7.9.1 cbf_set_diffrn_id@Base 0.7.9.1 cbf_set_divergence@Base 0.7.9.1 cbf_set_doublevalue@Base 0.7.9.1 cbf_set_filecoordinates@Base 0.7.9.1 cbf_set_fileposition@Base 0.7.9.1 cbf_set_gain@Base 0.7.9.1 cbf_set_hashedvalue@Base 0.7.9.1 cbf_set_image@Base 0.7.9.1 cbf_set_integerarray@Base 0.7.9.1 cbf_set_integerarray_wdims@Base 0.7.9.1 cbf_set_integervalue@Base 0.7.9.1 cbf_set_integration_time@Base 0.7.9.1 cbf_set_io_buffersize@Base 0.9.2.2 cbf_set_link@Base 0.7.9.1 cbf_set_map_segment@Base 0.7.9.1 cbf_set_map_segment_mask@Base 0.7.9.1 cbf_set_orientation_matrix@Base 0.7.9.1 cbf_set_output_buffersize@Base 0.7.9.1 cbf_set_overload@Base 0.7.9.1 cbf_set_pixel_size@Base 0.7.9.1 cbf_set_polarization@Base 0.7.9.1 cbf_set_real_3d_image@Base 0.7.9.1 cbf_set_real_image@Base 0.7.9.1 cbf_set_real_map_segment@Base 0.7.9.1 cbf_set_real_map_segment_mask@Base 0.7.9.1 cbf_set_realarray@Base 0.7.9.1 cbf_set_realarray_wdims@Base 0.7.9.1 cbf_set_reciprocal_cell@Base 0.7.9.1 cbf_set_reference_beam_center@Base 0.7.9.1 cbf_set_saveframename@Base 0.7.9.1 cbf_set_tag_category@Base 0.7.9.1 cbf_set_tag_root@Base 0.7.9.1 cbf_set_timestamp@Base 0.7.9.1 cbf_set_typeofvalue@Base 0.7.9.1 cbf_set_unit_cell@Base 0.7.9.1 cbf_set_value@Base 0.7.9.1 cbf_set_value_type@Base 0.7.9.1 cbf_set_wavelength@Base 0.7.9.1 cbf_set_ws_column@Base 0.9.2.2 cbf_setup_decode@Base 0.7.9.1 cbf_shift_link@Base 0.7.9.1 cbf_skip_whitespace@Base 0.7.9.1 cbf_srch_tag@Base 0.7.9.1 cbf_start_digest@Base 0.7.9.1 cbf_swab@Base 0.7.9.1 cbf_syntax_error@Base 0.7.9.1 cbf_tobase32k@Base 0.7.9.1 cbf_tobase64@Base 0.7.9.1 cbf_tobasex@Base 0.7.9.1 cbf_toqp@Base 0.7.9.1 cbf_undo_links@Base 0.7.9.1 cbf_update_jpa_pointers@Base 0.7.9.1 cbf_update_pixel@Base 0.7.9.1 cbf_validate@Base 0.7.9.1 cbf_value_type@Base 0.7.9.1 cbf_warning@Base 0.7.9.1 cbf_write_ascii@Base 0.7.9.1 cbf_write_binary@Base 0.7.9.1 cbf_write_category@Base 0.7.9.1 cbf_write_character@Base 0.7.9.1 cbf_write_datablockname@Base 0.7.9.1 cbf_write_file@Base 0.7.9.1 cbf_write_itemname@Base 0.7.9.1 cbf_write_local_file@Base 0.7.9.1 cbf_write_node@Base 0.7.9.1 cbf_write_saveframename@Base 0.7.9.1 cbf_write_string@Base 0.7.9.1 cbf_write_value@Base 0.7.9.1 cbf_write_widefile@Base 0.7.9.1 cbf_write_ws_ascii@Base 0.9.2.2 cbf_write_ws_emlogue@Base 0.9.2.2 cbf_write_ws_epilogue@Base 0.9.2.2 cbf_write_ws_prologue@Base 0.9.2.2 cbf_write_ws_value@Base 0.9.2.2 debian/patches/0000755000000000000000000000000012151740013010607 5ustar debian/patches/autotools.patch0000644000000000000000000001010012151740013013651 0ustar Description: Autotools files for CBFlib Author: Morten Kjeldgaard Index: git-cbflib/Makefile.am =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ git-cbflib/Makefile.am 2010-08-27 18:04:24.000000000 +0200 @@ -0,0 +1,25 @@ +## -*- mode: Makefile ; mode: font-lock -*- +## +## Top level automake build for the CBF library source. Process this file +## with automake to generate a Makefile. +## +## Morten Kjeldgaard +## Department of Molecular Biology, Aarhus University +## Date: 23-Mar-2006. +## +## Licence: GPL. + + +# Build in these directories +SUBDIRS = src examples + +ACLOCAL_AMFLAGS = -I config + +#Distribute these directories: +DIST_SUBDIRS = $(SUBDIRS) + +pkgconfigdir = $(libdir)/config + +EXTRA_DIST = bootstrap doc #html_graphics + +#### Index: git-cbflib/configure.ac =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ git-cbflib/configure.ac 2010-08-27 18:04:24.000000000 +0200 @@ -0,0 +1,37 @@ +# -*- mode: Autoconf; mode: font-lock -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(cbflib, 0.7.9, yaya@bernstein-plus-sons.com) +AC_CONFIG_SRCDIR([src/cbf.c]) +AC_CONFIG_AUX_DIR([config]) +AM_INIT_AUTOMAKE + +# Checks for programs. +AC_PROG_YACC +AC_PROG_CC +AC_PROG_MAKE_SET +AC_PROG_LIBTOOL + + +# Checks for header files. +AC_FUNC_ALLOCA +AC_HEADER_STDC +AC_CHECK_HEADERS([limits.h malloc.h stdlib.h string.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_TYPE_SIZE_T + +# Checks for library functions. +AC_FUNC_MALLOC +AC_CHECK_FUNCS([floor memmove memset pow sqrt strchr strcspn strerror strspn strstr strtoul]) + +AC_CONFIG_FILES([ + Makefile + src/Makefile + examples/Makefile + ]) +AC_OUTPUT + +#### Index: git-cbflib/examples/Makefile.am =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ git-cbflib/examples/Makefile.am 2010-08-27 18:04:24.000000000 +0200 @@ -0,0 +1,18 @@ +## -*- mode: Makefile ; mode: font-lock -*- + +bin_PROGRAMS = convert_image makecbf img2cif cif2cbf +AM_CPPFLAGS = -I$(top_srcdir)/include +AM_LDFLAGS = ../src/libcbf.la -lm + +library_includedir = $(includedir)/cbf +library_include_HEADERS=img.h + +convert_image_SOURCES = convert_image.c img.c + +makecbf_SOURCES = makecbf.c img.c + +img2cif_SOURCES = img2cif.c img.c + +cif2cbf_SOURCES = cif2cbf.c img.c + +#### Index: git-cbflib/src/Makefile.am =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ git-cbflib/src/Makefile.am 2010-08-27 18:12:19.000000000 +0200 @@ -0,0 +1,53 @@ +# -*- mode: Makefile ; mode: font-lock -*- + +inc = $(top_srcdir)/include + +libcbf_c_sources = \ +cbf_alloc.c cbf_ascii.c cbf_binary.c cbf_byte_offset.c cbf.c \ +cbf_canonical.c cbf_codes.c cbf_compress.c cbf_context.c cbf_copy.c \ +cbf_file.c cbf_getopt.c cbf_lex.c cbf_packed.c cbf_predictor.c \ +cbf_read_binary.c cbf_read_mime.c cbf_simple.c cbf_string.c cbf_stx.c \ +cbf_tree.c cbf_uncompressed.c cbf_write_binary.c cbf_write.c cbf_ws.c \ +md5c.c + +libcbf_h_sources = \ +$(inc)/cbf_alloc.h \ +$(inc)/cbf_ascii.h \ +$(inc)/cbf_binary.h \ +$(inc)/cbf_byte_offset.h \ +$(inc)/cbf_canonical.h \ +$(inc)/cbf_codes.h \ +$(inc)/cbf_compress.h \ +$(inc)/cbf_context.h \ +$(inc)/cbf_copy.h \ +$(inc)/cbff.h \ +$(inc)/cbf_file.h \ +$(inc)/cbf_getopt.h \ +$(inc)/cbf.h \ +$(inc)/cbf_lex.h \ +$(inc)/cbf_packed.h \ +$(inc)/cbf_predictor.h \ +$(inc)/cbf_read_binary.h \ +$(inc)/cbf_read_mime.h \ +$(inc)/cbf_simple.h \ +$(inc)/cbf_string.h \ +$(inc)/cbf_stx.h \ +$(inc)/cbf_tree.h \ +$(inc)/cbf_uncompressed.h \ +$(inc)/cbf_write_binary.h \ +$(inc)/cbf_write.h \ +$(inc)/cbf_ws.h \ +$(inc)/global.h \ +$(inc)/md5.h + +#### +AM_CPPFLAGS = -I$(top_srcdir)/include +AM_LDFLAGS = -lm + +library_includedir = $(includedir)/cbf +library_include_HEADERS = $(libcbf_h_sources) + +lib_LTLIBRARIES = libcbf.la +libcbf_la_SOURCES = $(libcbf_c_sources) $(libcbf_h_sources) + +#### debian/patches/series0000644000000000000000000000003412151740013012021 0ustar autotools.patch types.patch debian/patches/types.patch0000644000000000000000000001607112151740013013001 0ustar From a93c9c9a11040a94085e8e46db2555ff506b5d79 Mon Sep 17 00:00:00 2001 From: Teemu Ikonen Date: Thu, 30 May 2013 15:24:27 +0200 Subject: [PATCH] cbf_copy.c: Replace (unsigned) long ints by (u)int32_t's. Fixes compilation error in 64-bit linux. --- src/cbf_copy.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/cbf_copy.c b/src/cbf_copy.c index da6124f..f3077ec 100644 --- a/src/cbf_copy.c +++ b/src/cbf_copy.c @@ -265,6 +265,7 @@ extern "C" { #include #include #include +#include /* cbf_copy_cbf -- copy cbfin to cbfout */ @@ -771,7 +772,7 @@ extern "C" { &elements, &minelement, &maxelement, &realarray, &byteorder, &dim1, &dim2, &dim3, &padding)) - if (oelsize != sizeof (long int) && + if (oelsize != sizeof (int32_t) && #ifdef CBF_USE_LONG_LONG oelsize != sizeof(long long int) && #else @@ -887,13 +888,13 @@ extern "C" { else ((unsigned char *)array)[icount] = (unsigned short int)doval; break; - case (sizeof(long int)): - if (elsigned) doval = (double)((signed long int *)array)[icount]; - else doval = (double)((unsigned long int *)array)[icount]; + case (sizeof(int32_t)): + if (elsigned) doval = (double)((int32_t *)array)[icount]; + else doval = (double)((uint32_t *)array)[icount]; if (doval < cliplow) doval = cliplow; if (doval > cliphigh) doval = cliphigh; - if (elsigned) ((signed char *)array)[icount] = (signed long int)doval; - else ((unsigned char *)array)[icount] = (unsigned long int)doval; + if (elsigned) ((signed char *)array)[icount] = (int32_t)doval; + else ((unsigned char *)array)[icount] = (uint32_t)doval; break; #ifdef CBF_USE_LONG_LONG @@ -1052,13 +1053,13 @@ extern "C" { break; - case sizeof(long int): + case sizeof(int32_t): if (elsigned) { for (icount = 0; icount < elements; icount++) { - xvalue = ((signed long int *)array)[icount]; + xvalue = ((int32_t *)array)[icount]; if (elsize == sizeof(double)) ((double *)narray)[icount] = xvalue; @@ -1071,7 +1072,7 @@ extern "C" { for (icount = 0; icount < elements; icount++) { - xvalue = ((unsigned long int *)array)[icount]; + xvalue = ((uint32_t *)array)[icount]; if (elsize == sizeof(double)) ((double *)narray)[icount] = xvalue; @@ -1452,7 +1453,7 @@ extern "C" { break; - case (sizeof(long int)): + case (sizeof(int32_t)): if (oelsize == sizeof(float)) { @@ -1467,7 +1468,7 @@ extern "C" { free(array); free(narray); return CBF_OVERFLOW; } - ((signed long int *)narray)[icount] = (signed long int)valtemp; + ((int32_t *)narray)[icount] = (int32_t)valtemp; } } else { @@ -1481,7 +1482,7 @@ extern "C" { free(array); free(narray); return CBF_OVERFLOW; } - ((unsigned long int *)narray)[icount] = (unsigned long int)valtemp; + ((uint32_t *)narray)[icount] = (uint32_t)valtemp; } } @@ -1499,7 +1500,7 @@ extern "C" { free(array); free(narray); return CBF_OVERFLOW; } - ((signed long int *)narray)[icount] = (signed long int)valtemp; + ((int32_t *)narray)[icount] = (int32_t)valtemp; } } else { @@ -1513,7 +1514,7 @@ extern "C" { free(array); free(narray); return CBF_OVERFLOW; } - ((unsigned long int *)narray)[icount] = (unsigned long int)valtemp; + ((uint32_t *)narray)[icount] = (uint32_t)valtemp; } } -- 1.7.10.4 debian/rules0000755000000000000000000000063612151740013010245 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: -mv libtool libtool.junk test -d config || mkdir config/ aclocal -I config libtoolize --force --copy automake --foreign --add-missing --copy autoconf dh_auto_configure override_dh_clean: [ ! -d libtool.junk ] || mv libtool.junk libtool rm -f Makefile.in aclocal.m4 configure rm -f examples/Makefile.in src/Makefile.in rm -rf config dh_clean debian/libcbf-dev.docs0000644000000000000000000000000712151740013012024 0ustar README debian/cbflib-bin.manpages0000644000000000000000000000011212151740013012656 0ustar debian/cif2cbf.1 debian/convert_image.1 debian/img2cif.1 debian/makecbf.1 debian/control0000644000000000000000000000441012151740013010562 0ustar Source: cbflib Section: science Priority: extra Maintainer: Debian Science Maintainers Uploaders: Morten Kjeldgaard , Teemu Ikonen Build-Depends: debhelper (>= 9), m4, gfortran, automake, libtool Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=collab-maint/cbflib.git;a=summary Vcs-Git: http://git.debian.org/git/collab-maint/cbflib.git Homepage: http://www.bernstein-plus-sons.com/software/CBF/ Package: libcbf-dev Section: libdevel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libcbf0 (= ${binary:Version}), ${misc:Depends} Description: development files for CBFlib CBFLIB is a library of ANSI-C functions providing a simple mechanism for accessing Crystallographic Binary Files (CBF files) and Image-supporting CIF (imgCIF) files. The CBFLIB API is loosely based on the CIFPARSE API for mmCIF files. CBFLIB does not perform any semantic integrity checks and simply provides functions to create, read, modify and write CBF binary data files and imgCIF ASCII data files. . This package contains libraries and header files for program development. Package: libcbf0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: shared library supporting CBFlib CBFlib is a library of ANSI-C functions providing a simple mechanism for accessing Crystallographic Binary Files (CBF files) and Image-supporting CIF (imgCIF) files. . This package contains the shared library. Package: cbflib-bin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: utilities to manipulate CBF files CBFlib is a library of ANSI-C functions providing a simple mechanism for accessing Crystallographic Binary Files (CBF files) and Image-supporting CIF (imgCIF) files. . This package contains various utility programs. Package: cbflib-doc Section: doc Architecture: all Depends: ${misc:Depends} Enhances: libcbf-dev Description: documentation for CBFlib CBFlib is a library of ANSI-C functions providing a simple mechanism for accessing Crystallographic Binary Files (CBF files) and Image-supporting CIF (imgCIF) files. . This package contains the documentation to CBFlib.