Hi,

On Thu, 05 May 2011, Ansgar Burchardt wrote:
> wordpress includes several compressed javascript and flash files without
> source (for compressed javascript that is the uncompressed, editable
> version).  Examples include
> 
>   wp-includes/js/jquery/*
>   wp-includes/js/swfupload/swfupload.swf
>   wp-includes/js/tinymce/*.js
>   wp-includes/js/tinymce/plugins/media/img/flv_player.swf
> 
> swfupload.swf is not installed, but still included in the upstream
> tarball.

flv_player.swf is also not installed. So we should strip those 2 .swf
files from the source.

For the javascript files, I don't agree that it's a serious violation.

Jquery is dual licensed MIT/GPL, it could be used under the terms of the
MIT license which has no requirement on the preferred form of
modification.

All the files that have been modified/provided by WordPress (and not
grabbed directly from jquery/tinymce) have a .dev.js variant that
is the unscrambled version, some examples:
/usr/share/wordpress/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.dev.js
/usr/share/wordpress/wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.dev.js
/usr/share/wordpress/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.dev.js

/usr/share/wordpress/wp-includes/js/jquery/jquery.form.dev.js
/usr/share/wordpress/wp-includes/js/jquery/suggest.dev.js

And there are tools like http://jsbeautifier.org/ that you can use to get
back a somewhat editable version if you really want to edit the other
javascript files.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to