debian/0000775000000000000000000000000012233105761007170 5ustar debian/rules0000775000000000000000000000427212233105606010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # The magic debhelper rule %: dh $@ # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) QMAKE := qmake-qt4 override_dh_auto_build: find examples -type f -exec chmod 644 {} \; cd build/qt4/terralib && $(QMAKE) QMAKE_CXXFLAGS=-fpermissive terralib.pro && $(MAKE) cd build/qt4/te_functions && $(QMAKE) QMAKE_CXXFLAGS=-fpermissive te_functions.pro && $(MAKE) cd build/qt4/te_utils && $(QMAKE) QMAKE_CXXFLAGS=-fpermissive te_utils.pro && $(MAKE) ar rcs libterralib.a Release/linux-g++/obj/terralib/*.o ar rcs libte_functions.a Release/linux-g++/obj/te_functions/*.o ar rcs libte_utils.a Release/linux-g++/obj/te_utils/*.o override_dh_auto_install: dh_install # Install into Multarch directories dh_install -p libterralib Release/linux-g++/libterralib.so.* usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib Release/linux-g++/libte_utils.so.* usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib Release/linux-g++/libte_functions.so.* usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev libterralib.a usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev libte_utils.a usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev libte_functions.a usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev Release/linux-g++/libterralib.so usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev Release/linux-g++/libte_utils.so usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p libterralib-dev Release/linux-g++/libte_functions.so usr/lib/$(DEB_HOST_MULTIARCH) # nasty hack. mkdir -p debian/libterralib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig sed -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/' < libterralib.pc > debian/libterralib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/libterralib.pc override_dh_clean: dh_clean rm -f lib*.a rm -rf Release find . -name '.cvsignore' -exec rm {} \; $(MAKE) -C build/qt4/terralib distclean || echo "terralib already clean" $(MAKE) -C build/qt4/te_utils distclean || echo "te_utils already clean" $(MAKE) -C build/qt4/te_functions distclean || echo "te_functions already clean" debian/changelog0000664000000000000000000001157212233105726011051 0ustar libterralib (4.0.0-5ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - Adjusted qmake invocation in d/rules, fixing FTBFS. -- Logan Rosen Sat, 26 Oct 2013 23:43:00 -0400 libterralib (4.0.0-5) unstable; urgency=low * B-D on libtiff-dev for transition. * Standards-Version: 3.9.4; no changes required. * Debhelper > 9 Dependency now. * Remove B-D on python; not used. -- Alastair McKinstry Wed, 11 Sep 2013 17:07:38 +0100 libterralib (4.0.0-4ubuntu1) raring; urgency=low * Adjusted qmake invocation in d/rules, fixing FTBFS. -- Daniel T Chen Mon, 22 Apr 2013 22:49:49 -0400 libterralib (4.0.0-4) unstable; urgency=low * B-D on libtiff5-dev, not libtiff-dev. Closes: #665034. * Standards-Version: 3.9.3; no changes required. -- Alastair McKinstry Thu, 12 Apr 2012 21:04:36 +0100 libterralib (4.0.0-3) unstable; urgency=low * Ensure libterralib is linked against libtiff. Include libtiff-dev B-D. * Multi-Arch support. -- Alastair McKinstry Thu, 01 Sep 2011 14:22:45 +0100 libterralib (4.0.0-2) unstable; urgency=low * Need to depend on qt4-qmake, not just qt4-dev-tools. Closes: #632759 -- Alastair McKinstry Thu, 07 Jul 2011 09:31:47 +0100 libterralib (4.0.0-1) unstable; urgency=low * New upstream release. Closes: #622858. * Change libname to match package soname libterralib1c2a -> libterralib3 * Standards-Version: 3.9.2. No changes required. * Use dh_python2, depend on python-all-dev -- Alastair McKinstry Mon, 04 Jul 2011 05:34:15 +0100 libterralib (3.3.1-8) unstable; urgency=low * Do chmod of examples in build stage, for safety. -- Alastair McKinstry Mon, 25 Jan 2010 13:52:16 +0000 libterralib (3.3.1-7) experimental; urgency=low * Build in experimental with DH_VERBOSE=1 to show problems I can't reproduce. * Tidy up shlib:Depends. Generate shlibs.libterralib1c2a -- Alastair McKinstry Sun, 24 Jan 2010 15:21:41 +0000 libterralib (3.3.1-6) unstable; urgency=low * Reverse libjpeg8-dev | libpeg8-dev B-D so it will build before other dependencies make the libjpeg8 transition. * Move from CDBS to debhelper 7 + source format 3.0 build. -- Alastair McKinstry Fri, 22 Jan 2010 03:48:29 +0000 libterralib (3.3.1-5) unstable; urgency=low * FTBFS with libjpeg8 (namespace collision in new lib). Closes: #565322. * Build-Dep on libjpeg8-dev | libjpeg-dev, not libjpeg62-dev. -- Alastair McKinstry Thu, 21 Jan 2010 16:31:54 +0000 libterralib (3.3.1-4) unstable; urgency=low * Build fixes for g++ 4.4. Closes: #541092. -- Alastair McKinstry Wed, 14 Oct 2009 21:42:50 +0100 libterralib (3.3.1-3) unstable; urgency=low * Add build-dependency on libtiff4-dev. Closes: #540661. * Add pkgconfig file. Closes: #540779. * Patch from Cyril Brulebois to fix FTBFS on GNU/kfreesd. Closes: #539123. -- Alastair McKinstry Mon, 10 Aug 2009 12:50:03 +0100 libterralib (3.3.1-2) unstable; urgency=low * Remove pre-build binaries from source. * Remove tiff, libjpeg, zlib, qwt sources in favour of external libs. * Remove unused and copyright-troublesome Oracle, DSDK , MySQL, PostgreSQL sources. * Include listat.so* and libstat. * Remove unneeded mtrand* sources. -- Alastair McKinstry Sat, 25 Jul 2009 11:24:49 +0100 libterralib (3.3.1-1) unstable; urgency=low * New upstream release. * Move to Standards-Version: 3.8.2, Debhelper DH_COMPAT 7. -- Alastair McKinstry Wed, 17 Jun 2009 11:29:16 +0100 libterralib (3.0.3b2-3.1) unstable; urgency=low * Non-maintainer upload. * Fix GCC 4.1 FTBFS, patch from Martin Michlmayr. Closes: #358243 -- Paul Wise Wed, 22 Mar 2006 15:57:53 +0800 libterralib (3.0.3b2-3) unstable; urgency=low * New maintainer. (Closes: #342800) * Fix new C++ transition (libstdc++ allocator). (Closes: #339221) * Rename libterralib1 to libterralib1c2a, and adjust Conflicts/Replaces. Patch from Daniel T Chen and ubuntu. -- Petter Reinholdtsen Fri, 23 Dec 2005 12:23:05 +0100 libterralib (3.0.3b2-2) unstable; urgency=low * Added patch for amd64 compability. Thanks to Andreas Jochens . Closes: #326693 * Upload sponsored by Petter Reinholdtsen. -- Marco Tulio Gontijo e Silva Sun, 11 Sep 2005 00:39:24 +0000 libterralib (3.0.3b2-1) unstable; urgency=low * Initial release. Closes: #318961 * Upstream is not providing tarballs, so the orig file was generated for debian from CVS. * Sponsored by Petter Reinholdtsen. -- Marco Tulio Gontijo e Silva Mon, 18 Jul 2005 21:05:39 +0000 debian/compat0000664000000000000000000000000212233105536010366 0ustar 9 debian/libterralib-dev.install0000664000000000000000000000031412233105536013625 0ustar src/terralib/dtm/*.h usr/include/terralib/dtm src/terralib/functions/*.h usr/include/terralib/functions src/terralib/kernel/*.h usr/include/terralib/kernel src/terralib/stat/*.h usr/include/terralib/stat debian/copyright0000664000000000000000000000140112233105536011117 0ustar This package was debianized by Marco Tulio Gontijo e Silva on Mon, 18 Jul 2005 21:05:39 +0000. It was downloaded from cvs.dpi.inpe.br Download it with: cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib login cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-0-3-b2 src cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-0-3-b2 terralibx cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-0-3-b2 examples Copyright (C) 2005,2009 INPE/Tecgraf This is released on under thew GNU Lesser Public License. On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/source/0000775000000000000000000000000012233105761010470 5ustar debian/source/format0000664000000000000000000000001412233105536011676 0ustar 3.0 (quilt) debian/TODO0000664000000000000000000000005612233105536007661 0ustar - libjpeg: Depend on external jpeg instead ? debian/libterralib-doc.docs0000664000000000000000000000001112233105536013070 0ustar examples debian/libterralib-dev.dirs0000664000000000000000000000030712233105536013122 0ustar usr/include/terralib usr/include/terralib/PDI/ usr/include/terralib/application/ usr/include/terralib/drivers/ usr/include/terralib/functions/ usr/include/terralib/kernel/ usr/include/terralib/stat/ debian/control0000664000000000000000000000664112233105643010601 0ustar Source: libterralib Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian GIS Team Uploaders: Petter Reinholdtsen , Alastair McKinstry Build-Depends: debhelper (>= 9), qt4-dev-tools, libgeotiff-dev, zlib1g-dev, libjpeg-dev | libjpeg8-dev, qt4-qmake, libtiff-dev Homepage: http://www.terralib.org/ Vcs-Svn: https://svn.dpi.inpe.br/terralib/tags/v-4-0-0/src Standards-Version: 3.9.4 Package: libterralib-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libterralib (= ${binary:Version}) Suggests: libterralib-doc (= ${binary:Version}) Conflicts: libterralib1-dev, libterralib3-dev Replaces: libterralib3-dev Description: C++ library for Geographical Information Systems -- development package TerraLib enables quick development of custom-built geographical applications using spatial databases. As a research tool, TerraLib is aimed at providing a rich and powerful environment for the development of GIS research, enabling the development of GIS prototypes that include new concepts such as spatio-temporal data models, geographical ontologies and advanced spatial analysis techniques. TerraLib defines a geographical data model and provides support for this model over a range of different DBMS (MySQL, PostgreSQL, ORACLE and ACCESS), and is implemented as a library of C++ classes and functions, written in ANSI-C++. . This package contains development files for terralib. Package: libterralib Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Suggests: libterralib-doc (= ${binary:Version}) Conflicts: libterralib1c2a, libterralib3 Replaces: libterralib1c2a, libterralib3 Description: C++ library for Geographical Information Systems TerraLib enables quick development of custom-built geographical applications using spatial databases. As a research tool, TerraLib is aimed at providing a rich and powerful environment for the development of GIS research, enabling the development of GIS prototypes that include new concepts such as spatio-temporal data models, geographical ontologies and advanced spatial analysis techniques. TerraLib defines a geographical data model and provides support for this model over a range of different DBMS (MySQL, PostgreSQL, ORACLE and ACCESS), and is implemented as a library of C++ classes and functions, written in ANSI-C++. Package: libterralib-doc Section: doc Architecture: all Depends: ${misc:Depends} Replaces: libterralib3-doc Recommends: libterralib (= ${binary:Version}) Description: C++ library for Geographical Information Systems -- documentation package TerraLib enables quick development of custom-built geographical applications using spatial databases. As a research tool, TerraLib is aimed at providing a rich and powerful environment for the development of GIS research, enabling the development of GIS prototypes that include new concepts such as spatio-temporal data models, geographical ontologies and advanced spatial analysis techniques. TerraLib defines a geographical data model and provides support for this model over a range of different DBMS (MySQL, PostgreSQL, ORACLE and ACCESS), and is implemented as a library of C++ classes and functions, written in ANSI-C++. . This package contains examples for the terralib library. debian/patches/0000775000000000000000000000000012233105761010617 5ustar debian/patches/series0000664000000000000000000000006412233105536012034 0ustar geotiff.patch kfreebsd-build.patch pkg-config.patch debian/patches/pkg-config.patch0000664000000000000000000000244712233105536013673 0ustar Description: Add pkg-config file for terralib. Author: Alastair McKinstry Last-Updated: 2011-09-01 Forwarded: no diff -Nur -x '*.orig' -x '*~' libterralib/libterralib.pc libterralib.new/libterralib.pc --- libterralib/libterralib.pc 1970-01-01 01:00:00.000000000 +0100 +++ libterralib.new/libterralib.pc 2009-08-10 12:44:12.000000000 +0100 @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib/@DEB_HOST_MULTIARCH@ +includedir=${prefix}/include/terralib + +Name: libterralib +Description: C++ library for Geographical Information Systems +Version: 4.4.0 +Libs: -L${libdir} -lterralib +Cflags: -I${includedir}/terralib +Libs.private: -lz -ljpeg -lpthread -lproj -lgeotiff -ltiff diff -Nur -x '*.orig' -x '*~' libterralib/libterralib.pc.in libterralib.new/libterralib.pc.in --- libterralib/libterralib.pc.in 1970-01-01 01:00:00.000000000 +0100 +++ libterralib.new/libterralib.pc.in 2009-08-10 12:43:14.000000000 +0100 @@ -0,0 +1,11 @@ +prefix=@PREFIX@ +exec_prefix=${prefix} +libdir=/usr/lib/@DEB_HOST_MULTIARCH@ +includedir=${prefix}/include/terralib + +Name: libterralib +Description: C++ library for Geographical Information Systems +Version: @VERSION@ +Libs: -L${libdir} -lterralib +Cflags: -I${includedir}/terralib +Libs.private: -lz -ljpeg -lpthread -lproj -lgeotiff -ltiff debian/patches/kfreebsd-build.patch0000664000000000000000000000176312233105536014531 0ustar Description: Add support for GNU / KFreeBSD. Author: Cyril Brulebois Last-Updated: 2011-06-15 Forwarded: no Index: TerraLib_linux_v_4_0_0/src/terralib/kernel/TeDefines.h =================================================================== --- TerraLib_linux_v_4_0_0.orig/src/terralib/kernel/TeDefines.h 2011-06-17 11:56:34.000000000 +0100 +++ TerraLib_linux_v_4_0_0/src/terralib/kernel/TeDefines.h 2011-06-17 11:57:23.000000000 +0100 @@ -49,7 +49,7 @@ #if defined( WIN32 ) || defined( __WIN32__ ) || defined ( _WIN32 ) || defined( WIN64 ) || defined( _WIN32_WCE ) #define TePLATFORM TePLATFORMCODE_MSWINDOWS -#elif defined( __LINUX__ ) || defined( linux ) || defined( __linux__ ) ||defined( __FreeBSD__ ) //FAMI +#elif defined( __LINUX__ ) || defined( linux ) || defined( __linux__ ) ||defined( __FreeBSD__ ) || defined(__GLIBC__) //FAMI #define TePLATFORM TePLATFORMCODE_LINUX #elif defined( __APPLE_CC__ ) || defined( APPLE_CC ) #define TePLATFORM TePLATFORMCODE_APPLE debian/patches/geotiff.patch0000664000000000000000000000251112233105536013262 0ustar Description: Link against Debian system geotiff, rather than our own version. Don't build unnecessary packages. Author: Alastair McKinstry Last-Updated: 2011-09-01 Forwarded: no Index: TerraLib_linux_v_4_0_0/build/qt4/terralib.pro =================================================================== --- TerraLib_linux_v_4_0_0.orig/build/qt4/terralib.pro 2011-06-17 11:41:55.000000000 +0100 +++ TerraLib_linux_v_4_0_0/build/qt4/terralib.pro 2011-06-17 11:42:22.000000000 +0100 @@ -5,10 +5,7 @@ #------------------------------------------- TEMPLATE = subdirs CONFIG += ordered -SUBDIRS = ./libjpeg \ - ./shapelib \ - ./tiff \ - ./terralib \ +SUBDIRS = ./terralib \ ./te_functions \ ./te_utils contains(TEDRIVERS, ALLDRIVERS) { Index: TerraLib_linux_v_4_0_0/build/qt4/terralib/terralib.pro =================================================================== --- TerraLib_linux_v_4_0_0.orig/build/qt4/terralib/terralib.pro 2011-06-17 11:43:21.000000000 +0100 +++ TerraLib_linux_v_4_0_0/build/qt4/terralib/terralib.pro 2011-06-17 11:43:34.000000000 +0100 @@ -15,7 +15,7 @@ LIBS += -lzlibdll } unix:LIBS += -lpthread -lz -LIBS += -ljpeg -lterralibtiff +LIBS += -ljpeg -lgeotiff -ltiff INCLUDEPATH = $${TEKERNELPATH} \ $${TESRCPATH}/functions \ $${TESRCPATH}/utils \