sikuli for Debian
-----------------

1- Source tarball
1.1- Obtaining upstream source

Upstream has its source code repository on github:
 https://github.com/sikuli/sikuli

Our git repo has the upstream one set as remote.

1.2- Removing non DFSG parts

Upstream source comes with files which shouldn't be part of a source tarball,
such as external java libraries already packaged for Debian.

Since we need to remove these files, we also remove other unneeded parts:
* win32 and OS-X target files
* mx-native-loader
  Native JNI library loader ; let's use System.loadLibrary().
* presentation made with MS-Powerpoint
* utils dir (upstream dev tools, coverage tests, useless for the end-user)
* extensions (see below)

The removal is done manually when merging upstream's 'master' branch into
our local 'upstream' branch.

Paths to remove are listed into debian/orig-tar.exclude.

Note: We don't use jh_repack because it would only remove jar files, here.

2- Extensions

Extensions such as Guide follow their own versionning scheme and should
be shipped into via separate source packages as such.

That's why I remove the 'extensions' subdirectory as well from the source
tarball.

Sikuli Guide will need its own ITP.
