Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 05:24:51) On 2014-01-29 23:12:50, Jerome Charaoui wrote: Le 2014-01-29 22:16, Antoine Beaupré a écrit : Jérome: what's wrong with sass? you seem to be looking through heaven and earth for an alternative... :) I don't have any bias against it, it's only

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Antoine Beaupré
On 2014-01-30 09:29:08, Jonas Smedegaard wrote: runtime pkgsize bloat: 0 Thanks for those measurements Jonas!! If you insist on uglifying at runtime, then I still recommend compacting CSS at build time (300 bytes win is silly when using jQuery bloat!). If you insist on uglifying _CSS_ at

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 16:34:47) On 2014-01-30 09:29:08, Jonas Smedegaard wrote: runtime pkgsize bloat: 0 Thanks for those measurements Jonas!! If you insist on uglifying at runtime, then I still recommend compacting CSS at build time (300 bytes win is silly when using

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Antoine Beaupré
On 2014-01-30 12:15:00, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 16:34:47) On 2014-01-30 09:29:08, Jonas Smedegaard wrote: runtime pkgsize bloat: 0 Thanks for those measurements Jonas!! If you insist on uglifying at runtime, then I still recommend compacting CSS at

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 18:27:04) On 2014-01-30 12:15:00, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 16:34:47) For JS it makes sense because of section 4.13 (convenience copies), but the CSS is native... Not sure I understand you here. Debian do not allow

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 2014-01-30 13:38, Antoine Beaupré a écrit : That seems fair enough. I would say: a. compress CSS during build (or compact, i don't care) b. install CSS compressed in /var c. install CSS sources in /etc d. provide a clear way for users to

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Antoine Beaupré
On 2014-01-30 13:25:33, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 18:27:04) On 2014-01-30 12:15:00, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 16:34:47) For JS it makes sense because of section 4.13 (convenience copies), but the CSS is native... Not sure

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 19:38:15) On 2014-01-30 13:25:33, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 18:27:04) On 2014-01-30 12:15:00, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 16:34:47) For JS it makes sense because of section 4.13 (convenience

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Antoine Beaupré
On 2014-01-30 15:17:31, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 19:38:15) On 2014-01-30 13:25:33, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 18:27:04) On 2014-01-30 12:15:00, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 16:34:47) For JS it

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 21:34:21) On 2014-01-30 15:17:31, Jonas Smedegaard wrote: Convenience code copies don't require *runtime* compression. What? Isn't that why we are talking about triggers for javascript? Uhm, no. At least I am not. Perhaps if you quote the text giving you

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Antoine Beaupré
On 2014-01-30 16:30:37, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 21:34:21) On 2014-01-30 15:17:31, Jonas Smedegaard wrote: Convenience code copies don't require *runtime* compression. What? Isn't that why we are talking about triggers for javascript? Uhm, no. At least I

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-30 Thread Jonas Smedegaard
Quoting Antoine Beaupré (2014-01-30 22:56:53) On 2014-01-30 16:30:37, Jonas Smedegaard wrote: Quoting Antoine Beaupré (2014-01-30 21:34:21) On 2014-01-30 15:17:31, Jonas Smedegaard wrote: Convenience code copies don't require *runtime* compression. What? Isn't that why we are talking about

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 What do you think of node-cssmin ? It's based on nodejs, which is already a dependency for uglifyjs. It's not packaged in Debian, but that's something we can easily fix :) https://github.com/jbleuzen/node-cssmin - -- Jerome -BEGIN PGP

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 clean-css is another option based on nodejs, but which is already packaged in Debian. http://packages.debian.org/jessie/cleancss - -- Jerome -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove -

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jonas Smedegaard
Quoting Jerome Charaoui (2014-01-30 00:51:46) What do you think of node-cssmin ? It's based on nodejs, which is already a dependency for uglifyjs. It's not packaged in Debian, but that's something we can easily fix :) https://github.com/jbleuzen/node-cssmin Nodejs is a JavaScript engine -

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jonas Smedegaard
Quoting Jerome Charaoui (2014-01-30 01:11:03) clean-css is another option based on nodejs, but which is already packaged in Debian. http://packages.debian.org/jessie/cleancss Yes, and its package description claims it does same kind of job (minifying) as yui-compressor, just faster. It

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Antoine Beaupré
Jérome: what's wrong with sass? you seem to be looking through heaven and earth for an alternative... :) a. -- The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 2014-01-29 22:16, Antoine Beaupré a écrit : Jérome: what's wrong with sass? you seem to be looking through heaven and earth for an alternative... :) I don't have any bias against it, it's only that pulling in ruby does seem a bit overkill.

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Antoine Beaupré
On 2014-01-29 23:12:50, Jerome Charaoui wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 2014-01-29 22:16, Antoine Beaupré a écrit : Jérome: what's wrong with sass? you seem to be looking through heaven and earth for an alternative... :) I don't have any bias against it, it's only

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2014-01-29 Thread Jerome Charaoui
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 2014-01-29 23:24, Antoine Beaupré a écrit : But then cleancss brings in nodejs, which brings in libv8, which is a whole other beast. nodejs is also a dependency for uglifyjs. - -- Jerome -BEGIN PGP SIGNATURE- Version: GnuPG v1

Bug#721568: photofloat: move css below /etc and minify during install and on-demand

2013-09-01 Thread Jonas Smedegaard
Package: photofloat Severity: normal photofloat includes individual source css, minified css, and a minification bundle - only the last being actually used, and the being of little use for package users as they are provided in a non-editable directory. Please consider... a) move the source css