debian/0000755000000000000000000000000012261640214007164 5ustar debian/menu0000644000000000000000000000022612261637632010065 0ustar ?package(spatialite-gui): \ needs="X11" \ section="Applications/Data Management" \ title="Spatialite GUI" \ command="/usr/bin/spatialite-gui" debian/source/0000755000000000000000000000000012261637632010476 5ustar debian/source/format0000644000000000000000000000001412261637632011704 0ustar 3.0 (quilt) debian/install0000644000000000000000000000010012261637632010556 0ustar debian/spatialite-gui.desktop usr/share/applications/ usr/bin/ debian/copyright0000644000000000000000000000477112261637632011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: spatialite-gui Upstream-Contact: Alessandro Furieri Source: https://www.gaia-gis.it/fossil/spatialite_gui/ Files: * Copyright: © 2008-2013, Alessandro Furieri License: GPL-3.0+ Files: ltmain.sh Copyright: 1996-2001, 2003-2010, Free Software Foundation, Inc. License: GPL-2.0+ with Libtool exception Files: debian/* Copyright: © 2011-2012, David Paleino License: GPL-3.0+ 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 package 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 this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/clean0000644000000000000000000000001712261637632010201 0ustar spatialite-gui debian/rules0000755000000000000000000000037212261637632010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ \ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_strip: dh_strip --dbg-package=spatialite-gui-dbg debian/spatialite-gui.desktop0000644000000000000000000000022512261637632013511 0ustar [Desktop Entry] Name=Spatialite GUI Exec=spatialite-gui Terminal=false Type=Application Categories=Development;Database; Keywords=spatial;sqlite;gis debian/patches/0000755000000000000000000000000012261637632010625 5ustar debian/patches/03-link-sqlite3.patch0000644000000000000000000000247012261637632014410 0ustar Description: Link to sqlite3 library. Author: Bas Couwenberg Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713644 Last-Update: 2013-09-30 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,8 @@ AC_CHECK_HEADERS(stddef.h,, [AC_MSG_ERRO AC_CHECK_HEADERS(stdint.h,, [AC_MSG_ERROR([cannot find stdint.h, bailing out])]) AC_CHECK_HEADERS(sys/time.h,, [AC_MSG_ERROR([cannot find sys/time.h, bailing out])]) AC_CHECK_HEADERS(unistd.h,, [AC_MSG_ERROR([cannot find unistd.h, bailing out])]) +AC_CHECK_HEADERS(sqlite3.h,, [AC_MSG_ERROR([cannot find sqlite3.h, bailing out])]) +AC_CHECK_HEADERS(sqlite3ext.h,, [AC_MSG_ERROR([cannot find sqlite3ext.h, bailing out])]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -87,6 +89,8 @@ AC_FUNC_STAT AC_FUNC_STRFTIME AC_CHECK_FUNCS([memset sqrt strcasecmp strerror strncasecmp strstr fdatasync ftruncate getcwd gettimeofday localtime_r memmove strerror]) +# Checks for installed libraries +AC_CHECK_LIB(sqlite3,sqlite3_prepare_v2,,AC_MSG_ERROR(['libsqlite3' is required but it doesn't seem to be installed on this system.]),-lm) AC_CHECK_LIB(proj,pj_init_plus,,AC_MSG_ERROR(['libproj' is required but it doesn't seem to be installed on this system.]),-lm) #----------------------------------------------------------------------- debian/patches/02-fix_typos.patch0000644000000000000000000001165212261637632014116 0ustar From: David Paleino Subject: fix typos in source code Forwarded: no --- Dialogs.cpp | 2 +- Exif.cpp | 4 ++-- Main.cpp | 12 ++++++------ MalformedGeoms.cpp | 2 +- TableTree.cpp | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) --- a/Exif.cpp +++ b/Exif.cpp @@ -64,8 +64,8 @@ void MyFrame::ImportExifPhotos(wxString else cnt = ExifLoadFile(path, gps_only, metadata); ::wxEndBusyCursor(); - sprintf(msg, "%d EXIF photo%s succesfully inserted into the DB\n", cnt, - (cnt > 1) ? "s where" : " was"); + sprintf(msg, "%d EXIF photo%s successfully inserted into the DB\n", cnt, + (cnt > 1) ? "s were" : " was"); wxMessageBox(wxString::FromUTF8(msg), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); InitTableTree(); --- a/Dialogs.cpp +++ b/Dialogs.cpp @@ -5306,7 +5306,7 @@ void AutoSaveDialog::OnChangePath(wxComm MainFrame->SetExternalSqlitePath(pth); if (MainFrame->MemoryDbSave() == true) { - wxMessageBox(wxT("Ok, MEMORY-DB was succesfully saved"), + wxMessageBox(wxT("Ok, MEMORY-DB was successfully saved"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); wxFileName file(fileDialog.GetPath()); lastDir = file.GetPath(); --- a/Main.cpp +++ b/Main.cpp @@ -2022,7 +2022,7 @@ void MyFrame::OnMemoryDbSave(wxCommandEv { if (MemoryDbSave() == true) { - wxMessageBox(wxT("Ok, MEMORY-DB was succesfully saved"), + wxMessageBox(wxT("Ok, MEMORY-DB was successfully saved"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); if (AutoSaveInterval <= 0) { @@ -2062,7 +2062,7 @@ void MyFrame::OnMemoryDbSave(wxCommandEv ExternalSqlitePath = fileDialog.GetPath(); if (MemoryDbSave() == true) { - wxMessageBox(wxT("Ok, MEMORY-DB was succesfully saved"), + wxMessageBox(wxT("Ok, MEMORY-DB was successfully saved"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); wxFileName file(fileDialog.GetPath()); lastDir = file.GetPath(); @@ -2316,10 +2316,10 @@ void MyFrame::OnVacuum(wxCommandEvent & } else { DbPagesCount(&totalPages2, &freePages2); - msg = wxT("Current DB was succesfully optimized"); + msg = wxT("Current DB was successfully optimized"); if (totalPages2 < totalPages) { - sprintf(dummy, "\n\n%d unused pages where reclaimed", + sprintf(dummy, "\n\n%d unused pages were reclaimed", totalPages - totalPages2); msg += wxString::FromUTF8(dummy); } @@ -2642,7 +2642,7 @@ void MyFrame::OnSqlScript(wxCommandEvent break; } sprintf(dummy, - "SQL Script normal termination\n\n%d SQL statements where performed", + "SQL Script normal termination\n\n%d SQL statements were performed", stmt); msg = wxString::FromUTF8(dummy); wxMessageBox(msg, wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, @@ -3724,7 +3724,7 @@ void MyFrame::LastDitchMemoryDbSave() ExternalSqlitePath = fileDialog.GetPath(); if (MemoryDbSave() == true) { - wxMessageBox(wxT("Ok, MEMORY-DB was succesfully saved"), + wxMessageBox(wxT("Ok, MEMORY-DB was successfully saved"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); break; --- a/MalformedGeoms.cpp +++ b/MalformedGeoms.cpp @@ -1009,7 +1009,7 @@ void MalformedGeomsDialog::OnRepair(wxCo goto clean_up; } ::wxEndBusyCursor(); - wxMessageBox(wxT("Repair completed succesfully"), + wxMessageBox(wxT("Repair completed successfully"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); wxDialog::EndModal(wxID_OK); return; --- a/TableTree.cpp +++ b/TableTree.cpp @@ -2374,7 +2374,7 @@ void MyTableTree::OnCmdRecoverSpatialInd if (retval) wxMessageBox(wxT("Spatial Index idx_") + obj->GetName() + wxT("_") + obj->GetColumn() + - wxT(" was succesfully recovered"), wxT("spatialite_gui"), + wxT(" was successfully recovered"), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); else wxMessageBox(wxT("ERROR: unable to recover Spatial Index idx_") + @@ -3150,7 +3150,7 @@ void MyTableTree::OnCmdRepairPolygons(wx if (count > 0) { char str[256]; - sprintf(str, "%d Geometries were succesfully updated", count); + sprintf(str, "%d Geometries were successfully updated", count); wxMessageBox(wxString::FromUTF8(str), wxT("spatialite_gui"), wxOK | wxICON_INFORMATION, this); ::wxEndBusyCursor(); debian/patches/00-fix_buildsystem.patch0000644000000000000000000000122512261637632015275 0ustar From: David Paleino Subject: fix buildsystem Origin: vendor Forwarded: no --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_INIT(spatialite_gui, 1.7.1, a.furieri AC_LANG(C) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,7 @@ spatialite_gui_SOURCES = Classdef.h Blob TextCsv.cpp Wfs.cpp LDADD = @WX_LIBS@ @LIBGAIAGRAPHICS_LIBS@ @LIBSPATIALITE_LIBS@ \ - @LIBFREEXL_LIBS@ @LIBXML2_LIBS@ + @LIBFREEXL_LIBS@ @LIBXML2_LIBS@ -lgeos_c EXTRA_DIST = Makefile-static-MinGW \ Makefile-static-Linux \ debian/patches/01-fix_binary_name.patch0000644000000000000000000000123612261637632015220 0ustar From: David Paleino Subject: fix binary name Origin: vendor Forwarded: no --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 -bin_PROGRAMS = spatialite_gui +bin_PROGRAMS = spatialite-gui INCLUDES = @CFLAGS@ INCLUDES += -I$(top_srcdir) --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT(spatialite_gui, 1.7.1, a.furieri@lqt.it) +AC_INIT(spatialite-gui, 1.7.1, a.furieri@lqt.it) AC_LANG(C) AC_CONFIG_MACRO_DIR([m4]) debian/patches/series0000644000000000000000000000013312261637632012037 0ustar 00-fix_buildsystem.patch 01-fix_binary_name.patch 02-fix_typos.patch 03-link-sqlite3.patch debian/watch0000644000000000000000000000043012261637632010224 0ustar version=3 opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/ (?:|.*/)spatialite[_\-]gui(?:[_\-]v?|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) debian/changelog0000644000000000000000000000447112261637632011056 0ustar spatialite-gui (1.7.1-2) experimental; urgency=low * Bump Standards-Version to 3.9.5, no changes required. * Require at least librasterlite version 1.1g-3. * Require at least libspatialite version 4.1.1-5 for libxml2 support. * Re-enable building with libxml2 support. -- Bas Couwenberg Sat, 14 Dec 2013 17:43:39 +0100 spatialite-gui (1.7.1-1) experimental; urgency=low * New upstream version. (closes: #688328) * Add myself to Uploaders. * Update watch file, incorporate sepwatch changes and handle common mistakes. * Update Homepage URL. * Use canonical URLs in Vcs-* fields. * Update minimum libspatialite version to 4.1.0. * Update minimum libgaiagraphics version to 0.5. * Add build dependency on libxml2-dev. * Add patch to link properly link sqlite3. * Disable libxml2 support, libgaiagraphics doesn't support the functions yet. * Add lintian override for no upstream changelog, link to timeline. * Add lintian override for missing man page, not useful for GUI program. * Add Keywords entry to desktop file. * Update copyright file. * Change priority to optional, keep priority extra for -dbg package. -- Bas Couwenberg Mon, 30 Sep 2013 19:30:46 +0200 spatialite-gui (1.6.0-1) experimental; urgency=low * New upstream version * Bump requirement on libspatialite to >= 4.0.0 -- David Paleino Sat, 01 Dec 2012 21:55:23 +0100 spatialite-gui (1.5.0-1) experimental; urgency=low * New upstream version (Closes: #689192) * Add missing Build-Depends on libgaiagraphics-dev and libfreexl-dev * Bumped debhelper compatibility to 9 * Standards-Version bump to 3.9.4, no changes needed * Updated debian/copyright -- David Paleino Sun, 30 Sep 2012 16:30:32 +0200 spatialite-gui (1.2.1-3) unstable; urgency=low * Fixed FTBS due to relinking in Makefile-linux and the new geos lib. (closes: #663646) -- Francesco Paolo Lovergine Tue, 13 Mar 2012 00:20:05 +0100 spatialite-gui (1.2.1-2) unstable; urgency=low * Fix package description, be more verbose. -- David Paleino Wed, 23 Mar 2011 21:38:27 +0100 spatialite-gui (1.2.1-1) unstable; urgency=low * Initial release (Closes: #610998) -- David Paleino Mon, 24 Jan 2011 19:45:15 +0100 debian/compat0000644000000000000000000000000212261637632010374 0ustar 9 debian/spatialite-gui.lintian-overrides0000644000000000000000000000036212261637632015500 0ustar # Changes available only in the upstream VCS: # https://www.gaia-gis.it/fossil/spatialite_gui/timeline spatialite-gui: no-upstream-changelog # Man page not useful for GUI program spatialite-gui: binary-without-manpage usr/bin/spatialite-gui debian/spatialite-gui-dbg.lintian-overrides0000644000000000000000000000022112261637632016224 0ustar # Changes available only in the upstream VCS: # https://www.gaia-gis.it/fossil/spatialite_gui/timeline spatialite-gui-dbg: no-upstream-changelog debian/control0000644000000000000000000000403112261637632010577 0ustar Source: spatialite-gui Maintainer: Debian GIS Project Uploaders: David Paleino , Bas Couwenberg Section: utils Priority: optional Build-Depends: debhelper (>= 9~), dh-autoreconf, pkg-config, wx-common, wx2.8-headers, libwxgtk2.8-dev, libspatialite-dev (>= 4.1.1-5~), libproj-dev, libgeos-dev, librasterlite-dev (>= 1.1g-3~), libgaiagraphics-dev (>= 0.5), libfreexl-dev, libxml2-dev Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/spatialite-gui.git Vcs-Git: git://anonscm.debian.org/pkg-grass/spatialite-gui.git Homepage: https://www.gaia-gis.it/fossil/spatialite_gui/ Package: spatialite-gui Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: user-friendly graphical user interface for SpatiaLite spatialite-gui is a Graphical User Interface (GUI) for SpatiaLite. . SpatiaLite is a SQLite extension that enables support of spatial (geometry) data in a way conformant to OpenGis specifications, with both WKT and WKB formats. . Spatialite also includes Virtualshape and Virtualtext to enable accessing shapefiles and csv/text files as virtual tables. Package: spatialite-gui-dbg Architecture: any Section: debug Priority: extra Depends: ${shlibs:Depends}, ${misc:Depends}, spatialite-gui (= ${binary:Version}) Description: user-friendly graphical user interface for spatialite - debugging symbols spatialite-gui is a Graphical User Interface (GUI) for spatialite. . SpatiaLite is a SQLite extension that enables support of spatial (geometry) data in a way conformant to OpenGis specifications, with both WKT and WKB formats. . Spatialite also includes Virtualshape and Virtualtext to enable accessing shapefiles and csv/text files as virtual tables. . This package contains debugging symbols.