debian/0000755000000000000000000000000012260420347007166 5ustar debian/libudunits2-0.dirs0000644000000000000000000000004512260420272012446 0ustar usr/share/xml usr/share/info usr/lib debian/control0000644000000000000000000000402612260420272010570 0ustar Source: udunits Section: utils Priority: optional Maintainer: Alastair McKinstry Build-Depends: debhelper (>= 9), gfortran, libexpat-dev, libcunit1, libcunit1-dev, texinfo, libtool, autotools-dev, autoconf, automake, texlive, , dh-autoreconf (>= 4~) Standards-Version: 3.9.5 Homepage: http://www.unidata.ucar.edu/software/udunits/ Package: libudunits2-0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info Description: Library for handling of units of physical quantities The UDUNITS package supports units of physical quantities (e.g., meters, seconds). Specifically, it supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. The package is written in the C programming language. Package: libudunits2-dev Section: libdevel Architecture: any Depends: libudunits2-0 ( = ${binary:Version}), ${misc:Depends} Recommends: pkg-config Description: Development files for the libunits physical units package The UDUNITS package supports units of physical quantities (e.g., meters, seconds). Specifically, it supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. The package is written in the C programming language. . This package provides the include files and static libraries for development. Package: udunits-bin Section: utils Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info Description: Utility for handling units of physical quantities udunits is a utility for handling units of physical quantities. It supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. The package is written in the C programming language. debian/udunits-bin.install0000644000000000000000000000002112260420272013005 0ustar usr/bin/udunits2 debian/watch0000644000000000000000000000035112260420272010213 0ustar # format version number, currently 3; this line is compulsory! version=3 # This the format for an FTP site: # Full-site-with-pattern [Version [Action]] ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-(.*)\.tar\.Z debian uupdate debian/source/0000755000000000000000000000000012260420272010463 5ustar debian/source/format0000644000000000000000000000001412260420272011671 0ustar 3.0 (quilt) debian/libudunits2-0.install0000644000000000000000000000042712260420272013157 0ustar usr/lib/*/libudunits2.so.0.1.0 usr/share/xml/udunits/udunits2.xml usr/share/xml/udunits/udunits2-accepted.xml usr/share/xml/udunits/udunits2-base.xml usr/share/xml/udunits/udunits2-common.xml usr/share/xml/udunits/udunits2-derived.xml usr/share/xml/udunits/udunits2-prefixes.xml debian/patches/0000755000000000000000000000000012260420272010612 5ustar debian/patches/pkg-config.patch0000644000000000000000000000314112260420272013656 0ustar Author: Alastair McKinstry Description: Add pkgconfig file to udunits2 Last-Updated: 2013-12-31 Forwarded: no Index: udunits-2.2.0/udunits.pc.in =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ udunits-2.2.0/udunits.pc.in 2013-12-31 00:21:41.000000000 +0000 @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=@libdir@ + +Name: udunits +Description: Library for handling of units of physical quantities +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -ludunits2 +Libs.private: -L${libdir} -ludunits2 -lexpat +CFlags: -I${prefix}/include Index: udunits-2.2.0/configure.ac =================================================================== --- udunits-2.2.0.orig/configure.ac 2013-12-31 00:21:41.000000000 +0000 +++ udunits-2.2.0/configure.ac 2013-12-31 00:22:17.000000000 +0000 @@ -126,6 +126,7 @@ AC_PROG_LIBTOOL AC_CONFIG_FILES([Makefile + udunits.pc lib/Makefile lib/xmlFailures/Makefile lib/xmlSuccesses/Makefile Index: udunits-2.2.0/Makefile.am =================================================================== --- udunits-2.2.0.orig/Makefile.am 2013-12-31 00:21:41.000000000 +0000 +++ udunits-2.2.0/Makefile.am 2013-12-31 00:21:41.000000000 +0000 @@ -25,6 +25,9 @@ distArchive = $(distName).tar.gz DISTCLEANFILES = *.log $(distArchive) +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = @PACKAGE@.pc + success.texi: test/results.tab sleep 2 # to accomodate broken HP-UX B.11.00 make(1) sort -u -t : -k 2,2 -k 4,4 -k 5,5 test/results.tab | \ debian/patches/series0000644000000000000000000000004412260420272012025 0ustar pkg-config.patch config_fixes.patch debian/patches/config_fixes.patch0000644000000000000000000001010712260420272014275 0ustar Author: Alastair McKinstry Description: Fixes needed to make autoreconf work. Last-Updated: 2013-12-31 Forwarded: no Index: udunits-2.2.0/configure.ac =================================================================== --- udunits-2.2.0.orig/configure.ac 2013-12-31 01:17:19.000000000 +0000 +++ udunits-2.2.0/configure.ac 2013-12-31 01:17:19.000000000 +0000 @@ -128,8 +128,5 @@ AC_CONFIG_FILES([Makefile udunits.pc lib/Makefile - lib/xmlFailures/Makefile - lib/xmlSuccesses/Makefile - prog/Makefile - test/Makefile]) + prog/Makefile]) AC_OUTPUT Index: udunits-2.2.0/lib/Makefile.am =================================================================== --- udunits-2.2.0.orig/lib/Makefile.am 2013-12-31 00:51:34.000000000 +0000 +++ udunits-2.2.0/lib/Makefile.am 2013-12-31 01:24:25.000000000 +0000 @@ -5,7 +5,7 @@ # redistribution conditions. # ## Process this file with automake to produce Makefile.in -SUBDIRS = xmlFailures xmlSuccesses +SUBDIRS = lib_LTLIBRARIES = libudunits2.la libudunits2_la_SOURCES = unitcore.c converter.c formatter.c \ idToUnitMap.c idToUnitMap.h \ Index: udunits-2.2.0/Makefile.am =================================================================== --- udunits-2.2.0.orig/Makefile.am 2013-12-31 01:17:19.000000000 +0000 +++ udunits-2.2.0/Makefile.am 2013-12-31 01:30:32.000000000 +0000 @@ -7,9 +7,8 @@ ## Process this file with automake to produce Makefile.in ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib prog -DIST_SUBDIRS = lib prog test +DIST_SUBDIRS = lib prog info_TEXINFOS = udunits2.texi -udunits2_TEXINFOS = success.texi failure.texi make.texi EXTRA_DIST = \ ANNOUNCEMENT \ CHANGE_LOG \ @@ -28,56 +27,6 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = @PACKAGE@.pc -success.texi: test/results.tab - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) - sort -u -t : -k 2,2 -k 4,4 -k 5,5 test/results.tab | \ - awk -F: ' \ - BEGIN { \ - print "@multitable {@code{Linux 2.6.18-1.2257.fc5smp}} {@code{/opt/csw/gcc4/bin/gcc}} {@code{--disable-shared}}"; \ - print "@headitem O/S @tab Compiler @tab @code{configure} Option"; \ - } \ - $$6 == 1 { \ - printf "@item @code{%s} @tab @code{%s} @tab @code{%s}\n", \ - $$2, $$4, $$5; \ - } \ - END { \ - print "@end multitable"; \ - }' >$@ - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) - -failure.texi: test/results.tab - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) - sort -u -t : -k 2,2 -k 4,4 -k 5,5 test/results.tab | \ - awk -F: ' \ - BEGIN { \ - print "@multitable {@code{Linux 2.6.18-1.2257.fc5smp}} {@code{/opt/SUNWspro/bin/c99}} {@code{--disable-shared}}"; \ - print "@headitem O/S @tab Compiler @tab @code{configure} Option"; \ - } \ - $$6 == 0 { \ - printf "@item @code{%s} @tab @code{%s} @tab @code{%s}\n", \ - $$2, $$4, $$5; \ - } \ - END { \ - print "@end multitable"; \ - }' >$@ - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) - -make.texi: test/results.tab - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) - awk -F: '$$6 == 1 {printf "%s:%s\n", $$2, $$3}' test/results.tab | \ - sort -t : -u | \ - awk -F: ' \ - BEGIN { \ - print "@multitable {@code{Linux 2.6.18-1.2257.fc5smp}} {@code{/usr/bin/posix/make}}"; \ - print "@headitem O/S @tab @code{make} Utility"; \ - } \ - { \ - printf "@item @code{%s} @tab @code{%s}\n", $$1, $$2; \ - } \ - END { \ - print "@end multitable"; \ - }' >$@ - sleep 2 # to accomodate broken HP-UX B.11.00 make(1) remote-checks: dist cd test && $(MAKE) $(AM_MAKEFLAGS) $@ @@ -117,9 +66,9 @@ .PHONY: hostchecks hostcheck remote-checks web-update ftp \ download-update available -udunits2.info: version.texi success.texi failure.texi make.texi COPYRIGHT -udunits2.html: version.texi success.texi failure.texi make.texi COPYRIGHT -udunits2.pdf: version.texi success.texi failure.texi make.texi COPYRIGHT +udunits2.info: version.texi COPYRIGHT +udunits2.html: version.texi COPYRIGHT +udunits2.pdf: version.texi COPYRIGHT $(srcdir)/version.texi: $(srcdir)/stamp-vti @cp $(srcdir)/stamp-vti $@ debian/libudunits2-dev.info0000644000000000000000000000001312260420272013052 0ustar lib/*.info debian/rules0000755000000000000000000000223312260420272010243 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LIBDIR:=debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) PKGLIBDIR:=debian/libudunits2-0/usr/lib/$(DEB_HOST_MULTIARCH) DEVLIBDIR:=debian/libudunits2-dev/usr/lib/$(DEB_HOST_MULTIARCH) # magic debhelper rule %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: LDFLAGS=" -Wl,--as-needed $(LDFLAGS)" dh_auto_configure -- --datarootdir=/usr/share/xml override_dh_auto_install: dh_auto_install dh_installchangelogs CHANGE_LOG $(MAKE) pdf html info cp udunits2.info debian/libudunits2-0/usr/share/info cp prog/*info debian/udunits-bin/usr/share/info mkdir -p $(DEVLIBDIR)/pkgconfig cp $(LIBDIR)/*.a $(DEVLIBDIR) cp $(LIBDIR)/pkgconfig/* $(DEVLIBDIR)/pkgconfig # hacks because dh_links doesn't do multiarch yet dh_link -p libudunits2-dev /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0.1.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so dh_link -p libudunits2-0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0.1.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0 debian/compat0000644000000000000000000000000212260420272010361 0ustar 9 debian/libudunits2-dev.install0000644000000000000000000000003212260420272013566 0ustar usr/include/* usr/include debian/udunits-bin.info0000644000000000000000000000001412260420272012274 0ustar prog/*.info debian/udunits-bin.docs0000644000000000000000000000005412260420272012275 0ustar prog/*.pdf prog/*.html ANNOUNCEMENT BACKLOG debian/udunits-bin.dirs0000644000000000000000000000001712260420272012305 0ustar usr/share/info debian/libudunits2-0.shlibs0000644000000000000000000000003612260420272012771 0ustar libudunits2 0 libudunits2-0 debian/libudunits2-dev.docs0000644000000000000000000000005212260420272013052 0ustar lib/*.pdf lib/*.html ANNOUNCEMENT BACKLOG debian/libudunits2-0.docs0000644000000000000000000000000012260420272012424 0ustar debian/changelog0000644000000000000000000000667612260420272011054 0ustar udunits (2.2.0-1) unstable; urgency=medium * New upstream release. Refresth pkg-config patch. * Standards-Version: 3.9.5 * config_fixes.patch needed for autoreconf to work -- Alastair McKinstry Tue, 31 Dec 2013 00:20:27 +0000 udunits (2.1.23-4) unstable; urgency=low * Standards-Version: 3.9.4 * debhelper version 9, Add dependency on 9 now. * Pass LDFLAGS properly, to enable hardening. * Remove M-A: same from -dev package. Closes: #706168. -- Alastair McKinstry Fri, 24 May 2013 09:10:22 +0100 udunits (2.1.23-3) unstable; urgency=low * ld-as-needed patch not robust. Use new dh_autoreconf --as-needed method. Closes: #652223* -- Alastair McKinstry Fri, 16 Dec 2011 12:03:35 +0000 udunits (2.1.23-2) unstable; urgency=low * Move to debhelper >> 7, from cdbs. * Add LDFLAGS=" -Wl,--as-needed" to remove unnecessary dependencies. Include patch to fix libtool reordering. * Multiarch support. * Docs: Add BACKLOG to docs; ship less docs in library, but all docs in -dev and -bin packages. -- Alastair McKinstry Tue, 13 Sep 2011 10:04:53 +0100 udunits (2.1.23-1) unstable; urgency=low * New upstream release. Library version number 0.0.0 -> 0.1.0 * Move Standards-Version: 3.9.2 -- Alastair McKinstry Sat, 18 Jun 2011 04:56:19 +0100 udunits (2.1.15-4) unstable; urgency=low * Add patch from Stefan Tibus to fix typo in definition. Closes: #585848. -- Alastair McKinstry Sat, 19 Jun 2010 19:53:50 +0100 udunits (2.1.15-3) unstable; urgency=low * Fix typo in static libs definition of udunits.pc. -- Alastair McKinstry Wed, 09 Jun 2010 18:41:47 +0100 udunits (2.1.15-2) unstable; urgency=low * Add udunits.pc pkg-config file. Used in cmor package among others. -- Alastair McKinstry Sun, 06 Jun 2010 21:09:26 +0100 udunits (2.1.15-1) unstable; urgency=low * New upstream release. -- Alastair McKinstry Thu, 03 Jun 2010 20:18:44 +0100 udunits (2.1.14-1) unstable; urgency=low * New upstream. * Move to Standards-Version: 3.8.4. * Now in Source format 3.0 -- Alastair McKinstry Thu, 22 Apr 2010 10:52:04 +0100 udunits (2.1.8-3) unstable; urgency=low * Add autoreconf, to ensure build works. * Add missing -dev documentation (pdf, info files). -- Alastair McKinstry Sun, 08 Nov 2009 17:34:17 +0000 udunits (2.1.8-2) unstable; urgency=low * FTBFS: automake,texlive needed in Build-Depends. Closes: #535653, #545259. -- Alastair McKinstry Fri, 11 Sep 2009 21:49:03 +0100 udunits (2.1.8-1) unstable; urgency=low * New upstream release. * Add autoconf to Build-Depends: * Add dpkg (>= 1.15.4) | install-info as required by policy. (Thanks Lintian). -- Alastair McKinstry Tue, 08 Sep 2009 14:15:15 +0100 udunits (2.1.7-1) unstable; urgency=low * Initial release. (Closes: #532430) * Changes since REJECTED: - Added necessary download location to debian/copyright - Moved to Standards-Release 3.8.3. - Add DEB_AUTO_UPDATE_LIBTOOL to debian/rules to fix libtool version skew. - Add expat copyright tdebian/copyright. - Add autoreconf, to cope with libtool changes in build environmnent. -- Alastair McKinstry Wed, 02 Sep 2009 19:57:57 +0100 debian/copyright0000644000000000000000000000627212260420272011125 0ustar This package was debianised by Alastair McKinstry on Monday, 8 June 2009. Copyright 2008, 2009 University Corporation for Atmospheric Research Downloaded from: http://www.unidata.ucar.edu/software/udunits/ Access and use of this software shall impose the following obligations and understandings on the user. The user is granted the right, without any fee or cost, to use, copy, modify, alter, enhance and distribute this software, and any derivative works thereof, and its supporting documentation for any purpose whatsoever, provided that this entire notice appears in all copies of the software, derivative works and supporting documentation. Further, UCAR requests that the user credit UCAR/Unidata in any publications that result from the use of this software or in any product that includes this software, although this is not an obligation. The names UCAR and/or Unidata, however, may not be used in any advertising or publicity to endorse or promote any products or commercial entity unless specific written permission is obtained from UCAR/Unidata. The user also understands that UCAR/Unidata is not obligated to provide the user with any support, consulting, training or assistance of any kind with regard to the use, operation and performance of this software nor to provide the user with any updates, revisions, new versions or "bug fixes." THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "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 UCAR/UNIDATA 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 ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. Expat ===== udunits uses an external copy of expat, but contains the expat source code, which has the following copyright notice: Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. 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.