debian/0000755000000000000000000000000012231534013007160 5ustar debian/watch0000644000000000000000000000031012231533526010213 0ustar version=3 opts=dversionmangle=s/\+dfsg\d*// \ http://svn.openstreetmap.org/applications/viewer/jmapviewer/releases/(\d+(?:\.\d+)*)/JMapViewer-(\d\S*)-Source\.(?:tar\.(?:gz|bz2|xz)|tgz|tbz2|txz|zip) debian/copyright0000644000000000000000000000513612231533526011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JMapViewer Source: http://svn.openstreetmap.org/applications/viewer/jmapviewer Files-Excluded: src/org/openstreetmap/gui/jmapviewer/images/bing_maps.png Files: * Copyright: 2008 Jan Peter Stotz and others License: GPL-2+ Files: debian/* Copyright: 2011-2013 Andrew Harvey 2013 Felix Natter License: BSD-2-clause or GPL-2+ License: BSD-2-clause All rights reserved. . 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 above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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: GPL-2+ 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 2 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. . 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 full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000000023512231533526011042 0ustar jmapviewer (1.02+dfsg1-1) unstable; urgency=low * Initial release. (Closes: #649226) -- Felix Natter Sat, 12 Oct 2013 09:37:49 +0200 debian/README.source0000644000000000000000000000071712231533526011354 0ustar JMapViewer-1.0-Source.tar.gz is generated by 'get-orig-source' target. +dfsg1 suffix has been added because bing_maps.png shall be removed at import: gbp import-orig --filter bing_maps.png --filter-pristine-tar --pristine-tar -u1.0+dfsg1 \ ../JMapViewer-1.0-Source.tar.gz As an alternative, you can use the result of uscan (get-orig-source target), which is also configured for removal of bing_maps.png (by means of Files-Excluded: in debian/copyright).debian/jmapviewer.dirs0000644000000000000000000000005712231533526012226 0ustar /usr/bin /usr/share/java /usr/share/jmapviewer debian/source/0000755000000000000000000000000012231533526010470 5ustar debian/source/lintian-overrides0000644000000000000000000000000012231533526014037 0ustar debian/source/format0000644000000000000000000000001412231533526011676 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212231533526010366 0ustar 9 debian/patches/0000755000000000000000000000000012231533526010617 5ustar debian/patches/03-use-installed-library-in-demo.patch0000644000000000000000000000127712231533526017630 0ustar From: Andrew Harvey Subject: Use installed library for the demo application Forwarded: not-needed Last-Update: 2013-03-15 Adjustment to the ant build.xml file. Using the system wide jmapviewer.jar library for the JMapViewer_Demo application. --- a/build.xml +++ b/build.xml @@ -50,7 +50,7 @@ - + debian/patches/series0000644000000000000000000000007312231533526012034 0ustar 01-build_less.patch 03-use-installed-library-in-demo.patch debian/patches/01-build_less.patch0000644000000000000000000000124512231533526014205 0ustar From: Andrew Harvey Subject: Adjustments to the ant build file Forwarded: not-needed Last-Update: 2011-11-19 Adjustment to the ant build.xml file. Only building the components required for this Debian package. --- a/build.xml +++ b/build.xml @@ -1,7 +1,7 @@ - + debian/jmapviewer.clean0000644000000000000000000000006612231533526012347 0ustar JMapViewer.jar JMapViewer_Demo.jar JMapViewer_src.jar debian/jmapviewer.lintian-overrides0000644000000000000000000000032512231533526014721 0ustar # this is a convenience jar for /usr/bin/jmapviewer which only contains Main-Class and Class-Path jmapviewer binary: codeless-jar usr/share/jmapviewer/JMapViewer_Demo.jar jmapviewer binary: no-upstream-changelog debian/rules0000755000000000000000000000255712231533526010261 0ustar #!/usr/bin/make -f # -*- makefile -*- # SVNREPO := http://svn.openstreetmap.org/applications/viewer/jmapviewer/ # SVNREV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p') # VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') # DESTDIR := ../tarballs/jmapviewer-${VER} # DESTTGZ := ../tarballs/jmapviewer_${VER}.orig.tar.gz VER=1.02 %: dh $@ override_dh_auto_clean: rm -rf $(CURDIR)/bin/* -rm -f jmapviewer.1 dh_auto_clean override_dh_auto_build: xsltproc --nonet \ --param make.year.ranges 1 \ --param make.single.year.ranges 1 \ --param man.charmap.use.subset 0 \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ debian/jmapviewer.1.xml dh_auto_build -- build pack create_run_jar override_dh_auto_install: dh_auto_install install -m 644 $(CURDIR)/JMapViewer.jar $(CURDIR)/debian/jmapviewer/usr/share/java/jmapviewer-${VER}.jar dh_link usr/share/java/jmapviewer-${VER}.jar usr/share/java/jmapviewer.jar install -m 644 $(CURDIR)/JMapViewer_Demo.jar $(CURDIR)/debian/jmapviewer/usr/share/jmapviewer/JMapViewer_Demo.jar install -m 755 $(CURDIR)/debian/jmapviewer_demo.sh $(CURDIR)/debian/jmapviewer/usr/bin/jmapviewer get-orig-source: uscan --download --repack --destdir .. .PHONY: override_dh_auto_clean override_dh_auto_install override_dh_auto_build debian/jmapviewer.1.xml0000644000000000000000000000630512231533526012226 0ustar Felix"> Natter"> October 3rd, 2013"> 1"> fnatter@gmx.net"> JMAPVIEWER"> Debian"> GNU"> GPL"> ]> &dhucpackage; &dhsection; JMapViewer 1.02 User Commands &dhpackage; JMapViewer is a java component which allows one to easily integrate an OSM map view into your Java application, including demo program 'jmapviewer'. jmapviewer DESCRIPTION &dhpackage; is a demo program for the JMapViewer library. OPTIONS There are no options for 'jmapviewer'. ENVIRONMENT VARIABLES There are no environment variables for 'jmapviewer'. SEE ALSO See http://wiki.openstreetmap.org/wiki/JMapViewer for more information. AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License, Version 2 can be found in /usr/share/common-licenses/GPL-2. debian/jmapviewer.manpages0000644000000000000000000000001412231533526013051 0ustar jmapviewer.1debian/control0000644000000000000000000000152712231533526010600 0ustar Source: jmapviewer Section: utils Priority: optional Maintainer: Debian GIS Project Uploaders: Felix Natter Build-Depends: ant, debhelper (>= 9~), default-jdk, docbook-xsl, docbook-xml, xsltproc Standards-Version: 3.9.4 Homepage: https://wiki.openstreetmap.org/wiki/JMapViewer Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/jmapviewer.git Vcs-Git: git://anonscm.debian.org/pkg-grass/jmapviewer.git Package: jmapviewer Architecture: all Depends: openjdk-7-jre, ${misc:Depends} Description: Java OpenStreetMap Tile Viewer JMapViewer is a Java Swing component for integrating OSM maps in to your Java application. JMapViewer allows you to set markers on the map or zoom to a specific location on the map. . This package includes both the library and a demo application. debian/jmapviewer_demo.sh0000644000000000000000000000025512231533526012703 0ustar #!/bin/sh # Simple wrapper script used to start JMapViewer_Demo in Debian set -e java -Djava.net.useSystemProxies=true -jar /usr/share/jmapviewer/JMapViewer_Demo.jar "$@" debian/jmapviewer.docs0000644000000000000000000000001312231533526012205 0ustar Readme.txt