--- e00compr-1.0.0.orig/debian/dirs +++ e00compr-1.0.0/debian/dirs @@ -0,0 +1 @@ +usr/bin --- e00compr-1.0.0.orig/debian/docs +++ e00compr-1.0.0/debian/docs @@ -0,0 +1,2 @@ +e00compr.html +e00compr.txt --- e00compr-1.0.0.orig/debian/control +++ e00compr-1.0.0/debian/control @@ -0,0 +1,28 @@ +Source: e00compr +Section: science +Priority: optional +Maintainer: Debian GIS Project +Uploaders: Paul Wise , Francesco Paolo Lovergine +Build-Depends: debhelper (>= 5.0.0) +Standards-Version: 3.7.2 + +Package: e00compr +Architecture: any +Depends: ${shlibs:Depends} +Suggests: avce00 +Enhances: grass +Description: a program to read/write Arc/Info compressed E00 files + E00compr is an ANSI C library that reads and writes Arc/Info compressed E00 + files. Both "PARTIAL" and "FULL" compression levels are supported. E00 files + are the vector import/export format for Arc/Info. It is plain ASCII and is + meant as an interchange format. ESRI considers the format to be proprietary, + so this package may not read all E00 files as ESRI may change the format. + . + This package is useful for importing E00 files into the grass GIS system. + . + It contains the e00conv command-line program, which takes a E00 file as + input (compressed or not) and copies it to a new file with the requested + compression level (NONE, PARTIAL or FULL). The library is not included + at this stage. + . + Homepage: http://avce00.maptools.org/e00compr/ --- e00compr-1.0.0.orig/debian/rules +++ e00compr-1.0.0/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -W -pedantic -g -D_REENTRANT + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" + +clean: + dh_testdir + dh_testroot + -$(MAKE) clean + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs HISTORY.TXT + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# do nothing +binary-indep: + +binary: binary-arch binary-indep +.PHONY: build clean binary-arch binary install binary-indep --- e00compr-1.0.0.orig/debian/watch +++ e00compr-1.0.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://avce00.maptools.org/e00compr/ .*e00compr-([\d.]*)\.tar\.gz debian uupdate --- e00compr-1.0.0.orig/debian/changelog +++ e00compr-1.0.0/debian/changelog @@ -0,0 +1,52 @@ +e00compr (1.0.0-6) unstable; urgency=low + + * Sigh, missed debian/examples file added to svn repository. + Now forcing rebuild to include sample code. This is the last upload for today, I guess. + + -- Francesco Paolo Lovergine Wed, 25 Oct 2006 20:32:25 +0200 + +e00compr (1.0.0-5) unstable; urgency=high + + * Now install sample code for true. + + -- Francesco Paolo Lovergine Wed, 25 Oct 2006 16:50:02 +0200 + +e00compr (1.0.0-4) unstable; urgency=high + + Merged missed changes from svn by Paul Wise: + + * Make the Homepage conform to the developers reference + * Fix the watch file so it works + + -- Francesco Paolo Lovergine Wed, 25 Oct 2006 16:33:52 +0200 + +e00compr (1.0.0-3) unstable; urgency=high + + * Tsk, missing dependency for binary-arch target causes autobuild failure. + (closes: #395001) + * Policy bumped to 3.7.2 (no changes) + * Pabs e-mail updated. + * debconf compat changed to 5 + * Added binary-indep target to have lintian happy + + -- Francesco Paolo Lovergine Wed, 25 Oct 2006 16:11:30 +0200 + +e00compr (1.0.0-2) unstable; urgency=low + + * Apply endianness fix from Francesco Paolo Lovergine (Closes: #339020) + * debian/control: Add avce00 to Suggests (Closes: #338551, #339285) + * debian/control: Add information about E00 files (Closes: #333757) + * debian/control: Add grass to Enhances + + -- Paul Wise Tue, 15 Nov 2005 15:43:39 +0800 + +e00compr (1.0.0-1) unstable; urgency=low + + * Initial release (Closes: #329925) + - Doesn't include a library because only the converter program is + needed by grass and also upstream does not support building a shared + version of the library, which are preferred for security reasons. + * Upload sponsored by Petter Reinholdtsen. + + -- Paul Wise Sat, 24 Sep 2005 22:33:45 +0800 + --- e00compr-1.0.0.orig/debian/e00conv.1 +++ e00compr-1.0.0/debian/e00conv.1 @@ -0,0 +1,29 @@ +.TH E00CONV 1 "September 24, 2005" +.SH NAME +e00conv \- Converts Arc/Info E00 files from +one level of compression to another. +.SH SYNOPSIS +.B e00conv +.RI " [NONE|PARTIAL|FULL]" +.SH DESCRIPTION +.B e00conv +is a program takes a E00 file as input (compressed or not) and +copies it to a new file with the requested compression level +(NONE, PARTIAL or FULL). +.SH OPTIONS +.P +input_file is the name of the E00 file to read from. +.P +output_file is the name of the file to create. +If the file already exists then it is overwritten. +.P +The last argument is optional and specifies the compression level +to use when creating the output file (one of NONE, PARTIAL or FULL). +The default is NONE (uncompressed). +.SH SEE ALSO +The program documentation available in HTML format. +.SH AUTHOR +e00conv was written by Daniel Morissette . +.PP +This manual page was written by Paul Wise , +for the Debian project (but may be used by others). --- e00compr-1.0.0.orig/debian/manpages +++ e00compr-1.0.0/debian/manpages @@ -0,0 +1 @@ +debian/e00conv.1 --- e00compr-1.0.0.orig/debian/compat +++ e00compr-1.0.0/debian/compat @@ -0,0 +1 @@ +5 --- e00compr-1.0.0.orig/debian/copyright +++ e00compr-1.0.0/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Paul Wise on +Wed, 21 Sep 2005 17:27:22 +0800. + +It was downloaded from http://avce00.maptools.org/e00compr/ + +Copyright: + +Copyright (c) 1998-2005, Daniel Morissette +Copyright (c) 1998-1999, Frank Warmerdam + +License: + +The AVCE00 library and the supporting CPL code are freely available under +the following Open Source license terms: + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. --- e00compr-1.0.0.orig/debian/examples +++ e00compr-1.0.0/debian/examples @@ -0,0 +1,4 @@ +ex_read.c +ex_readcb.c +ex_write.c +ex_writecb.c --- e00compr-1.0.0.orig/debian/doc-base +++ e00compr-1.0.0/debian/doc-base @@ -0,0 +1,12 @@ +Document: e00compr +Title: e00compr Documentation +Author: Daniel Morissette +Abstract: E00compr library and conversion program documentation. +Section: Apps/Science + +Format: text +Files: /usr/share/doc/e00compr/e00compr.txt.gz + +Format: HTML +Index: /usr/share/doc/e00compr/e00compr.html +Files: /usr/share/doc/e00compr/e00compr.html --- e00compr-1.0.0.orig/debian/install +++ e00compr-1.0.0/debian/install @@ -0,0 +1 @@ +e00conv usr/bin --- e00compr-1.0.0.orig/cpl_port.h +++ e00compr-1.0.0/cpl_port.h @@ -171,6 +171,14 @@ * This should be defined in the Makefile, but if it is not then * the default is CPL_LSB (Intel ordering, LSB first). *--------------------------------------------------------------------*/ + +#include +#if __BYTE_ORDER == __LITTLE_ENDIAN +# define CPL_LSB +#elif __BYTE_ORDER == __BIG_ENDIAN +# define CPL_MSB +#endif + #if ! ( defined(CPL_LSB) || defined(CPL_MSB) ) #define CPL_LSB #endif