--- pyjamas-0.7~svn2052.orig/README +++ pyjamas-0.7~svn2052/README @@ -1,4 +1,4 @@ -Current Release: 0.6 +Current Release: 0.7~svn2052 --------------- With over 140 items in the CHANGELOG since the 0.5p1 stable release, --- pyjamas-0.7~svn2052.orig/bootstrap.py +++ pyjamas-0.7~svn2052/bootstrap.py @@ -3,7 +3,7 @@ """ simple creation of two commands, customised for your specific system. windows users get a corresponding batch file. yippeeyaiyay. """ -version = '0.6' +version = '0.7~svn2052' import os import sys --- pyjamas-0.7~svn2052.orig/run_bootstrap_first_then_pyjd_setup.py +++ pyjamas-0.7~svn2052/run_bootstrap_first_then_pyjd_setup.py @@ -20,7 +20,7 @@ """ setup(name = "Pyjamas Desktop", - version = "0.6", + version = "debian", description = "Pyjamas Widget API for Web applications, in Python", long_description = open('README', 'rt').read(), url = "http://pyjs.org", --- pyjamas-0.7~svn2052.orig/run_bootstrap_first_then_setup.py +++ pyjamas-0.7~svn2052/run_bootstrap_first_then_setup.py @@ -84,7 +84,7 @@ """ setup(name = "Pyjamas", - version = "0.6", + version = "debian", description = "Pyjamas Widget API for Web applications, in Python", long_description = open('README', 'rt').read(), url = "http://pyjs.org", --- pyjamas-0.7~svn2052.orig/debian/changelog +++ pyjamas-0.7~svn2052/debian/changelog @@ -0,0 +1,5 @@ +pyjamas (0.7~svn2052-1) unstable; urgency=low + + * Initial release (Closes: #501744) + + -- Luke Kenneth Casson Leighton Sat, 17 Oct 2009 16:37:22 +0100 --- pyjamas-0.7~svn2052.orig/debian/compat +++ pyjamas-0.7~svn2052/debian/compat @@ -0,0 +1 @@ +7 --- pyjamas-0.7~svn2052.orig/debian/control +++ pyjamas-0.7~svn2052/debian/control @@ -0,0 +1,138 @@ +Source: pyjamas +Section: python +Priority: extra +Maintainer: Luke Kenneth Casson Leighton +Build-Depends: debhelper (>= 7.0.50~), python +Build-Depends-Indep: python-support (>= 0.5.3) +Standards-Version: 3.8.3 +Homepage: http://pyjs.org + +Package: pyjamas +Architecture: all +Depends: ${misc:Depends}, pyjamas-ui, pyjamas-pyjs, pyjamas-desktop, pyjamas-gchart +Recommends: pyjamas-doc +Description: Python web widget toolkit and Python-to-Javascript compiler + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + Pyjamas is typically used for the development of "Web 2.0" RIAs, + where the application can be almost exclusively written in Python, + instead of Javascript, yet compiled to run in the user's browser. + Pyjamas also supports running the application as pure Python, + unmodified, using Pyjamas Desktop (conceptually similar to Adobe AIR) + . + Pyjamas does not do the "usual" static AJAX Javascript framework + paradigm but instead provides the developer with the tools and the + libraries to write their own Web 2.0 AJAX Framework, as if they + were programming and working with a standard Desktop Widget Set. + All the usual browser incompatibilities (e.g. History Management + and HTTPRequest) are taken care of. + . + The Pyjamas User-Interface Widget Set is startlingly similar to + that of Python-Qt4 and Python-Gtk2, with the distinct advantage + that applications run in all major web browsers, with absolutely + no plugins required (only Javascript need be enabled). Additional + advantages over the use of standard Desktop Widget sets are that + Pyjamas provides direct access to the full set of HTML features - + CSS, NPAPI Plugins such as Adobe Flash, and SVG 2D Canvas. + All these are directly available, rather than requiring additional + components. + . + This package is a metapackage that installs the javascript compiler; + Pyjamas Desktop; the user-interface widget set library and other useful + libraries. + +Package: pyjamas-pyjs +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Recommends: pyjamas-ui +Description: Pyjamas Python-to-Javascript compiler + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + This package contains the stand-alone python-to-javascript compiler. + +Package: pyjamas-desktop +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-hulahop +Recommends: pyjamas-ui +Description: Python web widget toolkit (Desktop version) + Pyjamas Desktop is the desktop version of Pyjamas, the + Web Widget application framework. + . + Pyjamas is typically used for the development of "Web 2.0" RIAs, + where the application can be almost exclusively written in Python, + instead of Javascript, yet compiled to run in the user's browser. + . + The Desktop version of Pyjamas takes the original Python application + (which, in the browser version, is put through a Javascript Compiler), + and executes it directly, through the standard Python Interpreter, + unmodified. The Pyjamas Infrastructure then uses XULRunner as the + Browser Engine, to render the application's widgets. + +Package: pyjamas-ui +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: Python Pyjamas Web Widget Set library + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + Pyjamas is typically used for the development of "Web 2.0" RIAs, + where the application can be almost exclusively written in Python, + instead of Javascript, yet compiled to run in the user's browser. + Pyjamas Desktop is the desktop version, where the exact same + application can also be run stand-alone on the desktop + (where debugging is slightly easier). + . + This package contains the User-Interface Widgets that are common + to both Pyjamas and Pyjamas-Desktop. + +Package: pyjamas-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Python web widget set + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + This package contains the documentation and the examples. + +Package: pyjamas-canvas +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, pyjamas-ui +Recommends: pyjamas-desktop +Description: Pyjamas Python port of GWTCanvas SVG Library + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + This package contains a port of the GWT Canvas library, to Pyjamas. + Written in pure Python, it can be used to create scalable vector + graphics applications in either a user's web browser (compiled to javascript), + or as a desktop application under Pyjamas-Desktop. + . + An online demo is here: + http://pyjs.org/examples/gwtcanvas/output/GWTCanvasDemo.html + . + Please note: pyjamas-canvas is experimental but functional, and does not yet + provide VML support (used exclusively by IE). Pyjamas-Desktop (with the + XULRunner backend), Firefox and Google Chrome have been confirmed as working. + +Package: pyjamas-gchart +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, pyjamas-ui +Recommends: pyjamas-desktop, pyjamas-canvas +Description: Pyjamas Python port of GWT GChart Charting and Graph Widget Library + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + This package contains a port of GChart: http://code.google.com/p/gchart to + Pyjamas. Written in pure Python, it can be used to create graphs, bar charts + and pie charts in either a user's web browser (compiled to javascript), + or as a desktop application under Pyjamas-Desktop. + . + An online demo is here: + http://pyjs.org/examples/gcharttestapp/output/GChartTestApp.html + . + Please note: pyjamas-gchart is experimental but functional, and does not yet + use SVG Canvas (which is much faster). + --- pyjamas-0.7~svn2052.orig/debian/copyright +++ pyjamas-0.7~svn2052/debian/copyright @@ -0,0 +1,723 @@ +This package was debianized by Luke Kenneth Casson Leighton +on Thu, 30 Jul 2009 21:20 + +It was downloaded from http://pyjs.org + +Format-Specification:http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: pyjamas +Maintainer: Luke Kenneth Casson Leighton +Source: http://pyjs.org + +Files: * +License: Apache +Copyright: 2008, 2009 Luke Kenneth Casson Leighton +Copyright: 2006, 2007 James Tauber +Copyright: 2006, James Tauber and contributors +Copyright: 2006 Google, Inc. +Copyright: 2007 Google, Inc. +Copyright: 2008 Google Inc. +Copyright: 2006-2009 Google, Inc. +Copyright: 2009, Willie Gollino - wgollino@yahoo.com +Copyright: 2009, Dobes Vandermeer - dobesv@gmail.com +Copyright: 2009, Bernd Dorn - +Copyright: 2009, Jurgen Kartnaller - +Copyright: 2007, Luis Pamirez +Copyright: 2008, 2009 Erik Westra +Copyright: 2003 Henk Punt +Copyright: Vicente J. Ruiz Jurado - vjrj@ourproject.org +Copyright: Gerard Labadie - gerard.labadie@gmail.com +Copyright: Stephan Diehl - stephan.diehl@gmx.net +Copyright: John Lehman - j1o1h1n@gmail.com +Copyright: G Clinch +Copyright: Kees Boss +Copyright: Radoslav Kirov +Copyright: 2009 Johan Wouters +Copyright: 2009 Laszlo Krekacs +Copyright: Beni Kerniavsky +Copyright: Mathias Waack +Copyright: 2009, Radoslav Kirov +Copyright: 2009 Yi Choong (http://code.google.com/u/yitchoong/) +Copyright: 2009 Nick +Copyright: 2009 hackadelic (http://code.google.com/u/hackadelic/) +Copyright: 2009 Catalin Patulea +Copyright: 2009 JJ Kunce (http://code.google.com/u/jjkunce) + +Files: examples/employeeadmin/* +Copyright: 2007-08 Toby de Havilland +License: Apache + +Files: examples/jsonrpc/public/services/jsonrpc/* examples/infohierarchy/public/services/jsonrpc/*, examples/test/cgi-bin/jsonrpc/* +Copyright: 2006 Jan-Klaas Kollhof +License: GPL-2 + +Files: library/pyjamas/dnd/* examples/dnd/* +Copyright: 2009 Fred Sauer +Copyright: 2007 Fred Sauer +Copyright: 2008 Fred Sauer +License: Apache + +Files: examples/jsonrpc/public/services/phpolait/* examples/dynamictable/public/phpolait/JSON.php +Copyright: 2005 Michal Migurski +Copyright: 2006 Craig Mason-Jones +License: GPL-2 + +Files: examples/gcharttestapp/* library/pyjamas/chart/* +Copyright: 2009 Luke Kenneth Casson Leighton +Copyright: 2007,2008,2009 John C. Gunther +License: Apache + +Files: examples/gwtcanvas/* library/pyjamas/Canvas/* +Copyright: 2009 Luke Kenneth Casson Leighton +Copyright: 2008 Google Inc. +License: Apache + +Files: examples/jsonrpc/public/services/simplejson/* +Copyright: (C) 2006-2009 Bob Ippolito +License: MIT + +Files: pyjs/src/pyjs/lib/md5.py +Copyright: 1996 Henri Torgemane. +License: Other + Permission to use, copy, modify, and distribute this software + and its documentation for any purposes and without + fee is hereby granted provided that this copyright notice + appears in all copies. + Of course, this soft is provided "as is" without express or implied + warranty of any kind. + +Files: run_bootstrap_first_then_setup.py +Copyright: 2007-2008 The PyAMF Project +Copyright: 2009 Luke Kenneth Casson Leighton +License: Apache + +Files: pyjd/sessionhistory.py +Copyright: 2007, One Laptop Per Child +License: GPL-2 + +Files: pyjd/importers.py pyjd/imputil.py +License: PSF +Copyright: 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation +Copyright: 2009 Luke Kenneth Casson Leighton + +Files: pyjd/pywebkitgtk.py +Copyright: 2006, Red Hat, Inc. +Copyright: 2007, One Laptop Per Child +Copyright: 2007 Jan Alonzo +Copyright: 2009, Luke Kenneth Casson Leighton +License: GPL-2 + +Files: pyjd/hula.py pyjd/progresslistener.py +Copyright: 2006, Red Hat, Inc. +Copyright: 2007, One Laptop Per Child +Copyright: 2009, Luke Kenneth Casson Leighton +License: GPL-2 + +Files: dev/bootstrap.py +Copyright: 2006 Zope Corporation and Contributors. +License: ZPL-2.1 + +Files: pygtkweb/demos/goalie.gif +Copyright: 1997, Totally Hip Software Inc. Hip Clips! +License: GPL-2 + +Files: pygtkweb/demos/023-calendar.py +Copyright: 1998 Cesar Miquel, Shawn T. Amundson, Mattias Gronlund +Copyright: 2001-2004 John Finlay +Copyright: 2000 Tony Gale +License: GPL-2 + +Files: pygtkweb/demos/068-scribblesimple.py +Copyright: 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald +Copyright: 2001-2004 John Finlay +License: GPL-2 + +Files: examples/djangowanted/media/public/fckconfig.js examples/djangoweb/media/public/fckconfig.js +Copyright: 2003-2009 Frederico Caldeira Knabben +License: MPL-1.1 or LGPL-2.1 or GPL-2 + +Files: examples/mail/public/leftCorner.gif examples/mail/public/rightCorner.gif +Copyright: 2008, Apple, Inc. +License: Apache + +Files: examples/jquery/public/jquery*.js +Copyright: 2008 John Resig (jquery.com) +License: MIT or GPL-2 + +Files: pyjd/windows.py +Copyright: 2003 Henk Punt +License: MIT + +Files: pgen/astprint.py +License: MIT +Copyright: 2007, Martin Blais + +Files: pgen/* +License: PSF or MIT +Copyright: 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation +Copyright: 2009, Scott Graham +Copyright: 2009 Luke Kenneth Casson Leighton +Copyright: 2004-2005 Elemental Security, Inc. +Copyright: 2006 Google, Inc. +Copyright: 1997-1998 Greg Stein. +Copyright: 2007, Martin Blais + +Files: debian/* +License: Apache +Copyright: 2009, Luke Kenneth Casson Leighton +Copyright: 2009, Philip Hands + +License: PSF + http://www.python.org/psf/license/ + http://www.python.org/download/releases/2.6.2/license/ + +License: GPL-2 + /usr/share/common-licenses/GPL-2 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + +License: LGPL-2.1 + /usr/share/common-licenses/LGPL-2.1 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +License: Apache + /usr/share/common-licenses/Apache-2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE + +License: ZPL-2.1 + Zope Public License (ZPL) Version 2.1 + + A copyright notice accompanies this license document that + identifies the copyright holders. + + This license has been certified as open source. It has also been + designated as GPL compatible by the Free Software Foundation + (FSF). + + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + 1. Redistributions in source code must retain the accompanying + copyright notice, this list of conditions, and the following + disclaimer. + 2. Redistributions in binary form must reproduce the accompanying + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + 3. Names of the copyright holders must not be used to endorse + or promote products derived from this software without prior + written permission from the copyright holders. + 4. The right to distribute this software or to use it for any + purpose does not give you the right to use Servicemarks (sm) + or Trademarks (tm) of the copyright holders. Use of them is + covered by separate agreement with the copyright holders. + 5. If any files are modified, you must cause the modified files + to carry prominent notices stating that you changed the files + and the date of any change. + + Disclaimer + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' + AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: MPL-1.1 + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + + 1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + + 2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + + 3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + + 4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + + 5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + + 6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + + 7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + + 8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + + 9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + + 10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + + 11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + + 12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + + 13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + --- pyjamas-0.7~svn2052.orig/debian/dirs +++ pyjamas-0.7~svn2052/debian/dirs @@ -0,0 +1,2 @@ +usr/share/doc/pyjamas + --- pyjamas-0.7~svn2052.orig/debian/gbp.conf +++ pyjamas-0.7~svn2052/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = False + --- pyjamas-0.7~svn2052.orig/debian/pyjamas-canvas.dirs +++ pyjamas-0.7~svn2052/debian/pyjamas-canvas.dirs @@ -0,0 +1 @@ +usr/share/pyjamas/library/pyjamas --- pyjamas-0.7~svn2052.orig/debian/pyjamas-pyjs.install +++ pyjamas-0.7~svn2052/debian/pyjamas-pyjs.install @@ -0,0 +1,5 @@ +usr/share/pyjamas +usr/lib/python*/site-packages/pyjs +usr/lib/python*/site-packages/Pyjamas-*.egg-info +bin/pyjsbuild usr/bin + --- pyjamas-0.7~svn2052.orig/debian/pyjamas-desktop.docs +++ pyjamas-0.7~svn2052/debian/pyjamas-desktop.docs @@ -0,0 +1 @@ +README --- pyjamas-0.7~svn2052.orig/debian/rules +++ pyjamas-0.7~svn2052/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# this is apparently for ubuntu weirdness. +-include /usr/share/python/python.mk +ifeq (,$(py_sitename)) + py_sitename = site-packages + py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages + py_sitename_sh = $(py_sitename) + py_libdir_sh = $(py_libdir) +endif + +%: + dh $@ + +override_dh_auto_clean: + dh_auto_clean + rm -fr tmp # remove examples + python run_bootstrap_first_then_setup.py clean + +override_dh_auto_build: + python bootstrap.py /usr/share/pyshared /usr/share/pyjamas . + python run_bootstrap_first_then_setup.py build + python run_bootstrap_first_then_pyjd_setup.py build + +override_dh_auto_install: + # install the pyjs package into debian/pyjamas (which also + # includes building pyjd, which we do NOT install in pyjs) + python run_bootstrap_first_then_setup.py install \ + $(py_setup_install_args) --root=debian/tmp + + # exceptions: these get created as their own package, + # everything else gets shoved into pyjamas-pyjs + + # examples byeeeeee! + rm -fr debian/tmp/usr/share/pyjamas/examples + + # canvas + mv debian/tmp/usr/share/pyjamas/library/pyjamas/Canvas \ + debian/pyjamas-canvas/usr/share/pyjamas/library/pyjamas + + # chart + mv debian/tmp/usr/share/pyjamas/library/pyjamas/chart \ + debian/pyjamas-gchart/usr/share/pyjamas/library/pyjamas + + # ui + mv debian/tmp/usr/share/pyjamas/library/pyjamas/ui \ + debian/pyjamas-ui/usr/share/pyjamas/library/pyjamas + +override_dh_pysupport: + dh_pysupport + dh_pysupport -ppyjamas-ui /usr/share/pyjamas + # no idea if this is needed, but am trying to comply with old package + # get rid of this whole paragraph if it's not needed + rm -rf debian/pyjamas-desktop/usr/share/pyshared/pyjs --- pyjamas-0.7~svn2052.orig/debian/pyjamas-doc.docs +++ pyjamas-0.7~svn2052/debian/pyjamas-doc.docs @@ -0,0 +1,2 @@ +README +doc/* --- pyjamas-0.7~svn2052.orig/debian/pyjamas-doc.doc-base +++ pyjamas-0.7~svn2052/debian/pyjamas-doc.doc-base @@ -0,0 +1,11 @@ +Document: pyjamas +Title: Pyjamas Manual +Author: Luke Kenneth Casson Leighton +Abstract: This documentation gives an introduction + to pyjamas, a Python web widget toolkit and + Python-to-Javascript compiler +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/pyjamas-doc/index.html +Files: /usr/share/doc/pyjamas-doc/*.html --- pyjamas-0.7~svn2052.orig/debian/pyjamas-gchart.dirs +++ pyjamas-0.7~svn2052/debian/pyjamas-gchart.dirs @@ -0,0 +1 @@ +usr/share/pyjamas/library/pyjamas --- pyjamas-0.7~svn2052.orig/debian/pyjamas-pygtkweb.control +++ pyjamas-0.7~svn2052/debian/pyjamas-pygtkweb.control @@ -0,0 +1,16 @@ +Package: pyjamas-pygtkweb +Architecture: all +Depends: pyjamas-pyjs, ${misc:Depends} +Description: Pyjamas Implementation of PyGTK compatible widget set + Pyjamas is a stand-alone Python to Javascript compiler, an AJAX + framework / library and a Desktop-like Widget set. + . + Pyjamas is typically used for the development of "Web 2.0" RIAs, + where the application can be almost exclusively written in Python, + instead of Javascript, yet compiled to run in the user's browser. + Pyjamas Desktop is the desktop version, where the exact same + application can also be run stand-alone on the desktop. + . + The pyjamas-pygtkweb package contains an experimental implementation of + gtk which allows (very basic!) gtk applications to be compiled to + javascript and executed in a web browser. --- pyjamas-0.7~svn2052.orig/debian/pyjamas-pygtkweb.dirs +++ pyjamas-0.7~svn2052/debian/pyjamas-pygtkweb.dirs @@ -0,0 +1 @@ +usr/share/pyjamas/pygtkweb --- pyjamas-0.7~svn2052.orig/debian/pyjamas-pyjs.docs +++ pyjamas-0.7~svn2052/debian/pyjamas-pyjs.docs @@ -0,0 +1 @@ +README --- pyjamas-0.7~svn2052.orig/debian/pyjamas-pyjs.manpages +++ pyjamas-0.7~svn2052/debian/pyjamas-pyjs.manpages @@ -0,0 +1 @@ +pyjs/src/pyjs/pyjsbuild.1 --- pyjamas-0.7~svn2052.orig/debian/watch +++ pyjamas-0.7~svn2052/debian/watch @@ -0,0 +1,3 @@ +version=2 +opts=dversionmangle=s/\.dfsg// \ +http://sf.net/pyjamas/pyjamas-(.+)\.tar\.gz --- pyjamas-0.7~svn2052.orig/debian/pyjamas-ui.dirs +++ pyjamas-0.7~svn2052/debian/pyjamas-ui.dirs @@ -0,0 +1 @@ +usr/share/pyjamas/library/pyjamas/ui --- pyjamas-0.7~svn2052.orig/debian/pyjamas-ui.docs +++ pyjamas-0.7~svn2052/debian/pyjamas-ui.docs @@ -0,0 +1 @@ +README --- pyjamas-0.7~svn2052.orig/debian/pyjamas.docs +++ pyjamas-0.7~svn2052/debian/pyjamas.docs @@ -0,0 +1 @@ +README --- pyjamas-0.7~svn2052.orig/debian/pyjsbuild.1 +++ pyjamas-0.7~svn2052/debian/pyjsbuild.1 @@ -0,0 +1,149 @@ +.TH PYJSBUILD 1 "April 28, 2009" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +pyjsbuild \- builds a web application +.SH SYNOPSIS +.B pyjsbuild +.RI [ options ] application +.br +.SH DESCRIPTION +This manual page documents briefly the +.B pyjsbuild +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBpyjsbuild\fP is a program that compiles python (pyjamas) web applications +into javascript, automatically adding suitable boilerplate, "loader" +infrastructure and run-time libraries, for detection and support of all major +web browsers. Typical usage is simply "pyjsbuild {Application}.py" and the +compiled application will be created in a subdirectory called "output". +If a subdirectory called "public" exists in the same directory in which +pyjsbuild is run, its contents will be copied verbatim and recursively +into the "output" directory. +.sp +To load the compiled application, as usual for any web application, +simply point the web browser at the {Application}.html file, which +can be found in the output directory. If at compile-time a file +named {Application}.html was not found in the same directory as +{Application}.py or in the "public" folder, pyjsbuild will create +a stub html file, automatically. +.sp +As applications are expected to run in a web browser as javascript, +the "standard" python libraries are \fBnot\fP accessible to the +web application. Hence, the pyjamas framework provides independent +reimplementations of standard python builtins, types and libraries +(that are written in, or compiled to, javascript, along with the +rest of the application). It is essential that a developer not +confuse standard python libraries with the pyjamas libraries if +the \-I option is used to specify additional library paths. +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.TP +.B \-o OUTPUT, --output=OUTPUT +directory to which the webapp should be written +.TP +.B \-j JS_INCLUDES, --include-js=JS_INCLUDES +javascripts to load into the same frame as the rest of the script +.TP +.B \-I LIBRARY_DIRS, --library_dir=LIBRARY_DIRS +additional paths appended to PYJSPATH +.TP +.B \-D DATA_DIR, --data_dir=DATA_DIR +path for data directory +.TP +.B \-m, --dynamic-modules +Split output into separate dynamically-loaded modules (experimental) +.TP +.B \-P PLATFORMS, --platforms=PLATFORMS +platforms to build for, comma-separated (default is all) +.TP +.B \-d, --debug +.TP +.B \-O, --optimize +Optimize generated code (removes all print statements) +.TP +.B \-c, --cache_buster +Enable browser cache-busting (MD5 hash added to output filenames) +.SH PLATFORM SUPPORT +Supported platforms are IE6, Mozilla, Safari, OldMoz and Opera. +The \-P option allows a subset of platforms to be compiled, if +desired. Platform support is done by looking for platform-specific +"overrides" in a subdirectory called "platform". So, if the application +is called "Hello.py", and there exists a file "platform/HelloIE6.py" +then any functions or classes in HelloIE6.py will "override" any such +functions or classes in the "Hello.py" module, specifically when +the code for the IE6 platform is compiled. +.sp +There are plenty of examples and instances throughout the pyjamas +libraries where platform-overrides are used (for example, the +BrowserDetect.py example). Note that because pyjamas takes care +of "merging" the platform-specific overrides in each module, +it is not necessary to override an entire class: only make +alternatives for those functions or class methods which absolutely +need replacing on a per-platform basis, and it is good practice +to split the application design into functions and classes where +as few platform-specific lines of code as possible go into the +platform-specific overrides. +.SH CACHE BUSTING +Browsers, Web Servers and Web Frameworks have a nasty habit of +cacheing HTML and Javascript files, which throws a spanner in +the works of rapid application development as the developer has +to clear the browsers' cache, delete the HTTP proxy cache, locate +and delete the Web Framework's cache (e.g. Joomla), clear the Web +Browser cache, restart the web server, restart the web browser etc. +To help avoid such stupidities, use the \-c option to add a unique +MD5 hash to the end of all output filenames. The MD5 hash that is +appended is the MD5 hash of the contents of each file. +.SH OPTIMISATION +\fBpyjsbuild\fP is \fBnot\fP a javascript compressor, it is a +compiler. Use \-m to enable dynamic (shared) modules if space is +at a premium, or consider running the javascript through a standard +javascript compressor such as YUI Compressor. Also bear in mind +that the \-d option increases the size of the compiled javascript +by four to five times, so do not use \-d for release builds. +.SH DEBUGGING +\fBpyjsbuild\fP is \fBnot\fP an interpreter, it is a compiler, +and the resultant javascript output will be interpreted by the +web browser, not the standard python interpreter. It is worth +emphasising this because python developers who are expecting +pyjsbuild to perform all the usual tricks that the standard python +interpreter performs are in for a bit of a shock. Therefore, just +as with all Web 2.0 Javascript applications, debugging needs to +be done using \fBjavascript\fP tools, such as the Microsoft Script +Debugger for IE, and Firebug and Venkman for Firefox (use of both +is thoroughly recommended). However, there are circumstances where +script debugging is either impossible or inconvenient. For that, +there is the "\-d" option which, whilst not perfect, provides a +reasonable approximation of python run-time stack trace exception +handling. +.SH SEE ALSO +.BR pyjscompile (1), +.BR http://pyjs.org +.SH AUTHOR +pyjamas was written by Luke Kenneth Casson Leighton , +James Tauber and others. It originated from a port of Google Web Toolkit, +which is Copyright Google, Inc. +.PP +This manual page was written by Luke Kenneth Casson Leighton , +for the Debian project (but may be used by others). --- pyjamas-0.7~svn2052.orig/debian/pyjamas-desktop.install +++ pyjamas-0.7~svn2052/debian/pyjamas-desktop.install @@ -0,0 +1 @@ +usr/lib/python*/site-packages/pyjd