debian/0000755000000000000000000000000012217024301007156 5ustar debian/menu0000644000000000000000000000033711530005145010052 0ustar ?package(mobile-atlas-creator):needs="X11" \ section="Applications/Science/Geoscience" \ title="mobile-atlas-creator" command="/usr/bin/mobile-atlas-creator" \ icon="/usr/share/pixmaps/mobile-atlas-creator/mobac.xpm" debian/usr/0000755000000000000000000000000011763452406010007 5ustar debian/usr/directories.ini0000644000000000000000000000370711757214475013040 0ustar ####################################################################### # MOBAC system wide directory configuration # # for a Linux/Unix distribution compliant with # # XDG Base Directory Specification v0.7 # # http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html # ####################################################################### # # # Required environment variables: # # $XDG_CONFIG_HOME - usually $HOME/.config # # $XDG_CACHE_HOME - usually $HOME/.cache # # # ####################################################################### # # # Rename this file to "directories.ini" and place it in the same # # directory as the file Mobile-Atlas_Creator.jar # # # ####################################################################### # Directory where to save settings.xml and search for log4j.xml mobac.usersettingsdir=${XDG_CONFIG_HOME}/mobac # Directory where to save and load atlas profiles mobac.atlasprofilesdir=${XDG_CONFIG_HOME}/mobac # Directory where to search "map packs", custom maps and beanShell map sources # Updated map packs are also saved into this directory overwriting old ones mobac.mapsourcesdir=${XDG_CONFIG_HOME}/mobac/mapsources # Directory where to create the cache databases of downloaded tiles mobac.tilestoredir=${XDG_CACHE_HOME}/mobac/tilestore # Directory where to save config files for executing external tools from within MOBAC mobac.toolsdir=${XDG_CACHE_HOME}/mobac/tools # Directory where to create the temporary download container # mobac.tmpdir=${TMP}/mobac debian/usr/mobile-atlas-creator.desktop0000644000000000000000000000346711763451150015415 0ustar [Desktop Entry] Type=Application Version=1.0 Name=Mobile Atlas Creator GenericName=Mobile Atlas Creator Name[de]=Mobile Atlas Creator Name[ast]=Mobile Atlas Creator Name[bg]=Mobile Atlas Creator Name[bs]=Mobile Atlas Creator Name[ca]=Mobile Atlas Creator Name[ca@valencia]=Mobile Atlas Creator Name[cs]=Mobile Atlas Creator Name[csb]=Mobile Atlas Creator Name[da]=Mobile Atlas Creator Name[el]=Mobile Atlas Creator Name[en_GB]=Mobile Atlas Creator Name[eo]=Mobile Atlas Creator Name[es]=Mobile Atlas Creator Name[et]=Mobile Atlas Creator Name[eu]=Mobile Atlas Creator Name[fi]=Mobile Atlas Creator Name[fr]=Mobile Atlas Creator Name[ga]=Mobile Atlas Creator Name[gl]=Mobile Atlas Creator Name[he]=Mobile Atlas Creator Name[hr]=Mobile Atlas Creator Name[hu]=Mobile Atlas Creator Name[is]=Mobile Atlas Creator Name[it]=Mobile Atlas Creator Name[ja]=Mobile Atlas Creator Name[kk]=Mobile Atlas Creator Name[ko]=Mobile Atlas Creator Name[lt]=Mobile Atlas Creator Name[lv]=Mobile Atlas Creator Name[nb]=Mobile Atlas Creator Name[nds]=Mobile Atlas Creator Name[nl]=Mobile Atlas Creator Name[nn]=Mobile Atlas Creator Name[pl]=Mobile Atlas Creator Name[pt]=Mobile Atlas Creator Name[pt_BR]=Mobile Atlas Creator Name[ro]=Mobile Atlas Creator Name[ru]=Mobile Atlas Creator Name[sl]=Mobile Atlas Creator Name[sv]=Mobile Atlas Creator Name[tr]=Mobile Atlas Creator Name[uk]=Mobile Atlas Creator NoDisplay=false Comment=create offline-atlases for GPS/cell phone applications Comment[de]=Offline-Atlanten (Karten) für Handys und Navis erstellen Comment[it]=Creare atlante (mappe off line) per telefoni cellulari Comment[es]=Crear atlas (mapas off-line) para telefonos moviles Icon=/usr/share/pixmaps/mobile-atlas-creator/mobac.xpm TryExec=/usr/bin/mobile-atlas-creator Exec=/usr/bin/mobile-atlas-creator Terminal=false MimeType= Categories=Education;Geography debian/compat0000644000000000000000000000000211751426424010372 0ustar 9 debian/copyright0000644000000000000000000000711311757450403011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mobile-atlas-creator Upstream-Contact: Fredrik Möller Robert Source: http://sourceforge.net/projects/mobac/ We removed lib/*.jar because those binaries don't contain source code. Files: * Copyright: 2010 MOBAC developers License: GPL-2+ Files: src/main/java/org/openstreetmap/gui/jmapviewer/interfaces/MapMarker.java src/main/java/org/openstreetmap/gui/jmapviewer/interfaces/TileLoaderListener.java src/main/java/org/openstreetmap/gui/jmapviewer/interfaces/MapSource.java src/main/java/org/openstreetmap/gui/jmapviewer/interfaces/TileLoaderJobCreator.java src/main/java/org/openstreetmap/gui/jmapviewer/interfaces/TileImageCache.java src/main/java/org/openstreetmap/gui/jmapviewer/MapMarkerDot.java src/main/java/org/openstreetmap/gui/jmapviewer/Tile.java src/main/java/org/openstreetmap/gui/jmapviewer/MemoryTileCache.java src/main/java/org/openstreetmap/gui/jmapviewer/JMapViewer.java src/main/java/org/openstreetmap/gui/jmapviewer/OsmTileLoader.java src/main/java/org/openstreetmap/gui/jmapviewer/JMapController.java src/main/java/org/openstreetmap/gui/jmapviewer/OsmFileCacheTileLoader.java src/main/java/org/openstreetmap/gui/jmapviewer/JobDispatcher.java src/main/java/org/openstreetmap/gui/jmapviewer/DefaultMapController.java Copyright: 2010 MOBAC developers 2008 Jan Peter Stotz License: GPL-2+ Files: src/main/java/mobac/utilities/imageio/PngXxlWriter.java src/main/java/mobac/utilities/imageio/Png4BitWriter.java Copyright: 2010 MOBAC developers 2007 Matthias Mann - www.matthiasmann.de License: GPL-2+ Files: src/main/java/mobac/utilities/GBC.java Copyright: 2010 MOBAC developers 2007 Immanuel Scholz and others License: GPL-2+ Files: src/main/java/mobac/program/atlascreators/impl/rmp/RmpWriter.java src/main/java/mobac/program/atlascreators/impl/rmp/interfaces/RmpFileEntry.java src/main/java/mobac/program/atlascreators/impl/rmp/BoundingRect.java src/main/java/mobac/program/atlascreators/impl/rmp/rmpfile/GeneralRmpFileEntry.java src/main/java/mobac/program/atlascreators/impl/rmp/rmpfile/RmpIni.java src/main/java/mobac/program/atlascreators/impl/rmp/TileContainer.java src/main/java/mobac/program/atlascreators/impl/rmp/RmpTools.java src/main/java/mobac/program/atlascreators/impl/rmp/Tiledata.java src/main/java/mobac/program/atlascreators/impl/rmp/RmpLayer.java Copyright: 2010 MOBAC developers 2007 Andreas Sander License: GPL-2+ Files: src/main/resources/mobac/resources/xsl/gpx10to11.xsl Copyright: 2005 Cybarber Web Services, William A Slabbekoorn License: GPL-2+ Files: debian/* Copyright: 2010 Ying-Chun Liu (PaulLiu) License: GPL-2+ 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 program; if not, write 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'. debian/mobile-atlas-creator.xml0000644000000000000000000001232511421020607013712 0ustar .
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" manpage.1: manpage.xml $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. A description of the parameters you can use can be found in the docbook-xsl-doc-* packages. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include xsltproc and docbook-xsl in your Build-Depends control field. Alternatively use the xmlto command/package. That will also automatically pull in xsltproc and docbook-xsl. Notes for using docbook2x: docbook2x-man does not automatically create the AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as ... . To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be found in the docbook-xsl-doc-html package. Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` General documentation about man-pages and man-page-formatting: man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ --> ]> &dhtitle; &dhpackage; &dhfirstname; &dhsurname; Wrote this manpage for the Debian system.
&dhemail;
2010 &dhusername; This manual page was written 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 (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
&dhucpackage; &dhsection; &dhpackage; program to create atlas archive for mobile devices &dhpackage; DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the Debian distribution because the original program does not have a manual page. &dhpackage; (formerly known as TrekBuddy Atlas Creator) is an open source (GPL) program which creates offline atlases for GPS handhelds and cell phone applications like TrekBuddy, AndNav and other Android and WindowsCE based applications. For the full list of supported applications please see the features section. Additionally individual maps can be exported as one large PNG image with calibration MAP file for OziExplorer. As source for an offline atlas Mobile Atlas Creator can use a large number of different online maps such as OpenStreetMap, Google Maps, Microsoft/Bing Maps, Yahoo Maps and many more online map providers. OPTIONS The program does not have any options.
debian/control0000644000000000000000000000247212217023560010574 0ustar Source: mobile-atlas-creator Section: utils Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Build-Depends: debhelper (>= 9), docbook-xsl, javahelper, netpbm, xsltproc Build-Depends-Indep: ant, ant-contrib, ant-optional, bsh, default-jdk, libcommons-codec-java, libcommons-io-java, libcommons-lang3-java, libdb-je-java (>= 3.3.93), libitext5-java, libjtidy-java, liblog4j1.2-java, libpng-sixlegs-java, libsvn-java, libsvnkit-java, proguard, svnkit Standards-Version: 3.9.4 Homepage: https://sourceforge.net/projects/mobac/ Package: mobile-atlas-creator Architecture: all Depends: default-jre | java2-runtime | java-runtime, ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Description: program to create offline atlases for GPS/cell phone applications Formerly known as "TrekBuddy Atlas Creator". This application creates off-line atlases for the J2ME application TrekBuddy and various other mobile applications on Android and WindowsCE. debian/watch0000644000000000000000000000022212217015524010212 0ustar version=3 opts=dversionmangle=s/.dfsg\d+$// \ http://sf.net/mobac/Mobile[[:space:]]Atlas[[:space:]]Creator[[:space:]]([\d\.]+)[[:space:]]src\.zip debian/patches/0000755000000000000000000000000012217016363010616 5ustar debian/patches/series0000644000000000000000000000005611763447724012052 0ustar 01_use_system_lib.patch 03_dont_use_jai.patch debian/patches/01_use_system_lib.patch0000644000000000000000000000742312217016363015173 0ustar Description: Use system provided libraries instead of the one inside tarball Due to the tarball doesn't contain the source code of those jar files. We are going to use the system provided instead of the embedded ones. Author: Ying-Chun Liu (PaulLiu) Last-Update: 2011-02-19 Index: mobile-atlas-creator-1.9.14+dfsg1/build.xml =================================================================== --- mobile-atlas-creator-1.9.14+dfsg1.orig/build.xml 2013-09-20 17:44:37.000000000 +0800 +++ mobile-atlas-creator-1.9.14+dfsg1/build.xml 2013-09-20 18:01:13.000000000 +0800 @@ -25,14 +25,16 @@ - - - - - - - + + + + + + + + + - + @@ -166,17 +168,8 @@ + value="./ sqlite-jdbc-3.7.2.jar sqlite.jar jai_core.jar jai_codec.jar jai_*.jar /usr/share/java/db-je.jar /usr/share/java/bsh.jar /usr/share/java/commons-codec.jar /usr/share/java/commons-io.jar /usr/share/java/commons-lang3.jar /usr/share/java/jtidy.jar /usr/share/java/itext5.jar /usr/share/java/png.jar /usr/share/java/log4j-1.2.jar" /> - - - - - - - - - @@ -196,7 +189,7 @@ - + -libraryjars "${rtlibraryjar}" -injars debian/patches/03_dont_use_jai.patch0000644000000000000000000000336512217015324014607 0ustar Description: Don't use jai lib We don't have it in Debian yet. Remove the support of PNG8 and PNG4 savings. Author: Ying-Chun Liu (PaulLiu) Last-Update: 2011-02-19 Index: mobile-atlas-creator-1.9.14+dfsg1/src/main/java/mobac/optional/JavaAdvancedImaging.java =================================================================== --- mobile-atlas-creator-1.9.14+dfsg1.orig/src/main/java/mobac/optional/JavaAdvancedImaging.java 2013-09-20 17:52:14.000000000 +0800 +++ mobile-atlas-creator-1.9.14+dfsg1/src/main/java/mobac/optional/JavaAdvancedImaging.java 2013-09-20 17:52:14.000000000 +0800 @@ -20,9 +20,6 @@ import java.awt.Graphics; import java.awt.image.BufferedImage; -import javax.media.jai.RenderedOp; -import javax.media.jai.operator.ColorQuantizerDescriptor; - /** * Centralizes all methods that require the optional Java Advanced Imaging * library. @@ -48,9 +45,19 @@ g.dispose(); image = trueColorImage; } - RenderedOp ro = ColorQuantizerDescriptor.create(image, ColorQuantizerDescriptor.MEDIANCUT, // - new Integer(colorCount), // Max number of colors - null, null, new Integer(1), Integer.valueOf(1), null); - return ro.getAsBufferedImage(); + if (colorCount == 256) { + BufferedImage ret = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_BYTE_INDEXED); + Graphics g = ret.getGraphics(); + g.drawImage(image,0,0,null); + g.dispose(); + return ret; + } else if (colorCount==16) { + BufferedImage ret = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_BYTE_BINARY); + Graphics g = ret.getGraphics(); + g.drawImage(image,0,0,null); + g.dispose(); + return ret; + } + return null; } } debian/source/0000755000000000000000000000000011421013124010453 5ustar debian/source/format0000644000000000000000000000001411421013124011661 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000053612217021732010174 0ustar Mobile_Atlas_Creator.jar Mobile?Atlas?Creator*.zip mobile-atlas-creator.1 src/mobac/mobac-rev.properties src/main/resources/mobac/mobac-rev.properties *.exe lib/svnversion.jar mobac.xpm mobac_*.ppm mobac_*.pbm mapsources/mappacks-md5.txt mapsources/*.jar Mobile?Atlas?Creator.log mobac-profile-Google?Maps?New?York.xml mobac-profile.xml settings.xml debian/README.source0000644000000000000000000000074111527756375011371 0ustar mobile-atlas-creator for Debian ------------------------------- The upstream uses zip format for the source release. Thus we re-package the upstream source by 1. unzip "Mobile Atlas Creator * src.zip" \ -d mobile-atlas-creator-$(VERSION).orig 2. rm mobile-atlas-creator-$(VERSION).orig/lib/* 3. tar czvf mobile-atlas-creator_$(VERSION).orig.tar.gz \ mobile-atlas-creator-$(VERSION).orig -- Ying-Chun Liu (PaulLiu) Feb, 16 Dec 2010 21:47:45 +0800 debian/install0000644000000000000000000000046411763452427010576 0ustar Mobile_Atlas_Creator.jar usr/share/mobile-atlas-creator debian/bin/mobile-atlas-creator usr/bin debian/usr/directories.ini usr/share/mobile-atlas-creator mapsources usr/share/mobile-atlas-creator mobac.xpm usr/share/pixmaps/mobile-atlas-creator debian/usr/mobile-atlas-creator.desktop usr/share/applications debian/changelog0000644000000000000000000000352512217015604011043 0ustar mobile-atlas-creator (1.9.14+dfsg1-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.9.4: nothing needs to be changed * Don't use jh_repack. We need to remove binaries inside the zip. -- Ying-Chun Liu (PaulLiu) Fri, 20 Sep 2013 17:54:34 +0800 mobile-atlas-creator (1.9.10-1) unstable; urgency=low * New upstream release -- Ying-Chun Liu (PaulLiu) Fri, 08 Feb 2013 08:46:15 +0800 mobile-atlas-creator (1.9.7-1) unstable; urgency=low * New upstream release * Drop 02_port_to_je-db.patch: libdb-je-java in sid already >= 3.3.93 * Include desktop file. Thanks to Klaumi Klingsporn -- Ying-Chun Liu (PaulLiu) Wed, 06 Jun 2012 02:36:33 +0800 mobile-atlas-creator (1.9.6+dfsg1-1) unstable; urgency=low * New upstream release (Closes: #671618) * Update debian/copyright to latest format * Bump Standards-Version to 3.9.3: nothing needs to be changed * Bump debhelper compat to 9 -- Ying-Chun Liu (PaulLiu) Wed, 23 May 2012 23:47:49 +0800 mobile-atlas-creator (1.8+dfsg1-1) unstable; urgency=low * New upstream release * Update debian/copyright to dep5 rev 166 * Remove no-source binaries in upstream tarball - 01_use_system_lib.patch: use system provided binary libraries - 02_port_to_je-db.patch: port to libdb-je-java 3.3.62 - 03_dont_use_jai.patch: Avoid compile with jai -- Ying-Chun Liu (PaulLiu) Sat, 19 Feb 2011 23:11:26 +0800 mobile-atlas-creator (1.8-1) unstable; urgency=low * New upstream release -- Ying-Chun Liu (PaulLiu) Thu, 16 Dec 2010 21:47:44 +0800 mobile-atlas-creator (1.7-1) unstable; urgency=low * Initial release (Closes: #588251) -- Ying-Chun Liu (PaulLiu) Mon, 19 Jul 2010 17:09:20 +0800 debian/uupdateupstreamzip.sh0000755000000000000000000000113211751442632013502 0ustar #!/bin/sh PWD1=`pwd` TMPDIR=`mktemp -d` UPSTREAMVERSION="$2" if [ x"$UPSTREAMVERSION" = x ]; then UPSTREAMVERSION=`echo $1 | sed 's/.*Mobile Atlas Creator \([0-9.]*\) src\.zip/\1/'` fi cd $TMPDIR SRCDIR=mobile-atlas-creator-"$UPSTREAMVERSION""+dfsg1" mkdir "$SRCDIR" cd "$SRCDIR" unzip $PWD1/"$1" rm -f lib/* rm -f *.exe cd $TMPDIR tar czvf mobile-atlas-creator_"$UPSTREAMVERSION""+dfsg1".orig.tar.gz $SRCDIR cd $PWD1 mv -f $TMPDIR/mobile-atlas-creator_"$UPSTREAMVERSION""+dfsg1".orig.tar.gz .. uupdate -v "$UPSTREAMVERSION""+dfsg1" ../mobile-atlas-creator_"$UPSTREAMVERSION""+dfsg1".orig.tar.gz debian/bin/0000755000000000000000000000000011757204675007754 5ustar debian/bin/mobile-atlas-creator0000755000000000000000000000015211757204560013677 0ustar #!/bin/sh exec java -Xms64m -Xmx1024M -jar /usr/share/mobile-atlas-creator/Mobile_Atlas_Creator.jar "$@" debian/rules0000755000000000000000000000130412217017557010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" JAVA_HOME=/usr/lib/jvm/default-java %: dh $@ --with javahelper override_dh_auto_build: mobile-atlas-creator.1 mobac.xpm mkdir lib ant all dh_auto_build override_dh_auto_clean: ant clean_workspace ant clean_build rm -rf lib mobile-atlas-creator.1: debian/mobile-atlas-creator.xml $(XP) $(DB2MAN) $< mobac.xpm: misc/mobac.ico winicontoppm -allicons -writeands $< mobac ppmtoxpm -name=mobac_xpm -alphamask=mobac_and_0.pbm \ mobac_xor_0.ppm > $@ debian/manpages0000644000000000000000000000002711421021061010667 0ustar mobile-atlas-creator.1 debian/docs0000644000000000000000000000003211502420323010024 0ustar README-DEV.HTM README.HTM