A separate bundle containing the uncompressed source to some bundled
javascript is provided by upstream and is part of this source package.
It will be unpacked as third-party-source/ by dpkg-source -x.

This package is maintained using git-dpm. Version >= 0.50 is needed,
as we make use of the Patch-Name feature.

Because of some interesting behaviour relating to components[1], new
upstream imports need to be done in a similar way to this:

git-dpm import-tar -p upstream ../request-tracker4_4.4.5.orig.tar.gz
git log|head -1|cut -f2 -d\
[note down the commit]
git checkout master
git-dpm import-new-upstream --component ../request-tracker4_4.4.5.orig-third-party-source.tar.gz -p [commit has from above] ../request-tracker4_4.4.5.orig.tar.gz
# Run the pristine-tar commands that are included in the output from this command.
git-dpm rebase-patched

[1] <http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/2013-March/003502.html>

For the 4.4.5 release, some unminified sources were missing from the
upstream third-party-source tarball. The Debian maintainers
have repacked the third-party tarball with the following changes:

* Imported ckeditor source from the canonical upstream locations
  (see debian/fixup-third-party.sh for details)

We are working with upstream to improve the process of maintaining
the third-party tarball for future releases. See
<https://rt.bestpractical.com/Ticket/Display.html?id=37009>.

Example use of debian/fixup-third-party.sh

tar zxvf request-tracker4_4.4.5.orig-third-party-source.tar.gz
cd request-tracker4/debian/maint
./fixup-third-party.sh ../../../ckeditor4 ../../../flat \
    ../../../ckeditor-plugin-scayt ../../../ckeditor-plugin-wsc 4.5.3
cd ../../../
tar zcvf request-tracker4_4.4.5+dfsg.orig-third-party-source.tar.gz \
    rt-4.4.5
cp -p request-tracker4_4.4.5.orig.tar.gz \
    request-tracker4_4.4.5+dfsg.orig.tar.gz

