debian/0000775000000000000000000000000012265624514007177 5ustar debian/rules0000775000000000000000000000077312265624443010267 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with autoreconf pkg_run = libics0 pkg_dev = libics-dev override_dh_install-arch: # Runtime Package dh_install -p$(pkg_run) usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so.* # Development Package dh_install -p$(pkg_dev) usr/include dh_install -p$(pkg_dev) usr/lib/$(DEB_HOST_MULTIARCH)/lib*.a dh_install -p$(pkg_dev) usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so get-orig-source: uscan --verbose --force-download debian/watch0000664000000000000000000000007111735264164010230 0ustar version=3 http://sf.net/libics/libics-([\d\.]+)\.tar\.gz debian/changelog0000664000000000000000000000177312265624506011062 0ustar libics (1.5.2-4ubuntu1) trusty; urgency=medium * Use autotools-dev instead of dh-autoreconf to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). -- Logan Rosen Wed, 15 Jan 2014 19:34:55 -0500 libics (1.5.2-4) unstable; urgency=low * Add symbols file * Bump to Std-Vers 3.9.4. - d/rules: move install target to install-arch -- Mathieu Malaterre Sun, 09 Jun 2013 17:01:57 +0200 libics (1.5.2-3) unstable; urgency=low * Use dh(9), get hardening for free * Add libics-doc package for documentation * Make multiarch -- Mathieu Malaterre Wed, 11 Apr 2012 18:57:00 +0200 libics (1.5.2-2) unstable; urgency=low * Pull svn rev 10 to fix big endian issues. -- Mathieu Malaterre Thu, 05 Apr 2012 09:05:59 +0200 libics (1.5.2-1) unstable; urgency=low * Initial Debian Upload (Closes: #666082) -- Mathieu Malaterre Wed, 28 Mar 2012 17:28:11 +0200 debian/libics-doc.doc-base0000664000000000000000000000071211741333762012606 0ustar Document: libics-doc Title: libics Library Users Manual Author: Cris Luengo Abstract: This is the reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject. Section: Science/Data Analysis Format: HTML Index: /usr/share/doc/libics-doc/index.html Files: /usr/share/doc/libics-doc/*.html debian/compat0000664000000000000000000000000211741333762010375 0ustar 9 debian/copyright0000664000000000000000000000403511737242277011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libics Source: http://libics.sf.net Files: * Copyright: © 2000-2010 Cris Luengo and others License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Library General Public License can be found in /usr/share/common-licenses/LGPL-2 file. Files: libics_gzip.c Copyright: 1995-1998 Jean-loup Gailly and Mark Adler License: BSD This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: © 2012 Mathieu Malaterre License: LGPL-2+ Same as above debian/source/0000775000000000000000000000000012155114475010475 5ustar debian/source/format0000664000000000000000000000001411735264164011707 0ustar 3.0 (quilt) debian/libics-doc.docs0000664000000000000000000000002511741333762012056 0ustar Documentation/*.html debian/libics0.symbols0000664000000000000000000000655512155114630012140 0ustar libics.so.0 libics0 #MINVER# G_CatSymbols@Base 1.5.2 G_Categories@Base 1.5.2 G_SubCatSymbols@Base 1.5.2 G_SubCategories@Base 1.5.2 G_SubSubCatSymbols@Base 1.5.2 G_SubSubCategories@Base 1.5.2 G_ValueSymbols@Base 1.5.2 G_Values@Base 1.5.2 ICSEXT@Base 1.5.2 ICSKEY_LABEL@Base 1.5.2 ICSKEY_ORDER@Base 1.5.2 IDSEXT@Base 1.5.2 IDSEXT_GZ@Base 1.5.2 IDSEXT_Z@Base 1.5.2 IcsAddHistoryString@Base 1.5.2 IcsAppendChar@Base 1.5.2 IcsClose@Base 1.5.2 IcsCloseIds@Base 1.5.2 IcsCloseZip@Base 1.5.2 IcsCopyIds@Base 1.5.2 IcsDeleteHistory@Base 1.5.2 IcsDeleteHistoryStringI@Base 1.5.2 IcsEnableWriteSensor@Base 1.5.2 IcsExtensionFind@Base 1.5.2 IcsFillByteOrder@Base 1.5.2 IcsFreeHistory@Base 1.5.2 IcsGetBytesPerSample@Base 1.5.2 IcsGetCoordinateSystem@Base 1.5.2 IcsGetData@Base 1.5.2 IcsGetDataBlock@Base 1.5.2 IcsGetDataSize@Base 1.5.2 IcsGetDataTypeProps@Base 1.5.2 IcsGetDataTypeSize@Base 1.5.2 IcsGetDataWithStrides@Base 1.5.2 IcsGetErrorText@Base 1.5.2 IcsGetFileName@Base 1.5.2 IcsGetHistoryKeyValue@Base 1.5.2 IcsGetHistoryKeyValueI@Base 1.5.2 IcsGetHistoryString@Base 1.5.2 IcsGetHistoryStringI@Base 1.5.2 IcsGetIcsName@Base 1.5.2 IcsGetIdsName@Base 1.5.2 IcsGetImageSize@Base 1.5.2 IcsGetImelSize@Base 1.5.2 IcsGetImelUnits@Base 1.5.2 IcsGetLayout@Base 1.5.2 IcsGetLibVersion@Base 1.5.2 IcsGetNumHistoryStrings@Base 1.5.2 IcsGetOrder@Base 1.5.2 IcsGetPosition@Base 1.5.2 IcsGetPreviewData@Base 1.5.2 IcsGetPropsDataType@Base 1.5.2 IcsGetROIData@Base 1.5.2 IcsGetScilType@Base 1.5.2 IcsGetSensorChannels@Base 1.5.2 IcsGetSensorEmissionWavelength@Base 1.5.2 IcsGetSensorExcitationWavelength@Base 1.5.2 IcsGetSensorLensRI@Base 1.5.2 IcsGetSensorMediumRI@Base 1.5.2 IcsGetSensorModel@Base 1.5.2 IcsGetSensorNumAperture@Base 1.5.2 IcsGetSensorPhotonCount@Base 1.5.2 IcsGetSensorPinholeRadius@Base 1.5.2 IcsGetSensorPinholeSpacing@Base 1.5.2 IcsGetSensorType@Base 1.5.2 IcsGetSignificantBits@Base 1.5.2 IcsGuessScilType@Base 1.5.2 IcsInit@Base 1.5.2 IcsInternAddHistory@Base 1.5.2 IcsLoadPreview@Base 1.5.2 IcsNewHistoryIterator@Base 1.5.2 IcsOpen@Base 1.5.2 IcsOpenIcs@Base 1.5.2 IcsOpenIds@Base 1.5.2 IcsOpenZip@Base 1.5.2 IcsPrintError@Base 1.5.2 IcsPrintIcs@Base 1.5.2 IcsReadCompress@Base 1.5.2 IcsReadIcs@Base 1.5.2 IcsReadIds@Base 1.5.2 IcsReadIdsBlock@Base 1.5.2 IcsReadZipBlock@Base 1.5.2 IcsReplaceHistoryStringI@Base 1.5.2 IcsSetCompression@Base 1.5.2 IcsSetCoordinateSystem@Base 1.5.2 IcsSetData@Base 1.5.2 IcsSetDataWithStrides@Base 1.5.2 IcsSetIdsBlock@Base 1.5.2 IcsSetImelUnits@Base 1.5.2 IcsSetLayout@Base 1.5.2 IcsSetOrder@Base 1.5.2 IcsSetPosition@Base 1.5.2 IcsSetScilType@Base 1.5.2 IcsSetSensorChannels@Base 1.5.2 IcsSetSensorEmissionWavelength@Base 1.5.2 IcsSetSensorExcitationWavelength@Base 1.5.2 IcsSetSensorLensRI@Base 1.5.2 IcsSetSensorMediumRI@Base 1.5.2 IcsSetSensorModel@Base 1.5.2 IcsSetSensorNumAperture@Base 1.5.2 IcsSetSensorPhotonCount@Base 1.5.2 IcsSetSensorPinholeRadius@Base 1.5.2 IcsSetSensorPinholeSpacing@Base 1.5.2 IcsSetSensorType@Base 1.5.2 IcsSetSignificantBits@Base 1.5.2 IcsSetSource@Base 1.5.2 IcsSetZipBlock@Base 1.5.2 IcsSkipDataBlock@Base 1.5.2 IcsSkipIdsBlock@Base 1.5.2 IcsStrCpy@Base 1.5.2 IcsStrToSize@Base 1.5.2 IcsVersion@Base 1.5.2 IcsWriteIcs@Base 1.5.2 IcsWriteIds@Base 1.5.2 IcsWritePlainWithStrides@Base 1.5.2 IcsWriteZip@Base 1.5.2 IcsWriteZipWithStrides@Base 1.5.2 debian/control0000664000000000000000000000373012265624510010601 0ustar Source: libics Priority: optional Section: libs Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Med Packaging Team Uploaders: Mathieu Malaterre Build-Depends: debhelper (>= 9), zlib1g-dev | libz-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://libics.sf.net Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/libics/trunk/ Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libics/trunk/ Package: libics0 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Image Cytometry Standard file reading and writing This is the reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject. . This package contains the libraries needed to run ICS applications. Package: libics-dev Provides: libics0-dev Section: libdevel Architecture: any Depends: libics0 (= ${binary:Version}), ${misc:Depends} Description: Image Cytometry Standard file reading and writing This is the reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject. . This package contains the libraries needed to build ICS applications. Package: libics-doc Section: doc Architecture: all Depends: ${misc:Depends}, doc-base Description: Image Cytometry Standard file reading and writing This is the reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject. . This package contains the libraries documentation for ICS debian/patches/0000775000000000000000000000000012155114475010624 5ustar debian/patches/series0000664000000000000000000000002311737023342012031 0ustar bigendianfix.patch debian/patches/bigendianfix.patch0000664000000000000000000000655111737024327014304 0ustar Description: Fix big endian test Forwarded: Cris Luengo Author: Cris Luengo Applied-Upstream: 10, http://libics.svn.sf.net/viewvc/libics?view=revision&revision=10 Last-Update: 2012-04-04 Index: libics-1.5.2/libics_write.c =================================================================== --- libics-1.5.2.orig/libics_write.c 2010-06-07 13:51:39.000000000 +0200 +++ libics-1.5.2/libics_write.c 2012-04-04 12:48:59.000000000 +0200 @@ -321,7 +321,7 @@ static Ics_Error WriteIcsRep (Ics_Header* IcsStruct, FILE* fp) { ICSDECL; - int problem, ii; + int problem, empty, ii; char line[ICS_LINE_LENGTH]; Ics_Format Format; int Sign; @@ -382,9 +382,15 @@ ICSXR( IcsAddLine (line, fp) ); /* Define the byteorder. This is supposed to resolve little/big - * endian problems. We will overwrite anything the calling function - * put in here. This must be the machine's byte order. */ - IcsFillByteOrder (IcsGetDataTypeSize (IcsStruct->Imel.DataType), IcsStruct->ByteOrder); + * endian problems. If the calling function put something here, + * we'll keep it. Otherwise we fill in the machine's byte order. */ + empty = 0; + for (ii = 0; ii < (int)IcsGetDataTypeSize (IcsStruct->Imel.DataType); ii++) { + empty |= !(IcsStruct->ByteOrder[ii]); + } + if (empty) { + IcsFillByteOrder (IcsGetDataTypeSize (IcsStruct->Imel.DataType), IcsStruct->ByteOrder); + } problem = IcsFirstToken (line, ICSTOK_REPRES); problem |= IcsAddToken (line, ICSTOK_BYTEO); for (ii = 0; ii < (int)IcsGetDataTypeSize (IcsStruct->Imel.DataType) - 1; ii++) { Index: libics-1.5.2/test_ics2a.c =================================================================== --- libics-1.5.2.orig/test_ics2a.c 2010-06-16 18:19:22.000000000 +0200 +++ libics-1.5.2/test_ics2a.c 2012-04-04 12:48:59.000000000 +0200 @@ -52,6 +52,8 @@ IcsSetLayout (ip, dt, ndims, dims); IcsGetIdsName (datafile, argv[1]); IcsSetSource (ip, datafile, 0); + ip->ByteOrder[0] = 1; /* Cheating a little here, to get the correct endianness on */ + ip->ByteOrder[1] = 2; /* any machine type. This should be fixed in the library! */ IcsSetCompression (ip, IcsCompr_uncompressed, 0); retval = IcsClose (ip); if (retval != IcsErr_Ok) { Index: libics-1.5.2/TODO =================================================================== --- libics-1.5.2.orig/TODO 2010-06-18 09:52:48.000000000 +0200 +++ libics-1.5.2/TODO 2012-04-04 12:48:59.000000000 +0200 @@ -21,3 +21,7 @@ with some NULL pointers. Maybe even macros? - IrfanView plugin should be updated, it still has a 3 year old bug. + +- test_ics2a shows an issue with endianness and the ICS file pointing to + an existing data file: we have no good way of determining the endianness + of this data file, and are stuck with using the machine's endinanness. Index: libics-1.5.2/test_ics1.sh =================================================================== --- libics-1.5.2.orig/test_ics1.sh 2010-06-18 10:20:07.000000000 +0200 +++ libics-1.5.2/test_ics1.sh 2012-04-04 12:48:59.000000000 +0200 @@ -1,2 +1 @@ -#!/bin/bash -./test_ics1 $srcdir/test/testim.ics result_v1.ics && cmp -s $srcdir/test/testim.ids result_v1.ids && (( `diff $srcdir/test/testim.ics result_v1.ics | grep -v filename | grep -v -- --- | grep -v 3c3 | wc -l` == 0 )) +./test_ics1 $srcdir/test/testim.ics result_v1.ics