Bug#775663: Reproducing time.js
On Sat, 2015-07-25 at 11:16 +0200, Martin Pitt wrote: > Hey Jesus, > > Jesus M. Gonzalez-Barahona [2015-07-03 18:23 +0200]: > > In fact, time.js seems to be reproduced just by (using the files in > > the > > src directory in Datejs-all-Alpha1.zip): > > > > cat globalization/en-US.js core-debug.js sugarpak-debug.js parser > > -debug.js > time.js > > Thanks for your investigations! I'll add that to debian/rules' > get-orig-source rule then. Great! Let's see if that´s enough to have calibre back in the repository! Jesus. -- http://twitter.com/jgbarah http://gsyc.es/~jgb -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#775663: Reproducing time.js
Hey Jesus, Jesus M. Gonzalez-Barahona [2015-07-03 18:23 +0200]: > In fact, time.js seems to be reproduced just by (using the files in the > src directory in Datejs-all-Alpha1.zip): > > cat globalization/en-US.js core-debug.js sugarpak-debug.js parser > -debug.js > time.js Thanks for your investigations! I'll add that to debian/rules' get-orig-source rule then. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature
Bug#775663: Reproducing time.js
In fact, time.js seems to be reproduced just by (using the files in the src directory in Datejs-all-Alpha1.zip): cat globalization/en-US.js core-debug.js sugarpak-debug.js parser -debug.js > time.js And then minimizing. You can check how this file compares to the original time.js for example at http://prettydiff.com/ which prettyfies and compares JavaScript even if minimized. The differences seem just cosmetics to me. In fact, my impression is that all directories in that package could be incorporated as source code. They include tests that run on a browser, for example. Some lines on how to create the time.js file (the above cat, plus a call to your preferred minimizer, for example) could be enough. If needed, this could be included in the Calibre build scripts, to really build from source. Just my two cents... Jesus. -- http://twitter.com/jgbarah http://gsyc.es/~jgb -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org