debian/0000755000000000000000000000000012260045473007171 5ustar debian/patches/0000755000000000000000000000000012014022413010602 5ustar debian/patches/series0000644000000000000000000000005012014022330012010 0ustar 001-fix-hyphen-used-as-minus-sign.patch debian/patches/001-fix-hyphen-used-as-minus-sign.patch0000644000000000000000000000636312014022413017636 0ustar From: Roberto Lumbreras Subject: fix hyphens used instead of minus signs in manpages Index: libdmtx-0.7.4/man/libdmtx.3 =================================================================== --- libdmtx-0.7.4.orig/man/libdmtx.3 2011-06-02 09:09:36.000000000 +0200 +++ libdmtx-0.7.4/man/libdmtx.3 2012-08-19 01:28:03.908556590 +0200 @@ -9,14 +9,14 @@ .SH SYNOPSIS \fB#include \fP -cc file.c -ldmtx +cc file.c \-ldmtx .SH DESCRIPTION \fIlibdmtx\fP is a software library that enables programs to read and write Data Matrix barcodes of the modern ECC200 variety. The library runs natively on several platforms, and can be accessed by multiple languages using the libdmtx language wrappers. The utility programs \fIdmtxread\fP and \fIdmtxwrite\fP provide a command line interface for libdmtx, and serve as a good reference for developers writing their own libdmtx-enabled programs. Data Matrix barcodes store data as a pattern of ON and OFF modules (often black on white) in a grid pattern that resembles a checkerboard. Like other 2D symbologies, Data Matrix barcodes have a large data capacity compared to their traditional 1D cousins, and employ sophisticated error correction techniques. Data Matrix barcodes can be square or rectangle in shape, and offer several encodation schemes for optimized storage of text and/or binary data. The Data Matrix symbology was invented and released into the public domain by RVSI Acuity CiMatrix. -.SH ENCODING - Generating Data Matrix Barcodes +.SH ENCODING \- Generating Data Matrix Barcodes C/C++ programs can generate a barcode with just a few basic calls to libdmtx: 1. Call \fBdmtxEncodeCreate()\fP @@ -35,7 +35,7 @@ Releases memory allocated during the encoding process. -.SH DECODING - Reading Data Matrix Barcodes +.SH DECODING \- Reading Data Matrix Barcodes Barcode reading takes more steps than barcode generation, mainly because libdmtx must find a barcode region before it can decode the message. However, this too is a relatively simple process that uses 4 main structures: \fBDmtxImage\fP holds image properties and a pointer to pixel data held by the calling program. @@ -120,13 +120,13 @@ /* 2) COPY the new image data before releasing encoding memory */ - width = dmtxImageGetProp(enc->image, DmtxPropWidth); - height = dmtxImageGetProp(enc->image, DmtxPropHeight); - bytesPerPixel = dmtxImageGetProp(enc->image, DmtxPropBytesPerPixel); + width = dmtxImageGetProp(enc\->image, DmtxPropWidth); + height = dmtxImageGetProp(enc\->image, DmtxPropHeight); + bytesPerPixel = dmtxImageGetProp(enc\->image, DmtxPropBytesPerPixel); pxl = (unsigned char *)malloc(width * height * bytesPerPixel); assert(pxl != NULL); - memcpy(pxl, enc->image->pxl, width * height * bytesPerPixel); + memcpy(pxl, enc\->image\->pxl, width * height * bytesPerPixel); dmtxEncodeDestroy(&enc); @@ -143,7 +143,7 @@ msg = dmtxDecodeMatrixRegion(dec, reg, DmtxUndefined); if(msg != NULL) { fputs("output: \\"", stdout); - fwrite(msg->output, sizeof(unsigned char), msg->outputIdx, stdout); + fwrite(msg\->output, sizeof(unsigned char), msg\->outputIdx, stdout); fputs("\\"\\n", stdout); dmtxMessageDestroy(&msg); } debian/source/0000755000000000000000000000000011725221563010472 5ustar debian/source/format0000644000000000000000000000001411302042061011661 0ustar 3.0 (quilt) debian/libdmtx0a.docs0000644000000000000000000000004711120163041011712 0ustar KNOWNBUG NEWS README README.linux TODO debian/watch0000644000000000000000000000013311120163041010201 0ustar version=3 http://sf.net/libdmtx/libdmtx-?_?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian/libdmtx0a.install0000644000000000000000000000002711725267174012455 0ustar usr/lib/*/libdmtx.so.* debian/compat0000644000000000000000000000000211725267700010373 0ustar 8 debian/copyright0000644000000000000000000000375112014015233011116 0ustar This package was Debianized by by Roberto Lumbreras on Thu, 14 Feb 2008 12:46:08 +0100. It was downloaded from http://www.libdmtx.org/ Copyright 2005-2011 Mike Laughton and others. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the libdmtx project. -------------------------------------------------------------------------------- ALTERNATE TERMS Redistributions in binary form, with or without modification, are permitted without including the above copyright notice, list of conditions, and disclaimer if express written permission has been obtained from Dragonfly Logic, Inc. debian/libdmtx0a.symbols0000644000000000000000000000460312014020340012451 0ustar libdmtx.so.0 libdmtx0a #MINVER# dmtxByteListBuild@Base 0.7.4 dmtxByteListClear@Base 0.7.4 dmtxByteListCopy@Base 0.7.4 dmtxByteListHasCapacity@Base 0.7.4 dmtxByteListInit@Base 0.7.4 dmtxByteListPop@Base 0.7.4 dmtxByteListPrint@Base 0.7.4 dmtxByteListPush@Base 0.7.4 dmtxDecodeCreate@Base 0.7.0 dmtxDecodeCreateDiagnostic@Base 0.7.0 dmtxDecodeDestroy@Base 0.7.0 dmtxDecodeGetCache@Base 0.7.0 dmtxDecodeGetPixelValue@Base 0.7.0 dmtxDecodeGetProp@Base 0.7.0 dmtxDecodeMatrixRegion@Base 0.5.1 dmtxDecodeMosaicRegion@Base 0.5.1 dmtxDecodeSetProp@Base 0.5.2 dmtxDistanceAlongRay2@Base 0.5.1 dmtxDistanceFromRay2@Base 0.5.1 dmtxEncodeCreate@Base 0.7.0 dmtxEncodeDataMatrix@Base 0.5.1 dmtxEncodeDataMosaic@Base 0.5.1 dmtxEncodeDestroy@Base 0.7.0 dmtxEncodeGetProp@Base 0.7.0 dmtxEncodeSetProp@Base 0.7.0 dmtxGetBlockDataSize@Base 0.5.2 dmtxGetSymbolAttribute@Base 0.5.1 dmtxImageContainsFloat@Base 0.5.2 dmtxImageContainsInt@Base 0.5.2 dmtxImageCreate@Base 0.7.0 dmtxImageDestroy@Base 0.7.0 dmtxImageGetByteOffset@Base 0.7.0 dmtxImageGetPixelValue@Base 0.7.0 dmtxImageGetProp@Base 0.5.2 dmtxImageSetChannel@Base 0.7.0 dmtxImageSetPixelValue@Base 0.7.0 dmtxImageSetProp@Base 0.5.2 dmtxMatrix3Copy@Base 0.5.1 dmtxMatrix3Identity@Base 0.5.1 dmtxMatrix3LineSkewSide@Base 0.5.1 dmtxMatrix3LineSkewSideInv@Base 0.5.1 dmtxMatrix3LineSkewTop@Base 0.5.1 dmtxMatrix3LineSkewTopInv@Base 0.5.1 dmtxMatrix3Multiply@Base 0.5.1 dmtxMatrix3MultiplyBy@Base 0.5.1 dmtxMatrix3Print@Base 0.5.1 dmtxMatrix3Rotate@Base 0.5.1 dmtxMatrix3Scale@Base 0.5.1 dmtxMatrix3Shear@Base 0.5.1 dmtxMatrix3Translate@Base 0.5.1 dmtxMatrix3VMultiply@Base 0.5.1 dmtxMatrix3VMultiplyBy@Base 0.5.1 dmtxMessageCreate@Base 0.7.0 dmtxMessageDestroy@Base 0.7.0 dmtxPointAlongRay2@Base 0.5.1 dmtxRay2Intersect@Base 0.5.1 dmtxRegionCreate@Base 0.7.0 dmtxRegionDestroy@Base 0.7.0 dmtxRegionFindNext@Base 0.7.0 dmtxRegionScanPixel@Base 0.6.0 dmtxRegionUpdateCorners@Base 0.6.0 dmtxRegionUpdateXfrms@Base 0.6.0 dmtxSymbolModuleStatus@Base 0.5.1 dmtxTimeAdd@Base 0.5.1 dmtxTimeExceeded@Base 0.5.1 dmtxTimeNow@Base 0.5.1 dmtxVector2Add@Base 0.5.1 dmtxVector2AddTo@Base 0.5.1 dmtxVector2Cross@Base 0.5.1 dmtxVector2Dot@Base 0.5.1 dmtxVector2Mag@Base 0.5.1 dmtxVector2Norm@Base 0.5.1 dmtxVector2Scale@Base 0.5.1 dmtxVector2ScaleBy@Base 0.5.1 dmtxVector2Sub@Base 0.5.1 dmtxVector2SubFrom@Base 0.5.1 dmtxVersion@Base 0.5.1 debian/libdmtx-dev.install0000644000000000000000000000014212014021267012765 0ustar usr/include/* usr/lib/*/libdmtx.a usr/lib/*/libdmtx.so usr/lib/*/pkgconfig/* usr/share/man/man3/* debian/changelog0000644000000000000000000000411312260045473011042 0ustar libdmtx (0.7.4-2) unstable; urgency=low * Updated standards. * Use dh-autoreconf to update libtool.m4 for new ports. (Closes: #733021) -- Roberto Lumbreras Sun, 29 Dec 2013 17:17:36 +0100 libdmtx (0.7.4-1) unstable; urgency=low * New upstream version. Source split in two tarballs: libdmtx and dmtx-utils (new package); libdmtx-utils becomes a transitional package for dmtx-utils. -- Roberto Lumbreras Mon, 20 Aug 2012 17:34:19 +0200 libdmtx (0.7.2-3) unstable; urgency=low * Depend on libtiff-dev instead of libtiff4-dev. (Closes: #681821) * Do not install .la file. Install pkgconfig file. -- Roberto Lumbreras Sun, 19 Aug 2012 02:54:34 +0200 libdmtx (0.7.2-2) unstable; urgency=low * Updated standards. * Depend on libpng-dev instead of libpng12-dev. (Closes: #662396) * Multiarch support. -- Roberto Lumbreras Tue, 06 Mar 2012 03:08:36 +0100 libdmtx (0.7.2-1) unstable; urgency=low * New upstream version. * Standards 3.8.3. * Switch to source format 3.0 (quilt) -- Roberto Lumbreras Sun, 22 Nov 2009 20:43:00 +0100 libdmtx (0.7.0-1) unstable; urgency=low * New upstream version. Renamed libdmtx0 to libdmtx0a because of API changes, conflicting with libdmtx0 but not replacing it (old binaries won't work with new library). * Updated standards. -- Roberto Lumbreras Wed, 08 Jul 2009 10:20:45 +0200 libdmtx (0.6.0-1) unstable; urgency=low * New upstream version. -- Roberto Lumbreras Wed, 10 Dec 2008 17:52:26 +0100 libdmtx (0.5.2-1) unstable; urgency=low * New upstream version. -- Roberto Lumbreras Tue, 07 Oct 2008 17:29:47 +0200 libdmtx (0.5.1-2) unstable; urgency=low * Add libdmtx0.symbols file. * Set debhelper compatibility level to 7. -- Roberto Lumbreras Wed, 20 Aug 2008 23:24:05 +0200 libdmtx (0.5.1-1) unstable; urgency=low * Initial release. (Closes: #459625) -- Roberto Lumbreras Mon, 07 Jul 2008 11:53:45 +0200 debian/control0000644000000000000000000000270512260044051010567 0ustar Source: libdmtx Section: libs Priority: optional Maintainer: Roberto Lumbreras Build-Depends: cdbs (>=0.4.93~), debhelper (>= 9), dh-autoreconf Standards-Version: 3.9.5 Homepage: http://www.libdmtx.org Package: libdmtx0a Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libdmtx0 Description: Data Matrix barcodes (runtime library) Libdmtx is a library for reading and writing Data Matrix 2D barcodes, two-dimensional symbols that hold a dense pattern of data with built-in error correction. . This package provides the Libdmtx runtime library. Package: libdmtx-dev Section: libdevel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libdmtx0a (= ${binary:Version}) Description: Data Matrix barcodes (development files and static libraries) Libdmtx is a library for reading and writing Data Matrix 2D barcodes, two-dimensional symbols that hold a dense pattern of data with built-in error correction. . This package contains the static libraries and C header files needed for development of applications with Libdmtx. Package: libdmtx-utils Section: oldlibs Priority: extra Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, dmtx-utils Description: transitional package for dmtx-utils This is a transitional package for dmtx-utils, and can be safely removed after the installation is complete. debian/rules0000755000000000000000000000102412260044165010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk DEB_DH_INSTALL_SOURCEDIR := debian/tmp DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) binary-predeb/libdmtx-dev:: cd debian/libdmtx-dev/usr/share/doc/libdmtx-dev && \ rm -f AUTHORS* README* NEWS* TODO* binary-predeb/libdmtx-utils:: cd debian/libdmtx-utils/usr/share/doc/libdmtx-utils && \ rm -f AUTHORS* README* NEWS* TODO* changelog.gz