--- prism-0.8+svn20071115r8030.orig/debian/prism-facebook.install +++ prism-0.8+svn20071115r8030/debian/prism-facebook.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/facebook.webapp +debian/tmp/usr/share/applications/prism-facebook.desktop +debian/tmp/usr/share/pixmaps/prism-facebook.png --- prism-0.8+svn20071115r8030.orig/debian/rules +++ prism-0.8+svn20071115r8030/debian/rules @@ -0,0 +1,128 @@ +#!/usr/bin/make -f + +DEB_MOZ_APPLICATION=prism +DEB_MOZ_DIR=/usr/share/$(DEB_MOZ_APPLICATION) +DEB_MOZ_DATA=/usr/share/$(DEB_MOZ_APPLICATION) +DEB_MOZ_BIG_ICON=app/chrome/locale/en-US/brand/icon128.png + +DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p') +DEBIAN_UPSTREAM_VERSION := $(shell echo $(DEBIAN_VERSION) | sed 's/^\(.*\)-[^-]*$$/\1/') +DEBIAN_SVN_REVISION := $(shell echo $(DEBIAN_UPSTREAM_VERSION) | sed -e 's/.*svn.*r//') +DEBIAN_TMP := $(shell echo tmp-$$$$) + +SVN_URL=http://svn.mozilla.org/projects/webrunner/ +TAR_EXCLUDE= \ + --exclude=.svn \ + $(NULL) + +include /usr/share/quilt/quilt.make + +WEBAPPS = \ + "facebook@facebook@Facebook@http://www.facebook.com/@GTK;Network;" \ + "ganalytics@google-analytics@Google~Analytics@http://analytics.google.com/@GTK;Network;" \ + "gcalendar@google-calendar@Google~Calendar@https://www.google.com/calendar@GTK;Office;Calendar;" \ + "gdocs@google-docs@Google~Docs@https://docs.google.com/@GTK;Office;Spreadsheet;WordProcessor;" \ + "gmail@google-mail@Google~Mail~\(GMail\)@https://mail.google.com/@GTK;Network;Email;" \ + "greader@google-reader@Google~Reader@https://www.google.com/reader@GTK;Network;News;" \ + "groups@google-groups@Google~Groups@http://groups.google.com/groups/favorites@GTK;Network;News;" \ + "gtalk@google-talk@Google~Talk@http://talkgadget.google.com/talkgadget/popout@GTK;Network;InstantMessaging;" \ + "twitter@twitter@twitter@http://www.twitter.com/@GTK;Network;" \ + $(NULL) + +build: patch build-stamp + +build-stamp: + dh_testdir + if [ ! -L patches ] ; then ln -s debian/patches ; fi + touch $@ + +install: build + dh_testdir + dh_testroot + dh_installdirs + + install -d -m 755 debian/tmp$(DEB_MOZ_DIR) + ( cd app ; tar cf - . ) | ( cd debian/tmp$(DEB_MOZ_DIR) ; tar xvf - ) + uudecode -o debian/prism.png debian/prism.png.uu + install -m 644 debian/prism.png debian/tmp$(DEB_MOZ_DIR)/chrome/icons/default/default.png + install -m 644 debian/prism.png debian/tmp$(DEB_MOZ_DIR)/chrome/icons/default/app.png + install -m 644 debian/tmp$(DEB_MOZ_DIR)/chrome/icons/default/webrunner.png debian/tmp$(DEB_MOZ_DIR)/chrome/icons/default/app16.png + install -m 755 debian/prism.sh debian/tmp/usr/share/$(DEB_MOZ_APPLICATION)/$(DEB_MOZ_APPLICATION) + # WebApps + install -d -m 755 debian/tmp$(DEB_MOZ_DATA)/apps + ( cd install/profiles; tar cf - . ) | ( cd debian/tmp$(DEB_MOZ_DATA)/apps ; tar xvf - ) + # Desktop files + install -d -m 755 debian/tmp/usr/share/applications + install -m 644 debian/*.desktop debian/tmp/usr/share/applications + # Icons + for size in 32 48 ; do \ + install -d -m 755 debian/tmp/usr/share/icons/gnome/$${size}x$${size}/mimetypes ; \ + install -m 644 app/chrome/icons/default/webrunner$$size.png debian/tmp/usr/share/icons/gnome/$${size}x$${size}/mimetypes/gnome-mime-application-vnd.mozilla.webapp.png ; \ + done + install -d -m 755 debian/tmp/usr/share/pixmaps + for app in $(WEBAPPS) ; do \ + APP=`echo $$app | cut -d@ -f1` ; \ + NAME=`echo $$app | cut -d@ -f2` ; \ + ( cd debian ; unzip tmp$(DEB_MOZ_DATA)/apps/$$APP.webapp $$APP.xpm ); \ + if [ -e debian/$$APP.xpm ] ; then \ + convert debian/$$APP.xpm debian/$$APP.png ; \ + ( cd debian ; zip tmp$(DEB_MOZ_DATA)/apps/$$APP.webapp $$APP.png ) ; \ + mv debian/$$APP.png debian/prism-$$NAME.png ; \ + else \ + cp debian/prism.png debian/prism-$$NAME.png ; \ + fi ; \ + done + install -m 644 debian/*.png debian/tmp/usr/share/pixmaps + install -m 644 $(DEB_MOZ_BIG_ICON) debian/tmp/usr/share/pixmaps/prism.png + +binary-indep: install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs changelog + dh_install + dh_installmime + dh_installman + dh_icons + dh_desktop + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-arch binary-indep + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp patches + rm -rf debian/tmp + rm -f debian/prism-*.xpm debian/prism.png + dh_clean + +co: + rm -rf $(DEBIAN_TMP) + svn co $(TAG) $(SVN_URL) $(DEBIAN_TMP) + ( cd $(DEBIAN_TMP)/trunk ; svn log > changelog ) + sed '1,/^===/d' < debian/copyright > $(DEBIAN_TMP)/trunk/LICENSE + +pack: PKG_VERSION=$(shell grep ^Version= $(DEBIAN_TMP)/trunk/app/application.ini | cut -d= -f2 | tr -d '\r')+svn$(shell grep ^r $(DEBIAN_TMP)/trunk/changelog | head -1 | sed -e 's/^r\([0-9]*\) | [^|]* | \([^ ]*\).*/\2r\1/' | tr -d - ) +pack: + rm -rf $(DEB_MOZ_APPLICATION)-$(PKG_VERSION) + mv $(DEBIAN_TMP)/trunk $(DEB_MOZ_APPLICATION)-$(PKG_VERSION) + tar zcf $(DEB_MOZ_APPLICATION)_$(PKG_VERSION).orig.tar.gz $(TAR_EXCLUDE) $(DEB_MOZ_APPLICATION)-$(PKG_VERSION) + rm -rf $(DEBIAN_TMP) $(DEB_MOZ_APPLICATION)-$(PKG_VERSION) + ls -l $(DEB_MOZ_APPLICATION)_$(PKG_VERSION).orig.tar.gz + +get-current-source: TAG = -r $(DEBIAN_SVN_REVISION) +get-current-source: co pack + +get-orig-source: TAG = $(NULL) +get-orig-source: co pack + +.PHONY: binary binary-arch binary-indep build clean clean-dh get-orig-source get-current-source install co pack --- prism-0.8+svn20071115r8030.orig/debian/prism-facebook.desktop +++ prism-0.8+svn20071115r8030/debian/prism-facebook.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Facebook +GenericName=Prism for Facebook +Exec=prism-facebook +Terminal=false +Type=Application +Icon=prism-facebook +Categories=GTK;Network; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism-twitter.desktop +++ prism-0.8+svn20071115r8030/debian/prism-twitter.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=twitter +GenericName=Prism for twitter +Exec=prism-twitter +Terminal=false +Type=Application +Icon=prism-twitter +Categories=GTK;Network; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism-google-calendar.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-calendar.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Calendar +GenericName=Prism for Google Calendar +Exec=prism-google-calendar +Terminal=false +Type=Application +Icon=prism-google-calendar +Categories=GTK;Office;Calendar; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism.mime +++ prism-0.8+svn20071115r8030/debian/prism.mime @@ -0,0 +1 @@ +application/vnd.mozilla.webapp; /usr/bin/prism %s; description=Prism; test=test -n "$DISPLAY"; nametemplate=%s.webapp; priority=5 --- prism-0.8+svn20071115r8030.orig/debian/prism-google-talk.links +++ prism-0.8+svn20071115r8030/debian/prism-google-talk.links @@ -0,0 +1,3 @@ +usr/share/prism/apps/gtalk.webapp usr/share/prism/apps/google-talk.webapp +usr/bin/prism usr/bin/prism-google-talk +usr/share/man/man1/prism.1.gz usr/share/man/man1/prism-google-talk.1.gz --- prism-0.8+svn20071115r8030.orig/debian/prism-google-docs.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-docs.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Docs +GenericName=Prism for Google Docs +Exec=prism-google-docs +Terminal=false +Type=Application +Icon=prism-google-docs +Categories=GTK;Office;Spreadsheet;WordProcessor; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism-google-analytics.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-analytics.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Analytics +GenericName=Prism for Google Analytics +Exec=prism-google-analytics +Terminal=false +Type=Application +Icon=prism-google-analytics +Categories=GTK;Network; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism.sharedmimeinfo +++ prism-0.8+svn20071115r8030/debian/prism.sharedmimeinfo @@ -0,0 +1,7 @@ + + + + Prism Web Application + + + --- prism-0.8+svn20071115r8030.orig/debian/prism-google-reader.install +++ prism-0.8+svn20071115r8030/debian/prism-google-reader.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/greader.webapp +debian/tmp/usr/share/applications/prism-google-reader.desktop +debian/tmp/usr/share/pixmaps/prism-google-reader.png --- prism-0.8+svn20071115r8030.orig/debian/changelog +++ prism-0.8+svn20071115r8030/debian/changelog @@ -0,0 +1,47 @@ +prism (0.8+svn20071115r8030-0ubuntu3) hardy; urgency=low + + * Use PNG instead of deprecated XPM for windows icons (LP: #205782, #206180) + Build-depends on zip, imagemagic (convert) and shareutils (uudecode) + - add debian/patches/use_png_for_windows_icons_on_linux.patch + - update debian/patches/series + - add debian/prism.png.uu + - update debian/control + - update debian/rules + - update debian/prism-*.install + - update debian/update-apps.sh + + -- Fabien Tassin Mon, 24 Mar 2008 16:39:37 +0100 + +prism (0.8+svn20071115r8030-0ubuntu2) hardy; urgency=low + + * Bump Standards-Version to 3.7.3 + - update debian/control + * Bump debhelper requirement to (>= 5.0.51~) because of dh_icons + - update debian/control + * Fix desktop icons created by prism (LP: #196861) + Thanks to Michael Chang + - update debian/patches/fix_desktop_launcher.patch + * Updated desktop file categories (LP: #180879) + Thanks to Dean Sas + - update debian/prism-google-*.desktop + * Update update-apps.sh to handle desktop file categories + - update debian/update-apps.sh + - update debian/rules + * Update prism-google-groups.desktop category too + - update debian/prism-google-groups.desktop + * Restore auto-save of webapps size and position broken since ScriptableIO + has been dropped from xulrunner-1.9 (at beta 3). + - add debian/patches/remove_scriptableio.patch + - update debian/patches/series + * Prevent webapps to be unpacked at each run so user data is now + preserved (LP: #200469) + - update debian/control + - update debian/prism.sh + + -- Fabien Tassin Sun, 16 Mar 2008 14:16:47 +0100 + +prism (0.8+svn20071115r8030-0ubuntu1) hardy; urgency=low + + * Initial release (LP: #172484) + + -- Fabien Tassin Fri, 30 Nov 2007 19:49:40 +0100 --- prism-0.8+svn20071115r8030.orig/debian/prism.1 +++ prism-0.8+svn20071115r8030/debian/prism.1 @@ -0,0 +1,49 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PRISM 1 "September 25, 2007" +.\" 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 +prism \- Web applications engine +.SH SYNOPSIS +.B prism +.RI [ options ] " [file.webapp]" ... +.br +.SH DESCRIPTION +This manual page documents briefly the +.B prism +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBprism\fP is a program that splits web applications out of the browser and run them directly on the desktop. +.sp 1 +Various \fBprism-foo\fP scripts are available to directly run WebApp \fBfoo\fP. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-d, +Start prism with the error console +.SH SEE ALSO +.BR xulrunner-1.9 (1). +.br +The program is documented +at +.SH AUTHOR +prism was written by and contributors +.PP +This manual page was written by Fabien Tassin , +for the Ubuntu project (but may be used by others). --- prism-0.8+svn20071115r8030.orig/debian/prism-facebook.links +++ prism-0.8+svn20071115r8030/debian/prism-facebook.links @@ -0,0 +1,2 @@ +usr/bin/prism usr/bin/prism-facebook +usr/share/man/man1/prism.1.gz usr/share/man/man1/prism-facebook.1.gz --- prism-0.8+svn20071115r8030.orig/debian/control +++ prism-0.8+svn20071115r8030/debian/control @@ -0,0 +1,103 @@ +Source: prism +Section: net +Priority: optional +Maintainer: Ubuntu Mozilla Team +Vcs-Bzr: https://code.launchpad.net/~mozillateam/prism/prism +Homepage: http://wiki.mozilla.org/Prism +Build-Depends: debhelper (>= 5.0.51~), quilt +Build-Depends-Indep: unzip, zip, sharutils, imagemagick +Standards-Version: 3.7.3 + +Package: prism +Section: net +Architecture: all +Depends: xulrunner-1.9 (>= 1.9~b1), xulrunner-1.9-dom-inspector, unzip +Description: Split web applications out of the browser and run them directly on the desktop + Prism, previously called WebRunner, is a simple XULRunner based browser that + hosts web applications without the normal web browser user interface. It is + based on a concept called Site Specific Browsers (SSB). + . + XULRunner is a single "gecko runtime" that can be used to bootstrap + multiple XUL + XPCOM applications that are as rich as Firefox and + Thunderbird. + +Package: prism-facebook +Section: net +Architecture: all +Depends: prism +Homepage: http://www.facebook.com/ +Description: Facebook WebApp for Prism + Facebook WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-analytics +Section: net +Architecture: all +Depends: prism +Homepage: http://analytics.google.com/ +Description: Google Analytics WebApp for Prism + Google Analytics WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-calendar +Section: net +Architecture: all +Depends: prism +Homepage: https://www.google.com/calendar +Description: Google Calendar WebApp for Prism + Google Calendar WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-docs +Section: net +Architecture: all +Depends: prism +Homepage: https://docs.google.com/ +Description: Google Docs WebApp for Prism + Google Docs WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-mail +Section: net +Architecture: all +Depends: prism +Homepage: https://mail.google.com/ +Description: Google Mail (GMail) WebApp for Prism + Google Mail (GMail) WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-reader +Section: net +Architecture: all +Depends: prism +Homepage: https://www.google.com/reader +Description: Google Reader WebApp for Prism + Google Reader WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-groups +Section: net +Architecture: all +Depends: prism +Homepage: http://groups.google.com/groups/favorites +Description: Google Groups WebApp for Prism + Google Groups WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-google-talk +Section: net +Architecture: all +Depends: prism +Homepage: http://talkgadget.google.com/talkgadget/popout +Description: Google Talk WebApp for Prism + Google Talk WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. + +Package: prism-twitter +Section: net +Architecture: all +Depends: prism +Homepage: http://www.twitter.com/ +Description: twitter WebApp for Prism + twitter WebApp is a Web Application using Prism, a simple + XULRunner browser for web applications. --- prism-0.8+svn20071115r8030.orig/debian/prism-google-talk.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-talk.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Talk +GenericName=Prism for Google Talk +Exec=prism-google-talk +Terminal=false +Type=Application +Icon=prism-google-talk +Categories=GTK;Network;InstantMessaging; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/compat +++ prism-0.8+svn20071115r8030/debian/compat @@ -0,0 +1 @@ +5 --- prism-0.8+svn20071115r8030.orig/debian/prism.dirs +++ prism-0.8+svn20071115r8030/debian/prism.dirs @@ -0,0 +1 @@ +usr/share/prism/extensions --- prism-0.8+svn20071115r8030.orig/debian/prism-google-reader.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-reader.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Reader +GenericName=Prism for Google Reader +Exec=prism-google-reader +Terminal=false +Type=Application +Icon=prism-google-reader +Categories=GTK;Network;News; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/copyright +++ prism-0.8+svn20071115r8030/debian/copyright @@ -0,0 +1,587 @@ +This package has been debianized by Fabien Tassin on 2007-09-25 + +It has been downloaded from http://svn.mozilla.org/projects/webrunner/ + +Upstream Author: Mark Finkle + +Overall, the Prism (WebRunner) project is licensed under the terms of the Mozilla +Public License version 1.1 or, at your option, under the terms of the GNU +General Public License version 2 or subsequent, or the terms of the GNU +Lesser General Public License version 2.1 or subsequent. + +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL' ; +the complete text of the GNU Lesser General Public License can be +found in the file `/usr/share/common-licenses/LGPL'. + +The complete text of the Mozilla Public License is below: + +==================== + + 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. + +EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (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.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + + ---------------------------------------------------------------------- + + AMENDMENTS + + The Netscape Public License Version 1.1 ("NPL") consists of the + Mozilla Public License Version 1.1 with the following Amendments, + including Exhibit A-Netscape Public License. Files identified with + "Exhibit A-Netscape Public License" are governed by the Netscape + Public License Version 1.1. + + Additional Terms applicable to the Netscape Public License. + I. Effect. + These additional terms described in this Netscape Public + License -- Amendments shall apply to the Mozilla Communicator + client code and to all Covered Code under this License. + + II. "Netscape's Branded Code" means Covered Code that Netscape + distributes and/or permits others to distribute under one or more + trademark(s) which are controlled by Netscape but which are not + licensed for use under this License. + + III. Netscape and logo. + This License does not grant any rights to use the trademarks + "Netscape", the "Netscape N and horizon" logo or the "Netscape + lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript", + "Smart Browsing" even if such marks are included in the Original + Code or Modifications. + + IV. Inability to Comply Due to Contractual Obligation. + Prior to licensing the Original Code under this License, Netscape + has licensed third party code for use in Netscape's Branded Code. + To the extent that Netscape is limited contractually from making + such third party code available under this License, Netscape may + choose to reintegrate such code into Covered Code without being + required to distribute such code in Source Code form, even if + such code would otherwise be considered "Modifications" under + this License. + + V. Use of Modifications and Covered Code by Initial Developer. + V.1. In General. + The obligations of Section 3 apply to Netscape, except to + the extent specified in this Amendment, Section V.2 and V.3. + + V.2. Other Products. + Netscape may include Covered Code in products other than the + Netscape's Branded Code which are released by Netscape + during the two (2) years following the release date of the + Original Code, without such additional products becoming + subject to the terms of this License, and may license such + additional products on different terms from those contained + in this License. + + V.3. Alternative Licensing. + Netscape may license the Source Code of Netscape's Branded + Code, including Modifications incorporated therein, without + such Netscape Branded Code becoming subject to the terms of + this License, and may license such Netscape Branded Code on + different terms from those contained in this License. + + VI. Litigation. + Notwithstanding the limitations of Section 11 above, the + provisions regarding litigation in Section 11(a), (b) and (c) of + the License shall apply to all disputes relating to this License. + + EXHIBIT A-Netscape Public License. + + "The contents of this file are subject to the Netscape Public + License Version 1.1 (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.mozilla.org/NPL/ + + Software distributed under the License is distributed on an "AS + IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + implied. See the License for the specific language governing + rights and limitations under the License. + + The Original Code is Mozilla Communicator client code, released + March 31, 1998. + + The Initial Developer of the Original Code is Netscape + Communications Corporation. Portions created by Netscape are + Copyright (C) 1998-1999 Netscape Communications Corporation. All + Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the + terms of the _____ license (the "[___] License"), in which case + the provisions of [______] License are applicable instead of + those above. If you wish to allow use of your version of this + file only under the terms of the [____] License and not to allow + others to use your version of this file under the NPL, indicate + your decision by deleting the provisions above and replace them + with the notice and other provisions required by the [___] + License. If you do not delete the provisions above, a recipient + may use your version of this file under either the NPL or the + [___] License." --- prism-0.8+svn20071115r8030.orig/debian/prism-google-docs.links +++ prism-0.8+svn20071115r8030/debian/prism-google-docs.links @@ -0,0 +1,3 @@ +usr/share/prism/apps/gdocs.webapp usr/share/prism/apps/google-docs.webapp +usr/bin/prism usr/bin/prism-google-docs +usr/share/man/man1/prism.1.gz usr/share/man/man1/prism-google-docs.1.gz --- prism-0.8+svn20071115r8030.orig/debian/prism-google-talk.install +++ prism-0.8+svn20071115r8030/debian/prism-google-talk.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/gtalk.webapp +debian/tmp/usr/share/applications/prism-google-talk.desktop +debian/tmp/usr/share/pixmaps/prism-google-talk.png --- prism-0.8+svn20071115r8030.orig/debian/prism.links +++ prism-0.8+svn20071115r8030/debian/prism.links @@ -0,0 +1,2 @@ +usr/share/prism/prism usr/bin/prism +usr/lib/xulrunner-addons/extensions/inspector@mozilla.org usr/share/prism/extensions/inspector@mozilla.org --- prism-0.8+svn20071115r8030.orig/debian/prism.png.uu +++ prism-0.8+svn20071115r8030/debian/prism.png.uu @@ -0,0 +1,94 @@ +begin 644 prism.png +MB5!.1PT*&@H````-24A$4@```#`````P$`8````'DB7$````!F)+1T3_____ +M__\)6/?<````"7!(67,```!(````2`!&R6L^````"79P06<````P````,`#. +M[HQ7```/?4E$051XVNU;78LC4?CZSS446\P'H_' +M<6QM555550'S^7R>YSP6!5"695E5@-;JR^]22AWY6WF7YGVLM=;:XP.FKNO: +M6L`88[0&HBB*@H!'WP<\S_.,`8;#X7!IZ3^?D7?4!TV2))G/@32=3&8S0*FB +M(/!\?V]O.IW/@9LW/_OLBR^`K:W-S9T=8'/S]NV=':`HJDJN5>IP>GS?]ST/ +M",,P%`"\QM.795F6)9!E65840%$4A=RW.9HT"<#&`.?.G3MWZA2/)T\"3SSQ +MQ!.G3Q/@7@^HJJJJ:QK<;`;T^_U^IW-THH],@$PH32>3)`&"X,Z=S4T@BNIZ +M-`*^\8UO?WME!3A]^KO?/74*J&M@;0WP/""*@#Q/TZ(`TC1)L@R83*;3)'$> +MI+766@-!$`2>YX@0X&2(!PKP>9[G9>F`$^(&@\&@VP5ZO5XO#(%.I],)`F?Q +MXK'R^=EL-LLROCZ?\[JZYN>C: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G?OC# +MHQ-P#''\X&E=N'#APH4+P(LOOOCB+W\)//?<<\]=O4K)"D/N[Y_-[B^D9*'% +M':6GPW9S$%#:!*@XCN,T;?X:<[]4?24`7UXG%EX47)=XYYUWWGG[;>"EEUYZ +MZ5>_`JY?OW[]^O4FQ<^S]Y3G>9YEP%MO +MO?76G_\,O/SRRR__^M?`M6O7KEV[=OR`+\BP]M*E2Y_?&8WY^,K%V;V]O+X[=]659EM9:RVTJUK[QQAMO_.$/UEZY +M]O:R60RR3("&\<. +M8`%R-!J-IE,2,)GP?#;C#\>MM99[/JU]\\TWW_S3GZR]?/GRY?_LYW +M'@%^Q&'M^?/GSY\_[SQD;V]O;S*QEIMI*2E__*.U3SWUU%,;&X\`_R\/:S in Sept 2007. + +XULRUNNER=/usr/bin/xulrunner-1.9 +WEBRUNNER=/usr/share/prism +WEBAPPDIR=/usr/share/prism/apps + +if [ "$1" = "-d" ] ; then + DEBUG="-console -jsconsole" + shift +fi + +if [ "Z$1" != Z ] && [ "`echo $1 | sed -e 's/.*\.//'`" = "webapp" ] ; then + WEBAPP=`echo $1 | sed -e 's,^file://,,'` + FILE=$WEBAPP +else + APPNAME=`basename $0 | sed -e 's/\.sh$//; s/prism-//'` + if [ -f $WEBAPPDIR/$APPNAME.webapp ] ; then + FILE=$WEBAPPDIR/$APPNAME.webapp + else + ARGS=$@ + fi +fi + +if [ "Z$FILE" != "Z" ] ; then + # If this webapp has already been extracted, run it by its id rather than + # by its filename that unpacks it at each run. + # It's important to preserve the json file for window size and position. + ARGS="-webapp $FILE" + if [ -f $FILE ] ; then + ID=`unzip -p $FILE webapp.ini | grep ^id= | cut -d= -f2 | tr -d '\r'` + if [ -d $HOME/.prism ] ; then + PROFILE=`grep -E '^Path=.*default' $HOME/.prism/profiles.ini | cut -d= -f2` + DIR=$HOME/.prism/$PROFILE/webapps/$ID + if [ -d $DIR ] ; then + # The webapp already exists. Check for the png icon. + WNAME=`grep -E '^icon=' $DIR/webapp.ini | cut -d= -f2 | tr -d '\r'` + if [ ! -f $DIR/icons/default/$WNAME.png ] ; then + ( cd $DIR/icons/default ; unzip $FILE $WNAME.png ) + fi + ARGS="-webapp $ID" + fi + fi + fi +fi + +exec $XULRUNNER $WEBRUNNER/application.ini $DEBUG $ARGS --- prism-0.8+svn20071115r8030.orig/debian/prism-google-docs.install +++ prism-0.8+svn20071115r8030/debian/prism-google-docs.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/gdocs.webapp +debian/tmp/usr/share/applications/prism-google-docs.desktop +debian/tmp/usr/share/pixmaps/prism-google-docs.png --- prism-0.8+svn20071115r8030.orig/debian/prism-google-mail.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-mail.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Mail (GMail) +GenericName=Prism for Google Mail (GMail) +Exec=prism-google-mail +Terminal=false +Type=Application +Icon=prism-google-mail +Categories=GTK;Network;Email; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism-google-analytics.install +++ prism-0.8+svn20071115r8030/debian/prism-google-analytics.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/ganalytics.webapp +debian/tmp/usr/share/applications/prism-google-analytics.desktop +debian/tmp/usr/share/pixmaps/prism-google-analytics.png --- prism-0.8+svn20071115r8030.orig/debian/prism-google-groups.links +++ prism-0.8+svn20071115r8030/debian/prism-google-groups.links @@ -0,0 +1,3 @@ +usr/share/prism/apps/groups.webapp usr/share/prism/apps/google-groups.webapp +usr/bin/prism usr/bin/prism-google-groups +usr/share/man/man1/prism.1.gz usr/share/man/man1/prism-google-groups.1.gz --- prism-0.8+svn20071115r8030.orig/debian/update-apps.sh +++ prism-0.8+svn20071115r8030/debian/update-apps.sh @@ -0,0 +1,79 @@ +#!/bin/sh + +# Created by Fabien Tassin in Sept 2007 + +# This script creates or updates the 3 files necessary to install a WebApp +# It also *prints to stdout* the control part that could be added to +# debian/control (or could be used to update it). +# It is not part of the build system but it is supposed to be used +# by maintainers. +# +# The list of WebApps, including descriptions and URLs, is taken +# from debian/rules. See ${WEBAPPS}. + +APPS=`perl -ne 'BEGIN { $/ = "\n\n" } if (m/^WEBAPPS/) { s/\\\\\n/ /g; s/=//; s/\s+/ /g; s/^(\S+) //; s/ (\S+) $//; print } ' rules` + +for app in $APPS ; do + APP=`echo $app | cut -d@ -f1 | sed -e 's/^"//'` + NAME=`echo $app | cut -d@ -f2` + DESCR=`echo $app | cut -d@ -f3 | sed -e 's/~/ /g; s/\\\\//g'` + URL=`echo $app | cut -d@ -f4` + CAT=`echo $app | cut -d@ -f5 | sed -e 's/"$//'` + + cat - > prism-$NAME.desktop.new < prism-$NAME.install.new <> prism-$NAME.links.new + fi + cat - >> prism-$NAME.links.new <&2 + mv prism-$NAME.$type prism-$NAME.$type.old + mv prism-$NAME.$type.new prism-$NAME.$type + else + rm prism-$NAME.$type.new + fi + else + echo "Install new prism-$NAME.$type" >&2 + mv prism-$NAME.$type.new prism-$NAME.$type + fi + done +done --- prism-0.8+svn20071115r8030.orig/debian/prism-google-groups.install +++ prism-0.8+svn20071115r8030/debian/prism-google-groups.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/groups.webapp +debian/tmp/usr/share/applications/prism-google-groups.desktop +debian/tmp/usr/share/pixmaps/prism-google-groups.png --- prism-0.8+svn20071115r8030.orig/debian/prism-google-calendar.install +++ prism-0.8+svn20071115r8030/debian/prism-google-calendar.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/gcalendar.webapp +debian/tmp/usr/share/applications/prism-google-calendar.desktop +debian/tmp/usr/share/pixmaps/prism-google-calendar.png --- prism-0.8+svn20071115r8030.orig/debian/prism-twitter.install +++ prism-0.8+svn20071115r8030/debian/prism-twitter.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/twitter.webapp +debian/tmp/usr/share/applications/prism-twitter.desktop +debian/tmp/usr/share/pixmaps/prism-twitter.png --- prism-0.8+svn20071115r8030.orig/debian/prism.install +++ prism-0.8+svn20071115r8030/debian/prism.install @@ -0,0 +1,9 @@ +debian/tmp/usr/share/prism/application.ini +debian/tmp/usr/share/prism/updates +debian/tmp/usr/share/prism/defaults +debian/tmp/usr/share/prism/modules +debian/tmp/usr/share/prism/prism* +debian/tmp/usr/share/prism/chrome +debian/tmp/usr/share/applications/prism.desktop +debian/tmp/usr/share/pixmaps/prism.png +debian/tmp/usr/share/icons --- prism-0.8+svn20071115r8030.orig/debian/prism-google-mail.install +++ prism-0.8+svn20071115r8030/debian/prism-google-mail.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/prism/apps/gmail.webapp +debian/tmp/usr/share/applications/prism-google-mail.desktop +debian/tmp/usr/share/pixmaps/prism-google-mail.png --- prism-0.8+svn20071115r8030.orig/debian/prism.xpm +++ prism-0.8+svn20071115r8030/debian/prism.xpm @@ -0,0 +1,860 @@ +/* XPM */ +static char * webrunner48_xpm[] = { +"48 48 809 2", +" c None", +". c #F1F1F3", +"+ c #EEEEF0", +"@ c #E6E6EA", +"# c #DEDEE5", +"$ c #DADAE2", +"% c #DCDBE2", +"& c #DCDCE3", +"* c #DDDDE4", +"= c #E5E5EA", +"- c #EDEDEF", +"; c #F1F1F2", +"> c #E7E7EB", +", c #DED9E0", +"' c #DFD4DB", +") c #DAD4DB", +"! c #C9C8D3", +"~ c #A9A9BF", +"{ c #8E8DAA", +"] c #727095", +"^ c #6D6D91", +"/ c #6D6D92", +"( c #6E6E92", +"_ c #737396", +": c #7A7A9B", +"< c #7E7E9F", +"[ c #707094", +"} c #8C8CA9", +"| c #A8A8BD", +"1 c #C8C8D4", +"2 c #D7D7DF", +"3 c #D6D6DF", +"4 c #E2E2E8", +"5 c #E6E6EB", +"6 c #D5CBD6", +"7 c #DBB3BA", +"8 c #E2B1AA", +"9 c #E6D4BB", +"0 c #E0E4D0", +"a c #DEE4E0", +"b c #E2E4E8", +"c c #DCDBE3", +"d c #D3D1DC", +"e c #C5C5D2", +"f c #BDBDCD", +"g c #BFBFCF", +"h c #C5C5D3", +"i c #CACAD7", +"j c #CDCDDA", +"k c #BCBCCD", +"l c #C3C3D2", +"m c #D0D0DC", +"n c #DBDBE3", +"o c #E4E4E9", +"p c #D8D8E1", +"q c #C9C9D7", +"r c #C7C7D5", +"s c #E1E1E7", +"t c #D5C9D4", +"u c #DAACB4", +"v c #DCA29A", +"w c #D9BD95", +"x c #CAD297", +"y c #ABCFA0", +"z c #A0D0BC", +"A c #BADCDD", +"B c #D4E0E9", +"C c #E6E7ED", +"D c #EEEDF1", +"E c #F1F2F3", +"F c #F2F3F5", +"G c #F4F4F7", +"H c #F2F2F5", +"I c #EFEFF1", +"J c #EBEBEF", +"K c #E3E3E9", +"L c #C2C2D2", +"M c #C4C4D3", +"N c #C6C6D5", +"O c #C5C5D5", +"P c #E0E0E7", +"Q c #E6E5EA", +"R c #D3C5D1", +"S c #D9A3AB", +"T c #DF988C", +"U c #DEBB86", +"V c #CBD588", +"W c #A2CF91", +"X c #84C8A9", +"Y c #7CC7C7", +"Z c #7CB0CF", +"` c #8892C4", +" . c #BAA5D0", +".. c #E2D1E5", +"+. c #EFEBF1", +"@. c #F4F4F5", +"#. c #F9F9F9", +"$. c #EEEEF1", +"%. c #B8B8CA", +"&. c #BABACB", +"*. c #C0C0D0", +"=. c #C1C1D1", +"-. c #E0E0E6", +";. c #E5E4E9", +">. c #D2C2CD", +",. c #DC9BA1", +"'. c #E38F7E", +"). c #E3B776", +"!. c #CCD779", +"~. c #9DD285", +"{. c #78CBA1", +"]. c #6FCBC6", +"^. c #71B0D2", +"/. c #7988C2", +"(. c #9F7DC0", +"_. c #C998CE", +":. c #D6C0DB", +"<. c #DEDCE5", +"[. c #EDEDF1", +"}. c #ECECF0", +"|. c #DADAE4", +"1. c #CCCCD8", +"2. c #C0C0CF", +"3. c #B7B7C8", +"4. c #B5B5C8", +"5. c #BBBBCC", +"6. c #BEBECE", +"7. c #C2C2D1", +"8. c #DFDFE6", +"9. c #D4C0CB", +"0. c #DF9499", +"a. c #E88871", +"b. c #E6B667", +"c. c #CDDA6B", +"d. c #99D57B", +"e. c #6BCC9D", +"f. c #5FCDC7", +"g. c #61AFD3", +"h. c #6F80C1", +"i. c #9B71BE", +"j. c #CB8ECF", +"k. c #D8BBDB", +"l. c #D8D6E2", +"m. c #E2E3EA", +"n. c #E1E1E8", +"o. c #D2D2DD", +"p. c #B5B5C7", +"q. c #B3B3C6", +"r. c #B8B8CB", +"s. c #BCBCCC", +"t. c #BFBFCE", +"u. c #D5BEC9", +"v. c #E28E93", +"w. c #EB8365", +"x. c #EAB758", +"y. c #D0DE5B", +"z. c #97D86F", +"A. c #5ECF9A", +"B. c #4ED0C7", +"C. c #51B0D5", +"D. c #627AC1", +"E. c #9660BC", +"F. c #C97CCB", +"G. c #D7B0D8", +"H. c #D3CEDD", +"I. c #DCDDE5", +"J. c #D9D9E2", +"K. c #C9C9D6", +"L. c #C3C3D1", +"M. c #B9B9CB", +"N. c #B6B6C8", +"O. c #B7B7CA", +"P. c #BABACC", +"Q. c #DEDEE4", +"R. c #D6BDC8", +"S. c #E48A8E", +"T. c #EF8058", +"U. c #EDB848", +"V. c #D3E14B", +"W. c #96DB63", +"X. c #4FD299", +"Y. c #3DD4C9", +"Z. c #41B3D7", +"`. c #5673C3", +" + c #9350BC", +".+ c #C868C8", +"++ c #D4A2D4", +"@+ c #CCC4D7", +"#+ c #D4D4DF", +"$+ c #CECEDA", +"%+ c #B7B7C9", +"&+ c #BBBBCB", +"*+ c #D7BDC8", +"=+ c #E68689", +"-+ c #F17B4C", +";+ c #F0BB3B", +">+ c #D7E43D", +",+ c #95DE57", +"'+ c #43D598", +")+ c #2ED7CC", +"!+ c #32B6D9", +"~+ c #4B6DC4", +"{+ c #9145BD", +"]+ c #C95AC7", +"^+ c #D497D1", +"/+ c #C5BCD1", +"(+ c #CDCDD9", +"_+ c #AEAEC2", +":+ c #AEAEC3", +"<+ c #B1B1C5", +"[+ c #B4B4C7", +"}+ c #E5E5E9", +"|+ c #D8BDC8", +"1+ c #E88285", +"2+ c #F37742", +"3+ c #F3BE2F", +"4+ c #DAE62F", +"5+ c #94E14C", +"6+ c #36D997", +"7+ c #20DBD0", +"8+ c #25B9DB", +"9+ c #4267C6", +"0+ c #913ABE", +"a+ c #CD52C9", +"b+ c #D694D1", +"c+ c #C3B8D0", +"d+ c #C9CAD7", +"e+ c #A7A7BD", +"f+ c #ADADC1", +"g+ c #E97F81", +"h+ c #F57439", +"i+ c #F4C024", +"j+ c #DDE825", +"k+ c #95E442", +"l+ c #2CDC96", +"m+ c #13DDD3", +"n+ c #1BBBDD", +"o+ c #3A63C7", +"p+ c #9032BF", +"q+ c #CE4CCA", +"r+ c #D994D3", +"s+ c #C6BAD1", +"t+ c #CBCCD8", +"u+ c #A9A9BE", +"v+ c #9393AE", +"w+ c #C6C6D3", +"x+ c #D8BCC7", +"y+ c #EA7D7F", +"z+ c #F57234", +"A+ c #F5C21D", +"B+ c #E0EA1D", +"C+ c #95E63B", +"D+ c #23DF94", +"E+ c #0AE0D5", +"F+ c #14BDDF", +"G+ c #345FC8", +"H+ c #8E2CC0", +"I+ c #CF47CA", +"J+ c #DA93D4", +"K+ c #C8BCD3", +"L+ c #CCCCD9", +"M+ c #BEBFCF", +"N+ c #AAAAC0", +"O+ c #AFAFC3", +"P+ c #5B5B85", +"Q+ c #38386A", +"R+ c #C1C1CF", +"S+ c #E4E4E8", +"T+ c #D7BBC6", +"U+ c #E97B7F", +"V+ c #F57134", +"W+ c #F4C21C", +"X+ c #E1EA1A", +"Y+ c #94E639", +"Z+ c #20E094", +"`+ c #07E0D6", +" @ c #10BDDF", +".@ c #325EC8", +"+@ c #8E29BF", +"@@ c #CF44C9", +"#@ c #DB94D4", +"$@ c #C9BDD3", +"%@ c #CDCEDA", +"&@ c #ACACC1", +"*@ c #BEBECD", +"=@ c #C1C1D0", +"-@ c #9090AC", +";@ c #69698E", +">@ c #575781", +",@ c #54547F", +"'@ c #4E4E7A", +")@ c #C5C5D1", +"!@ c #D4B9C4", +"~@ c #E77A7E", +"{@ c #F37136", +"]@ c #F3C020", +"^@ c #DEE91F", +"/@ c #93E43C", +"(@ c #25DD94", +"_@ c #0BDED4", +":@ c #12BBDE", +"<@ c #325CC7", +"[@ c #8C29BE", +"}@ c #CE43C9", +"|@ c #CABDD4", +"1@ c #C1C2D1", +"2@ c #B2B2C6", +"3@ c #BDBDCE", +"4@ c #9D9DB6", +"5@ c #7D7D9E", +"6@ c #727295", +"7@ c #67678D", +"8@ c #5F5F87", +"9@ c #D0B5C1", +"0@ c #E47A7E", +"a@ c #F1713A", +"b@ c #F1BD26", +"c@ c #DBE627", +"d@ c #91E143", +"e@ c #2CD993", +"f@ c #13DBD1", +"g@ c #18B8DB", +"h@ c #345DC5", +"i@ c #8A2BBC", +"j@ c #CB44C7", +"k@ c #DA95D4", +"l@ c #C9BDD4", +"m@ c #CECFDA", +"n@ c #C3C3D3", +"o@ c #C5C5D4", +"p@ c #C4C4D2", +"q@ c #8888A6", +"r@ c #8787A5", +"s@ c #8585A3", +"t@ c #8080A0", +"u@ c #7B7B9C", +"v@ c #757598", +"w@ c #CACAD5", +"x@ c #CBB0BE", +"y@ c #E0797F", +"z@ c #ED7140", +"A@ c #EEB92E", +"B@ c #D6E32F", +"C@ c #90DE4A", +"D@ c #33D692", +"E@ c #1CD7CC", +"F@ c #20B3D9", +"G@ c #395FC2", +"H@ c #882FB9", +"I@ c #C747C5", +"J@ c #D897D4", +"K@ c #9999B3", +"L@ c #9999B2", +"M@ c #9898B1", +"N@ c #9494AF", +"O@ c #9191AC", +"P@ c #8888A5", +"Q@ c #8383A1", +"R@ c #CDCDD7", +"S@ c #C4AAB9", +"T@ c #DA777F", +"U@ c #E97147", +"V@ c #E9B437", +"W@ c #D1DE39", +"X@ c #8DD951", +"Y@ c #3BD090", +"Z@ c #26D2C7", +"`@ c #28AED4", +" # c #3E5FBE", +".# c #8433B5", +"+# c #C34AC1", +"@# c #D698D3", +"## c #C7BDD2", +"$# c #B6B6C9", +"%# c #A5A5BB", +"&# c #A2A2B9", +"*# c #9F9FB7", +"=# c #9C9CB5", +"-# c #8F8FAA", +";# c #D0D0D9", +"># c #BCA2B4", +",# c #D3767E", +"'# c #E3704D", +")# c #E4AE3F", +"!# c #CAD842", +"~# c #89D257", +"{# c #40CA8E", +"]# c #2DCBC2", +"^# c #2FA7D0", +"/# c #415FB9", +"(# c #8036B0", +"_# c #BC4CBD", +":# c #D49AD2", +"<# c #CBCBD8", +"[# c #B2B2C5", +"}# c #B0B0C4", +"|# c #ACACC0", +"1# c #A8A8BE", +"2# c #A1A1B9", +"3# c #D2D2DB", +"4# c #B69FB2", +"5# c #CA727D", +"6# c #DB6E53", +"7# c #DCA847", +"8# c #C3D14A", +"9# c #85CB5C", +"0# c #46C38B", +"a# c #35C4BD", +"b# c #35A0CA", +"c# c #435EB4", +"d# c #7A38AB", +"e# c #B54EB8", +"f# c #D19DD1", +"g# c #C4BCD0", +"h# c #A2A2BA", +"i# c #A6A6BC", +"j# c #9D9DB5", +"k# c #D4D4DD", +"l# c #B7A4B7", +"m# c #C06F7D", +"n# c #D06B57", +"o# c #D2A04E", +"p# c #BAC850", +"q# c #80C260", +"r# c #49BA88", +"s# c #39BBB6", +"t# c #3998C3", +"u# c #455BAE", +"v# c #743AA4", +"w# c #AD50B4", +"x# c #CFA2D1", +"y# c #C5BED2", +"z# c #D0D1DC", +"A# c #A5A5BC", +"B# c #A8A8BF", +"C# c #B9B9CA", +"D# c #ABABC0", +"E# c #DBDBE2", +"F# c #B4A7BA", +"G# c #BC7987", +"H# c #C36559", +"I# c #C79753", +"J# c #B0BD55", +"K# c #7AB762", +"L# c #4AAF84", +"M# c #3DAFAE", +"N# c #3C8FBB", +"O# c #485BA8", +"P# c #7240A1", +"Q# c #A959B3", +"R# c #D1AAD3", +"S# c #CAC3D6", +"T# c #B0B0C5", +"U# c #C6C6D4", +"V# c #B3B3C5", +"W# c #ADADC2", +"X# c #D8D8E0", +"Y# c #DADBE2", +"Z# c #B1A3B7", +"`# c #BD8998", +" $ c #BA6A64", +".$ c #B88C55", +"+$ c #A3AF58", +"@$ c #72AA62", +"#$ c #4AA280", +"$$ c #42A5A9", +"%$ c #458AB6", +"&$ c #5060A7", +"*$ c #754AA3", +"=$ c #AB64B6", +"-$ c #D6B2D8", +";$ c #CFCADA", +">$ c #D8D9E2", +",$ c #CECEDB", +"'$ c #C8C8D6", +")$ c #DADAE1", +"!$ c #AEA1B6", +"~$ c #BB8C9C", +"{$ c #C0807D", +"]$ c #AF8858", +"^$ c #99A459", +"/$ c #6EA064", +"($ c #4F9C82", +"_$ c #4CA1A8", +":$ c #508CB5", +"<$ c #5B69AA", +"[$ c #7E57A8", +"}$ c #B170BA", +"|$ c #DABADC", +"1$ c #D5D0DE", +"2$ c #DDDDE6", +"3$ c #D3D3DE", +"4$ c #D2D2DC", +"5$ c #CFCFDB", +"6$ c #ACA1B6", +"7$ c #B88C9C", +"8$ c #C1898A", +"9$ c #B69771", +"0$ c #959F5A", +"a$ c #72A06B", +"b$ c #589E88", +"c$ c #56A4AC", +"d$ c #5C93BA", +"e$ c #6773AF", +"f$ c #8866AF", +"g$ c #B87FC2", +"h$ c #DEC2E0", +"i$ c #DAD6E2", +"j$ c #E1E2E9", +"k$ c #D6D6E0", +"l$ c #D5D5DF", +"m$ c #D9D9E1", +"n$ c #AAA0B5", +"o$ c #B68D9E", +"p$ c #BD898B", +"q$ c #BEA489", +"r$ c #A1AA73", +"s$ c #76A071", +"t$ c #62A28F", +"u$ c #62A8B0", +"v$ c #6A9ABE", +"w$ c #7A85BA", +"x$ c #9E81BE", +"y$ c #C899CF", +"z$ c #E5CDE7", +"A$ c #E1DDE8", +"B$ c #E6E6EC", +"C$ c #D7D7E1", +"D$ c #DBDBE5", +"E$ c #D9D9E3", +"F$ c #E0E0E5", +"G$ c #A99FB5", +"H$ c #B38EA0", +"I$ c #BB8C8F", +"J$ c #BEA68F", +"K$ c #B4BB94", +"L$ c #85A984", +"M$ c #6BA495", +"N$ c #6FADB6", +"O$ c #7FA9C7", +"P$ c #969EC9", +"Q$ c #B79FCF", +"R$ c #D9B3DD", +"S$ c #EED9EE", +"T$ c #EAE7EF", +"U$ c #ECECF1", +"V$ c #DBDBE4", +"W$ c #DEDEE6", +"X$ c #DCDCE5", +"Y$ c #D8D8E2", +"Z$ c #D3D3DF", +"`$ c #E2E2E7", +" % c #A69DB4", +".% c #B08FA2", +"+% c #BA9096", +"@% c #BEA996", +"#% c #B9BE9D", +"$% c #A3BDA3", +"%% c #7CADA1", +"&% c #7EB4BC", +"*% c #96B9D1", +"=% c #ACB4D5", +"-% c #CAB7DC", +";% c #E6C6E7", +">% c #F3E2F3", +",% c #F0EEF4", +"'% c #F1F2F5", +")% c #D1D1DD", +"!% c #DEDEE7", +"~% c #E2E2EA", +"{% c #E1E1E9", +"]% c #E0E0E8", +"^% c #A49DB4", +"/% c #B093A6", +"(% c #BB969C", +"_% c #BFAD9E", +":% c #BBC0A4", +"<% c #AEC3AF", +"[% c #9EC1BA", +"}% c #91BEC5", +"|% c #A6C4D9", +"1% c #BDC3DE", +"2% c #D6C7E4", +"3% c #EED4EE", +"4% c #F8E9F7", +"5% c #F5F3F7", +"6% c #F5F5F7", +"7% c #DFDFE7", +"8% c #D5D5E0", +"9% c #E5E5EB", +"0% c #E4E4EB", +"a% c #E3E3EA", +"b% c #E2E2E9", +"c% c #DCDCE6", +"d% c #DADAE3", +"e% c #D7D8E0", +"f% c #A39DB4", +"g% c #B097AA", +"h% c #BB9BA3", +"i% c #C0B1A6", +"j% c #BEC2AC", +"k% c #B3C6B6", +"l% c #AECAC5", +"m% c #B0CFD5", +"n% c #B3CCDE", +"o% c #C6CBE3", +"p% c #DDD0E9", +"q% c #F2DCF2", +"r% c #FAECF8", +"s% c #F7F5F9", +"t% c #F7F7F9", +"u% c #E7E7EE", +"v% c #E6E6ED", +"w% c #DDDDE5", +"x% c #E8E8EC", +"y% c #B19BAE", +"z% c #BCA0A9", +"A% c #C1B4AD", +"B% c #C1C4B4", +"C% c #B9C9BD", +"D% c #B5CDCA", +"E% c #BDD5DB", +"F% c #C5D6E4", +"G% c #CBCFE4", +"H% c #DED3EA", +"I% c #F1DEF1", +"J% c #F9EEF8", +"K% c #F8F6FA", +"L% c #F8F8FA", +"M% c #E7E7ED", +"N% c #EAEAEF", +"O% c #E9E9EF", +"P% c #E8E8ED", +"Q% c #E4E4EA", +"R% c #EAEAEE", +"S% c #A49FB5", +"T% c #B19FB2", +"U% c #BCA5AF", +"V% c #C3B7B4", +"W% c #C4C6BA", +"X% c #BFCCC3", +"Y% c #BDD0CF", +"Z% c #C2D7DD", +"`% c #CDDBE6", +" & c #D5D8E8", +".& c #DFD5E9", +"+& c #EFDEF1", +"@& c #F9EFF8", +"#& c #F9F7FA", +"$& c #F9FAFB", +"%& c #E4E5EB", +"&& c #E9E9EE", +"*& c #EBEBF0", +"=& c #EAEAF0", +"-& c #E8E8EE", +";& c #A4A0B6", +">& c #B2A3B5", +",& c #BCA9B4", +"'& c #C3BAB9", +")& c #C6C8C0", +"!& c #C3CEC9", +"~& c #C4D3D3", +"{& c #C9D9E0", +"]& c #D0DBE7", +"^& c #D9DCEA", +"/& c #E4DCEC", +"(& c #EFE1F1", +"_& c #F9F0F9", +":& c #F9F8FA", +"<& c #FAFAFB", +"[& c #EFEFF2", +"}& c #EEEEF2", +"|& c #EDEDF0", +"1& c #A4A1B7", +"2& c #B2A5B8", +"3& c #BCACB9", +"4& c #C3BCBE", +"5& c #C7C9C6", +"6& c #C7CFCD", +"7& c #C9D5D8", +"8& c #CFDCE2", +"9& c #D5DEE9", +"0& c #DCDEEB", +"a& c #E6E1EE", +"b& c #F2E8F3", +"c& c #F9F3F9", +"d& c #FCFCFD", +"e& c #EFEFF3", +"f& c #F2F2F6", +"g& c #F0F0F4", +"h& c #EFEFF4", +"i& c #F1F1F4", +"j& c #A3A0B7", +"k& c #B0A6BA", +"l& c #BAAEBC", +"m& c #C2BCC2", +"n& c #C7C9C9", +"o& c #C9D0D1", +"p& c #CDD6DA", +"q& c #D3DDE4", +"r& c #D9E1EA", +"s& c #E0E1ED", +"t& c #E9E4F0", +"u& c #F4ECF5", +"v& c #FBF7FB", +"w& c #FEFEFE", +"x& c #E7E7EC", +"y& c #F0F0F3", +"z& c #F5F5F8", +"A& c #DFDFE8", +"B& c #A8A7BD", +"C& c #B3ADBF", +"D& c #BDB4C2", +"E& c #C4C0C8", +"F& c #CACBCF", +"G& c #CDD2D6", +"H& c #D2D9DE", +"I& c #D8DFE6", +"J& c #DEE3EB", +"K& c #E4E5EE", +"L& c #ECE9F2", +"M& c #F5EFF6", +"N& c #FBF9FC", +"O& c #FDFDFE", +"P& c #FFFFFF", +"Q& c #FBFBFC", +"R& c #F4F4F6", +"S& c #F3F3F5", +"T& c #F1F1F5", +"U& c #F0F0F5", +"V& c #F7F7F8", +"W& c #ADADAF", +"X& c #E8E6EF", +"Y& c #DCD9E2", +"Z& c #DCDAE0", +"`& c #DDDDE2", +" * c #DDE0E4", +".* c #DEE2E7", +"+* c #E1E5EB", +"@* c #E4E7EE", +"#* c #E8E9F0", +"$* c #EEEBF3", +"%* c #F4F0F7", +"&* c #FBF9FB", +"** c #FEFEFF", +"=* c #EDEDF2", +"-* c #EBEBF1", +";* c #F6F6FC", +">* c #F5F5F9", +",* c #BCBCBD", +"'* c #373737", +")* c #9E9EA0", +"!* c #E6E5EB", +"~* c #E9E8F0", +"{* c #DCDEE4", +"]* c #DFE1E7", +"^* c #E1E4EA", +"/* c #E4E6ED", +"(* c #EEECF2", +"_* c #F3F0F6", +":* c #FBFCFC", +"<* c #F7F7FC", +"[* c #F3F3F6", +"}* c #ABABAC", +"|* c #3E3E3F", +"1* c #010101", +"2* c #000000", +"3* c #2C2C2C", +"4* c #99999B", +"5* c #E9E9F2", +"6* c #DEDFE7", +"7* c #E0E1E8", +"8* c #ECEBF1", +"9* c #F0EFF4", +"0* c #FBFBFB", +"a* c #FCFCFC", +"b* c #FAFAFE", +"c* c #A8A8A9", +"d* c #353535", +"e* c #303030", +"f* c #98989A", +"g* c #E6E5EC", +"h* c #ECEBF4", +"i* c #EFF0F4", +"j* c #EEEEF3", +"k* c #FCFCFF", +"l* c #F6F6F8", +"m* c #A5A5A6", +"n* c #383838", +"o* c #313131", +"p* c #98999B", +"q* c #EEEEF6", +"r* c #E5E5ED", +"s* c #A7A7A8", +"t* c #393939", +"u* c #2E2E2E", +"v* c #9D9D9E", +"w* c #F2F2F9", +"x* c #FDFDFF", +"y* c #363636", +"z* c #969698", +"A* c #F3F3F7", +"B* c #FBFBFF", +"C* c #A3A3A4", +"D* c #353534", +"E* c #2A2A2A", +"F* c #A7A7A9", +"G* c #333332", +"H* c #323232", +" ", +" ", +" . + @ # $ % & & & & & & & & & * * & & & & & & & & & & $ * = - ; ", +" > , ' ) ! ~ { ] ^ / ( ( ( _ : < < : _ ( ( ( / ^ [ } | 1 2 $ 3 4 ", +" 5 6 7 8 9 0 a b c d e f g h i j j i h g k l m n o 4 # p j q r s ", +" 5 t u v w x y z A B C D E F G G G G H . I J K p q L l M N N O P ", +" Q R S T U V W X Y Z ` ...+.@.#.#.@.$.P i %.%.&.f *.=.l h h M -. ", +" ;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.%.5.f 6.2.=.L L 7.8. ", +" ;.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.q 6.p.q.3.r.5.s.f t.2.*.2.# ", +" ;.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.q.q.N.O.M.P.s.k f f f Q. ", +" ;.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+s.%.q.q.p.%+%.M.P.5.5.5.5.&+* ", +" = *+=+-+;+>+,+'+)+!+~+{+]+^+/+(+l _+:+<+[+N.O.M.M.5.5.5.5.5.%.& ", +" }+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+f e+f+q.%+%.M.&.5.5.5.5.5.s.g # ", +" o |+g+h+i+j+k+l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" "}; --- prism-0.8+svn20071115r8030.orig/debian/patches/fix_desktop_launcher.patch +++ prism-0.8+svn20071115r8030/debian/patches/fix_desktop_launcher.patch @@ -0,0 +1,35 @@ +--- + app/modules/WebAppInstall.jsm | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +Index: prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +=================================================================== +--- prism-0.8+svn20071115r8030.orig/app/modules/WebAppInstall.jsm ++++ prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +@@ -198,18 +198,25 @@ + if (file.exists()) + file.remove(false); + file.create(Ci.nsIFile.NORMAL_FILE_TYPE, 0600); + + var cmd = "[Desktop Entry]\n"; + cmd += "Name=" + name + "\n"; + cmd += "Type=Application\n"; + cmd += "Comment=Web Application\n"; +- cmd += "Exec=" + target.path + " -webapp " + id + "\n"; ++ // cmd += "Exec=" + target.path + " -webapp " + id + "\n"; ++ // we don't want to call xulrunner from paths like /usr/lib/xulrunner-1.9b2pre/xulrunner ++ // which change with releases. Instead, call using the link maintained in the ++ // xulrunner-1.9 package. We also need to specify our application.ini. ++ cmd += "Exec=xulrunner-1.9 /usr/share/prism/application.ini -webapp " + id + "\n"; + cmd += "Icon=" + icon.path + "\n"; ++ cmd += "Categories=GTK;Network;\n"; ++ cmd += "StartupWMClass=Prism\n"; ++ cmd += "StartupNotify=true\n"; + + var stream = Cc['@mozilla.org/network/file-output-stream;1'].createInstance(Ci.nsIFileOutputStream); + stream.init(file, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0600, 0); + stream.write(cmd, cmd.length); + stream.close(); + }, + + _createShortcutMac : function(target, name, id, icon, location) { --- prism-0.8+svn20071115r8030.orig/debian/patches/use_png_for_windows_icons_on_linux.patch +++ prism-0.8+svn20071115r8030/debian/patches/use_png_for_windows_icons_on_linux.patch @@ -0,0 +1,180 @@ +--- + app/chrome/content/profile.js | 2 +- + app/modules/WebAppInstall.jsm | 4 ++-- + extension/chrome/content/convert.js | 2 +- + extension/extras/WebAppInstall.jsm | 4 ++-- + extension/modules/WebAppInstall.jsm | 4 ++-- + 5 files changed, 8 insertions(+), 8 deletions(-) + +Index: prism-0.8+svn20071115r8030/app/chrome/content/profile.js +=================================================================== +--- prism-0.8+svn20071115r8030.orig/app/chrome/content/profile.js ++++ prism-0.8+svn20071115r8030/app/chrome/content/profile.js +@@ -249,17 +249,17 @@ + // Creating a webapp install requires an ID + if (this.id.length > 0) { + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var iconExt = ""; + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") + iconExt = ".ico"; + else if (os == "linux") +- iconExt = ".xpm"; ++ iconExt = ".png"; + else if (os == "darwin") + iconExt = ".icns"; + + // Now we will build the webapp folder in the profile + var appSandbox = dirSvc.get("ProfD", Ci.nsIFile); + appSandbox.append("webapps"); + appSandbox.append(this.id); + if (appSandbox.exists()) +Index: prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +=================================================================== +--- prism-0.8+svn20071115r8030.orig/app/modules/WebAppInstall.jsm ++++ prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +@@ -44,17 +44,17 @@ + // Creating a webapp install requires an ID + if (params.hasOwnProperty("id") == true && params.id.length > 0) { + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var iconExt = ""; + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") + iconExt = ".ico"; + else if (os == "linux") +- iconExt = ".xpm"; ++ iconExt = ".png"; + else if (os == "darwin") + iconExt = ".icns"; + + // Now we will build the webapp folder in the profile + var appSandbox = dirSvc.get("ProfD", Ci.nsIFile); + appSandbox.append("webapps"); + appSandbox.append(params.id); + if (appSandbox.exists()) +@@ -119,17 +119,17 @@ + + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") { + appIcon.append(icon + ".ico"); + this._createShortcutWindows(target, name, id, appIcon, location); + } + else if (os == "linux") { +- appIcon.append(icon + ".xpm"); ++ appIcon.append(icon + ".png"); + this._createShortcutLinux(target, name, id, appIcon, location); + } + else if (os == "darwin") { + var targetAdj = target.parent; + targetAdj.append("MacOS"); + targetAdj.append("xulrunner"); + appIcon.append(icon + ".icns"); + this._createShortcutMac(targetAdj, name, id, appIcon, location); +Index: prism-0.8+svn20071115r8030/extension/chrome/content/convert.js +=================================================================== +--- prism-0.8+svn20071115r8030.orig/extension/chrome/content/convert.js ++++ prism-0.8+svn20071115r8030/extension/chrome/content/convert.js +@@ -36,17 +36,17 @@ + function chooseCustomIcon() { + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var iconExt = ""; + var title = ""; + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") + iconExt = "*.ico"; + else if (os == "linux") +- iconExt = "*.xpm"; ++ iconExt = "*.png"; + else if (os == "darwin") + iconExt = "*.icns"; + + var fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker); + fp.init(window, "Icon file", Ci.nsIFilePicker.modeOpen); + fp.appendFilter("icon", iconExt); + if (fp.show() == Ci.nsIFilePicker.returnOK) { + document.getElementById("icon-preview").src = fp.file.path; +Index: prism-0.8+svn20071115r8030/extension/extras/WebAppInstall.jsm +=================================================================== +--- prism-0.8+svn20071115r8030.orig/extension/extras/WebAppInstall.jsm ++++ prism-0.8+svn20071115r8030/extension/extras/WebAppInstall.jsm +@@ -43,17 +43,17 @@ + // Creating a webapp install requires an ID + if (params.hasOwnProperty("id") == true && params.id.length > 0) { + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var iconExt = ""; + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") + iconExt = ".ico"; + else if (os == "linux") +- iconExt = ".xpm"; ++ iconExt = ".png"; + else if (os == "darwin") + iconExt = ".icns"; + + // Now we will build the webapp folder in the profile + var appSandbox = dirSvc.get("ProfD", Ci.nsIFile); + appSandbox.append("webapps"); + appSandbox.append(params.id); + if (appSandbox.exists()) +@@ -120,17 +120,17 @@ + + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") { + appIcon.append(icon + ".ico"); + this._createShortcutWindows(runtime, app, name, id, appIcon, location); + } + else if (os == "linux") { +- appIcon.append(icon + ".xpm"); ++ appIcon.append(icon + ".png"); + this._createShortcutLinux(runtime, app, name, id, appIcon, location); + } + else if (os == "darwin") { + appIcon.append(icon + ".icns"); + this._createShortcutMac(runtime, app, name, id, appIcon, location); + } + }, + +Index: prism-0.8+svn20071115r8030/extension/modules/WebAppInstall.jsm +=================================================================== +--- prism-0.8+svn20071115r8030.orig/extension/modules/WebAppInstall.jsm ++++ prism-0.8+svn20071115r8030/extension/modules/WebAppInstall.jsm +@@ -43,17 +43,17 @@ + // Creating a webapp install requires an ID + if (params.hasOwnProperty("id") == true && params.id.length > 0) { + var xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + var iconExt = ""; + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") + iconExt = ".ico"; + else if (os == "linux") +- iconExt = ".xpm"; ++ iconExt = ".png"; + else if (os == "darwin") + iconExt = ".icns"; + + // Now we will build the webapp folder in the profile + var appSandbox = dirSvc.get("ProfD", Ci.nsIFile); + appSandbox.append("webapps"); + appSandbox.append(params.id); + +@@ -109,17 +109,17 @@ + var os = xulRuntime.OS.toLowerCase(); + if (os == "winnt") { + target.append("webrunner.exe"); + appIcon.append(icon + ".ico"); + this._createShortcutWindows(target, name, id, appIcon, location); + } + else if (os == "linux") { + target.append("webrunner"); +- appIcon.append(icon + ".xpm"); ++ appIcon.append(icon + ".png"); + this._createShortcutLinux(target, name, id, appIcon, location); + } + else if (os == "darwin") { + var targetAdj = target.parent; + targetAdj.append("MacOS"); + targetAdj.append("xulrunner"); + appIcon.append(icon + ".icns"); + this._createShortcutMac(targetAdj, name, id, appIcon, location); --- prism-0.8+svn20071115r8030.orig/debian/patches/remove_scriptableio.patch +++ prism-0.8+svn20071115r8030/debian/patches/remove_scriptableio.patch @@ -0,0 +1,136 @@ +--- + app/chrome/content/webrunner.js | 14 ++++------ + app/modules/WebAppInstall.jsm | 48 +++++++++++++++++++++++++++++++++++- + extension/modules/WebAppInstall.jsm | 48 +++++++++++++++++++++++++++++++++++- + 3 files changed, 100 insertions(+), 10 deletions(-) + +Index: prism-0.8+svn20071115r8030/app/chrome/content/webrunner.js +=================================================================== +--- prism-0.8+svn20071115r8030.orig/app/chrome/content/webrunner.js ++++ prism-0.8+svn20071115r8030/app/chrome/content/webrunner.js +@@ -121,40 +121,38 @@ + + settings.sidebar = {}; + settings.sidebar.visible = (document.getElementById("splitter_sidebar").getAttribute("state") == "open"); + settings.sidebar.width = document.getElementById("box_sidebar").width; + + // Save using JSON format + if (this._profile.hasOwnProperty("id")) { + var json = JSON.toString(settings); +- var file = IO.getFile("Profile", null); ++ var dirSvc = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties); ++ var file = dirSvc.get("ProfD", Ci.nsIFile); + file.append("webapps"); + file.append(this._profile.id); + file.append("localstore.json"); + if (!file.exists()) + file.create(Ci.nsIFile.NORMAL_FILE_TYPE, 0600); +- var stream = IO.newOutputStream(file, "text write create truncate"); +- stream.writeString(json); +- stream.close(); ++ FileIO.stringToFile(json, file); + } + }, + + _loadSettings : function() { + // Load using JSON format + var settings; + if (this._profile.hasOwnProperty("id")) { +- var file = IO.getFile("Profile", null); ++ var dirSvc = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties); ++ var file = dirSvc.get("ProfD", Ci.nsIFile); + file.append("webapps"); + file.append(this._profile.id); + file.append("localstore.json"); + if (file.exists()) { +- var stream = IO.newInputStream(file, "text"); +- var json = stream.readLine(); +- stream.close(); ++ var json = FileIO.fileToString(file); + settings = JSON.fromString(json); + + if (settings.window) { + switch (settings.window.state) { + case window.STATE_MAXIMIZED: + window.maximize(); + break; + case window.STATE_MINIMIZED: +Index: prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +=================================================================== +--- prism-0.8+svn20071115r8030.orig/app/modules/WebAppInstall.jsm ++++ prism-0.8+svn20071115r8030/app/modules/WebAppInstall.jsm +@@ -24,18 +24,19 @@ + * ***** END LICENSE BLOCK ***** */ + + const Cc = Components.classes; + const Ci = Components.interfaces; + + const PR_WRONLY = 0x02; + const PR_CREATE_FILE = 0x08; + const PR_TRUNCATE = 0x20; ++const PR_PERMS_FILE = 0644; + +-EXPORTED_SYMBOLS = ["WebAppInstall"]; ++EXPORTED_SYMBOLS = ["WebAppInstall", "FileIO"]; + + function WebAppInstall() + { + } + + WebAppInstall.prototype = { + createApplication : function(params) { + var dirSvc = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties); +@@ -281,8 +282,53 @@ + var cmd = "#!/bin/sh\nexec " + target.path + " -webapp " + id; + var script = macos.clone(); + script.append(name); + stream.init(script, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0755, 0); + stream.write(cmd, cmd.length); + stream.close(); + } + } ++ ++var FileIO = { ++ // Returns the text content of a given nsIFile ++ fileToString : function(file) { ++ // Get a nsIFileInputStream for the file ++ var fis = Cc["@mozilla.org/network/file-input-stream;1"].createInstance(Ci.nsIFileInputStream); ++ fis.init(file, -1, 0, 0); ++ ++ // Get an intl-aware nsIConverterInputStream for the file ++ var is = Cc["@mozilla.org/intl/converter-input-stream;1"].createInstance(Ci.nsIConverterInputStream); ++ is.init(fis, "UTF-8", 1024, Ci.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER); ++ ++ // Read the file into string via buffer ++ var data = ""; ++ var buffer = {}; ++ while (is.readString(4096, buffer) != 0) { ++ data += buffer.value; ++ } ++ ++ // Clean up ++ is.close(); ++ fis.close(); ++ ++ return data; ++ }, ++ ++ // Saves the given text string to the given nsIFile ++ stringToFile : function(data, file) { ++ // Get a nsIFileOutputStream for the file ++ var fos = Cc["@mozilla.org/network/file-output-stream;1"].createInstance(Ci.nsIFileOutputStream); ++ fos.init(file, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, PR_PERMS_FILE, 0); ++ ++ // Get an intl-aware nsIConverterOutputStream for the file ++ var os = Cc["@mozilla.org/intl/converter-output-stream;1"].createInstance(Ci.nsIConverterOutputStream); ++ os.init(fos, "UTF-8", 0, 0x0000); ++ ++ // Write data to the file ++ os.writeString(data); ++ ++ // Clean up ++ os.close(); ++ fos.close(); ++ } ++}; ++ --- prism-0.8+svn20071115r8030.orig/debian/patches/series +++ prism-0.8+svn20071115r8030/debian/patches/series @@ -0,0 +1,3 @@ +fix_desktop_launcher.patch +remove_scriptableio.patch +use_png_for_windows_icons_on_linux.patch --- prism-0.8+svn20071115r8030.orig/debian/prism-google-groups.desktop +++ prism-0.8+svn20071115r8030/debian/prism-google-groups.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=Google Groups +GenericName=Prism for Google Groups +Exec=prism-google-groups +Terminal=false +Type=Application +Icon=prism-google-groups +Categories=GTK;Network;News; +StartupWMClass=Prism +StartupNotify=true --- prism-0.8+svn20071115r8030.orig/debian/prism-google-calendar.links +++ prism-0.8+svn20071115r8030/debian/prism-google-calendar.links @@ -0,0 +1,3 @@ +usr/share/prism/apps/gcalendar.webapp usr/share/prism/apps/google-calendar.webapp +usr/bin/prism usr/bin/prism-google-calendar +usr/share/man/man1/prism.1.gz usr/share/man/man1/prism-google-calendar.1.gz