
Notes about JOSM source code in Debian
--------------------------------------

The source tarball for this package is obtained by
exporting a snapshot of the trunk in the upstream
development SVN:

http://josm.openstreetmap.de/svn/trunk

Since the translation files are stored in a different
repository, the i18n/ directory is obtained exporting
the SVN directory:

http://svn.openstreetmap.org/applications/editors/josm/i18n/

Moreover, some files had to be deleted at tarball creating
time, both because licensing issue and to save space from
unused files (such as autogenerated files).

Particularly, these files and directory were removed:

 * The icons directory, images/style/standard/, since all
   the used map icons are already available in the packages
   openstreetmap-map-icons-*.

 * Many embedded libraries, both in source code and JAR
   format. Instead, the corresponding Debian packages are
   used.

 * The images_nodist/ directory, which is not meant to
   be distributed.

 * Most of data_nodist/ directory/ (some of its files were
   needed to rebuild autogenerated code).

 * The i18n files contained in data/, since they're anyway
   rebuilt from to original *.po files.

 * The files src/org/openstreetmap/josm/data/imagery/types/*,
   which are autogenerated.

The get-orig-source target in debian/rules performs all the
operations needed to build the DFSG clean JOSM package.

