debian/0000755000000000000000000000000012300231346007160 5ustar debian/gosmore.install0000644000000000000000000000013112026131040012211 0ustar elemstyles.xml usr/share/gosmore icons.csv usr/share/gosmore icons.xpm usr/share/gosmore debian/rules0000755000000000000000000000164712026131040010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk DESTDIR := $(CURDIR)/debian/gosmore DEB_MAKE_INSTALL_TARGET := DESTDIR=$(DESTDIR) prefix=/usr install CFLAGS := -DRES_DIR='\"/usr/share/gosmore/\"' SVNREPO := http://svn.openstreetmap.org/applications/rendering/gosmore SVNREV := 22284 DATE := $(shell date +%Y%m%d) get-orig-source: dh_testdir test -d ../tarballs/. || mkdir -p ../tarballs @echo Downloading gosmore from ${SVNREPO} svn -r $(SVNREV) --ignore-externals export ${SVNREPO} ../tarballs/gosmore-0.0.0.${DATE} @echo Removing debian dir rm -rf ../tarballs/gosmore-0.0.0.${DATE}/debian @echo Building snapshot tarball tar czf ../tarballs/gosmore_0.0.0.${DATE}.orig.tar.gz -C ../tarballs gosmore-0.0.0.${DATE} @echo Cleaning up rm -rf ../tarballs/gosmore-0.0.0.${DATE} @echo . @echo To update debian/changelog type @echo dch -v 0.0.0.${DATE}-1 @echo . debian/source/0000755000000000000000000000000012026131041010454 5ustar debian/source/format0000644000000000000000000000001412026131040011661 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001444512300231346011042 0ustar gosmore (0.0.0.20100711-2.1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/linker_flags.diff: Reordered linker parameters to avoid problem with GCC-4.6. (Closes: #631251) -- Artur Rona Sun, 16 Feb 2014 22:48:09 +0100 gosmore (0.0.0.20100711-2.1) unstable; urgency=low * Non-Maintainer Upload to fix RC bug * Applied patch from Ubuntu (LP: #937088), restricting compiler optimization with -fno-strict-overflow to fix starting with an endless loop. (closes: #652084) -- Kai Lüke Fri, 14 Sep 2012 16:29:04 +0200 gosmore (0.0.0.20100711-2ubuntu2) quantal; urgency=low * set -fno-strict-overflow to prevent busy loop on startup (LP: #937088) -- Julian Taylor Sat, 30 Jun 2012 20:17:48 +0200 gosmore (0.0.0.20100711-2ubuntu1) precise; urgency=low * Merge from Debian testing, remaining changes: - Add linker_flags.diff: Reordered linker parameters to avoid problem with GCC-4.6 -- Felix Geyer Wed, 07 Dec 2011 20:08:42 +0100 gosmore (0.0.0.20100711-2) unstable; urgency=low * Moved repository to git. * Changed Vcs-* fields in debian/control. * Source format moved to 3.0 and quilt support. * Added a patch to remove curl/types.h inclusion. (closes: #637704) * Policy bumped to 3.9.2. No changes. * Debhelper level set to 8. -- Francesco Paolo Lovergine Thu, 03 Nov 2011 16:01:09 +0100 gosmore (0.0.0.20100711-1ubuntu1) oneiric; urgency=low * Makefile.in: Reordered linker parameters to avoid problem with GCC-4.6 (LP: #770751) -- Sebastian Carneiro Sun, 10 Jul 2011 18:17:12 +0200 gosmore (0.0.0.20100711-1) unstable; urgency=low * New upstream snapshot fetched for svn, revision: 22284 This version introduces changes for compatibility with recent gpsd versions and protocols. Thanks Bernd Zeimetz. * Policy bumped to 3.9.0. No changes. * Now build system uses autoconf. * Added new libcurl4-gnutls-dev build-dep. -- Francesco Paolo Lovergine Mon, 12 Jul 2010 11:24:32 +0200 gosmore (0.0.0.20090624-1) unstable; urgency=low * New upstream snapshot fetched from svn, revision 16088. (Closes: #533372) * debian/rules get-orig-source: - Remove debian/ dir. - Ignore externals in svn export command. * Removed 10-findresources.dpatch, applied upstream. * Mentioned ConvertUTF.c, elemstyles.xml and icons.* in debian/copyright. * Added a note to the long description that gosmore needs additional data files. (Closes: #491842) * Dropped dependency on libgps-dev, gosmore tries to parse NMEA sentences on its own. (Closes: #524042) * Removed dpatch build-dependency and debian/patches since there are no patches currently. * Bumped policy to 3.8.2, without changes. * Added DM-Upload-Allowed to debian/control. * Removed build-dependency on flite-dev, feature has been removed. * Bumped debhelper compatibility level to 7. -- Andreas Putzo Wed, 24 Jun 2009 20:32:38 +0000 gosmore (0.0.0.20080704-1) unstable; urgency=low [ Andreas Putzo ] * New upstream snapshot fetched from svn, revision 8034. (Closes: #487711, #479985) * Backported patch 10-findresources to search for files. not only in the current directory. * Adapt CFLAGS in debian/rules. * Added gosmore.install file. * Bumped Standards-Version to 3.8.0. * Added myself to Uploaders. * Added missing build dependency on libxml2-dev. [ Petter Reinholdtsen ] * Add josm as suggests. * Add get-orig-source target to the rules file. -- Andreas Putzo Sat, 05 Jul 2008 13:36:39 +0000 gosmore (0.0.0.20070901-3) unstable; urgency=low [ Francesco Paolo Lovergine ] * Debhelper compatibility level bumped to 5. * Policy bumped to 3.7.3 without changes. * Added Vcs-* fields into debian/control. * Added Homepage field in debian/control. [ Petter Reinholdtsen ] * Add Francesco Paolo Lovergine as uploader. * Acknowledge NMU (Closes: #454519, #456843) -- Petter Reinholdtsen Sat, 29 Mar 2008 13:10:26 +0100 gosmore (0.0.0.20070901-2.1) unstable; urgency=low * Non-maintainer upload. * debian/patches: - Removing 10_bad_gpsd_header.dpatch as the package FTBFS whith the applied patch, which was a workaround for a bug in libgps-dev. (Closes: #454519, #456843) * debian/control: - Changing the libgps-dev build dependency to require a version >= 2.34.dfsg-5 as the package will FTBFS with lower versions. -- Bernd Zeimetz Tue, 18 Dec 2007 23:54:29 +0100 gosmore (0.0.0.20070901-2) unstable; urgency=low * Change build-depend on gpsd to libgps-dev (>= 2.34.dfsg-3) | gpsd (<< 2.34.dfsg-1) to work with the new gpsd package while still allowing backports. (Closes: #447168) * Building with new gpsd will avoid duplicate dependency. (Closes: #440383) * New patch 10_bad_gpsd_header.dpatch to make sure the defines required by gps.h is set during compilation. Add dpatch as build-depend to get the patch applied. -- Petter Reinholdtsen Thu, 1 Nov 2007 11:26:55 +0100 gosmore (0.0.0.20070901-1) unstable; urgency=low * New upstream version. - Fix buffer overflow in route finding code. (Closes: #439732) * Change priority from important to optional. The important priority was the result of a cut-n-paste error. (Closes: #439607) -- Petter Reinholdtsen Sat, 1 Sep 2007 13:01:38 +0200 gosmore (0.0.0.20070819-1) unstable; urgency=low * Initial Release. (Closes: #436039) * Added menu entry based on the one in qgis. Change menu section from Apps/Science to Applications/Science/Geoscience, to match new menu proposal. * Make the Debian GIS group the maintainer, and myself an uploader. * Depend directly on gpsd to prepare for libgpsd to be split out from the gpsd package. * Need to build-depend on libgtk2.0-dev. * Build-depend on flite-dev to get speech synthesis. * Build-depend on gpsd to support showing current GPS position. * Define ROUTE_TEST during build to enable route finding. * Make sure the copyright file make it clear that the source is public domain. -- Petter Reinholdtsen Thu, 09 Aug 2007 00:15:23 +0200 debian/gosmore.docs0000644000000000000000000000000712026131040011475 0ustar README debian/patches/0000755000000000000000000000000012300231116010602 5ustar debian/patches/series0000644000000000000000000000006712300231116012022 0ustar curl_types.h linker_flags.diff no-strict-overflow.diff debian/patches/linker_flags.diff0000644000000000000000000000444411667734625014136 0ustar diff -pruN 0.0.0.20100711-1/Makefile.in 0.0.0.20100711-1ubuntu1/Makefile.in --- 0.0.0.20100711-1/Makefile.in 2010-07-12 10:03:38.000000000 +0100 +++ 0.0.0.20100711-1ubuntu1/Makefile.in 2011-07-10 20:09:02.000000000 +0100 @@ -34,8 +34,8 @@ EXTRA=`pkg-config --cflags --libs gtk+-2 # I found that it's more reliable and more portable to use aplay, but # gnome sound can still be activated with this: # `pkg-config --cflags --libs libgnomeui-2.0 && echo -DUSE_GNOMESOUND` -XMLFLAGS=`pkg-config --cflags libxml-2.0 || echo -I /usr/include/libxml2` \ - `pkg-config --libs libxml-2.0 || echo -l xml2 -lm` +XMLFLAGS=`pkg-config --cflags libxml-2.0 || echo -I /usr/include/libxml2` +XMLLIBS= `pkg-config --libs libxml-2.0 || echo -lxml2 -lm` ARCH=arm-mingw32ce- else # To compile with mingw, install MSYS and mingw, and then download @@ -58,11 +58,11 @@ all: gosmore$(EXE) # it. THE CODE IS NOT FINISHED. Linux version looks promising. gosmore: gosmore.cpp libgosm.cpp libgosm.h bboxes.c g++ -DCHILDREN=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \ - gosmore.cpp libgosm.cpp -o gosmore ${EXTRA} + gosmore.cpp libgosm.cpp -o gosmore ${EXTRA} ${XMLLIBS} gosmore16: gosmore.cpp libgosm.cpp libgosm.h g++ -DGOSMZ=16 ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \ - gosmore.cpp libgosm.cpp -o gosmore16 ${EXTRA} + gosmore.cpp libgosm.cpp -o gosmore16 ${EXTRA} ${XMLLIBS} $(ARCH)gosmore.exe: gosmore.cpp libgosm.cpp gosmore.rsc resource.h \ libgosm.h ceglue.h ceglue.c bboxes.c @@ -83,17 +83,17 @@ translations.c: extract wget -O - ${WIKIPAGE}/Translations |./extract >translations.c extract: extract.c - ${CC} ${CFLAGS} ${XMLFLAGS} extract.c -o extract + ${CC} ${CFLAGS} ${XMLFLAGS} extract.c -o extract ${XMLLIBS} bboxes.c: density.c density.txt - gcc -lm density.c -o density + gcc density.c -o density -lm ./density density.sh # wget http://www.openstreetmap.org/api/0.6/changeset/1707270/download -O \ # countries.osm osmunda: osmunda.cpp libgosm.cpp libgosm.h g++ ${CFLAGS} ${WARNFLAGS} ${XMLFLAGS} \ - osmunda.cpp libgosm.cpp -o osmunda + osmunda.cpp libgosm.cpp -o osmunda ${XMLLIBS} voices: echo '(voice_rab_diphone)' >/tmp/voice_rab_diphone echo 'At the junction, turn left.' | festival_client \ debian/patches/no-strict-overflow.diff0000644000000000000000000000127211773642315015245 0ustar Description: disable optimizations based on strict overflow some part of the code gets miscompiled to an infinite loop on startup Author: Julian Taylor Bug: https://trac.openstreetmap.org/ticket/4450 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652084 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gosmore/+bug/937088 --- a/Makefile.in +++ b/Makefile.in @@ -9,7 +9,7 @@ bindir = $(prefix)/bin datarootdir = $(prefix)/share -CFLAGS=-O2 -DRES_DIR=\"$(prefix)/share/gosmore/\" +CFLAGS=-O2 -DRES_DIR=\"$(prefix)/share/gosmore/\" -fno-strict-overflow WARNFLAGS= -W -Wall #"------------------------ Compiling with cegcc : --------------------------- debian/patches/curl_types.h0000644000000000000000000000066412026131040013152 0ustar Index: gosmore/gosmore.cpp =================================================================== --- gosmore.orig/gosmore.cpp 2011-11-03 15:55:03.000000000 +0100 +++ gosmore/gosmore.cpp 2011-11-03 15:58:35.000000000 +0100 @@ -124,7 +124,6 @@ #include #include #include -#include #include #endif #ifdef USE_GEOCLUE // Not used and never worked debian/compat0000644000000000000000000000000212026131040010351 0ustar 8 debian/control0000644000000000000000000000175712026131040010570 0ustar Source: gosmore Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian GIS Project Uploaders: Francesco Paolo Lovergine DM-Upload-Allowed: yes Build-Depends: debhelper (>> 8), cdbs, libgtk2.0-dev, libxml2-dev, libcurl4-gnutls-dev Standards-Version: 3.9.2 Homepage: http://wiki.openstreetmap.org/index.php/Gosmore Vcs-Browser: http://git.debian.org/?p=pkg-grass/gosmore.git Vcs-Git: git://git.debian.org/git/pkg-grass/gosmore.git Package: gosmore Priority: optional Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gpsd Suggests: josm Description: Openstreetmap.org viewer / wayfinder / search client Gosmore is a openstreetmap.org viewer and wayfinder with support for speech syntesis and fetching the current location from gpsd. . This package requires additional data files which can be downloaded freely from openstreetmap.org. debian/copyright0000644000000000000000000000416612026131040011115 0ustar This package was debianized by Petter Reinholdtsen on Sun Aug 5 00:37:38 CEST 2007 It was downloaded using svn from . Upstream Author is Nic Roets with contribution(s) from Dave Hansen. Copyright: This software is placed by in the public domain by its authors. The files ConvertUTF.c ConvertUTF.h are Copyright (C) 2001-2004 Unicode, Inc. License: Disclaimer This source code is provided as is by Unicode, Inc. No claims are made as to fitness for any particular purpose. No warranties of any kind are expressed or implied. The recipient agrees to determine applicability of information provided. If this file has been purchased on magnetic or optical media from Unicode, Inc., the sole remedy for any claim will be exchange of defective media within 90 days of receipt. Limitations on Rights to Redistribute This Code Unicode, Inc. hereby grants the right to freely use the information supplied in this file in the creation of products supporting the Unicode Standard, and to make copies of this file in any form for internal or external distribution as long as this notice remains attached. The files elemstyle.xml icons.csv icons.xpm are Copyright (C) 2006-2009 The Gpsdrive Development Team License: This package 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. 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' debian/gosmore.menu0000644000000000000000000000017412026131040011516 0ustar ?package(gosmore):needs="X11"\ section="Applications/Science/Geoscience"\ title="Gosmore"\ command="/usr/bin/gosmore" debian/gosmore.dirs0000644000000000000000000000003212026131040011504 0ustar usr/bin usr/share/gosmore