* Add plugins. Closes: #550454.
* Update debian/copyright.
+ * Use of yui-compressor to re-minify Javascript files.
- -- Vincent Bernat <bernat@debian.org> Sun, 13 Feb 2011 15:25:45 +0100
+ -- Vincent Bernat <bernat@debian.org> Sun, 13 Feb 2011 16:19:33 +0100
roundcube (0.5.1-1) unstable; urgency=low
Priority: extra
Maintainer: Debian Roundcube Maintainers <pkg-roundcube-maintainers@lists.alioth.debian.org>
Uploaders: Vincent Bernat <bernat@debian.org>, Romain Beauxis <toots@rastageeks.org>
-Build-Depends: cdbs, debhelper (>= 5), dh-buildinfo, po-debconf
+Build-Depends: cdbs, debhelper (>= 5), dh-buildinfo, po-debconf, yui-compressor
Homepage: http://www.roundcube.net/
Standards-Version: 3.9.1
Vcs-Svn: svn://svn.debian.org/svn/pkg-roundcube/trunk
# Remove useless file
rm -rf $(CURDIR)/debian/roundcube-core/usr/share/roundcube/bin
find $(CURDIR)/debian/roundcube-core -name '._*' -print0 | xargs -r0 rm
- find $(CURDIR)/debian/roundcube-core -name '*.js.src' -print0 | xargs -r0 rm
+ # Convert .js.src back to js
+ for js in $$(find $(CURDIR)/debian/roundcube-core -name '*.js.src' -print); do \
+ yui-compressor --type js "$$js" -o "$${js%.*}" ; \
+ rm "$$js" ; \
+ done
# Remove files shipped in tinymce package
rm -rf $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/js/tiny_mce
dh_link -proundcube-core usr/share/tinymce/www usr/share/roundcube/program/js/tiny_mce