debian/0000755000000000000000000000000012244067106007170 5ustar debian/watch0000644000000000000000000000105012244066601010214 0ustar version=3 # official tarball releases # #opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/" \ #https://code.google.com/p/libkml/downloads/list?can=1 \ #(?:.*/)?(?:rel|v|libkml)[\-\_](\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) # subversion revisions # opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/^\d+$/1.3.0~r$&/" \ https://code.google.com/p/libkml/source/list \ (?:.*/)?detail\?r=(\d+) debian/source.lintian-overrides0000644000000000000000000000066412244066601014055 0ustar # Upstream provides no tarballs without windows DLLs libkml source: source-contains-prebuilt-windows-binary third_party/expat.win32/libexpat.dll libkml source: source-contains-prebuilt-windows-binary third_party/expat.win32/libexpatw.dll libkml source: source-contains-prebuilt-windows-binary third_party/zlib-1.2.3.win32/bin/minizip.dll libkml source: source-contains-prebuilt-windows-binary third_party/zlib-1.2.3.win32/bin/zlib1.dll debian/libkml-java.lintian-overrides0000644000000000000000000000052512244066601014742 0ustar # SONAMEs change together libkml-java: package-name-doesnt-match-sonames libkmlbase-swig-java0 libkmldom-swig-java0 libkmlengine-swig-java0 # Using shlibs for C++ library libkml-java: no-symbols-control-file # swig only generates bindings for the default JRE libkml-java: incompatible-java-bytecode-format Java7 version (Class format: 51) debian/copyright0000644000000000000000000005104112244066601011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libxml Upstream-Contact: Google Inc. Source: https://code.google.com/p/libkml/ License: BSD-3-Clause Files: * Copyright: 2008-2010, Google Inc. License: BSD-3-Clause Files: third_party/googletest-r108/* Copyright: 2005-2008, Google Inc License: BSD-3-Clause Files: config/ltmain.sh Copyright: 1996-2001, 2003-2008, Free Software Foundation, Inc License: GPL-2.0+ with Libtool exception Files: third_party/boost_1_34_1/boost/config/abi/borland_prefix.hpp third_party/boost_1_34_1/boost/config/abi/borland_suffix.hpp third_party/boost_1_34_1/boost/config/abi/msvc_prefix.hpp third_party/boost_1_34_1/boost/config/abi/msvc_suffix.hpp third_party/boost_1_34_1/boost/config/abi_prefix.hpp third_party/boost_1_34_1/boost/config/abi_suffix.hpp third_party/boost_1_34_1/boost/config/auto_link.hpp third_party/boost_1_34_1/boost/config/requires_threads.hpp Copyright: 2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/no_tr1/complex.hpp third_party/boost_1_34_1/boost/config/no_tr1/functional.hpp third_party/boost_1_34_1/boost/config/no_tr1/memory.hpp third_party/boost_1_34_1/boost/config/no_tr1/utility.hpp Copyright: 2005, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/greenhills.hpp third_party/boost_1_34_1/boost/config/platform/beos.hpp third_party/boost_1_34_1/boost/config/user.hpp Copyright: 2001, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/compaq_cxx.hpp third_party/boost_1_34_1/boost/config/platform/cygwin.hpp third_party/boost_1_34_1/boost/config/posix_features.hpp Copyright: 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/sgi_mipspro.hpp third_party/boost_1_34_1/boost/config/platform/aix.hpp third_party/boost_1_34_1/boost/config/stdlib/vacpp.hpp Copyright: 2001-2002, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/irix.hpp third_party/boost_1_34_1/boost/config/platform/solaris.hpp Copyright: 2003, Jens Maurer 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config.hpp third_party/boost_1_34_1/boost/config/platform/amigaos.hpp Copyright: 2002, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/hp_acc.hpp Copyright: 2002, Aleksey Gurtovoy 2006, Boris Gubenko 2002-2003, David Abrahams 2001-2003, Jens Maurer 2001-2003, John Maddock 2003, Toon Knapen License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/borland.hpp Copyright: 2002, Aleksey Gurtovoy 2002-2003, David Abrahams 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/mpw.hpp Copyright: 2002, Aleksey Gurtovoy 2001-2002, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/visualc.hpp Copyright: 2002, Aleksey Gurtovoy 2002-2003, Beman Dawes 2001-2002, Darin Adler 2002-2003, David Abrahams 2001-2003, John Maddock 2001, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/common_edg.hpp Copyright: 2002, Aleksey Gurtovoy 2002, David Abrahams 2001, Jens Maurer 2001-2002, John Maddock 2005, Markus Schöpflin License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/kai.hpp Copyright: 2002, Aleksey Gurtovoy 2002, David Abrahams 2001, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/intel.hpp Copyright: 2002-2003, Aleksey Gurtovoy 2003, Beman Dawes 2002-2003, David Abrahams 2002-2003, Guillaume Melquiond 2001, Jens Maurer 2001, John Maddock 2003, Martin Wille 2001, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/sunpro_cc.hpp Copyright: 2002-2003, Aleksey Gurtovoy 2002, David Abrahams 2001-2003, Jens Maurer 2001, John Maddock 2002, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/comeau.hpp Copyright: 2003, Aleksey Gurtovoy 2003, Beman Dawes 2001, Douglas Gregor 2003, Jens Maurer 2001, John Maddock 2001, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/win32.hpp Copyright: 2003, Aleksey Gurtovoy 2001, Bill Kempf 2001-2003, John Maddock 2005, Rene Rivera License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/metrowerks.hpp Copyright: 2001-2003, Beman Dawes 2001, Darin Adler 2001-2002, David Abrahams 2001, John Maddock 2001, Peter Dimov 2004, Stefan Slapeta License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/gcc.hpp Copyright: 2001-2003, Beman Dawes 2001-2002, Darin Adler 2002-2003, David Abrahams 2002, Douglas Gregor 2001-2002, Jens Maurer 2001-2003, John Maddock 2003, Synge Todo License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/libcomo.hpp Copyright: 2002-2003, Beman Dawes 2002-2003, Jens Maurer 2002-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/vacpp.hpp Copyright: 2002-2003, Beman Dawes 2001-2003, John Maddock 2001, Lie-Quan Lee 2002-2003, Markus Schöpflin 2001-2003, Toon Knapen License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/suffix.hpp Copyright: 2002, Bill Kempf 2001, Darin Adler 2002-2003, David Abrahams 2003, Eric Friedman 2003, Gennaro Prota 2002, Jens Maurer 2001-2003, John Maddock 2001, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/macos.hpp Copyright: 2002, Bill Kempf 2001-2002, Darin Adler 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/hpux.hpp Copyright: 2006, Boris Gubenko 2002, David Abrahams 2001-2003, Jens Maurer 2001-2003, John Maddock 2003, Toon Knapen License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/digitalmars.hpp Copyright: 2003, Christof Meerwald 2003, Dan Watkins License: BSL-1.0 Files: third_party/boost_1_34_1/boost/checked_delete.hpp Copyright: 2002-2003, Peter Dimov 2003, Daniel Frey 2003, Howard Hinnant License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/bsd.hpp Copyright: 2001, Darin Adler 2002, Douglas Gregor 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/stlport.hpp Copyright: 2001, Darin Adler 2001, Jens Maurer 2001-2002, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/sgi.hpp Copyright: 2001, Darin Adler 2001-2003, Jens Maurer 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/msl.hpp Copyright: 2001, Darin Adler 2001, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/detail/workaround.hpp Copyright: 2002, David Abrahams License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/dinkumware.hpp Copyright: 2002, David Abrahams 2003, Guillaume Melquiond 2001, Jens Maurer 2001-2003, John Maddock 2001, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/roguewave.hpp Copyright: 2003, David Abrahams 2001, Jens Maurer 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/scoped_ptr.hpp Copyright: 2001-2002, Peter Dimov 1998-1999, Greg Colvin and Beman Dawes License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/select_compiler_config.hpp Copyright: 2003, Guillaume Melquiond 2001-2003, John Maddock 2003, Martin Wille License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/modena.hpp Copyright: 2001, Jens Maurer License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/select_platform_config.hpp Copyright: 2001, Jens Maurer 2001-2002, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/stdlib/libstdcpp3.hpp Copyright: 2001, Jens Maurer 2001, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/linux.hpp Copyright: 2001-2003, Jens Maurer 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/select_stdlib_config.hpp Copyright: 2001-2002, Jens Maurer 2001-2003, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/platform/qnxnto.hpp Copyright: 2005, Jim Douglas License: BSL-1.0 Files: third_party/boost_1_34_1/boost/config/compiler/gcc_xml.hpp Copyright: 2006, John Maddock License: BSL-1.0 Files: third_party/boost_1_34_1/boost/intrusive_ptr.hpp Copyright: 2001-2002, Peter Dimov License: BSL-1.0 Files: third_party/boost_1_34_1/boost/assert.hpp Copyright: 2001-2002, Peter Dimov and Multi Media Ltd License: BSL-1.0 Files: third_party/expat.win32/expat.h third_party/expat.win32/expat_external.h Copyright: 1998-2000, Thai Open Source Software Center Ltd License: MIT Files: third_party/uriparser-0.7.5/* Copyright: 2007, Sebastian Pipping 2007, Weijia Song License: BSD-3-Clause Files: third_party/uriparser-0.7.5/build-aux/ltmain.sh Copyright: 1996-2001, 2003-2008, Free Software Foundation, Inc. License: GPL-2.0+ with Libtool exception Files: third_party/uriparser-0.7.5/test/FourSuite.cpp third_party/uriparser-0.7.5/test/FourSuite.h third_party/uriparser-0.7.5/test/test.cpp Copyright: 2007, Sebastian Pipping 2007, Weijia Song License: LGPL-2.1+ Files: third_party/zlib-1.2.3/contrib/minizip/unzip.c Copyright: 1990-2000, Info-ZIP. 1998-2005, Gilles Vollant Comment: Decryption code comes from crypt.c by Info-ZIP but has been greatly reduced in terms of compatibility with older software. The following is from the original crypt.c. Code woven in by Terry Thorsen 1/2003. . Copyright (c) 1990-2000 Info-ZIP. All rights reserved. . See the accompanying file LICENSE, version 2000-Apr-09 or later (the contents of which are also included in zip.h) for terms of use. If, for some reason, all these files are missing, the Info-ZIP license also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html . crypt.c (full version) by Info-ZIP. Last revised: [see crypt.h] . The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were originally written in Europe. The whole source package can be freely distributed, including from the USA. (Prior to January 2000, re-export from the US was a violation of US law.) . This encryption code is a direct transcription of the algorithm from Roger Schlafly, described by Phil Katz in the file appnote.txt. This file (appnote.txt) is distributed with the PKZIP program (even in the version without encryption capabilities). License: zlib Files: third_party/zlib-1.2.3/contrib/minizip/iomem_simple.c Copyright: 1998-2003, Gilles Vollant 2003, Justin Fletcher Comment: This file is from the proposed iomem_simple package found at http://code.trak.dk/ . ioapi_mem2.c -- IO base function header for compress/uncompress .zip files using zlib + zip or unzip API . This version of ioapi is designed to access memory rather than files. We do use a region of memory to put data in to and take it out of. We do not have auto-extending buffers and do not inform anyone else that the data has been written. It is really intended for accessing a zip archive embedded in an application such that I can write an installer with no external files. Creation of archives has not been attempted, although parts of the framework are present. . Based on Unzip ioapi.c version 0.22, May 19th, 2003 . Copyright (C) 1998-2003 Gilles Vollant (C) 2003 Justin Fletcher . Dynamically allocated memory version. Troels K 2004 mem_close deletes the data: file is single-session. No filenames. . This file is under the same license as the Unzip tool it is distributed with. License: zlib Files: third_party/zlib-1.2.3/contrib/minizip/crypt.h Copyright: 1998-2005, Gilles Vollant Comment: This code is a modified version of crypting code in Infozip distribution . The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were originally written in Europe. The whole source package can be freely distributed, including from the USA. (Prior to January 2000, re-export from the US was a violation of US law.) . This encryption code is a direct transcription of the algorithm from Roger Schlafly, described by Phil Katz in the file appnote.txt. This file (appnote.txt) is distributed with the PKZIP program (even in the version without encryption capabilities). . If you don't need crypting in your application, just define symbols NOCRYPT and NOUNCRYPT. . This code support the "Traditional PKWARE Encryption". . The new AES encryption added on Zip format by Winzip (see the page http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong Encryption is not supported. License: zlib Files: third_party/zlib-1.2.3/contrib/minizip/unzip.h third_party/zlib-1.2.3/contrib/minizip/zip.h Copyright: 1998-2005, Gilles Vollant License: zlib Files: third_party/zlib-1.2.3/zconf.h Copyright: 1995-2005, Jean-loup Gailly License: zlib Files: third_party/zlib-1.2.3/zlib.h Copyright: 1995-2005, Jean-loup Gailly and Mark Adler License: zlib Files: third_party/zlib-1.2.3/contrib/minizip/ioapi.c third_party/zlib-1.2.3/contrib/minizip/ioapi.h third_party/zlib-1.2.3/contrib/minizip/iowin32.c third_party/zlib-1.2.3/contrib/minizip/iowin32.h third_party/zlib-1.2.3/contrib/minizip/miniunz.c third_party/zlib-1.2.3/contrib/minizip/minizip.c third_party/zlib-1.2.3/contrib/minizip/zip.c Copyright: 1998-2005, Gilles Vollant License: zlib Files: debian/* Copyright: 2009, Francesco Paolo Lovergine License: GPL-3.0+ License: BSD-3-Clause 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 copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. License: BSL-1.0 Boost Software License - Version 1.0 - August 17th, 2003 . Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: . The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. . 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2.0+ with Libtool exception GNU Libtool 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. . As a special exception to the GNU General Public License, if you distribute this file as part of a program or library that is built using GNU Libtool, you may include this file under the same distribution terms that you use for the rest of that program. . GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy can be downloaded from http://www.gnu.org/licenses/gpl.html, or obtained by writing to the Free Software Foundation, Inc., 51 Franklin Street, 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'. License: GPL-3.0+ 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 3 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. . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: MIT 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. License: zlib 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. debian/changelog0000644000000000000000000001256212244066601011047 0ustar libkml (1.3.0~r864-2) unstable; urgency=low * No Multi-Arch: same for java package, jar contains SWIG generated code. (closes: #728785) * Change Priority to optional. -- Bas Couwenberg Sun, 10 Nov 2013 01:40:38 +0100 libkml (1.3.0~r864-1) unstable; urgency=low * Merge upstream commit r864: Allow colors to have leading whitespace, with or without '#'. * Add myself to Uploaders. * Update swig.diff to also disable the SWIG version check in configure.ac. Thanks Ilya Barygin for the patch. * Update ld-as-needed.diff to fix FTBFS with --as-needed. Thanks Ilya Barygin for the patch. (closes: #692055) * Add hurd.diff to fix FTBFS on hurd-i386. Thanks Pino Toscano for the patch. (closes: #671894) * Refresh patches. * Use canonical URLs for Vcs-* fields. * Don't start short description with an article. * Drop XB-Python-Version from control file. * Add a watch file. * Add patch to fix executable-not-elf-or-script for java run.sh example. * Add lintian override for no fortify functions false positive. * Drop needless dependency on default-jre for libkml-java. * Move .so symlinks from java packages to libkml-dev. * Update copyright file using copyright-format 1.0. * Add lintian override for source-contains-prebuilt-windows-binary. * Use minimal dh rules, handle Multi-Arch paths. * Use dh-autoreconf for retooling. * Add patch to set subdir-objects automake option for forward compatibility. * Add patch to fix linking libtool libraries using a non-POSIX archiver. * Add patch to not build examples, msvc and xcode subprojects. * Add lintian override for incompatible-java-bytecode-format. * Add patch headers for all patches. * Bump Standards-Version to 3.9.4, changes: Vcs-* fields, copyright, minimal dh rules. * Build depend on libcurl4-gnutls-dev instead of libcurl4-openssl-dev. * Also install libminizip headers. -- Bas Couwenberg Sat, 05 Oct 2013 21:15:09 +0200 libkml (1.3.0~r863-4.1) unstable; urgency=low * Non maintainer upload. * Fix build failure with GCC 4.7. -- Matthias Klose Tue, 17 Apr 2012 07:59:06 +0200 libkml (1.3.0~r863-4) unstable; urgency=low * Added liburiparser-dev to libkml-dev. * Moved to dh_python2 instead of python-central. * Policy bumped to 3.9.3, no changes required. * Debhelper level set to 9. * Refreshed reautoconfiscated.diff to remove a backup file. Thanks doko. (closes: #650525) * The ld-as-needed case has been already managed. (closes: #641681) -- Francesco Paolo Lovergine Wed, 14 Mar 2012 13:29:51 +0100 libkml (1.3.0~r863-3) unstable; urgency=low * Added swig patch to remove a wrong swig version test. (closes: #634528) -- Francesco Paolo Lovergine Tue, 26 Jul 2011 11:07:30 +0200 libkml (1.3.0~r863-2) unstable; urgency=low * New patch geometry_test.diff to remove another failing test. (closes: #626259) * Policy bumped to 3.9.2, no changes needed. -- Francesco Paolo Lovergine Wed, 08 Jun 2011 11:19:48 +0200 libkml (1.3.0~r863-1) unstable; urgency=low * New upstream snapshot for 1.3 series, as taken from svn. * Patchset updated for current release. * New patch feature_view_test.diff to remove a failing test. -- Francesco Paolo Lovergine Tue, 29 Mar 2011 16:41:45 +0200 libkml (1.2.0-2) unstable; urgency=low * Moved to git repository and changed Vcs-* fields in debian/control. * Changed to debian source 3.0. * Debhelper level set to 8. * Wrapped debian/changelog to 80 chars. * New patch ld-as-needed.diff: it fixes FTBS when --as-needed is used at linking time. (closes: #605889) -- Francesco Paolo Lovergine Thu, 24 Mar 2011 21:17:35 +0100 libkml (1.2.0-1) unstable; urgency=low * New upstream release. * Updated automake.diff and reautoconfiscated patches to reflect changes in building scripts. Note that boost is still embedded with old version 1.34. -- Francesco Paolo Lovergine Fri, 25 Jun 2010 11:42:15 +0200 libkml (1.1.0-1) unstable; urgency=low * New upstream release: o In-memory KMZ read support. o Initial Google Maps Data API support. o Various security fixes, particularly in the underlying Zip library. * Patches refreshed: reautoconfiscated.diff and automake.diff. * NMU ack: incorporate patch from Jakub Wilk to enable building with Python 2.6. (closes: #557288) * Added original copyright from zlib to debian/copyright as originally asked by ftpmasters. * Added kfreebsd.diff top patch to manage GNU/kFreeBSD flavor. (closes: #558208) * Fixed patch ordering. -- Francesco Paolo Lovergine Thu, 10 Dec 2009 17:30:39 +0100 libkml (1.0.1-3) unstable; urgency=high * Added clone.diff patch to use __clone2() instead of clone() on ia64. This patch solves a FTBS on ia64. -- Francesco Paolo Lovergine Tue, 27 Oct 2009 12:24:40 +0100 libkml (1.0.1-2) unstable; urgency=low * Added python version overriding at build/installation time. (closes: #550310) -- Francesco Paolo Lovergine Tue, 13 Oct 2009 14:04:45 +0200 libkml (1.0.1-1) unstable; urgency=low * Initial release. (closes: #548720) -- Francesco Paolo Lovergine Tue, 29 Sep 2009 11:15:17 +0200 debian/python-kml.install0000644000000000000000000000003512244066601012657 0ustar usr/lib/python2.*/*-packages debian/libkml0.install0000644000000000000000000000030312244066601012105 0ustar usr/lib/*/libkmlbase.so.* usr/lib/*/libkmlconvenience.so.* usr/lib/*/libkmldom.so.* usr/lib/*/libkmlengine.so.* usr/lib/*/libkmlregionator.so.* usr/lib/*/libkmlxsd.so.* usr/lib/*/libminizip.so.* debian/libkml-dev.install0000644000000000000000000000006012244066601012601 0ustar usr/include/ usr/lib/*/lib*.so usr/lib/*/lib*.a debian/README.source0000644000000000000000000000152712244066601011353 0ustar libkml for Debian ----------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Please see: /usr/share/doc/quilt/README.source for more information on how to apply the patches, modify patches, or remove a patch. The main difference among Google's tarball and Debian one is the use of system libraries instead of the inner ones whenever possible. Specifically the embedded uriparser is skipped and changed with the system provided. The Boost library is currently so oldi (and weak) that it is better using the internal one (which is not exposed). This is done by changing the Makefile.am automake set of scripts and autoreconfiguring. Quilt is used to patch the build system and dh-autoreconf to reconfigure it. debian/source/0000755000000000000000000000000012244066601010467 5ustar debian/source/format0000644000000000000000000000001412244066601011675 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212244066601010365 0ustar 9 debian/patches/0000755000000000000000000000000012244066601010616 5ustar debian/patches/automake-subdir-objects.diff0000644000000000000000000000066212244066601016177 0ustar Description: Remain forward compatible with automake using subdir-objects. Author: Bas Couwenberg Last-Update: 2013-10-07 --- a/third_party/Makefile.am +++ b/third_party/Makefile.am @@ -1,3 +1,5 @@ +AUTOMAKE_OPTIONS = subdir-objects + AM_CPPFLAGS = -I$(top_srcdir)/third_party/zlib-1.2.3/contrib \ -I$(top_srcdir)/third_party/googletest-r108 \ -I$(top_srcdir)/third_party/googletest-r108/include debian/patches/clone.diff0000644000000000000000000000266312244066601012557 0ustar Description: Support ia64 __clone2(). Author: Francesco Paolo Lovergine Last-Update: 2013-10-07 --- a/third_party/googletest-r108/src/gtest-death-test.cc +++ b/third_party/googletest-r108/src/gtest-death-test.cc @@ -594,6 +594,13 @@ static bool StackGrowsDown() { // A threadsafe implementation of fork(2) for threadsafe-style death tests // that uses clone(2). It dies with an error message if anything goes // wrong. + +// ia64 has __clone2 instead of clone on Linux. +#ifdef __ia64__ +extern "C" int __clone2(int (*fn) (void *arg), void *child_stack_base, + size_t child_stack_size, int flags, void *arg, ...); +#endif + static pid_t ExecDeathTestFork(char* const* argv, int close_fd) { static const bool stack_grows_down = StackGrowsDown(); const size_t stack_size = getpagesize(); @@ -603,8 +610,13 @@ static pid_t ExecDeathTestFork(char* con void* const stack_top = static_cast(stack) + (stack_grows_down ? stack_size : 0); ExecDeathTestArgs args = { argv, close_fd }; +#ifdef __ia64__ + const pid_t child_pid = __clone2(&ExecDeathTestChildMain, stack_top, stack_size, + SIGCHLD, &args); +#else const pid_t child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); +#endif GTEST_DEATH_TEST_CHECK_(child_pid != -1); GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1); return child_pid; debian/patches/swig.diff0000644000000000000000000000174012244066601012423 0ustar Description: Support swig 2.0 by disabling 1.x specific version check. Author: Francesco Paolo Lovergine Last-Update: 2013-10-07 --- a/configure.ac +++ b/configure.ac @@ -86,13 +86,13 @@ AC_ARG_ENABLE(swig, [do not generate any SWIG language bindings])]) if test "x$enable_swig" != xno; then AC_CHECK_PROG(SWIG, swig, swig) - if test "x$SWIG" != x; then - SWIG_VERSION=`swig -version 2>&1|grep Version|cut -d" " -f3` - if test ${SWIG_VERSION:4} -lt 35; then - AC_MSG_WARN([You have SWIG $SWIG_VERSION installed, but libkml requires at least SWIG 1.3.35. The bindings will not be built.]) - SWIG= - fi - fi +# if test "x$SWIG" != x; then +# SWIG_VERSION=`swig -version 2>&1|grep Version|cut -d" " -f3` +# if test ${SWIG_VERSION:4} -lt 35; then +# AC_MSG_WARN([You have SWIG $SWIG_VERSION installed, but libkml requires at least SWIG 1.3.35. The bindings will not be built.]) +# SWIG= +# fi +# fi fi AM_CONDITIONAL(WITH_SWIG, [test "x$SWIG" != x]) debian/patches/series0000644000000000000000000000035512244066601012036 0ustar kfreebsd.diff hurd.diff automake.diff clone.diff ld-as-needed.diff feature_view_test.diff geometry_test.diff swig.diff fix-ftbfs-gcc4.7.diff java-run-sh-shebang.diff automake-subdir-objects.diff libtool-archiver.diff dont-build-all.diff debian/patches/kfreebsd.diff0000644000000000000000000000067212244066601013242 0ustar Description: Support building on Debian GNU/kFreeBSD. Author: Cyril Brulebois Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558208 Last-Update: 2013-10-07 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ dnl Which platform are we building on? PLATFORM= SHLIBSUFFIX= case "`uname -s`" in - Linux) PLATFORM=linux + Linux|GNU/kFreeBSD) PLATFORM=linux SHLIBSUFFIX="so" ;; Darwin) PLATFORM=darwin debian/patches/fix-ftbfs-gcc4.7.diff0000644000000000000000000000061412244066601014324 0ustar Description: Fix building with GCC 4.7 Author: Matthias Klose Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667247 Last-Update: 2013-10-07 --- a/src/kml/base/file_posix.cc +++ b/src/kml/base/file_posix.cc @@ -29,6 +29,7 @@ #include "kml/base/file.h" #include #include +#include #include #include debian/patches/libtool-archiver.diff0000644000000000000000000000055312244066601014720 0ustar Description: Fix build failure after autoreconf Author: Bas Couwenberg Last-Update: 2013-10-07 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,7 @@ AC_INIT(libkml, 1.3.0, http://code.googl AC_CONFIG_SRCDIR(README) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE(-Wall -Werror) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_PROG_CPP AC_PROG_CXX debian/patches/ld-as-needed.diff0000644000000000000000000000506012244066601013673 0ustar Description: Fix build with --as-needed. Author: Matthias Klose , Ilya Barygin Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605889 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641681 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650525 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692055 Last-Update: 2013-10-07 --- a/examples/helloworld/Makefile.am +++ b/examples/helloworld/Makefile.am @@ -26,8 +26,8 @@ circlegen_SOURCES = circlegen.cc circlegen_LDADD = \ $(top_builddir)/src/kml/base/libkmlbase.la \ $(top_builddir)/src/kml/dom/libkmldom.la \ - $(top_builddir)/src/kml/engine/libkmlengine.la \ - $(top_builddir)/src/kml/convenience/libkmlconvenience.la + $(top_builddir)/src/kml/convenience/libkmlconvenience.la \ + $(top_builddir)/src/kml/engine/libkmlengine.la checklinks_SOURCES = checklinks.cc checklinks_LDADD = \ @@ -75,8 +75,8 @@ hellohref_LDADD = \ hellokmz_SOURCES = hellokmz.cc hellokmz_LDADD = \ - $(top_builddir)/src/kml/dom/libkmldom.la \ $(top_builddir)/src/kml/engine/libkmlengine.la \ + $(top_builddir)/src/kml/dom/libkmldom.la \ $(top_builddir)/src/kml/base/libkmlbase.la helloregion_SOURCES = helloregion.cc @@ -102,8 +102,8 @@ parsens_LDADD = \ prettykml_SOURCES = prettykml.cc prettykml_LDADD = \ - $(top_builddir)/src/kml/dom/libkmldom.la \ $(top_builddir)/src/kml/engine/libkmlengine.la \ + $(top_builddir)/src/kml/dom/libkmldom.la \ $(top_builddir)/src/kml/base/libkmlbase.la printgeometry_SOURCES = printgeometry.cc --- a/examples/regionator/Makefile.am +++ b/examples/regionator/Makefile.am @@ -10,17 +10,17 @@ noinst_PROGRAMS = csvregionator kmlregio csvregionator_SOURCES = csvregionator.cc csvregionator_LDADD = \ + $(top_builddir)/src/kml/convenience/libkmlconvenience.la \ $(top_builddir)/src/kml/base/libkmlbase.la \ $(top_builddir)/src/kml/dom/libkmldom.la \ $(top_builddir)/src/kml/engine/libkmlengine.la \ - $(top_builddir)/src/kml/regionator/libkmlregionator.la \ - $(top_builddir)/src/kml/convenience/libkmlconvenience.la + $(top_builddir)/src/kml/regionator/libkmlregionator.la kmlregionator_SOURCES = kmlregionator.cc kmlregionator_LDADD = \ $(top_builddir)/src/kml/base/libkmlbase.la \ $(top_builddir)/src/kml/dom/libkmldom.la \ - $(top_builddir)/src/kml/engine/libkmlengine.la \ $(top_builddir)/src/kml/regionator/libkmlregionator.la \ - $(top_builddir)/src/kml/convenience/libkmlconvenience.la + $(top_builddir)/src/kml/convenience/libkmlconvenience.la \ + $(top_builddir)/src/kml/engine/libkmlengine.la debian/patches/hurd.diff0000644000000000000000000000131712244066601012414 0ustar Description: Support building on hurd-i386 Author: Pino Toscano Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671894 Last-Update: 2013-10-07 --- a/third_party/googletest-r108/src/gtest-filepath.cc +++ b/third_party/googletest-r108/src/gtest-filepath.cc @@ -52,6 +52,10 @@ #include +#ifndef PATH_MAX +# define PATH_MAX 4096 +#endif + namespace testing { namespace internal { --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ dnl Which platform are we building on? PLATFORM= SHLIBSUFFIX= case "`uname -s`" in - Linux|GNU/kFreeBSD) PLATFORM=linux + Linux|GNU/kFreeBSD|GNU) PLATFORM=linux SHLIBSUFFIX="so" ;; Darwin) PLATFORM=darwin debian/patches/dont-build-all.diff0000644000000000000000000000052212244066601014256 0ustar Description: Don't build unneeded subprojects Author: Bas Couwenberg Last-Update: 2013-10-07 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ACLOCAL_AMFLAGS = -I m4 # Order is important: -SUBDIRS = third_party src testdata examples msvc xcode +SUBDIRS = third_party src testdata EXTRA_DIST = \ AUTHORS \ debian/patches/geometry_test.diff0000644000000000000000000000302512244066601014342 0ustar Description: Remove failing test. Author: Francesco Paolo Lovergine Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626259 Last-Update: 2013-10-07 --- a/src/kml/dom/geometry_test.cc +++ b/src/kml/dom/geometry_test.cc @@ -356,30 +356,6 @@ TEST_F(CoordinatesTest, TestSerializeOne ASSERT_EQ(vec3.get_altitude(), vec3_vector[0].get_altitude()); } -// Test serialization of: -// 0.2,0.1,0.3 1.2,1.1,1.3 2.2,2.1,2.3 ... / -TEST_F(CoordinatesTest, TestSerializeMany) { - const size_t kNumTuples = 47; - const double kLatFrac = 0.1; - const double kLngFrac = 0.2; - const double kAltFrac = 0.3; - for (size_t i = 0; i < kNumTuples; ++i) { - coordinates_->add_latlngalt(i + kLatFrac, i + kLngFrac, i + kAltFrac); - } - Vec3Vector vec3_vector; - MockCoordinatesSerializer mock(&vec3_vector); - // This calls Coordinates::Serialize(). - mock.SaveElement(coordinates_); - ASSERT_EQ(kNumTuples, vec3_vector.size()); - ASSERT_EQ(static_cast(kNumTuples), mock.get_element_count()); - for (size_t i = 0; i < kNumTuples; ++i) { - ASSERT_EQ(i + kLatFrac, vec3_vector[i].get_latitude()); - ASSERT_EQ(i + kLngFrac, vec3_vector[i].get_longitude()); - ASSERT_TRUE(vec3_vector[i].has_altitude()); - ASSERT_EQ(i + kAltFrac, vec3_vector[i].get_altitude()); - } -} - // Coordinate tuples must be separated by a space. However, the world is // imperfect and thus we try to do the right thing with this: // 1,2,3,4,5,6,7,8,9, where the "right thing" is debian/patches/automake.diff0000644000000000000000000002426712244066601013271 0ustar Description: Don't fail build on warnings, don't use embedded liburiparser. Author: Francesco Paolo Lovergine Last-Update: 2013-10-07 --- a/examples/engine/Makefile.am +++ b/examples/engine/Makefile.am @@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = \ --- a/examples/gpx/Makefile.am +++ b/examples/gpx/Makefile.am @@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = gpxtracktokml --- a/examples/gx/Makefile.am +++ b/examples/gx/Makefile.am @@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = \ --- a/examples/hellonet/Makefile.am +++ b/examples/hellonet/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = csvurl2gmap getgmapkml getgsheetcsv getgsheetkml \ --- a/examples/helloworld/Makefile.am +++ b/examples/helloworld/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_LTLIBRARIES = libhelloutil.la --- a/examples/regionator/Makefile.am +++ b/examples/regionator/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/zlib-1.2.3/contrib if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = csvregionator kmlregionator --- a/examples/xsd/Makefile.am +++ b/examples/xsd/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 if GCC -AM_CXXFLAGS = -Wall -Werror -ansi -pedantic -fno-rtti +AM_CXXFLAGS = -Wall -ansi -pedantic -fno-rtti endif noinst_PROGRAMS = xsdchildren xsdcoverage xsdelements xsdenums xsdfind xsdtypes --- a/src/kml/base/Makefile.am +++ b/src/kml/base/Makefile.am @@ -1,15 +1,14 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/boost_1_34_1 \ -I$(top_srcdir)/third_party/googletest-r108/include \ - -I$(top_srcdir)/third_party/uriparser-0.7.5/include \ -I$(top_srcdir)/third_party/zlib-1.2.3/contrib if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif -libkmlbase_la_LDFLAGS = -lexpat +libkmlbase_la_LDFLAGS = -lexpat -luriparser lib_LTLIBRARIES = libkmlbase.la libkmlbase_la_SOURCES = \ @@ -31,8 +30,7 @@ libkmlbase_la_SOURCES = \ zip_file.cc libkmlbase_la_LIBADD = \ - $(top_builddir)/third_party/libminizip.la \ - $(top_builddir)/third_party/liburiparser.la + $(top_builddir)/third_party/libminizip.la # These header files will be installed in $(includedir)/kml/base libkmlbaseincludedir = $(includedir)/kml/base @@ -137,8 +135,7 @@ math_util_test_LDADD = libkmlbase.la \ net_cache_test_SOURCES = net_cache_test.cc net_cache_test_CXXFLAGS = -DDATADIR=\"$(DATA_DIR)\" $(AM_TEST_CXXFLAGS) -net_cache_test_LDADD = libkmlbase.la \ - $(top_builddir)/third_party/liburiparser.la \ +net_cache_test_LDADD = libkmlbase.la -luriparser \ $(top_builddir)/third_party/libgtest_main.la referent_test_SOURCES = referent_test.cc @@ -163,8 +160,7 @@ time_util_test_LDADD= libkmlbase.la \ uri_parser_test_SOURCES = uri_parser_test.cc uri_parser_test_CXXFLAGS = -DDATADIR=\"$(DATA_DIR)\" $(AM_TEST_CXXFLAGS) -uri_parser_test_LDADD= libkmlbase.la \ - $(top_builddir)/third_party/liburiparser.la \ +uri_parser_test_LDADD= libkmlbase.la -luriparser \ $(top_builddir)/third_party/libgtest_main.la util_test_SOURCES = util_test.cc --- a/src/kml/convenience/Makefile.am +++ b/src/kml/convenience/Makefile.am @@ -3,8 +3,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/googletest-r108/include if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif # These header files are added to the distribution such that it can be built, --- a/src/kml/dom/Makefile.am +++ b/src/kml/dom/Makefile.am @@ -3,8 +3,8 @@ AM_CPPFLAGS= -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/googletest-r108/include if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif lib_LTLIBRARIES = libkmldom.la --- a/src/kml/engine/Makefile.am +++ b/src/kml/engine/Makefile.am @@ -3,8 +3,8 @@ AM_CPPFLAGS= -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/googletest-r108/include if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif lib_LTLIBRARIES = libkmlengine.la @@ -303,8 +303,7 @@ style_inliner_test_SOURCES = style_inlin style_inliner_test_CXXFLAGS = -DDATADIR=\"$(DATA_DIR)\" $(AM_TEST_CXXFLAGS) style_inliner_test_LDADD= libkmlengine.la \ $(top_builddir)/src/kml/dom/libkmldom.la \ - $(top_builddir)/src/kml/base/libkmlbase.la \ - $(top_builddir)/third_party/liburiparser.la \ + $(top_builddir)/src/kml/base/libkmlbase.la -luriparser \ $(top_builddir)/third_party/libgtest_main.la style_merger_test_SOURCES = style_merger_test.cc --- a/src/kml/regionator/Makefile.am +++ b/src/kml/regionator/Makefile.am @@ -4,8 +4,8 @@ AM_CPPFLAGS= -I$(top_srcdir)/src \ if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif lib_LTLIBRARIES = libkmlregionator.la --- a/src/kml/xsd/Makefile.am +++ b/src/kml/xsd/Makefile.am @@ -3,8 +3,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/third_party/googletest-r108/include if GCC -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -Werror -ansi -fno-rtti -DGTEST_HAS_RTTI=0 +AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -pedantic -fno-rtti +AM_TEST_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -ansi -fno-rtti -DGTEST_HAS_RTTI=0 endif lib_LTLIBRARIES = libkmlxsd.la --- a/src/swig/Makefile.am +++ b/src/swig/Makefile.am @@ -1,8 +1,7 @@ SUBDIRS = java python AM_CPPFLAGS = -I$(top_srcdir)/src \ - -I$(top_srcdir)/third_party/boost_1_34_1 \ - -I$(top_srcdir)/third_party/uriparser-0.7.5/include + -I$(top_srcdir)/third_party/boost_1_34_1 COMMONLIBS = $(top_builddir)/src/kml/engine/libkmlengine.la \ $(top_builddir)/src/kml/dom/libkmldom.la \ --- a/third_party/Makefile.am +++ b/third_party/Makefile.am @@ -1,11 +1,8 @@ -uriparser = uriparser-0.7.5 - AM_CPPFLAGS = -I$(top_srcdir)/third_party/zlib-1.2.3/contrib \ - -I$(top_srcdir)/third_party/$(uriparser)/include \ -I$(top_srcdir)/third_party/googletest-r108 \ -I$(top_srcdir)/third_party/googletest-r108/include -lib_LTLIBRARIES = libminizip.la liburiparser.la +lib_LTLIBRARIES = libminizip.la noinst_LTLIBRARIES = libgtest.la libgtest_main.la libminizip_la_SOURCES = \ @@ -15,27 +12,6 @@ libminizip_la_SOURCES = \ zlib-1.2.3/contrib/minizip/zip.c libminizip_la_LDFLAGS = -lz -liburiparser_la_SOURCES = \ - $(uriparser)/lib/UriCommon.c \ - $(uriparser)/lib/UriCommon.h \ - $(uriparser)/lib/UriCompare.c \ - $(uriparser)/lib/UriEscape.c \ - $(uriparser)/lib/UriFile.c \ - $(uriparser)/lib/UriIp4.c \ - $(uriparser)/lib/UriIp4Base.c \ - $(uriparser)/lib/UriIp4Base.h \ - $(uriparser)/lib/UriNormalize.c \ - $(uriparser)/lib/UriNormalizeBase.c \ - $(uriparser)/lib/UriNormalizeBase.h \ - $(uriparser)/lib/UriParse.c \ - $(uriparser)/lib/UriParseBase.c \ - $(uriparser)/lib/UriParseBase.h \ - $(uriparser)/lib/UriQuery.c \ - $(uriparser)/lib/UriRecompose.c \ - $(uriparser)/lib/UriResolve.c \ - $(uriparser)/lib/UriShorten.c -liburiparser_la_LDFLAGS = -version-info 1:5:0 - boost_root = boost_1_34_1 boost = $(boost_root)/boost boostinc = $(includedir)/kml/third_party/$(boost) @@ -162,15 +138,6 @@ EXTRA_DIST = \ $(googletest)/include/gtest/internal/gtest-port.h \ $(googletest)/include/gtest/internal/gtest-string.h \ $(googletest)/include/gtest/internal/gtest-type-util.h \ - $(uriparser)/COPYING \ - $(uriparser).win32/debug/uriparser.lib \ - $(uriparser).win32/release/uriparser.lib \ - $(uriparser)/include/uriparser/Uri.h \ - $(uriparser)/include/uriparser/UriBase.h \ - $(uriparser)/include/uriparser/UriDefsAnsi.h \ - $(uriparser)/include/uriparser/UriDefsConfig.h \ - $(uriparser)/include/uriparser/UriDefsUnicode.h \ - $(uriparser)/include/uriparser/UriIp4.h \ zlib-1.2.3/zconf.h \ zlib-1.2.3/zlib.h \ zlib-1.2.3/contrib/minizip/crypt.h \ debian/patches/feature_view_test.diff0000644000000000000000000000215012244066601015172 0ustar Description: Remove failing test. Author: Francesco Paolo Lovergine Last-Update: 2013-10-07 --- a/src/kml/engine/feature_view_test.cc +++ b/src/kml/engine/feature_view_test.cc @@ -27,7 +27,6 @@ #include "kml/engine/feature_view.h" #include "gtest/gtest.h" -#include "kml/engine/bbox.h" #include "kml/engine/kml_file.h" using kmldom::CoordinatesPtr; @@ -137,18 +136,4 @@ TEST(FeatureViewTest, TestComputeFeature ASSERT_NEAR(1494183.4444, lookat->get_range(), 0.0001); } -TEST(FeatureViewTest, TestComputeBboxLookAt) { - Bbox bbox(36.59062, 34.98788, -82.00043, -90.06512); - kmldom::LookAtPtr lookat = ComputeBboxLookAt(bbox); - ASSERT_TRUE(lookat); - // These fields are expected to be set to these values. - ASSERT_DOUBLE_EQ(-86.032775, lookat->get_longitude()); - ASSERT_DOUBLE_EQ(35.78925, lookat->get_latitude()); - ASSERT_DOUBLE_EQ(712928.68603440293, lookat->get_range()); - // These fields are not set by ComputeBboxLookAt. - ASSERT_FALSE(lookat->has_altitude()); - ASSERT_FALSE(lookat->has_heading()); - ASSERT_FALSE(lookat->has_tilt()); -} - } // end namespace kmlengine debian/patches/java-run-sh-shebang.diff0000644000000000000000000000063712244066601015216 0ustar Description: Add shebang to java run example to fix lintian issue. Author: Bas Couwenberg Last-Update: 2013-10-07 --- a/examples/java/run.sh +++ b/examples/java/run.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # The relative path to the directory that holds the build shared libraries. BUILT_LIB_DIR=../../build/src/swig/.libs echo "=== setting shared library path to built libraries dir: $BUILT_LIB_DIR" debian/libkml-dev.examples0000644000000000000000000000001312244066601012747 0ustar examples/* debian/rules0000755000000000000000000000232412244066601010250 0ustar #!/usr/bin/make -f JAVA_HOME = /usr/lib/jvm/default-java DEB_CONFIGURE_EXTRA_FLAGS = --enable-systempython --with-java-include-dir=$(JAVA_HOME)/include DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with autoreconf,python2 override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) override_dh_auto_install: dh_auto_install # Strip RPATH chrpath --delete $(CURDIR)/debian/tmp/usr/lib/python*/*-packages/*.so # Remove autotools stuff find $(CURDIR)/examples/ -type f -name "Makefile*" -delete # Remove python swig find $(CURDIR)/debian/tmp/usr/lib -name "libkml*python*.so*" -delete # Remove la files find $(CURDIR)/debian/tmp/usr/lib -name "*.la" -delete # Move libraries from libkml subdirectory mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libkml/* $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ # libminizip headers install -m755 -d $(CURDIR)/debian/tmp/usr/include/minizip install -m644 $(CURDIR)/third_party/zlib-*/contrib/minizip/*h $(CURDIR)/debian/tmp/usr/include/minizip/ override_dh_install: dh_install --autodest --list-missing override_dh_makeshlibs: dh_makeshlibs -Xpython-kml override_dh_python: dh_python2 -ppython-kml debian/libkml-java.install0000644000000000000000000000017412244066601012752 0ustar usr/share/java usr/lib/*/libkmlbase_swig_java.so.* usr/lib/*/libkmldom_swig_java.so.* usr/lib/*/libkmlengine_swig_java.so.* debian/libkml0.lintian-overrides0000644000000000000000000000074612244066601014110 0ustar # SONAMEs change together libkml0: package-name-doesnt-match-sonames libkmlbase0 libkmlconvenience0 libkmldom0 libkmlengine0 libkmlregionator0 libkmlxsd0 libminizip0 # Using shlibs for C++ library libkml0: no-symbols-control-file # -D_FORTIFY_SOURCE=2 is used during build, but hardening-check reports: # Fortify Source functions: no, only unprotected functions found! # unprotected: memcpy # unprotected: fread libkml0: hardening-no-fortify-functions usr/lib/*/libminizip.so.0.0.0 debian/control0000644000000000000000000000627512244066601010604 0ustar Source: libkml Maintainer: Debian GIS Project Uploaders: Francesco Paolo Lovergine , Bas Couwenberg Section: science Priority: optional Build-Depends: debhelper (>= 9), autotools-dev, libexpat1-dev, zlib1g-dev, default-jdk, python-dev (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), liburiparser-dev (>= 0.7.1), chrpath, libcurl4-gnutls-dev, swig, dh-autoreconf Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/libkml.git Vcs-Git: git://anonscm.debian.org/pkg-grass/libkml.git Homepage: http://code.google.com/p/libkml/ X-Python-Version: 2.7 Package: libkml0 Architecture: any Multi-Arch: same Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to manipulate KML 2.2 OGC standard files This is a library for use with applications that want to parse, generate and operate on KML, a geo-data XML variant. It is an implementation of the OGC KML 2.2 standard. It is written in C++ and bindings are available via SWIG to Java and Python. . This package contains the basic shared libraries for applications that use the KML format. Package: libkml-dev Architecture: any Multi-Arch: same Section: libdevel Depends: libkml0 (= ${binary:Version}), liburiparser-dev (>= 0.7.1), ${shlibs:Depends}, ${misc:Depends} Description: Library to manipulate KML 2.2 OGC standard files - development files This is a library for use with applications that want to parse, generate and operate on KML, a geo-data XML variant. It is an implementation of the OGC KML 2.2 standard. It is written in C++ and bindings are available via SWIG to Java and Python. . This package contains files required to build C/C++ programs which use the KML library. Package: libkml-java Architecture: any Section: java Depends: libkml0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Library to manipulate KML 2.2 OGC standard files - Java package This is a library for use with applications that want to parse, generate and operate on KML, a geo-data XML variant. It is an implementation of the OGC KML 2.2 standard. It is written in C++ and bindings are available via SWIG to Java and Python. . This package contains the required packages for Java applications. Package: python-kml Architecture: any Section: python Depends: libkml0 (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Library to manipulate KML 2.2 OGC standard files - Python extension This is a library for use with applications that want to parse, generate and operate on KML, a geo-data XML variant. It is an implementation of the OGC KML 2.2 standard. It is written in C++ and bindings are available via SWIG to Java and Python. . This package contains required extensions for Python applications. debian/docs0000644000000000000000000000001412244066601010035 0ustar NEWS README