--- seamonkey-1.1.12+nobinonly.orig/debian/README.Debian +++ seamonkey-1.1.12+nobinonly/debian/README.Debian @@ -0,0 +1,70 @@ +Seamonkey for Ubuntu +==================== + +Application Update +------------------ + +From version 1.0.7 onwards, the automatic application update has been +disabled through the update_notifications.enabled preference, which is +locked to 'false' by /usr/lib/seamonkey/greprefs/seamonkey.cfg. + +Sound +----- + +By default, seamonkey detects and runs the correct dsp wrapper for esd, +arts, or alsa. If this is not the desired behaviour, edit +/etc/seamonkey/seamonkeyrc or ~/.mozilla/seamonkeyrc and set the SEAMONKEY_DSP +variable to: + +"auto": The default, auto-detection. + +"esddsp": Use esd. + +"artsdsp": Use arts. + +"aoss": Use alsa. + +"none": Don't use any sound wrapper. + +using Java. (You should use plugin which compiled with gcc-3.2 or newer) +---------- + +You can install one of the following packages: + - gcjwebplugin, + - java-gcj-compat-plugin, + - sun-java5-plugin. + +Alternatively, you can grab a binary Java distribution from +http://java.sun.com/, install the java-package package and do a make-jpkg +on the file. + +Buttons +------- + +Some people have complained that the button order in dialogs is +non-intuitive (ie, they don't like it). To reverse the order, add the +following to your chrome/userChrome.css file, under the +~/.mozilla/ directory: + +.dialog-button-box { -moz-box-direction: reverse; -moz-box-pack: right; } +.dialog-button-box spacer { display: none ! important; } + +Emacs keybindings +----------------- + +Versions of Firefox before 1.0 supported Emacs style keybindings in +text entry boxes. Version 1.0 now merely follows the GTK keybindings +settings. To enable Emacs keybindings in GTK, follow the instructions +at http://kb.mozillazine.org/Emacs_Keybindings_(Firefox). + +Pango +----- + +Pango support is enabled by default. This is not the default for Mozilla.org +builds, so may have more problems, but it is the default because it supports +more languages out of the box. If you experience problems, you can disable +it by hand by setting MOZ_DISABLE_PANGO=1 either in /etc/seamonkey/seamonkeyrc, +${HOME}/.mozilla/seamonkeyrc or as an exported environment variable. + + -- Mike Hommey Sun, 31 Dec 2006 16:26:48 +0100 + Updated by Fabien Tassin for SeamMonkey & Ubuntu --- seamonkey-1.1.12+nobinonly.orig/debian/README.chrome +++ seamonkey-1.1.12+nobinonly/debian/README.chrome @@ -0,0 +1,16 @@ +update-seamonkey-chrome + +HOWTO install external chromes such as language package + + 1. put chrome data file like + % cat /var/lib/seamonkey/chrome.d/50foo.chrome + content,install,url,jar:resource:/chrome/foo.jar!/content/foo/ + locale,install,url,jar:resource:/chrome/foo.jar!/locale/en-US/foo/ + + (see install.js of xpi package.) + + 2. put jar file into /usr/lib/seamonkey/chrome/ + + 3. run update-seamonkey-chrome + + for examples, see mozilla-checky or mozilla-venkman package. --- seamonkey-1.1.12+nobinonly.orig/debian/about_debian.js +++ seamonkey-1.1.12+nobinonly/debian/about_debian.js @@ -0,0 +1,133 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * 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 AboutDebian. + * + * The Initial Developer of the Original Code is + * Mike Hommey. + * Portions created by the Initial Developer are Copyright (C) 2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* Used Javascript XPCOM component generator from + http://ted.mielczarek.org/code/mozilla/jscomponentwiz/ to get a skeleton */ + +const nsISupports = Components.interfaces.nsISupports; +const nsIAboutModule = Components.interfaces.nsIAboutModule; + +// You can change these if you like +const CLASS_ID = Components.ID("1359a506-95b6-4fec-9f03-3d81ce131fc0"); +const CLASS_NAME = "about: handler for Debian and package related information"; +const CONTRACT_ID_PREFIX = "@mozilla.org/network/protocol/about;1?what="; + +// This is your constructor. +// You can do stuff here. +function AboutDebian() { + // you can cheat and use this + // while testing without + // writing your own interface + this.wrappedJSObject = this; +} + +// This is the implementation of your component. +AboutDebian.prototype = { + // for nsISupports + QueryInterface: function(aIID) + { + // add any other interfaces you support here + if (!aIID.equals(nsISupports) && !aIID.equals(nsIAboutModule)) + throw Components.results.NS_ERROR_NO_INTERFACE; + return this; + }, + + newChannel: function(uri) + { + var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(); + ioService = ioService.QueryInterface(Components.interfaces.nsIIOService); + var request = uri.path.toLowerCase(); + var redirect; + if (request == "readme.debian") { + redirect = "file:///usr/share/doc/seamonkey-browser/README.Debian"; + } else if (request == "bugs") { + redirect = "https://bugs.launchpad.net/seamonkey/"; + } else { + redirect = "http://debian.org/"; + } + var uri = ioService.newURI(redirect, null, null); + return ioService.newChannelFromURI(uri); + } +} + +//================================================= +// Note: You probably don't want to edit anything +// below this unless you know what you're doing. +// +// Factory +var AboutDebianFactory = { + createInstance: function (aOuter, aIID) + { + if (aOuter != null) + throw Components.results.NS_ERROR_NO_AGGREGATION; + return (new AboutDebian()).QueryInterface(aIID); + } +}; + +// Module +var AboutDebianModule = { + registerSelf: function(aCompMgr, aFileSpec, aLocation, aType) + { + aCompMgr = aCompMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); + aCompMgr.registerFactoryLocation(CLASS_ID, CLASS_NAME, CONTRACT_ID_PREFIX + "readme.debian", aFileSpec, aLocation, aType); + aCompMgr.registerFactoryLocation(CLASS_ID, CLASS_NAME, CONTRACT_ID_PREFIX + "bugs", aFileSpec, aLocation, aType); + aCompMgr.registerFactoryLocation(CLASS_ID, CLASS_NAME, CONTRACT_ID_PREFIX + "debian", aFileSpec, aLocation, aType); + }, + + unregisterSelf: function(aCompMgr, aLocation, aType) + { + aCompMgr = aCompMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); + aCompMgr.unregisterFactoryLocation(CLASS_ID_PREFIX + "readme.debian", aLocation); + aCompMgr.unregisterFactoryLocation(CLASS_ID_PREFIX + "bugs", aLocation); + aCompMgr.unregisterFactoryLocation(CLASS_ID_PREFIX + "debian", aLocation); + }, + + getClassObject: function(aCompMgr, aCID, aIID) + { + if (!aIID.equals(Components.interfaces.nsIFactory)) + throw Components.results.NS_ERROR_NOT_IMPLEMENTED; + + if (aCID.equals(CLASS_ID)) + return AboutDebianFactory; + + throw Components.results.NS_ERROR_NO_INTERFACE; + }, + + canUnload: function(aCompMgr) { return true; } +}; + +//module initialization +function NSGetModule(aCompMgr, aFileSpec) { return AboutDebianModule; } --- seamonkey-1.1.12+nobinonly.orig/debian/base.js +++ seamonkey-1.1.12+nobinonly/debian/base.js @@ -0,0 +1,12 @@ +// This is the Debian specific preferences file for Seamonkey +// You can make any change in here, it is the purpose of this file. +// You can, with this file and all files present in the +// /etc/seamonkey/pref directory, override any preference that is +// present in /usr/lib/seamonkey/defaults/pref directory. +// While your changes will be kept on upgrade if you modify files in +// /etc/seamonkey/pref, please note that they won't be kept if you +// do them in /usr/lib/seamonkey/defaults/pref. + +// Use LANG environment variable to choose locale +pref("intl.locale.matchOS", true); + --- seamonkey-1.1.12+nobinonly.orig/debian/changelog +++ seamonkey-1.1.12+nobinonly/debian/changelog @@ -0,0 +1,748 @@ +seamonkey (1.1.12+nobinonly-0ubuntu1) intrepid; urgency=low + + * New security upstream release: 1.1.12 (LP: #276437) + - CVE-2008-4070: Heap overflow when canceling newsgroup message + - CVE-2008-4069: XBM image uninitialized memory reading + - CVE-2008-4067..4068: resource: traversal vulnerabilities + - CVE-2008-4065..4066: BOM characters stripped from JavaScript before execution + - CVE-2008-4061..4064: Crashes with evidence of memory corruption + - CVE-2008-4058..4060: Privilege escalation via XPCnativeWrapper pollution + - CVE-2008-3837: Forced mouse drag + - CVE-2008-3835: nsXMLDocument::OnChannelRedirect() same-origin violation + - CVE-2008-0016: UTF-8 URL stack buffer overflow + + -- Fabien Tassin Tue, 30 Sep 2008 00:41:24 +0200 + +seamonkey (1.1.11+nobinonly-0ubuntu1) intrepid; urgency=low + + * New security upstream release: 1.1.11 (LP: #218534) + Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1 + * Refresh diverged patch: + - update debian/patches/80_security_build.patch + * Fix FTBFS with missing -lfontconfig + - add debian/patches/11_fix_ftbfs_with_fontconfig.patch + - update debian/patches/series + * Build with default gcc (hardy: 4.2, intrepid: 4.3) + - update debian/rules + - update debian/control + + -- Fabien Tassin Tue, 29 Jul 2008 21:29:02 +0200 + +seamonkey (1.1.9+nobinonly-0ubuntu1) hardy; urgency=low + + * New security upstream release: 1.1.9 (LP: #207461) + * Security fixes: + - MFSA 2008-19 XUL popup spoofing variant (cross-tab popups) + - MFSA 2008-18 Java socket connection to any local port via LiveConnect + - MFSA 2008-17 Privacy issue with SSL Client Authentication + - MFSA 2008-16 HTTP Referrer spoofing with malformed URLs + - MFSA 2008-15 Crashes with evidence of memory corruption + - MFSA 2008-14 JavaScript privilege escalation and arbitrary code execution + * Drop patches applied upstream: + - drop debian/patches/11_bz399589_fix_missing_symbol_with_new_nss.patch + - update debian/patches/series + * Add missing Ubuntu-specific menu items (LP: #190845) + - add debian/patches/85_ubuntu_menu.patch + - update debian/patches/series + Contributed by Andrea Colangelo + + -- Fabien Tassin Thu, 27 Mar 2008 00:31:02 +0100 + +seamonkey (1.1.8+nobinonly-0ubuntu1) hardy; urgency=low + + * New security upstream release: 1.1.8 + * Security fixes: + - MFSA 2008-13 Multiple XSS vulnerabilities from character encoding + - MFSA 2008-10 URL token stealing via stylesheet redirect + - MFSA 2008-09 Mishandling of locally-saved plain text files + - MFSA 2008-07 Possible information disclosure in BMP decoder + - MFSA 2008-06 Web browsing history and forward navigation stealing + - MFSA 2008-05 Directory traversal via chrome: URI + - MFSA 2008-03 Privilege escalation, XSS, Remote Code Execution + - MFSA 2008-02 Multiple file input focus stealing vulnerabilities + - MFSA 2008-01 Crashes with evidence of memory corruption (rv:1.8.1.12) + * Drop unwanted patches: + - drop debian/patches/82_homepage.patch + - drop debian/patches/85_about.patch + - drop debian/patches/85_release_notes.patch + - update debian/patches/series + * Update diverged patch: + - update debian/patches/99_configure.patch + + -- Fabien Tassin Fri, 08 Feb 2008 13:13:42 +0100 + +seamonkey (1.1.7+nobinonly-0ubuntu2) hardy; urgency=low + + * bump Standards-Version to 3.7.3 + - update debian/control + * Add comments to patches lacking one + - update debian/patches/11_bz399589_fix_missing_symbol_with_new_nss.patch + - update debian/patches/12_fix_ftbfs_with_nss.patch + * Drop extensions from icons in the .desktop files + - update debian/menu_dir/*.desktop + * Drop Uploaders: field as it doesn't mean anything for Ubuntu + - update debian/control + * Reference the specific versions of the GPL and LGPL + - update debian/copyright + * Add get-orig-source and get-current-source to respectively + fetch and repack a newer tarball or the current tarball needed + to build this version of the package + - update debian/rules + * Update 'section' of all menu files to be compliant with Debian + Menu System + - update debian/*.menu + + -- Fabien Tassin Mon, 10 Dec 2007 17:32:39 +0100 + +seamonkey (1.1.7+nobinonly-0ubuntu1) hardy; urgency=low + + * New security upstream release: 1.1.7 (LP: #174739) + * MSFA 2007-37, MSFA 2007-38, MSFA 2007-39 + * Drop patches applied upstream + - drop debian/patches/65_branding_bug_401824.patch + - drop debian/patches/65_composer_charset.patch + - update debian/patches/series + * Update debian/patches/99_configure.patch + * Add Vcs-Bzr: and Homepage: fields to control + - update debian/control + * Change dfsg into nobinonly in watch file + - update debian/watch + + -- Fabien Tassin Fri, 07 Dec 2007 20:52:32 +0100 + +seamonkey (1.1.6+nobinonly-0ubuntu1) hardy; urgency=low + + [ Fabien Tassin ] + * Remove unused patches: + - drop debian/patches/20_visibility.dpatch, + debian/patches/28_ppc64_build.dpatch, + debian/patches/38_unsupported_arch_build.dpatch, + debian/patches/80_calendar_locale.dpatch, + debian/patches/82_prefs_ubuntu.dpatch + * Migrate from dpatch to quilt + - update debian/control: build-depends on quilt + - debian/rules: update patching rules + - drop debian/patches/80_config.dpatch: done by quilt + - rename and update debian/patches/00list => debian/patches/series + - rename and update debian/patches/*.dpatch => debian/patches/*.patch + * Fix unclean distclean leaving dist/ behind + - update debian/patches/60_distclean.patch + * Migrate to CDBS + - update debian/rules and debian/control + * Revert the Iceape unbranding to Seamonkey + - drop debian/patches/80_app_name.patch and update + debian/patches/series + - update debian/patches/82_prefs.patch and + debian/patches/99_configure.patch + - drop iceape's icons: + - update debian/rules + - drop debian/extras/iceape* and debian/extras/Throbber* + - drop debian/extras/license.txt + - update wording + - update debian/copyright + - rename packages to seamonkey-* + - update debian/control + - rename debian/iceape-*.{dirs,install,links,postinst,postrm,preinst} + to debian/seamonkey-*.{dirs,install,links,postinst,postrm,preinst} + - rename debian/iceape-*.{menu,mime,manpages} + to debian/seamonkey-*.{menu,mime,manpages} + - rename and update debian/menu_dir/iceape-*.desktop to + debian/menu_dir/seamonkey-*.desktop + - rename and update debian/{iceape.cfg,iceaperc,iceape-runner} to + debian/{seamonkey.cfg,seamonkeyrc,seamonkey-runner} + - update debian/about_debian.js, debian/base.js and debian/homepagereset.js + * Drop leftovers from calendar + - drop debian/iceape-calendar.* + - drop debian/extras/calendar.svg + - drop debian/menu_dir/iceape-calendar.desktop + - update debian/control + * Clean-up + - drop debian/README.source (no longer useful) + - drop debian/mozconfig (leftover from previous commit) + * Drop debian/patches/81_free_art_improvements.patch (was part of + the unbranding) + - update debian/patches/series + * Make seamonkey build at last + - fix FTBFS with new libnss (since bz399589 landed) + - add debian/patches/11_bz399589_fix_missing_symbol_with_new_nss.patch + - update debian/patches/series + - fix another FTBFS with libnss (caused by bad linking order with libcrmf) + - add debian/patches/12_fix_ftbfs_with_nss.patch + - update debian/patches/99_configure.patch + - update debian/patches/series + - fix bad syntax for --enable-extensions + - update debian/rules + - fix FTBFS with dh_install needing DEB_DH_INSTALL_SOURCEDIR + - update debian/rules + - fix install of additionnal searchplugins + - update debian/rules + - don't install hicolor icons (we don't have any) + - update debian/seamonkey-browser.install + * Install libnssckbi.so in seamonkey-browser and drop other libnss links + - update debian/rules and debian/seamonkey-browser.links + * Fix broken chrome.d files and clean-up install rules + - update debian/rules + - update debian/seamonkey-browser.{install,dirs} + - update debian/seamonkey-chatzilla.install + - update debian/seamonkey-dom-inspector.install + - update debian/seamonkey-mailnews.install + * Update bug link and README to point Seamonkey toward Ubuntu + - update debian/about_debian.js + - debian/README.Debian + * Fix FTBFS on amd64 (don't depend on arch indep rules for binary + packages + - update debian/rules + - update debian/seamonkey-browser.install + - update debian/seamonkey-chatzilla.install + - update debian/seamonkey-dom-inspector.install + - update debian/seamonkey-mailnews.install + * Update to upstream release 1.1.6 (from 1.1.4) + - update debian/control + - Security fixes provided by 1.1.5: + MFSA 2007-36, MFSA 2007-35, MFSA 2007-34, MFSA 2007-33, MFSA 2007-32, + MFSA 2007-31, MFSA 2007-30, MFSA 2007-29 and MFSA 2007-28. + * Update diverged patches: + - update debian/patches/35_theme_switch.patch + - debian/patches/38_kbsd.patch + - debian/patches/68_mips_performance.patch + - debian/patches/99_configure.patch + * Update Maintainer to Ubuntu Mozilla Team + - update debian/control + * Conflicts/Replaces iceape + - update debian/control + * Fix nss links not installed where CDBS would have done it + - update debian/rules + * Remove bin-only files from upstream tarball using debian/remove.binonly.sh. + Add a nobinonly target in debian/rules to clean up the current tarball, + preserve logs in mozilla/REMOVED+nobinonly.txt. + - rename and update debian/remove.nonfree => debian/remove.binonly.sh + - update debian/rules + * Fix desktop files to make desktop-file-validate happy + - update debian/menu_dir/*.desktop + * Disable all desktop files except seamonkey.desktop, using the icon + from branding (instead of the old style Mozilla one) + - update debian/menu_dir/*.desktop + - update debian/rules + * Add dummy packages for migration of iceape and mozilla packages: + mozilla, mozilla-browser, mozilla-dev, mozilla-mailnews, mozilla-chatzilla, + mozilla-psm, mozilla-dom-inspector, mozilla-js-debugger, mozilla-calendar, + iceape, iceape-browser, iceape-gnome-support, iceape-dev, iceape-dbg, + iceape-mailnews, iceape-chatzilla, iceape-calendar and iceape-dom-inspector + - update debian/control + * Merge DSP settings from previously installed /etc/iceape/iceaperc or + /etc/mozilla/mozillarc into /etc/seamonkey/seamonkeyrc + - update debian/seamonkey-browser.preinst + * Remove leftovers from iceape packages + - add debian/iceape-browser.postrm + - add debian/iceape-browser.preinst + * Re-install /etc/seamonkey files previously disabled + - update debian/seamonkey-browser.install + * Add missing 'upgrade' target to preinst script + - update debian/iceape-browser.preinst + * Exclude CVS stuff when doing nobinonly tarballs + - update debian/rules + * Fix a recent FTBFS in hardy where gtk+ is no longer bringing + some X libs in build-deps + - add debian/patches/13_bz344818_att264996.patch + - update debian/patches/99_configure.patch + - update debian/patches/series + + -- Fabien Tassin Sun, 02 Dec 2007 19:27:42 +0100 + +iceape (1.1.4-1ubuntu3) gutsy; urgency=low + + * debian/control: Removed iceape-calendar from Suggested packages, We + no longer build iceape-calendar, We have sunbird instead. LP: #145073 + * debian/patches/00list/82_prefs_ubuntu: Disabled this patch for now, maybe + we will enable it again for iceape-2.x.x, + + -- John Vivirito Fri, 27 Sep 2007 15:32:16 -0400 + +iceape (1.1.4-1ubuntu2) gutsy; urgency=low + + * debian/rules: use don't build lpia with gcc-4.1/g++-4.1 anymore, but + use gcc-4.2/g++-4.2 for all archs now + * debian/control: Added g++-4.2, gcc-4.2 to build-deps to satisfy lpia + builds + * debian/patches/20_force-no-pragma-visibility-for-gcc-4.2_4.3: add + patch to siable pragma visibility strategy to hide symbols. stick to + -fvisibility=hidden + * debian/patches/00list: Updated for 20_force-no-pragma-visibility- + for-gcc-4.2_4.3 + + [ Alexander Sack ] + * debian/patches/99_configure.dpatch: rerun autoconf2.13 to make new + force-no-pragma-visibility-for-gcc-4.2_4.3.dpatch effective + + -- John Vivirito Thu, 30 Aug 2007 16:46:30 -0400 + +iceape (1.1.4-1ubuntu1) gutsy; urgency=low + + * New security/stability upstream release. + * debian/patches/80_system_libs.dpatch: carried over from Debian to + make sure we dont have problems with upstream changing libjpeg, + libpng or zlib internal version + * debian/patches/35_psm_wakeups.dpatch: removed, it was applied upstream + * debian/patches/00list: updated accordingly + * debian/control: commented out iceape-calendar to prevent binaries + from being built at this time, when debian decides to add it back to + orig tarball than we will decide if we want to follow. + + -- John Vivirito Tue, 7 Aug 2007 12:58:32 -0400 + +iceape (1.1.4-1) unstable; urgency=low + + * New security/stability upstream release. + * debian/patches/90_MFSA_2007_26.dpatch, + debian/patches/90_MFSA_2007_27.dpatch: Removed, as applied upstream. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Sun, 05 Aug 2007 08:32:42 +0200 + +iceape (1.1.3-2) unstable; urgency=high + + * debian/patches/90_MFSA_2007_26.dpatch, + debian/patches/90_MFSA_2007_27.dpatch: Patches, respectively, for + mfsa-2007-26 (aka CVE-2007-3844) and mfsa-2007-27 (aka CVE-2007-3845). + * debian/patches/00list: Updated accordingly. + * debian/patches/80_system_libs.dpatch: Make sure we won't be bitten by + upstream changing libjpeg, libpng or zlib internal version, which + makes system library not used even though --with-system-* argument + is given to configure. This time, it happened with libpng. + * debian/patches/99_configure.dpatch: Updated. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Sat, 21 Jul 2007 23:00:45 +0200 + +iceape (1.1.3-1) unstable; urgency=high + + * New security/stability upstream release (v1.1.3) + * Fixes mfsa-2007-{18-22}, mfsa-2007-{24-25}, alsa known as + CVE-2007-3089, CVE-2007-3285, CVE-2007-3656, CVE-2007-3734, + CVE-2007-3735, CVE-2007-3736, CVE-2007-3737, CVE-2007-3738. + * debian/remove.nonfree: add more binary files from tarball that don't + have sources (Thanks Alexander Sack). + * debian/patches/82_prefs.dpatch: Set layout.css.dpi to 0 instead of -1. + libxul will use system DPI and avoid using huge fonts on systems where + DPI < 96. + * debian/patches/80_system_libs.dpatch: Make sure we won't be bitten by + upstream changing libjpeg, libpng or zlib internal version, which + makes system library not used even though --with-system-* argument + is given to configure. This time, it happened with libpng. + * debian/patches/99_configure.dpatch: Updated. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Sat, 21 Jul 2007 23:00:45 +0200 + +iceape (1.1.2.dfsg1~ubuntu1-0ubuntu1) unstable; urgency=low + + * new upstream version for ubuntu based on 1.1.2.dfsg1-2 + * ubuntu changes not in debian are: + + changes of version 1.1.1-3.mt9 aka show-go-button in addressbar + by John Vivirito + + -- Alexander Sack Wed, 13 Jun 2007 08:55:00 -0200 + +iceape (1.1.2.dfsg1-2) unstable; urgency=low + + * debian/remove.nonfree: add more binary files from tarball that don't + have sources: + ./toolkit/mozapps/installer/windows/nsis/Processes.dll + ./toolkit/mozapps/installer/windows/nsis/ShellLink.dll + ./toolkit/mozapps/installer/windows/nsis/nsProcess.dll + ./xpfe/bootstrap/macbuild/Contents/Resources/command.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/component.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/html.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/mozilla.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/plugin.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/pref.icns + ./xpfe/bootstrap/macbuild/Contents/Resources/text.icns + ./widget/src/os2/res/aliasb.ptr + ./widget/src/os2/res/arrow_wait.ptr + ./widget/src/os2/res/cell.ptr + ./widget/src/os2/res/col_resize.ptr + ./widget/src/os2/res/copy.ptr + ./widget/src/os2/res/crosshair.ptr + ./widget/src/os2/res/grabbing.ptr + ./widget/src/os2/res/grab.ptr + ./widget/src/os2/res/help.ptr + ./widget/src/os2/res/row_resize.ptr + ./widget/src/os2/res/select.ptr + ./widget/src/os2/res/vertical_text.ptr + ./widget/src/os2/res/zoom_in.ptr + ./widget/src/os2/res/zoom_out.ptr + + -- Alexander Sack Mon, 11 Jun 2007 13:00:00 +0200 + +iceape (1.1.2-1) unstable; urgency=low + + * New upstream release. + * Fixes mfsa-2007-12, mfsa-2007-{14-17}, also known as + CVE-2007-1362, CVE-2007-1558, CVE-2007-2867, CVE-2007-2868, + CVE-2007-2870, CVE-2007-2871. + * debian/patches/15_gecko_1.8.1.3.dpatch, + debian/patches/20_visibility.dpatch: Removed, as being applied upstream. + * debian/patches/25_gnome_helpers_with_params.dpatch: Adapted to upstream + changes. (Stolen from xulrunner) + * debian/control, debian/rules: Removed dummy packages for transition from + mozilla. + * debian/*mozilla*: Removed. + * debian/control: + + Update dependencies for iceape-dev and iceape-chatzilla so that + there's no problem with future -0lennyx releases. + + Build depend on libnspr4-dev and libnss3-dev. + * debian/mozconfig: Use system nspr and nss. + * debian/rules: + + Don't shlibsign. + + Install symlinks for nspr and nss libraries in /usr/lib/iceape. + * debian/iceape-browser.install: Don't install libfreebl. + * shlibs.local: Force versioned dependencies on libnss because of our use + of the libnssckbi.so file under /usr/lib/nss which appeared in version + 3.11.5-1. + * debian/patches/99_configure.dpatch: + + Updated with autoconf. + + Removed nsprpub/configure changes, not required anymore. + * debian/patches/80_config.dpatch: Don't copy config.{guess|sub} in + nsprpub/build. + * debian/patches/18_kbsd_nspr.dpatch: Removed, since we now use system + nspr. + * debian/patches/00list: Updated accordingly. + * debian/iceape-browser.links, debian/iceape-browser.install: Install the + isp directory. + + -- Mike Hommey Sat, 09 Jun 2007 20:29:39 +0200 + +iceape (1.1.1-2) unstable; urgency=low + + [ Alexander Sack ] + * debian/patches/20_visibility.dpatch: update from bz366844 to prevent + failures due to bashism + * debian/patches/60_distclean.dpatch: use DIST_GARBAGE for sqlite3.h + instead of GARBAGE to prevent ftbfs on second run -> sqlite3.h is + a source file; maybe drop this completely. + * debian/patches/99_configure.dpatch: update configure accordingly + + [ Mike Hommey ] + * Merged changes from 1.0.8-4. + * Target at unstable. + * debian/patches/15_gecko_1.8.0.11.dpatch: Replaced with + debian/patches/15_gecko_1.8.1.3.dpatch, for 1.8.1 branch. + * debian/patches/35_system_myspell.dpatch: Renamed 80_hunspell.dpatch and + modified to have system hunspell library used instead of myspell. + * debian/patches/00list: Updated accordingly. + * debian/control: Don't build depend on libmyspell-dev but on correct + version of libhunspell-dev. + * debian/patches/99_configure.dpatch: Updated with autoconf. + * debian/mozconfig: Replaced --enable-system-myspell with + --enable-system-hunspell. + + -- Mike Hommey Sun, 15 Apr 2007 17:28:09 +0200 + +iceape (1.0.8-4) unstable; urgency=low + + * debian/iceape-composer.png.uue, debian/iceape-news.png.uue: Removed, + as they are not used. + * debian/patches/15_gecko_1.8.0.11.dpatch: Update to 1.8.0.11 codebase. + Fixes mfsa-2007-11. + * debian/patches/00list: Updated accordingly. + * debian/patches/25_gnome_helpers_with_params.dpatch: Make MIME registry + use system mime.types when it doesn't get extensions from the Gnome + registry. This will make the helper configuration dialogs work better. + * debian/rules: Install several icons in the hicolor theme. + * debian/iceape-browser.install: + + Install /usr/lib/iceape/chrome/icons/default/default.xpm and + /usr/lib/iceape/chrome/icons/default/default16.xpm files that were + missing. + + Install files from the hicolor theme. + * debian/patches/10_icons.dpath: Install the icons into the correct place. + + -- Mike Hommey Sat, 24 Mar 2007 00:54:51 +0100 + +iceape (1.1.1-1) experimental; urgency=low + + * New upstream release, targetted at experimental. Closes: #409295. + * debian/patches/10_dash_workaround.dpatch, + debian/patches/10_pangoxft.dpatch, + debian/patches/15_atk_crash.dpatch, + debian/patches/15_passwdmgr.dpatch, + debian/patches/82_ssl.dpatch: Removed, as being applied upstream. + * debian/patches/00list: Updated accordingly. + * debian/patches/20_visibility.dpatch: Stole new version of the visibility + patch from iceweasel. + * debian/patches/60_distclean.dpatch, + debian/patches/80_security_build.dpatch, + debian/patches/82_prefs.dpatch, + debian/patches/85_about.dpatch: Adapted to upstream changes. + * debian/iceape-calendar.install, debian/iceape-calendar.links, + debian/rules, debian/mozconfig, debian/patches/60_distclean.dpatch, + debian/patches/85_release_notes.dpatch, debian/patches/00list: Disabled + calendar, as it is not provided by the upstream tarball anymore. + * debian/control, debian/iceape-calendar.NEWS: Add a note that the + calendar package is empty. + * debian/iceape-calendar.menu: Renamed as .disabled. + * debian/iceape-browser.install, debian/iceape-browser.links: + + Install new components + + Don't install the webdav component that was provided by the calendar + + Install the inspector.xpt file, since the inspector component is now + a static component. + + Update link for myspell dictionaries. + * debian/iceape-dom-inspector.install: Don't install the inspector + component. + * debian/iceape-dom-inspector.links: Removed. + * debian/mozconfig: Don't disable xpcom obsolete, it is needed for + xpinstall. + * debian/patches/99_configure.dpatch: Updated with autoconf. + + -- Mike Hommey Tue, 13 Mar 2007 07:59:52 +0100 + +iceape (1.0.8-3) unstable; urgency=low + + * debian/patches/15_passwdmgr.dpatch: Restore parts that were actually + NOT applied upstream, and adapt them. Thanks Sam Hocevar for spotting + this. Closes: #414010. + + -- Mike Hommey Thu, 8 Mar 2007 18:50:21 +0100 + +iceape (1.0.8-2) unstable; urgency=low + + * debian/copyright: Added licensing terms for the content in the debian + directory. + * debian/patches/35_xembed_crash.dpatch: Removed. The problem lies in the + totem plugin, actually. Closes: #413256. + * debian/about_debian.js: Custom component to add support for + about:README.Debian and about:bugs addresses. + * debian/iceape-browser.install, debian/iceape-browser.links, debian/rules: + Install the new about_debian.js component. + * debian/patches/85_about.dpatch: Link to newly added about:bugs and + about:README.Debian pages instead of direct links. + * debian/patches/35_about_security.dpatch: Removed, since we don't directly + link to file:/// and http:// urls anymore. + * debian/patches/85_release_notes.dpatch: Remove "Release Notes" item from + Help menu. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Sun, 4 Mar 2007 20:58:30 +0100 + +iceape (1.0.8-1) unstable; urgency=low + + * New upstream release. + * Fixes mfsa-2007-{01-07}, also known as + CVE-2006-6077, CVE-2007-0008, CVE-2007-0009, CVE-2007-0045, + CVE-2007-0775, CVE-2007-0776, CVE-2007-0777, CVE-2007-0778, + CVE-2007-0779, CVE-2007-0780, CVE-2007-0800, CVE-2007-0981, + CVE-2007-0995. + * debian/iceape-browser.install: Install libfreebl. + * debian/rules: + + Invert /usr/share/pixmaps/iceape-mailnews.xpm and + /usr/share/pixmaps/iceape-mail-compose.xpm. Closes: #409812. + + Do shlibsign on libsoftokn and libfreebl. + * debian/patches/25_passwdmgr_crash.dpatch, + debian/patches/20_broken_perl.dpatch: Removed, as being applied upstream. + * debian/patches/18_kbsd_nspr.dpatch, debian/patches/25_entropy.dpatch, + debian/patches/35_system_myspell.dpatch, debian/patches/38_kbsd.dpatch, + debian/patches/80_security_build.dpatch: Adapted to upstream changes. + * debian/patches/60_distclean.dpatch: Removed parts that were applied + upstream ; added another cleanup in nss directory. + * debian/patches/15_passwdmgr.dpatch: Removed parts that were applied + upstream. + * debian/patches/99_configure.dpatch: Updated with autoconf. + * debian/patches/35_theme_switch.dpatch: Fix for hang up when switching + GTK theme. bz#352096. + * debian/patches/35_xembed_crash.dpatch: Fix for crash on restyle after + closing tab with xembed plugin. bz#359870. Thanks Alexander Sack. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Fri, 2 Mar 2007 23:04:24 +0100 + +iceape (1.0.7-3) unstable; urgency=low + + * debian/mozilla-browser.postinst: Renamed to mozilla-browser.postrm, since + it is about postrm rules for purge. + * debian/control: + + Make iceape conflict with mozilla (<< 2:1.8) instead of mozilla. + Closes: #405911. + + iceape is built without xprint support, drop outdated and useless + Suggests to xprt. Thanks to Andreas Metzler. Closes: #301649. + * debian/iceape-browser.prerm: Don't forget to remove the alternatives at + removal time. Closes: #407411. + * debian/iceape-runner: + + Add missing quotes in a test. Thanks to Kevin Ryde. Closes: #408575. + + Add check on ${HOME}. Closes: #361999, #294425. + * debian/patches/65_composer_charset.dpatch: Align editor character set with + meta tag character set at document creation. Closes: #408220. + * debian/patches/15_atk_crash.dpatch: Fix random crashed in GetMaiAtkType. + bz#302250. Closes: #406861. + * debian/patches/18_m68k_xpcom.dpatch: Apply changes provided by Roman + Zippel to fix FTBFS of third party software on m68k. Renamed as + 68_m68k_xpcom.dpatch, since it needs to be sent upstream. (Stolen from + xulrunner) + * debian/patches/35_zip_cache.dpatch: Invalidate cache for a zip file that + got modified. It will prevent corruption of the XUL FastLoad cache when + upgrade is performed while an instance of the application is running. + bz#368428. Closes: #406618. + * debian/patches/80_calendar_locale.dpatch: Don't install calendar locales. + Closes: #406748. Locale packagers: Please add the locales from the + calendar but double check that they include all the strings. + * debian/patches/82_prefs.dpatch: Workaround for freeze error with mail + compose window after a couple of hours of use. bz#307672. Closes: #405662. + * debian/extras/iceape_icon_plain.svg, debian/extras/iceape_logo_plain.svg, + debian/extras/iceape_logo_splash.xpm: Changed colors and improved contrast + on logo and icon. Closes: #408441. + * debian/extras/calendar_orig_309293.svg: Removed, because it is non-free. + * debian/iceape-calendar.install: Install calendar.jar instead of calendar*. + * debian/patches/25_pango_null_char.dpatch: Avoid freeze/crash when null + characters are present in justified text by discarding NULL characters + before displaying. bz#366902. (Stolen from xulrunner svn) + Closes: #406698. + * debian/patches/38_sparc64_unichar_alignment.dpatch: Add ia64 to the + list of arches that need strict alignment. (Stolen from iceweasel svn) + * debian/patches/15_pango_textarea_position.dpatch: Fix for cursor position + when moving in a textarea. bz#366796. Closes: #408913. + * debian/patches/00list: Updated accordingly. + + -- Mike Hommey Mon, 29 Jan 2007 08:12:13 +0100 + +iceape (1.0.7-2) unstable; urgency=high + + * The "OMFFSM" Release ! + + * debian/iceape-browser.preinst: Move files from /usr/lib/iceape/chrome, not + ., dammit ! Closes: #405586. + + -- Mike Hommey Thu, 4 Jan 2007 20:24:44 +0100 + +iceape (1.0.7-1) unstable; urgency=low + + [ Mike Hommey ] + * New upstream release. Fixes mfsa-2006-{68-74} also known as + CVE-2006-6497, CVE-2006-6498, CVE-2006-6499, CVE-2006-6500, + CVE-2006-6501, CVE-2006-6502, CVE-2006-6503, CVE-2006-6504. + Closes: #404892. + + * This release is dedicated to Andreas Metzler, who is doing a great job at + bug triaging the huge pile of bugs that has been accumulating for years + on mozilla-* packages. + + [ Alexander Sack ] + * debian/extras/iceape_icon_plain.svg,debian/extras/calendar_orig_309293.svg, + debian/extras/iceape_logo_splash.xpm,debian/extras/iceape_logo.svg, + debian/extras/calendar.svg,debian/extras/iceape_logo_plain.svg, + debian/extras/iceape_icon.svg,debian/extras/license.txt, + debian/extras/Throbber-small.png.uue,debian/extras/Throbber-small.gif.uue, + debian/control,debian/rules, debian/patches/81_free_art_improvements.dpatch: + Adding free artwork contributed by unicko2000 aka Ricardo Fernándezi + ; added build-depends on imagemagick and librsvg2-bin + to convert svg artwork to various image formats; generate various image + formats of free artwork and place them in build tree appropriately. Picking + Throbber Icons from toolkit to replace trademarked seamonkey throbber. + Closes: #401265. + * debian/patches/81_free_art_improvements.dpatch: use .png for about:logo + instead of .gif ... to improve about page appearence. + * debian/rules,debian/remove.nonfree: Execute debian/remove.nonfree + in source target; adding more trademarked logos/icons to remove list; + for now sedding hardcoded sunbird trademarks in + calendar/sunbird/app/brand.properties and + calendar/sunbird/app/brand.dtd. Closes: #400341,#401266. + * debian/patches/80_free_art_fixes.dpatch: added patch to prevent build + failure due to removed throbber icons that are not used + by seamonkey + * debian/patches/65_branding_bug_401824.dpatch: fix for profile branding bug + Closes: #401824. + * debian/patches/00list: added 81_free_art_improvements, 80_free_art_fixes, + 65_branding_bug_401824 + + [ Mike Hommey ] + * Removed non-free and sourceless binaries from source package + with the script from the gnuzilla project, with 2 additional removals of + IETF files. Closes: #401266. + You can find this modified script for reference in debian/remove.nonfree. + Note this script also removes useless CVS files. + * debian/control: iceape-chatzilla conflicts with older versions of + mozilla-browser. Closes: #401298. + * debian/watch: Added a watch file to track seamonkey versions. + * debian/patches/80_config.dpatch: Use config.guess and config.sub from + autotools-dev. + * debian/iceape-runner: + + Removed -a option passed to iceape (but we keep the parsing, for when it + will become useful). This option prevented iceape to start with the + configured application. Closes: #401620. + + Added a MOZ_PLUGIN_PATH to add support for plugins in + /usr/lib/mozilla/plugins. Closes: #404258. + + Removed some bashisms. + * debian/watch: Added rule to mangle dfsg versions. + * debian/patches/15_passwdmgr.dpatch: Adapted to changes in upstream. Thanks + to Andreas Metzler. + * debian/patches/35_crash_focus.dpatch: Removed: applied upstream. + * debian/iceape-browser.preinst: Move files away from /usr/lib/iceape/chrome + to /usr/share/iceape/chrome if there are. Thanks to Andreas Barth. Closes: + #401372. + * debian/patches/82_prefs.dpatch: Set filename for general config file for + locks and set the obscure value to 0 so that the file needs not be + "encrypted". + * debian/iceape.cfg: Disable upgrade notification and lock the value of the + property so that it is not possible to change it from the UI. Thanks to + Thijs Kinkhorst for the hint on the preference. + * debian/rules, debian/iceape-browser.install: Install iceape.cfg. + Closes: #404699. + * debian/README.Debian: Rewrote, stealing stuff we wrote for + firefox^Wiceweasel, including a note about Emacs key bindings. + Closes: #199090, #291418, #292435, #294542, #296347, #306213. + * debian/control: Fix mozilla-js-debugger package description to refer to + mozilla-venkman instead of iceape. Thanks to Andreas Metzler. + * debian/README.build: Removed. + * debian/README.chrome: Put reference on mozilla-venkman and mozilla-checky + instead of non-existant iceape-locale-ja. + * debian/README.source: Added instructions on how to get the patched sources + and to build the package from SVN. Thanks to Andreas Metzler. + * debian/copyright: Fixed typos. Thanks to Thijs Kinkhorst. Closes: #405225. + * debian/homepagereset.js: Custom component to reset the browser homepage if + it is set to the old localstart.html page from the mozilla-browser + package, which doesn't exist any more. + * debian/patches/85_about.dpatch: Beautifulize about: page (enhancements + stolen from Firefox) and added some useful links for Debian. + * debian/patches/82_homepage.dpatch: Set homepage and throbber url to + about:. + * debian/patches/35_about_security.dpatch: Relax security on what about: + urls can load, to match that of chrome and resources urls. bz#365526. + * debian/rules, debian/iceape-browser.install, debian/iceape-browser.links: + Install this custom component. Closes: #401537, #402337. + * debian/iceape-dom-inspector.install: Only install inspector.jar from + chrome, manifest files are not useful for iceape (yet). + * debian/menu_dir/iceape.desktop: Set this menu item to be used for the + Iceape Suite. Which means that will open whatever is configured to be + opened at Iceape Suite startup (see preferences). + * debian/menu_dir/iceape-navigator.desktop: Add a new menu item for the + Iceape Navigator, which will launch a browser window. + * debian/iceape-browser.install: Install this new desktop file. + * debian/patches/65_xremote.dpatch: Add commands to open calendar, chatzilla + and address book via the XRemote interface. + * debian/iceape-runner: Modify to make use of the new commands in the + XRemote interface. This means iceape -chat and friends works whether an + iceape window is already opened or not. + * debian/patches/38_kbsd.dpatch, debian/patches/38_mips64_build.dpatch, + debian/patches/80_uname.dpatch, debian/patches/18_kbsd_nspr.dpatch: + Applied patch from Petr Salinger to build on GNU/kFreeBSD. + Closes: #401401. + * debian/patches/99_configure.dpatch: Updated. + * debian/patches/35_mail_navigator_overlay.dpatch: Set the overlay for + mailnews options in navigator in mailnews instead of navigator. bz#365701. + Closes: #227705. + * debian/patches/00list: Updated according to all modified and added patches. + * debian/update-iceape-chrome: Redirect regchrome's stderr, too. + * debian/patches/80_uname.dpatch: Fix OS_TARGET so that it is correctly set + to Linux for things that expect this value instead of linux-gnu. + * debian/control: Various changes in packages descriptions. + Closes: #401431, #403047. + + [ Alexander Sack ] + * debian/rules: update target 'source' to not include epoch in generated + orig.tar.gz name. Patch by Andreas Metzler. + + -- Mike Hommey Wed, 3 Jan 2007 19:37:41 +0100 + +iceape (1.0.6-1) unstable; urgency=low + + * Initial Release. (Closes: #350740) + * Thanks to Hendrik-Jan Heins for his help. + + -- Mike Hommey Thu, 23 Nov 2006 00:05:52 +0100 --- seamonkey-1.1.12+nobinonly.orig/debian/compat +++ seamonkey-1.1.12+nobinonly/debian/compat @@ -0,0 +1 @@ +5 --- seamonkey-1.1.12+nobinonly.orig/debian/control +++ seamonkey-1.1.12+nobinonly/debian/control @@ -0,0 +1,316 @@ +Source: seamonkey +Section: net +Priority: optional +Maintainer: Ubuntu Mozilla Team +Vcs-Bzr: https://code.launchpad.net/~mozillateam/seamonkey/seamonkey-1.1.dev +Homepage: http://www.seamonkey-project.org/ +Build-Depends: cdbs, debhelper (>= 5.0.0), autotools-dev, quilt, libgtk2.0-dev, binutils (>= 2.17-1), zip, libjpeg62-dev | libjpeg-dev, libz-dev, libxft-dev (>= 2.1-6), libfontconfig1-dev (>= 2.1-13), libidl-dev (>= 0.8), libxp-dev, libxt-dev, libxau-dev, libcairo2-dev, sharutils, libgnomevfs2-dev, libgnomeui-dev, dpkg-dev (>= 1.13.19), imagemagick, librsvg2-bin, libhunspell-dev (>= 1.1.5-2), libnspr4-dev, libnss3-dev (>= 3.11.5-2) +Standards-Version: 3.7.3 + +Package: seamonkey +Architecture: all +Section: web +Depends: seamonkey-browser, seamonkey-mailnews +Recommends: seamonkey-chatzilla +Conflicts: mozilla (<< 2:1.8), iceape (<< 1.1.6) +Replaces: mozilla, iceape +Description: The Seamonkey Internet Suite + The Seamonkey Internet Suite is a set of Internet oriented applications. + It is the continuity of the Mozilla Suite after it has been abandoned + in favor of Firefox and Thunderbird. + . + The Seamonkey Internet Suite consists of: + - an Internet browser (Seamonkey Navigator) + - an HTML WYSIWYG editor (Seamonkey Composer) + - a Mail and News client (Seamonkey Mail & Newsgroups) + - an Address Book (Seamonkey Address Book) + - an IRC client (Chatzilla) + . + This is a meta package that depends on the main components of this suite. + It is here to ease upgrades, installations, and provide a consistent upgrade + path from previous versions. + . + It can safely be removed with no ill effects. + +Package: seamonkey-browser +Architecture: any +Section: web +Depends: ${shlibs:Depends} +Recommends: seamonkey-gnome-support +Suggests: latex-xft-fonts, libkrb53, seamonkey-mailnews, seamonkey-dom-inspector +Conflicts: mozilla-browser (<< 2:1.8), mozilla-psm (<< 2:1.8), mozilla-venkman (= 0.9.87-3), iceape-browser (<< 1.1.6) +Replaces: mozilla-browser, mozilla-psm, iceape-browser +Provides: www-browser +Description: Seamonkey Navigator (Internet browser) and Composer + Seamonkey Navigator is a sophisticated graphical World-Wide-Web browser, with + a large number of various browser features like support for HTML 4.0, CSS + 2, JavaScript, etc. It also features tabbed browsing, popup blocking, and + many others options. + . + Seamonkey Composer is a WYSIWIG HTML editor that lets you modify arbitrary + HTML pages. It provides dynamic image and table resizing, quick insert + and delete of table cells, and supports CSS and positioned layers. + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-gnome-support +Architecture: any +Section: web +Depends: ${shlibs:Depends}, seamonkey-browser (= ${binary:Version}) +Conflicts: iceape-gnome-support (<< 1.1.6) +Replaces: iceape-gnome-support +Description: Gnome support for the Seamonkey Internet Suite + This is an extension to seamonkey that allows the use of protocol handlers + from Gnome-VFS, such as smb or sftp, and other Gnome integration features. + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-dev +Architecture: all +Section: devel +Depends: seamonkey-browser (>= ${source:Upstream-Version}), seamonkey-browser (<= ${source:Version}.1~) +Conflicts: iceape-dev (<< 1.1.6) +Replaces: mozilla-dev, iceape-dev +Description: Development files for the Seamonkey Internet Suite + This package contains the header and idl files to develop components for + Seamonkey. It is recommended that you use libxul-dev instead, if possible. + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-dbg +Architecture: any +Priority: extra +Section: devel +Depends: seamonkey-browser (= ${binary:Version}) +Conflicts: seamonkey-mailnews (<< ${binary:Version}), seamonkey-mailnews (>> ${binary:Version}), seamonkey-calendar (<< ${binary:Version}), seamonkey-calendar (>> ${binary:Version}), seamonkey-dom-inspector (<< ${binary:Version}), seamonkey-dom-inspector (>> ${binary:Version}), iceape-dbg (<< 1.1.6), iceape-dbg (>> 1.1.6) +Replaces: iceape-dbg +Description: Debugging symbols for the Seamonkey Internet Suite + This package provides the debugging symbols for the Seamonkey Internet Suite + programs. Install this package if you need to debug such a program or if + you need a useful backtrace of a crash. + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-mailnews +Architecture: any +Section: mail +Depends: ${shlibs:Depends}, seamonkey-browser (= ${binary:Version}) +Conflicts: mozilla-mailnews (<< 2:1.8), iceape-mailnews (<< 1.1.6) +Provides: mail-reader, imap-client, news-reader +Replaces: mozilla-mailnews, iceape-mailnews +Description: Seamonkey Mail & Newsgroups and Address Book + Seamonkey Mail & Newsgroups client supports NNTP Newsgroups and IMAP/POP Mail. + It has a full variety of features such as multiple accounts, labels, + adaptive junk mail control, S/MIME, digital signing. + . + Seamonkey Address Book adds address book management to the Seamonkey Mail & + Newsgroups client. It supports LDAP, vCards... + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-chatzilla +Architecture: all +Section: net +Depends: seamonkey-browser (>= ${source:Upstream-Version}), seamonkey-browser (<= ${source:Version}.1~) +Conflicts: mozilla-chatzilla (<< 2:1.8), mozilla-browser (<< 2:1.8), iceape-chatzilla (<< 1.1.6) +Replaces: mozilla-chatzilla, iceape-chatzilla +Description: Seamonkey Chatzilla IRC client + Chatzilla is a full featured IRC client integrated with the Seamonkey + Internet Suite. It is scriptable, and supports what most people would + expect from an IRC client. + . + See the 'seamonkey' package for more information on the Seamonkey Internet Suite. + +Package: seamonkey-dom-inspector +Architecture: any +Section: web +Depends: ${shlibs:Depends}, seamonkey-browser (= ${binary:Version}) +Conflicts: mozilla-dom-inspector (<< 2:1.8), iceape-dom-inspector (<< 1.1.6) +Replaces: mozilla-dom-inspector, iceape-dom-inspector +Description: DOM inspector for the Seamonkey Internet Suite + This is a tool that allows you to inspect the DOM for web pages in the + Seamonkey Navigator. + . + It also allows you to inspect the DOM for the Seamonkey User Interface itself + and helps for extensions development. + +Package: mozilla +Architecture: all +Section: web +Depends: seamonkey +Description: dummy upgrade package for the SeaMonkey Internet Suite + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey package has been + installed. + +Package: mozilla-browser +Architecture: all +Section: web +Depends: seamonkey-browser +Description: dummy upgrade package for SeaMonkey Navigator and Composer + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-browser package has + been installed. + +Package: mozilla-dev +Architecture: all +Section: devel +Depends: seamonkey-dev +Description: dummy upgrade package for development file for the SeaMonkey Internet Suite + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-dev package has been + installed. + +Package: mozilla-mailnews +Architecture: all +Section: mail +Depends: seamonkey-mailnews +Description: dummy upgrade package for SeaMonkey Mail & Newsgroups and Address Book + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-mailnews package has + been installed. + +Package: mozilla-chatzilla +Architecture: all +Section: net +Depends: seamonkey-chatzilla +Description: dummy upgrade package for SeaMonkey Chatzilla IRC client + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-chatzilla package + has been installed. + +Package: mozilla-psm +Architecture: all +Section: web +Depends: seamonkey-browser +Description: dummy upgrade package for SeaMonkey Navigator + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-browser package has + been installed. + +Package: mozilla-dom-inspector +Architecture: all +Section: web +Depends: seamonkey-dom-inspector +Description: dummy upgrade package for the DOM Inspector for the SeaMonkey Internet Suite + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-dom-inspector package + has been installed. + +Package: mozilla-js-debugger +Architecture: all +Section: devel +Depends: mozilla-venkman (>= 0.9.87-4) +Description: dummy upgrade package for venkman + Package to ease upgrading from mozilla packages to the separate venkman + package. + . + This package can be purged at anytime once the mozilla-venkman package has + been installed. + +Package: mozilla-calendar +Architecture: all +Section: misc +Depends: seamonkey-browser +Description: dummy upgrade package for SeaMonkey Calendar + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-calendar package has + been installed. + +Package: iceape +Architecture: all +Section: web +Depends: seamonkey +Description: dummy upgrade package for the SeaMonkey Internet Suite + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey package has been + installed. + +Package: iceape-browser +Architecture: all +Section: web +Depends: seamonkey-browser +Description: dummy upgrade package for SeaMonkey Navigator + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-browser package has + been installed. + +Package: iceape-gnome-support +Architecture: all +Section: web +Depends: seamonkey-gnome-support +Description: dummy upgrade package for SeaMonkey Gnome Support + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-gnome-support package has + been installed. + +Package: iceape-dev +Architecture: all +Section: web +Depends: seamonkey-dev +Description: dummy upgrade package for SeaMonkey SDK + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-dev package has + been installed. + +Package: iceape-dbg +Architecture: all +Section: web +Depends: seamonkey-dbg +Description: dummy upgrade package for SeaMonkey Debug package + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-dbg package has + been installed. + +Package: iceape-mailnews +Architecture: all +Section: mail +Depends: seamonkey-mailnews +Description: dummy upgrade package for SeaMonkey Mail & Newsgroups and Address Book + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-mailnews package has + been installed. + +Package: iceape-chatzilla +Architecture: all +Section: net +Depends: seamonkey-chatzilla +Description: dummy upgrade package for SeaMonkey Chatzilla IRC client + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-chatzilla package + has been installed. + +Package: iceape-calendar +Architecture: all +Section: web +Depends: seamonkey-browser +Description: dummy upgrade package for SeaMonkey Navigator + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-browser package has + been installed. + +Package: iceape-dom-inspector +Architecture: all +Section: web +Depends: seamonkey-dom-inspector +Description: dummy upgrade package for the DOM Inspector for the SeaMonkey Internet Suite + Package to ease upgrading from mozilla packages to the new seamonkey package. + . + This package can be purged at anytime once the seamonkey-dom-inspector package + has been installed. --- seamonkey-1.1.12+nobinonly.orig/debian/copyright +++ seamonkey-1.1.12+nobinonly/debian/copyright @@ -0,0 +1,838 @@ +This package was debianized by HJ Heins on +Wed, 23 Aug 2006 18:55:11 +0100. + +It was downloaded from ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases + +Copyright Holder: Mozilla Corporation + +The source tarball is an aggregate of several different works in which the +main one, developed by the Mozilla Project, is Seamonkey. + +The contents of the debian directory are licensed like the bulk of +Seamonkey, tri-licensed under the GPL 2 / LGPL 2.1 / MPL 1.1. + +The SVG files in the debian directory are +Copyright 2006-2007 Ricardo Fernández Fuentes + +Other works include gzip, bzip2, sqlite, libjpeg, libpng, cairo, and others. +Please see the sections following the copyright statements for seamonkey for +these. + +If this file is incomplete, which I'm pretty sure is the case, because it's +difficult not to forget anything in this huge amount of data, please file +a bug or contact me. + +=== seamonkey + +Overall, the seamonkey 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-2' ; +the complete text of the GNU Lesser General Public License can be +found in the file `/usr/share/common-licenses/LGPL-2.1'. + +The complete text of the Mozilla Public License can be found in the MPL file +in the same directory as this file. + +Some of the files are also licensed (single, dual or tri) under the terms of +the Netscape Public License (NPL) which can be found as amendments to the +MPL at the end of the file. + +While the Mozilla Project is undergoing a global relicensing so that the +aim is to have a full tree with these tri-license terms, there are at the +moment quite some exceptions as following: + +(Note that I sometimes assumed files not explicitely licensed to be licensed +under the same terms as the files around them and that a lot of the +information has been extracted automatically, thus maybe leaving some doubt. +Again, if you find "bugs", please contact me by email or via the BTS.) + +The following files are dual licensed under the terms of the MPL and of +the GPL: + + all files in directory/c-sdk/config, except the autoconf sub-directory and + the prmkdir.bat file. + all files in security/nss/lib/ckfw/dbm + + directory/c-sdk/configure.in + directory/c-sdk/gmakefile.win + nsprpub/configure.in + nsprpub/pr/include/md/_beos.cfg + nsprpub/pr/include/md/_netbsd.h + nsprpub/pr/src/linking/prlink.c + nsprpub/pr/src/md/beos/bfile.c + nsprpub/pr/src/md/beos/brng.c + nsprpub/pr/src/md/os2/os2emx.s + nsprpub/pr/src/md/os2/os2vaclegacy.s + nsprpub/pr/src/md/unix/os_AIX.s + nsprpub/pr/src/md/unix/os_BSD_386_2.s + nsprpub/pr/src/md/unix/os_Darwin_ppc.s + nsprpub/pr/src/md/unix/os_Darwin_x86.s + nsprpub/pr/src/md/unix/os_HPUX.s + nsprpub/pr/src/md/unix/os_Irix.s + nsprpub/pr/src/md/unix/os_Linux_ia64.s + nsprpub/pr/src/md/unix/os_Linux_x86.s + nsprpub/pr/src/md/unix/os_Linux_x86_64.s + nsprpub/pr/src/md/unix/os_ReliantUNIX.s + nsprpub/pr/src/md/unix/os_SunOS.s + nsprpub/pr/src/md/unix/os_SunOS_sparcv9.s + nsprpub/pr/src/md/unix/os_SunOS_ultrasparc.s + nsprpub/pr/src/md/unix/os_SunOS_x86.s + nsprpub/pr/src/md/unix/os_SunOS_x86_64.s + nsprpub/pr/src/md/unix/unix.c + nsprpub/pr/tests/testfile.c + nsprpub/pr/tests/tmocon.c + security/nss/cmd/crlutil/crlgen.c + security/nss/lib/freebl/mpi/hpma512.s + security/nss/lib/freebl/mpi/hppa20.s + security/nss/lib/freebl/mpi/montmulf.s + security/nss/lib/freebl/mpi/montmulfv8.s + security/nss/lib/freebl/mpi/montmulfv9.s + security/nss/lib/freebl/mpi/mpi_i86pc.s + security/nss/lib/freebl/mpi/mpi_mips.s + security/nss/lib/freebl/mpi/mpi_x86.s + security/nss/lib/freebl/mpi/mpv_sparcv8.s + security/nss/lib/freebl/mpi/mpv_sparcv9.s + security/nss/lib/util/ret_cr16.s + security/nss/tests/pkcs11/netscape/trivial/configure.in + +The following files are licensed under the terms of the MPL only: + + configure.in + directory/c-sdk/ldap/build/autoconf.mk.in + directory/c-sdk/ldap/build/my_overrides.mk + extensions/xmlterm/scripts/xmlterm.spec + modules/libpr0n/decoders/jpeg/Makefile.in + modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp + modules/libpr0n/decoders/jpeg/nsJPEGDecoder.h + netwerk/streamconv/converters/mozTXTToHTMLConv.cpp + netwerk/streamconv/converters/mozTXTToHTMLConv.h + netwerk/streamconv/public/mozITXTToHTMLConv.idl + security/nss/lib/freebl/mpi/doc/basecvt.pod + security/nss/lib/freebl/mpi/doc/gcd.pod + security/nss/lib/freebl/mpi/doc/invmod.pod + security/nss/lib/freebl/mpi/doc/isprime.pod + security/nss/lib/freebl/mpi/doc/lap.pod + security/nss/lib/freebl/mpi/doc/mpi-test.pod + security/nss/lib/freebl/mpi/doc/prime.txt + security/nss/lib/freebl/mpi/doc/prng.pod + security/nss/lib/freebl/mpi/tests/pi1k.txt + security/nss/lib/freebl/mpi/tests/pi2k.txt + security/nss/lib/freebl/mpi/tests/pi5k.txt + security/nss/lib/freebl/mpi/utils/PRIMES + toolkit/mozapps/preferences/fontscaling.xul + widget/src/windows/nsFilePicker.cpp + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparcv9_solaris_SUNW.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.m4 + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparcv9_solaris.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips.cpp + xpcom/typelib/xpidl/xpidl_java.c + +The following files are tri licensed under the terms of the NPL, of the +GPL, and the LGPL: + + all files in accessible/src/atk, except the following: + accessible/src/atk/Makefile.in + accessible/src/atk/nsAccessNodeWrap.cpp + accessible/src/atk/nsAccessNodeWrap.h + accessible/src/atk/nsXULMenuAccessibleWrap.h + all files in extensions/pref, except autoconfig/resources/Makefile.in + all files in modules/libpref, except the following: + modules/libpref/Makefile.in + modules/libpref/public/Makefile.in + modules/libpref/src/Makefile.in + all files in sun-java, except the following: + sun-java/Makefile.in + sun-java/stubs/Makefile.in + sun-java/stubs/include/Makefile.in + sun-java/stubs/include/jni_md.h + sun-java/stubs/jri/Makefile.in + all files in xpcom/typelib/xpidl, except Makefile.in + + accessible/src/mac/nsTextAccessibleWrap.h + accessible/src/msaa/nsTextAccessibleWrap.cpp + accessible/src/msaa/nsTextAccessibleWrap.h + accessible/src/msaa/nsXULTreeAccessibleWrap.cpp + accessible/src/msaa/nsXULTreeAccessibleWrap.h + accessible/src/other/nsTextAccessibleWrap.h + dbm/include/cdefs.h + dbm/include/mcom_db.h + dbm/tests/lots.c + editor/ui/composer/content/editorInlineSpellCheck.js + mailnews/mime/cthandlers/calendar/mimecal.cpp + mailnews/mime/cthandlers/calendar/mimecal.h + mailnews/mime/cthandlers/calendar/nsCalendarFactory.cpp + toolkit/themes/qute/global/preferences.css + toolkit/themes/winstripe/global/preferences.css + widget/src/os2/nsAppShell.h + +The following files are dual licensed under the terms of the NPL and of +the GPL: + + gc/boehm/xSYM/SymFiles.cpp + gc/boehm/leaksoup/Addr2Line.java + gc/boehm/leaksoup/BlameTable.java + gc/boehm/leaksoup/CallTree.java + gc/boehm/leaksoup/FileLocator.java + gc/boehm/leaksoup/FileTable.java + gc/boehm/leaksoup/Histogram.java + gc/boehm/leaksoup/Reference.java + gc/boehm/leaksoup/RevisionTable.java + gc/boehm/leaksoup/StringTable.java + gc/boehm/leaksoup/Type.java + gc/boehm/leaksoup/bloatsoup.java + gc/boehm/leaksoup/leaksoup.java + gc/boehm/leaksoup/tracesoup.java + gc/boehm/xSYM/SymFiles.h + gc/boehm/xSYM/sym_file.h + js/src/lock_SunOS.s + +The following files are licensed under the terms of the NPL only: + + all files in directory/c-sdk/ldap, except the following: + directory/c-sdk/ldap/build/autoconf.mk.in + directory/c-sdk/ldap/build/my_overrides.mk + directory/c-sdk/ldap/examples/win32.mak + directory/c-sdk/ldap/libraries/libssldap/errormap.c + + dbm/Makefile.in + dbm/include/Makefile.in + dbm/include/Makefile.win + dbm/src/Makefile.in + dbm/src/Makefile.win + dbm/tests/Makefile.in + directory/c-sdk/aclocal.m4 + directory/c-sdk/build.mk + directory/c-sdk/component_versions.mk + directory/c-sdk/config/prmkdir.bat + directory/c-sdk/package.mk + extensions/pref/autoconfig/resources/Makefile.in + gc/boehm/Makefile.in + gc/boehm/makefile.win + intl/uconv/ucvibm/864i.uf + intl/uconv/ucvibm/cp850.uf + intl/uconv/ucvibm/cp852.uf + intl/uconv/ucvibm/cp855.uf + intl/uconv/ucvibm/cp857.uf + intl/uconv/ucvibm/cp862.uf + intl/uconv/ucvibm/cp864.uf + intl/uconv/ucvmath/mathematica1.uf + intl/uconv/ucvmath/mathematica2.uf + intl/uconv/ucvmath/mathematica3.uf + intl/uconv/ucvmath/mathematica4.uf + intl/uconv/ucvmath/mathematica5.uf + intl/uconv/ucvmath/mtextra.uf + intl/uconv/ucvmath/texcmex-t1.uf + intl/uconv/ucvmath/texcmex-ttf.uf + intl/uconv/ucvmath/texcmmi-t1.uf + intl/uconv/ucvmath/texcmmi-ttf.uf + intl/uconv/ucvmath/texcmr-ttf.uf + intl/uconv/ucvmath/texcmsy-t1.uf + jpeg/Makefile.in + jpeg/jerror.c + jpeg/jmorecfg.h + jpeg/netscape_mods.doc + mailnews/mime/cthandlers/calendar/Makefile.in + mailnews/mime/cthandlers/calendar/calendar.def + mailnews/mime/cthandlers/calendar/mimect-cal.def + modules/libimg/png/Makefile.in + modules/libpref/Makefile.in + modules/libpref/public/Makefile.in + modules/libpref/src/Makefile.in + modules/libpref/src/nsPref.cpp + modules/zlib/Makefile.in + modules/zlib/src/Makefile.in + modules/zlib/src/objs.mk + modules/zlib/standalone/Makefile.in + sun-java/Makefile.in + sun-java/stubs/Makefile.in + sun-java/stubs/include/Makefile.in + sun-java/stubs/include/jni_md.h + sun-java/stubs/jri/Makefile.in + toolkit/components/cookie/Makefile.in + xpcom/reflect/xptcall/src/md/mac/xptcinvoke_mac.s + xpcom/reflect/xptcall/src/md/mac/xptcstubs_mac.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_openvms_alpha.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_aix.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_ibmobj_aix.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_rhapsody.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_bsdos.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_linux.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_netbsd.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris_GCC.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris_GCC3.s + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris_SUNW.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_openvms_alpha.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_aix.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_netbsd.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc_netbsd.s + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc_solaris.s + xpcom/typelib/xpidl/Makefile.in + +The following files are licensed under the terms of the GPL only: + + build/autoconf/codeset.m4 + build/autoconf/config.guess + build/autoconf/config.sub + directory/c-sdk/config/autoconf/config.guess + directory/c-sdk/config/autoconf/config.sub + nsprpub/build/autoconf/config.guess + nsprpub/build/autoconf/config.sub + +The following files are in the Public Domain: + + aclocal.m4 + build/autoconf/freetype2.m4 + build/autoconf/gtk.m4 + build/autoconf/nspr.m4 + db/mork/src/morkDeque.cpp + db/mork/src/morkDeque.h + +The file db/mork/src/morkQuickSort.cpp is licensed under the following terms: + + Copyright (c) 1992, 1993 + The Regents of the University of California. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS 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 REGENTS OR CONTRIBUTORS 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. + +The following files come from X11R5, without any clear licensing terms: + + build/autoconf/install-sh + directory/c-sdk/config/autoconf/install-sh + nsprpub/build/autoconf/install-sh + +The embedding/qa/mozembed/public/nsIQABrowserUIGlue.idl file and the files +under the embedding/tests directory are licensed under the following terms: + + Copyright (c) 2002 Netscape Communications Corporation and + other contributors + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this Mozilla sample 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. + +=== sqlite + +The db/sqlite3 directory contains a copy of sqlite with the following +licensing terms: + + The author disclaims copyright to this source code. In place of + a legal notice, here is a blessing: + + May you do good and not evil. + May you find forgiveness for yourself and forgive others. + May you share freely, never taking more than you give. + +=== dbm + +The dbm directory, except the files listed under the seamonkey section, is +licensed under the following terms: + + Copyright (c) 1991, 1993, 1994 + The Regents of the University of California. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS 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 REGENTS OR CONTRIBUTORS 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. + +=== myspell + +The extensions/spellcheck/myspell directory is licensed under the following +terms: + + Copyright 2002 Kevin B. Hendricks, Stratford, Ontario, Canada + And Contributors. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All modifications to the source code must be clearly marked as + such. Binary redistributions based on modified source code + must be clearly marked as modified versions in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY KEVIN B. HENDRICKS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS 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 + KEVIN B. HENDRICKS OR CONTRIBUTORS 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. + +=== boehm + +The gc/boehm directory, except the files listed under the seamonkey section, +is licensed under the following terms: + + Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers + Copyright (c) 1991-1996 by Xerox Corporation. All rights reserved. + Copyright (c) 1996-1998 by Silicon Graphics. All rights reserved. + + THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + + Permission is hereby granted to use or copy this program + for any purpose, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + +=== cairo + +The gfx/cairo/cairo directory is licensed under the following terms: + + Copyright (c) 2003 University of Southern California + Copyright (c) 1999 Tom Tromey + Copyright (c) 2002, 2003 University of Southern California + Copyright (c) 2004 Calum Robinson + Copyright (c) 2004 David Reveman + Copyright (c) 2000, 2002, 2004 Keith Packard + Copyright (c) 2004, 2005 Red Hat, Inc + + Cairo is free software and is available to be redistributed and/or + modified under the terms of either the GNU Lesser General Public + License (LGPL) version 2.1 or the Mozilla Public License (MPL) version + 1.1. + +=== libpixman + +The gfx/cairo/libpixman directory is licensed under the following terms: +(from gfx/cairo/libpixman/COPYING) + + libpixregion + + Copyright 1987, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 + OPEN GROUP 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. + + Except as contained in this notice, the name of The Open Group shall not be + used in advertising or otherwise to promote the sale, use or other dealings + in this Software without prior written authorization from The Open Group. + + + Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. + + All Rights Reserved + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Digital not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR + ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + + ---------------------------------------------------------------------- + libic + + Copyright © 2001 Keith Packard + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of Keith Packard not be used in + advertising or publicity pertaining to distribution of the software without + specific, written prior permission. Keith Packard makes no + representations about the suitability of this software for any purpose. It + is provided "as is" without express or implied warranty. + + KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + ---------------------------------------------------------------------- + slim + + slim is Copyright © 2003 Richard Henderson + + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Richard Henderson not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. Richard Henderson + makes no representations about the suitability of this software for + any purpose. It is provided "as is" without express or implied + warranty. + + RICHARD HENDERSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL RICHARD HENDERSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + +=== libjpeg + +The jpeg directory, except the files under the seamonkey section, are licensed +under the following terms: + + The authors make NO WARRANTY or representation, either express or implied, + with respect to this software, its quality, accuracy, merchantability, or + fitness for a particular purpose. This software is provided "AS IS", and you, + its user, assume the entire risk as to its quality and accuracy. + + This software is copyright (C) 1991-1998, Thomas G. Lane. + All Rights Reserved except as specified below. + + Permission is hereby granted to use, copy, modify, and distribute this + software (or portions thereof) for any purpose, without fee, subject to these + conditions: + (1) If any part of the source code for this software is distributed, then this + README file must be included, with this copyright and no-warranty notice + unaltered; and any additions, deletions, or changes to the original files + must be clearly indicated in accompanying documentation. + (2) If only executable code is distributed, then the accompanying + documentation must state that "this software is based in part on the work of + the Independent JPEG Group". + (3) Permission for use of this software is granted only if the user accepts + full responsibility for any undesirable consequences; the authors accept + NO LIABILITY for damages of any kind. + + These conditions apply to any software derived from or based on the IJG code, + not just to the unmodified library. If you use our work, you ought to + acknowledge us. + + Permission is NOT granted for the use of any IJG author's name or company name + in advertising or publicity relating to this software or products derived from + it. This software may be referred to only as "the Independent JPEG Group's + software". + + We specifically permit and encourage the use of this software as the basis of + commercial products, provided that all warranty or liability claims are + assumed by the product vendor. + +=== bzip2 + +The modules/libbz2/src directory is licensed under the following terms: +(from modules/libbz2/src/LICENSE) + + This program, "bzip2", the associated library "libbzip2", and all + documentation, are copyright (C) 1996-2005 Julian R Seward. All + rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + 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 AUTHOR 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. + + Julian Seward, Cambridge, UK. + jseward@acm.org + bzip2/libbzip2 version 1.0.3 of 15 February 2005 + +=== libpng + +The directory modules/libimg/png is licensed under the following terms: +(from modules/libimg/png/LICENSE) + + This copy of the libpng notices is provided for your convenience. In case of + any discrepancy between this copy and the notices in the file png.h that is + included in the libpng distribution, the latter shall prevail. + + COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + + If you modify libpng you may insert additional notices immediately following + this sentence. + + libpng version 1.2.6, September 12, 2004, is + Copyright (c) 2004 Glenn Randers-Pehrson, and is + distributed according to the same disclaimer and license as libpng-1.2.5 + with the following individual added to the list of Contributing Authors + + Cosmin Truta + + libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are + Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are + distributed according to the same disclaimer and license as libpng-1.0.6 + with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + + and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + + libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are + Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are + distributed according to the same disclaimer and license as libpng-0.96, + with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + + libpng versions 0.89, June 1996, through 0.96, May 1997, are + Copyright (c) 1996, 1997 Andreas Dilger + Distributed according to the same disclaimer and license as libpng-0.88, + with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + + libpng versions 0.5, May 1995, through 0.88, January 1996, are + Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + + For the purposes of this copyright and license, "Contributing Authors" + is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + + The PNG Reference Library is supplied "AS IS". The Contributing Authors + and Group 42, Inc. disclaim all warranties, expressed or implied, + including, without limitation, the warranties of merchantability and of + fitness for any purpose. The Contributing Authors and Group 42, Inc. + assume no liability for direct, indirect, incidental, special, exemplary, + or consequential damages, which may result from the use of the PNG + Reference Library, even if advised of the possibility of such damage. + + Permission is hereby granted to use, copy, modify, and distribute this + source code, or portions hereof, for any purpose, without fee, subject + to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + The Contributing Authors and Group 42, Inc. specifically permit, without + fee, and encourage the use of this source code as a component to + supporting the PNG file format in commercial products. If you use this + source code in a product, acknowledgment is not required but would be + appreciated. + + + A "png_get_copyright" function is available, for convenient use in "about" + boxes and the like: + + printf("%s",png_get_copyright(NULL)); + + Also, the PNG logo (in PNG format, of course) is supplied in the + files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + + Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a + certification mark of the Open Source Initiative. + + Glenn Randers-Pehrson + glennrp@users.sourceforge.net + September 12, 2004 + +=== zlib + +The directories modules/zlib/src and security/nss/cmd/zlib are licensed under +the following terms: + + (C) 1995-2004 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + + If you use the zlib library in a product, we would appreciate *not* + receiving lengthy legal documents to sign. The sources are provided + for free but without warranty of any kind. The library has been + entirely written by Jean-loup Gailly and Mark Adler; it does not + include third-party code. + + If you redistribute modified sources, we would appreciate that you include + in the file ChangeLog history information documenting your changes. Please + read the FAQ for more information on the distribution of modified source + versions. + +=== expat + +The directory parser/expat is licensed under the following terms: +(from parser/expat/COPYING) + + Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd + and Clark Cooper + Copyright (c) 2001, 2002 Expat maintainers. + + 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. --- seamonkey-1.1.12+nobinonly.orig/debian/homepagereset.js +++ seamonkey-1.1.12+nobinonly/debian/homepagereset.js @@ -0,0 +1,133 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * 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 HomePageReset. + * + * The Initial Developer of the Original Code is + * Mike Hommey. + * Portions created by the Initial Developer are Copyright (C) 2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* Used Javascript XPCOM component generator from + http://ted.mielczarek.org/code/mozilla/jscomponentwiz/ to get a skeleton */ + +const nsISupports = Components.interfaces.nsISupports; +const nsIObserver = Components.interfaces.nsIObserver; + +// You can change these if you like +const CLASS_ID = Components.ID("ef5afbfa-334d-4dd9-806c-9c4cb68506bc"); +const CLASS_NAME = "Home Page Resetter for Mozilla - Seamonkey transition"; +const CONTRACT_ID = "@debian.org/seamonkey/homepagereset;1"; + +// This is your constructor. +// You can do stuff here. +function HomePageReset() { + // you can cheat and use this + // while testing without + // writing your own interface + this.wrappedJSObject = this; +} + +// This is the implementation of your component. +HomePageReset.prototype = { + // for nsISupports + QueryInterface: function(aIID) + { + // add any other interfaces you support here + if (!aIID.equals(nsISupports) && !aIID.equals(nsIObserver)) + throw Components.results.NS_ERROR_NO_INTERFACE; + return this; + }, + + observe: function(aSubject, aTopic, aData) + { + if (aTopic == "app-startup") { + var observerService = Components.classes["@mozilla.org/observer-service;1"]. + getService(Components.interfaces.nsIObserverService); + observerService.addObserver(this, "profile-after-change", false); + } else if (aTopic == "profile-after-change") { + var prefs = Components.classes["@mozilla.org/preferences-service;1"]. + getService(Components.interfaces.nsIPrefBranch); + + var homepage = prefs.getCharPref("browser.startup.homepage"); + + if (homepage == "file:///usr/share/doc/mozilla-browser/localstart.html") + prefs.clearUserPref("browser.startup.homepage"); + } + } +} + +//================================================= +// Note: You probably don't want to edit anything +// below this unless you know what you're doing. +// +// Factory +var HomePageResetFactory = { + createInstance: function (aOuter, aIID) + { + if (aOuter != null) + throw Components.results.NS_ERROR_NO_AGGREGATION; + return (new HomePageReset()).QueryInterface(aIID); + } +}; + +// Module +var HomePageResetModule = { + registerSelf: function(aCompMgr, aFileSpec, aLocation, aType) + { + aCompMgr = aCompMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); + aCompMgr.registerFactoryLocation(CLASS_ID, CLASS_NAME, CONTRACT_ID, aFileSpec, aLocation, aType); + + Components.classes["@mozilla.org/categorymanager;1"]. + getService(Components.interfaces.nsICategoryManager). + addCategoryEntry("app-startup","HomePageReset", "service," + CONTRACT_ID, true, true); + }, + + unregisterSelf: function(aCompMgr, aLocation, aType) + { + aCompMgr = aCompMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); + aCompMgr.unregisterFactoryLocation(CLASS_ID, aLocation); + }, + + getClassObject: function(aCompMgr, aCID, aIID) + { + if (!aIID.equals(Components.interfaces.nsIFactory)) + throw Components.results.NS_ERROR_NOT_IMPLEMENTED; + + if (aCID.equals(CLASS_ID)) + return HomePageResetFactory; + + throw Components.results.NS_ERROR_NO_INTERFACE; + }, + + canUnload: function(aCompMgr) { return true; } +}; + +//module initialization +function NSGetModule(aCompMgr, aFileSpec) { return HomePageResetModule; } --- seamonkey-1.1.12+nobinonly.orig/debian/iceape-browser.postrm +++ seamonkey-1.1.12+nobinonly/debian/iceape-browser.postrm @@ -0,0 +1,27 @@ +#! /bin/sh +# postrm script for iceape-browser + +set -e + +case "$1" in + remove|abort-install) + rm -rf /var/lib/iceape/chrome /var/lib/iceape/components + rm -rf /usr/share/iceape/chrome/installed-chrome.txt + rm -f /usr/share/iceape/chrome/*.rdf + rm -f /usr/lib/iceape/components/*.dat + rm -f /usr/lib/iceape/.autoreg + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + rm -rf /etc/iceape + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/iceape-browser.preinst +++ seamonkey-1.1.12+nobinonly/debian/iceape-browser.preinst @@ -0,0 +1,24 @@ +#! /bin/sh +# preinst script for iceape-browser + +set -e + +case "$1" in + install|upgrade) + # This is a transitional package so we drop those at install time + rm -rf /var/lib/iceape/chrome /var/lib/iceape/components + rm -rf /usr/share/iceape/chrome/installed-chrome.txt + rm -f /usr/share/iceape/chrome/*.rdf + rm -f /usr/lib/iceape/components/*.dat + rm -f /usr/lib/iceape/.autoreg + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/remove.binonly.sh +++ seamonkey-1.1.12+nobinonly/debian/remove.binonly.sh @@ -0,0 +1,114 @@ +#! /bin/sh + +rm -fv ./build/wince/shunt/build/shunt.vcb +rm -fv ./build/wince/shunt/build/shunt.vco +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch \(2i\).68k.u +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch \(4i\).68k.u +#rm -fv ./directory/c-sdk/ldap/examples/macintosh/asearch PPC.u +# these are only files there; just do it quick and dirty because I don't understand how to fix the syntax it complains about: this does it: +rm -fv ./directory/c-sdk/ldap/examples/macintosh/*.u +rm -fv ./directory/c-sdk/ldap/libraries/macintosh/LDAPClient.mcp +rm -fv ./modules/oji/tests/script/killer.exe +rm -fv ./modules/plugin/samples/default/mac/NullPlugin.rsrc +rm -fv ./modules/plugin/tools/sdk/samples/basic/mac/Basic Plugin.mcp +rm -fv ./modules/plugin/tools/sdk/samples/basic/mac/Basic.rsrc +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable Plugin.mcp +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable PluginIDL.mcp +rm -fv ./modules/plugin/tools/sdk/samples/scriptable/mac/Scriptable.rsrc +rm -fv ./other-licenses/7zstub/firefox/7zSD.sfx +rm -fv ./toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib +rm -fv ./toolkit/mozapps/update/src/updater/macbuild/Contents/PkgInfo +rm -fv ./extensions/manticore/resources/manticore.psd +rm -fv ./extensions/universalchardet/doc/UniversalCharsetDetection.doc +rm -fv ./config/bin2rc.exe +rm -fv ./config/makedep.exe +rm -fv ./config/mangle.exe +rm -fv ./config/mantomak.exe +rm -fv ./embedding/browser/activex/src/pluginhostctrl/cab/redist/ATL.DLL +rm -fv ./embedding/browser/activex/tests/vbrowse/browser.frx +rm -fv ./embedding/browser/activex/tests/vbrowse/frmToolBar.frx +rm -fv ./embedding/browser/cocoa/res/English.lproj/alert.nib/objects.nib +rm -fv ./embedding/browser/powerplant/resources/cfmAlias.rsrc +rm -fv ./embedding/browser/powerplant/resources/cfmAliasDebug.rsrc +rm -fv ./embedding/minimo/mozconfig +rm -fv ./embedding/qa/testembed/testembed.aps +rm -fv ./embedding/tests/MSDotNETCSEmbed/MSDotNETCSEmbed.suo +rm -fv ./embedding/tests/cocoaEmbed/res/English.lproj/MainMenu.nib/objects.nib +rm -fv ./embedding/wrappers/DotNETEmbed/DotNETEmbed.snk +rm -fv ./intl/unicharutil/tools/data/case.dat +rm -fv ./intl/unicharutil/tools/data/cmbcl.dat +rm -fv ./intl/unicharutil/tools/data/ctype.dat +rm -fv ./intl/unicharutil/tools/data/decomp.dat +rm -fv ./intl/unicharutil/tools/data/num.dat +rm -fv ./js/src/fdlibm/fdlibm.mdp +rm -fv ./js/src/js.mdp +rm -fv ./js/src/liveconnect/jsj_nodl.c +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/MacOS/MRJPlugin +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/MacOS/MRJPlugin.jar +rm -fv ./plugin/oji/JEP/MRJPlugin.plugin/Contents/Resources/MRJPlugin.rsrc +rm -fv ./plugin/oji/JEP/JavaEmbeddingPlugin.bundle/Contents/MacOS/JavaEmbeddingPlugin +rm -fv ./plugin/oji/JEP/JavaEmbeddingPlugin.bundle/Contents/Resources/Java/JavaEmbeddingPlugin.jar +rm -fv ./plugin/oji/MRJ/plugin/Resources/Dialogs.rsrc +rm -fv ./plugin/oji/MRJ/plugin/Resources/Strings.rsrc +rm -fv ./plugin/oji/MRJ/plugin/Resources/Version.rsrc +rm -fv ./plugin/oji/MRJ/plugin/MRJPlugin.jar +rm -fv ./plugin/oji/MRJ/plugin/netscape.plugin.jar +rm -fv ./plugin/oji/MRJ/plugin/Source/JMURLConnection +rm -fv ./plugin/oji/MRJ/testing/ConsoleApplet/ConsoleApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/JSApplet/JSApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/SwingApplet/TestApplet.mcp +rm -fv ./plugin/oji/MRJ/testing/TrivialApplet/MyApplet.mcp +rm -fv ./plugin/oji/MRJCarbon/MRJSDK/JavaFrameworks/JavaEmbeddingLib +rm -fv ./plugin/oji/MRJCarbon/plugin/MRJPlugin.jar +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Dialogs.rsrc +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Strings.rsrc +rm -fv ./plugin/oji/MRJCarbon/plugin/Resources/Version.rsrc +rm -fv ./xpcom/reflect/xptcall/tests/eVC4/XPTCInvoke_Testing.cpp +rm -fv ./xpcom/tests/StringFactoringTests/StringTest.mcp +rm -fv ./xpcom/typelib/xpidl/macplugin/compiler.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/linker.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/panel.rsrc +rm -fv ./xpcom/typelib/xpidl/macplugin/version.rsrc +rm -fv ./xpinstall/packager/mac/ASEncoder/build/ASEncoder.mcp +rm -fv ./xpinstall/packager/mac/ASEncoder/rsrc/ASEncoder.rsrc +rm -fv ./xpinstall/packager/mac/ASEncoder/src/ASEncoderUsage.script +rm -fv ./xpinstall/test/pre_checkin.xpi +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_Core.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_ForeignThreads.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_MPW.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_MSL.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_SIOUX.PPC.Lib +rm -fv ./xpinstall/wizard/libxpnet/GUSI/lib/GUSI_Sfio.PPC.Lib +rm -fv ./xpinstall/wizard/mac/rsrc/MIWCommon.rsrc +rm -fv ./xpinstall/wizard/mac/rsrc/Mozilla.rsrc +rm -fv ./xpinstall/wizard/os2/setuprsc/box_ch_d.bmp +rm -fv ./xpinstall/wizard/os2/setuprsc/box_chec.bmp +rm -fv ./xpinstall/wizard/os2/setuprsc/box_unch.bmp +rm -fv ./gfx/cairo/libpixman/src/pixman-vc71.lib +rm -fv ./gfx/src/mac/printerplugin/Resources/English.lproj/Localizable.strings +rm -fv ./gfx/src/mac/nsMacGFX.rsrc +rm -fv ./layout/doc/SpaceMgr_BlockReflSt_OD.sda +rm -fv ./layout/doc/object_diagram_template.sda +rm -fv ./layout/html/tests/block/bugs/RealSnow.jar +rm -fv ./webshell/tests/viewer/mac/cfmAlias.rsrc +rm -fv ./webshell/tests/viewer/mac/cfmAliasDebug.rsrc +rm -fv ./webshell/tests/viewer/mac/viewer.ppob +rm -fv ./webshell/tests/viewer/mac/viewer.rsrc +rm -fv ./webshell/tests/viewer/mac/viewercarb.rsrc +rm -fv ./webshell/tests/viewer/viewer-beos.rsrc +rm -fv ./xpfe/bootstrap/appleevents/nsAppleEvents.rsrc +rm -fv ./xpfe/bootstrap/apprunner-beos.rsrc +rm -fv ./mailnews/mapi/old/tests/mapitest/mapitest.ncb +rm -fv ./mailnews/mapi/old/tests/mapitest/mapitest.opt +rm -fv ./toolkit/mozapps/installer/windows/nsis/Processes.dll +rm -fv ./toolkit/mozapps/installer/windows/nsis/ShellLink.dll +rm -fv ./toolkit/mozapps/installer/windows/nsis/nsProcess.dll + +rm -fv ./toolkit/crashreporter/tools/win32/dump_syms.exe + +rm -fvr other-licenses/7zstub/ +rm -fv README/mozilla/README.os2 + +rm -fv netwerk/protocol/ftp/doc/rfc959.txt +rm -fv directory/c-sdk/ldap/docs/draft-ietf-ldapext-ldap-c-api-05.txt + --- seamonkey-1.1.12+nobinonly.orig/debian/rules +++ seamonkey-1.1.12+nobinonly/debian/rules @@ -0,0 +1,227 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +DEB_MOZ_APPLICATION=seamonkey +NOBINONLY=nobinonly + +EXCLUDE := --exclude=CVS --exclude=.cvsignore + +DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p') +DEBIAN_REV_CODE := $(shell echo $(DEBIAN_VERSION) | sed 's/^.*-\([0-9]*\)[^-]*$$/0\1/ ; s/^.*\(..\)$$/\1/') +MOZILLA_VERSION := $(shell echo $(DEBIAN_VERSION) | sed 's/-.*//; s/\+$(NOBINONLY)//') + +BUILD_DATE=$(shell perl -e '($$s,$$m,$$h,$$d,$$M,$$y) = gmtime((stat("client.mk"))[9]); printf "%04d%02d%02d\n",$$y + 1900,$$M + 1,$$d;') + +export BUILD_OFFICIAL=1 +export MOZ_BUILD_DATE=$(BUILD_DATE)$(DEBIAN_REV_CODE) + +CFLAGS = -Wall -pipe + +# workaround multiple crashes in Intrepid (at least 3 in realpath()) +# caused by Intrepid shipping gcc 4.3 with -D_FORTIFY_SOURCE=2 by default +CPPFLAGS=-U_FORTIFY_SOURCE +export CPPFLAGS +$(warning export CPPFLAGS=$(CPPFLAGS)) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + OPTFLAGS = -O0 +else + OPTFLAGS = -O2 -fno-strict-aliasing +endif + +OPTFLAGS += -g + +DEB_DH_INSTALL_SOURCEDIR := debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +ifeq ($(DEB_BUILD_ARCH),ppc64) + OPTFLAGS = -mminimal-toc +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + DEBUGFLAGS = --enable-debug +endif + +# Let's give it a try without that +#ifneq ($(DEB_BUILD_ARCH),mips) +#ifneq ($(DEB_BUILD_ARCH),mipsel) +# CONFIGURE_OPTIONS = --enable-static --disable-shared +#endif +#endif + +DEB_TARBALL=$(NULL) +DEB_MAKE_BUILD_TARGET = BUILD_MODULES=all +# DEB_MAKE_CLEAN_TARGET = clean distclean + +DEB_SRCDIR := . + +TMP_DIR = $(DEB_SRCDIR)/debian/tmp +APPLICATIONS_DIR = $(TMP_DIR)/usr/share/applications +DIST = $(DEB_SRCDIR)/dist + +LDFLAGS = -Wl,--as-needed + +DEB_CONFIGURE_USER_FLAGS= \ + --enable-application=suite \ + --with-distribution-id=org.debian \ + --prefix=/usr \ + --with-default-mozilla-five-home=/usr/lib/$(DEB_MOZ_APPLICATION) \ + --enable-default-toolkit=gtk2 \ + --enable-pango \ + --enable-xft \ + --disable-freetype2 \ + --enable-system-cairo \ + --with-system-png \ + --with-system-jpeg \ + --with-system-zlib \ + --with-system-nss \ + --with-system-nspr \ + --enable-xinerama \ + --enable-svg \ + --enable-svg-renderer=cairo \ + --enable-mathml \ + --disable-pedantic \ + --disable-long-long-warning \ + --enable-gnomevfs \ + --enable-gnomeui \ + --disable-tests \ + --disable-debug \ + --enable-canvas \ + --enable-extensions=default,-venkman \ + --disable-installer \ + --disable-javaxpcom \ + --disable-elf-dynstr-gc \ + --disable-strip \ + --disable-xprint \ + --enable-system-myspell \ + --enable-crypto \ + $(NULL) + +clean:: + rm -f MPL + +define DO_CHROME + install -d -m 755 $(DEB_SRCDIR)/debian/$(1)/var/lib/$(DEB_MOZ_APPLICATION)/chrome.d ; + JARS=`grep -E 'usr/share/$(DEB_MOZ_APPLICATION)/chrome$$' debian/$(1).install | grep -v ^# | awk '{ print $$1 }'` ; \ + ( for file in `(cd $(TMP_DIR) ; ls $$JARS)` ; do \ + APP=chrome/`basename $$file` ; \ + grep $$APP $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION)/chrome/installed-chrome.txt ; \ + done ) > $(DEB_SRCDIR)/debian/$(1)/var/lib/$(DEB_MOZ_APPLICATION)/chrome.d/00$(subst $(DEB_MOZ_APPLICATION)-,,$(1)) +endef + +install/$(DEB_MOZ_APPLICATION)-browser:: + install -d -m 755 $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION).desktop $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION)-navigator.desktop $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION)-composer.desktop $(TMP_DIR)/usr/share/applications + + install -d -m 755 $(TMP_DIR)/usr/share/pixmaps + install -m 644 $(DEB_SRCDIR)/suite/branding/icons/gtk/default.xpm $(TMP_DIR)/usr/share/pixmaps/$(DEB_MOZ_APPLICATION).xpm + install -m 644 $(DEB_SRCDIR)/xpfe/bootstrap/icons/gtk/editorWindow.xpm $(TMP_DIR)/usr/share/pixmaps/$(DEB_MOZ_APPLICATION)-composer.xpm + + ( cd debian/extras && uudecode *.uue ) + install -d -m 755 $(TMP_DIR)/usr/share/$(DEB_MOZ_APPLICATION)/searchplugins + install -m 644 $(DEB_SRCDIR)/debian/extras/*.src $(DEB_SRCDIR)/debian/extras/*.gif $(TMP_DIR)/usr/share/$(DEB_MOZ_APPLICATION)/searchplugins + + install -d -m 755 $(TMP_DIR)/usr/bin + install -m 755 $(DEB_SRCDIR)/debian/$(DEB_MOZ_APPLICATION)-runner $(TMP_DIR)/usr/bin/$(DEB_MOZ_APPLICATION) + + install -d -m 755 $(TMP_DIR)/usr/sbin + install -m 755 $(DEB_SRCDIR)/debian/update-*-chrome $(TMP_DIR)/usr/sbin + + install -d -m 755 $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION) + install -m 644 $(DEB_SRCDIR)/dist/bin/.autoreg $(DEB_SRCDIR)/debian/$(DEB_MOZ_APPLICATION).cfg $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION) + + install -d -m 755 $(TMP_DIR)/etc/$(DEB_MOZ_APPLICATION)/pref + install -m 644 $(DEB_SRCDIR)/debian/base.js $(TMP_DIR)/etc/$(DEB_MOZ_APPLICATION)/pref + install -m 644 $(DEB_SRCDIR)/debian/$(DEB_MOZ_APPLICATION)rc $(TMP_DIR)/etc/$(DEB_MOZ_APPLICATION) + + install -d -m 755 $(TMP_DIR)/usr/share/$(DEB_MOZ_APPLICATION)/defaults/pref + (echo "// Debian package version" ; \ + echo "pref(\"general.useragent.product\",\"Gecko\");" ; \ + echo "pref(\"general.useragent.productSub\",\"$(BUILD_DATE)\");" ; \ + echo "pref(\"general.useragent.extra.$(DEB_MOZ_APPLICATION)Comment\",\"(Ubuntu-$(DEBIAN_VERSION))\");" ; \ + ) > $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION)/defaults/pref/vendor.js + + install -d -m 755 $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION)/components + install -m 644 $(DEB_SRCDIR)/debian/homepagereset.js $(DEB_SRCDIR)/debian/about_debian.js $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION)/components + + $(call DO_CHROME,$(DEB_MOZ_APPLICATION)-browser) + grep -v \\.jar $(TMP_DIR)/usr/lib/$(DEB_MOZ_APPLICATION)/chrome/installed-chrome.txt >> $(DEB_SRCDIR)/debian/$(DEB_MOZ_APPLICATION)-browser/var/lib/$(DEB_MOZ_APPLICATION)/chrome.d/00browser + + cp -f LICENSE MPL + +install/$(DEB_MOZ_APPLICATION)-chatzilla:: + install -d -m 755 $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/chatzilla.desktop $(TMP_DIR)/usr/share/applications + + install -d -m 755 $(TMP_DIR)/usr/share/pixmaps + install -m 644 $(DEB_SRCDIR)/xpfe/bootstrap/icons/gtk/chatzilla-window.xpm $(TMP_DIR)/usr/share/pixmaps/chatzilla.xpm + + $(call DO_CHROME,$(DEB_MOZ_APPLICATION)-chatzilla) + +install/$(DEB_MOZ_APPLICATION)-mailnews:: + install -d -m 755 $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION)-mail-compose.desktop $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION)-mailnews.desktop $(TMP_DIR)/usr/share/applications + install -m 644 $(DEB_SRCDIR)/debian/menu_dir/$(DEB_MOZ_APPLICATION)-addressbook.desktop $(TMP_DIR)/usr/share/applications + + install -d -m 755 $(TMP_DIR)/usr/share/pixmaps + install -m 644 $(DEB_SRCDIR)/xpfe/bootstrap/icons/gtk/addressbookWindow.xpm $(TMP_DIR)/usr/share/pixmaps/$(DEB_MOZ_APPLICATION)-addressbook.xpm + install -m 644 $(DEB_SRCDIR)/xpfe/bootstrap/icons/gtk/messengerWindow.xpm $(TMP_DIR)/usr/share/pixmaps/$(DEB_MOZ_APPLICATION)-mailnews.xpm + install -m 644 $(DEB_SRCDIR)/xpfe/bootstrap/icons/gtk/msgcomposeWindow.xpm $(TMP_DIR)/usr/share/pixmaps/$(DEB_MOZ_APPLICATION)-mail-compose.xpm + + $(call DO_CHROME,$(DEB_MOZ_APPLICATION)-mailnews) + +install/$(DEB_MOZ_APPLICATION)-dom-inspector:: + $(call DO_CHROME,$(DEB_MOZ_APPLICATION)-dom-inspector) + +binary-install/$(DEB_MOZ_APPLICATION)-browser:: + dh_link -p$(DEB_MOZ_APPLICATION)-browser usr/lib/nss/libnssckbi.so /usr/lib/$(DEB_MOZ_APPLICATION)/libnssckbi.so + for lib in ssl3 softokn3 smime3 nss3 nspr4 plc4 plds4; do \ + dh_link -p$(DEB_MOZ_APPLICATION)-browser usr/lib/lib$$lib.so.0d /usr/lib/$(DEB_MOZ_APPLICATION)/lib$$lib.so ; \ + done + +tmp-dir: + rm -rf $(NOBINONLY).tmp + mkdir $(NOBINONLY).tmp + +unpack: + @echo "# unpacking.." + cd $(NOBINONLY).tmp && tar jxf seamonkey-$(VERSION).source.tar.bz2 + +$(NOBINONLY): + @echo "# removing bin-only files..." + cd $(NOBINONLY).tmp/mozilla && sh ../../debian/remove.binonly.sh > REMOVED+$(NOBINONLY).txt 2>&1 + +pack: + @echo "# repacking..." + rm -f $(DEB_MOZ_APPLICATION)_$(VERSION)+$(NOBINONLY).orig.tar.gz + cd $(NOBINONLY).tmp && tar zcf ../$(DEB_MOZ_APPLICATION)_$(VERSION)+$(NOBINONLY).orig.tar.gz $(EXCLUDE) mozilla + rm -rf $(NOBINONLY).tmp + @ls -l $(DEB_MOZ_APPLICATION)_$(VERSION)+$(NOBINONLY).orig.tar.gz + +repack: VERSION = $(shell echo $(NOBINONLY).tmp/seamonkey-*.bz2 | sed -e 's,.*/seamonkey-\(.*\)\.source.*,\1,') +repack: unpack $(NOBINONLY) pack + +get-current-src: tmp-dir + cd $(NOBINONLY).tmp && wget http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$(MOZILLA_VERSION)/seamonkey-$(MOZILLA_VERSION).source.tar.bz2 + +get-orig-src: tmp-dir + uscan --force-download --destdir $(NOBINONLY).tmp --no-symlink + +get-current-source: get-current-src repack +get-orig-source: get-orig-src repack + +.PHONY: clean get-orig-source get-current-source get-orig-src get-current-src repack pack $(NOBINONLY) unpack tmp-dir --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.dirs +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.dirs @@ -0,0 +1,2 @@ +etc/seamonkey/pref +var/lib/seamonkey/chrome.d --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.docs +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.docs @@ -0,0 +1 @@ +debian/README.* --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.install @@ -0,0 +1,301 @@ +etc/seamonkey +usr/bin/seamonkey +usr/sbin/update-seamonkey-chrome +usr/lib/seamonkey/.autoreg +usr/lib/seamonkey/seamonkey.cfg +usr/lib/seamonkey/libmozjs.so +usr/lib/seamonkey/libgfxpsshar.so +usr/lib/seamonkey/libgkgfx.so +usr/lib/seamonkey/libgtkxtbin.so +usr/lib/seamonkey/libjsj.so +usr/lib/seamonkey/libldap50.so +#usr/lib/seamonkey/libmozpango-dvngx.so +#usr/lib/seamonkey/libmozpango-thaix.so +#usr/lib/seamonkey/libmozpango.so +usr/lib/seamonkey/libmsgbaseutil.so +usr/lib/seamonkey/libprldap50.so +usr/lib/seamonkey/libxpcom.so +usr/lib/seamonkey/libxpcom_compat.so +usr/lib/seamonkey/libxpcom_core.so +usr/lib/seamonkey/libxpistub.so +#usr/lib/seamonkey/pango.modules +usr/lib/seamonkey/plugins/libnullplugin.so +usr/lib/seamonkey/plugins/libunixprintplugin.so +usr/lib/seamonkey/regchrome +usr/lib/seamonkey/seamonkey-bin +usr/lib/seamonkey/chrome/US.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/classic.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/content-packs.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/en-US.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/en-unix.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/help.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/modern.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/reporter.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/sroaming.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/toolkit.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/components/accessibility-atk.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/accessibility.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/alerts.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/appshell.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/appstartup.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/autocomplete.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/autoconfig.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/bookmarks.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/caps.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/chardet.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/chrome.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/commandhandler.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/composer.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_base.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_html.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_htmldoc.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_xmldoc.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_xslt.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/content_xtf.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/cookie.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/directory.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/docshell.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_base.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_canvas.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_core.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_css.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_events.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_html.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_loadsave.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_range.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_sidebar.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_storage.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_stylesheets.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_svg.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_traversal.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_views.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_xbl.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_xpath.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/dom_xul.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/downloadmanager.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/editor.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/embed_base.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/extensions.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/exthandler.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/filepicker.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/find.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/gfx.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/gksvgrenderer.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/history.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/htmlparser.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/imglib2.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/impComm4xMail.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/inspector.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/inspector-cmdline.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/intl.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/jar.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/jsconsole-clhandler.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/jsconsole.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/jsdservice.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/layout_base.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/layout_printing.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/layout_xul.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/layout_xul_tree.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/libaccessibility.so +usr/lib/seamonkey/components/libappcomps.so +usr/lib/seamonkey/components/libauth.so +usr/lib/seamonkey/components/libautoconfig.so +usr/lib/seamonkey/components/libbayesflt.so +usr/lib/seamonkey/components/libcaps.so +usr/lib/seamonkey/components/libchrome.so +usr/lib/seamonkey/components/libcomposer.so +usr/lib/seamonkey/components/libcookie.so +#usr/lib/seamonkey/components/libctl.so +usr/lib/seamonkey/components/libdocshell.so +usr/lib/seamonkey/components/libeditor.so +usr/lib/seamonkey/components/libembedcomponents.so +usr/lib/seamonkey/components/libfileview.so +usr/lib/seamonkey/components/libgfx_gtk.so +usr/lib/seamonkey/components/libgfxps.so +usr/lib/seamonkey/components/libgklayout.so +usr/lib/seamonkey/components/libgkplugin.so +usr/lib/seamonkey/components/libhtmlpars.so +usr/lib/seamonkey/components/libi18n.so +usr/lib/seamonkey/components/libimglib2.so +usr/lib/seamonkey/components/libjar50.so +usr/lib/seamonkey/components/libjsd.so +usr/lib/seamonkey/components/libmork.so +usr/lib/seamonkey/components/libmozfind.so +usr/lib/seamonkey/components/libmyspell.so +usr/lib/seamonkey/components/libnecko.so +usr/lib/seamonkey/components/libnecko2.so +usr/lib/seamonkey/components/libnsappshell.so +usr/lib/seamonkey/components/libnsprefm.so +usr/lib/seamonkey/components/liboji.so +usr/lib/seamonkey/components/libp3p.so +usr/lib/seamonkey/components/libpermissions.so +usr/lib/seamonkey/components/libpipboot.so +usr/lib/seamonkey/components/libpippki.so +usr/lib/seamonkey/components/libpref.so +usr/lib/seamonkey/components/libprofile.so +usr/lib/seamonkey/components/librdf.so +usr/lib/seamonkey/components/libremoteservice.so +usr/lib/seamonkey/components/libsearchservice.so +usr/lib/seamonkey/components/libspellchecker.so +usr/lib/seamonkey/components/libsroaming.so +usr/lib/seamonkey/components/libstoragecomps.so +usr/lib/seamonkey/components/libsystem-pref.so +usr/lib/seamonkey/components/libtransformiix.so +usr/lib/seamonkey/components/libtxmgr.so +usr/lib/seamonkey/components/libtypeaheadfind.so +usr/lib/seamonkey/components/libuconv.so +usr/lib/seamonkey/components/libucvmath.so +usr/lib/seamonkey/components/libuniversalchardet.so +usr/lib/seamonkey/components/libwallet.so +usr/lib/seamonkey/components/libwalletviewers.so +usr/lib/seamonkey/components/libwebbrwsr.so +#usr/lib/seamonkey/components/libwebdav.so +usr/lib/seamonkey/components/libwebsrvcs.so +usr/lib/seamonkey/components/libwidget_gtk2.so +usr/lib/seamonkey/components/libxmlextras.so +usr/lib/seamonkey/components/libxpcom_compat_c.so +usr/lib/seamonkey/components/libxpconnect.so +usr/lib/seamonkey/components/libxpinstall.so +usr/lib/seamonkey/components/libxremoteservice.so +usr/lib/seamonkey/components/locale.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/lwbrk.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/mdn-service.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/mimetype.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/mozbrwsr.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/mozfind.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/mozldap.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/msgsmime.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_about.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_cache.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_cookie.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_data.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_dns.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_file.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_ftp.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_http.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_res.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_socket.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_strconv.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/necko_viewsource.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsAbLDAPAttributeMap.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsCloseAllWindows.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsComposerCmdLineHandler.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsDictionary.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsDownloadProgressListener.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsFilePicker.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsHelperAppDlg.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsInterfaceInfoToIDL.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsKillAll.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsProgressDialog.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsProxyAutoConfig.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsResetPref.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsSidebar.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsURLFormatter.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsUpdateNotifier.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/nsXmlRpcClient.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/offlineStartup.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/oji.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/p3p.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/pipboot.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/plugin.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/pref.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/prefetch.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/prefmigr.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/profile.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/progressDlg.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/proxyObjInst.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/rdf.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/related.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/saxparser.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/search.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/shistory.xpt usr/share/seamonkey/components/ +#usr/lib/seamonkey/components/sidebar.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/signonviewer.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/smime-service.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/spellchecker.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/storage.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/toolkitremote.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/txmgr.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/txtsvc.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/typeaheadfind.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/uconv.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/unicharutil.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/uriloader.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/urlformatter.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/wallet.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/walleteditor.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/walletpreview.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/webBrowser_core.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/webbrowserpersist.xpt usr/share/seamonkey/components/ +#usr/lib/seamonkey/components/webdav.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/webshell_idls.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/websrvcs.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/widget.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/windowds.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/windowwatcher.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xml-rpc.xpt usr/share/seamonkey/components/ +#usr/lib/seamonkey/components/xmlextras.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpautocomplete.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_base.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_components.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_ds.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_io.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_obsolete.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_threads.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpcom_xpti.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpconnect.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xpinstall.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xremoteservice.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xulappinfo.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xulappinfo.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xuldoc.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/xultmpl.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/greprefs usr/share/seamonkey/ +usr/lib/seamonkey/init.d/README usr/share/seamonkey/init.d +usr/lib/seamonkey/isp usr/share/seamonkey +usr/lib/seamonkey/res usr/share/seamonkey +usr/lib/seamonkey/components/libpipnss.so +usr/lib/seamonkey/components/pipnss.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/pippki.xpt usr/share/seamonkey/components +usr/lib/seamonkey/chrome/pipnss* usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/pippki* usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/comm.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/defaults/autoconfig usr/share/seamonkey/defaults +usr/lib/seamonkey/defaults/wallet usr/share/seamonkey/defaults +usr/lib/seamonkey/defaults/profile usr/share/seamonkey/defaults +usr/lib/seamonkey/defaults/pref/browser-prefs.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/defaults/pref/composer.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/defaults/pref/reporter.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/defaults/pref/vendor.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/searchplugins usr/share/seamonkey +usr/lib/seamonkey/chrome/icons/default/default.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/default16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/downloadManager.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/downloadManager16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/jsconsoleWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/jsconsoleWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/bmPropsWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/bmPropsWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/bookmark-window.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/bookmark-window16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/findBookmarkWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/findBookmarkWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/findHistoryWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/findHistoryWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/history-window.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/history-window16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/main-window.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/main-window16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/editorWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/editorWindow16.xpm usr/share/seamonkey/chrome/icons/default +#usr/share/icons/hicolor +usr/lib/seamonkey/components/homepagereset.js usr/share/seamonkey/components/ +usr/lib/seamonkey/components/about_debian.js usr/share/seamonkey/components/ +usr/share/pixmaps/seamonkey.xpm +usr/share/pixmaps/seamonkey-composer.xpm +usr/share/applications/seamonkey.desktop +usr/share/applications/seamonkey-navigator.desktop +usr/share/applications/seamonkey-composer.desktop +usr/lib/seamonkey/chrome/installed-chrome.txt usr/share/seamonkey/chrome/ --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.links +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.links @@ -0,0 +1,174 @@ +etc/seamonkey/pref usr/share/seamonkey/defaults/syspref + +usr/share/seamonkey/searchplugins usr/lib/seamonkey/searchplugins +usr/share/myspell/dicts usr/lib/seamonkey/dictionaries + +usr/share/seamonkey/chrome usr/lib/seamonkey/chrome +usr/share/seamonkey/greprefs usr/lib/seamonkey/greprefs +usr/share/seamonkey/init.d usr/lib/seamonkey/init.d +usr/share/seamonkey/isp usr/lib/seamonkey/isp +usr/share/seamonkey/res usr/lib/seamonkey/res +usr/share/seamonkey/defaults usr/lib/seamonkey/defaults + +usr/share/seamonkey/components/accessibility-atk.xpt usr/lib/seamonkey/components/accessibility-atk.xpt +usr/share/seamonkey/components/accessibility.xpt usr/lib/seamonkey/components/accessibility.xpt +usr/share/seamonkey/components/alerts.xpt usr/lib/seamonkey/components/alerts.xpt +usr/share/seamonkey/components/appshell.xpt usr/lib/seamonkey/components/appshell.xpt +usr/share/seamonkey/components/appstartup.xpt usr/lib/seamonkey/components/appstartup.xpt +usr/share/seamonkey/components/autocomplete.xpt usr/lib/seamonkey/components/autocomplete.xpt +usr/share/seamonkey/components/autoconfig.xpt usr/lib/seamonkey/components/autoconfig.xpt +usr/share/seamonkey/components/bookmarks.xpt usr/lib/seamonkey/components/bookmarks.xpt +usr/share/seamonkey/components/caps.xpt usr/lib/seamonkey/components/caps.xpt +usr/share/seamonkey/components/chardet.xpt usr/lib/seamonkey/components/chardet.xpt +usr/share/seamonkey/components/chrome.xpt usr/lib/seamonkey/components/chrome.xpt +usr/share/seamonkey/components/commandhandler.xpt usr/lib/seamonkey/components/commandhandler.xpt +usr/share/seamonkey/components/composer.xpt usr/lib/seamonkey/components/composer.xpt +usr/share/seamonkey/components/content_base.xpt usr/lib/seamonkey/components/content_base.xpt +usr/share/seamonkey/components/content_html.xpt usr/lib/seamonkey/components/content_html.xpt +usr/share/seamonkey/components/content_htmldoc.xpt usr/lib/seamonkey/components/content_htmldoc.xpt +usr/share/seamonkey/components/content_xmldoc.xpt usr/lib/seamonkey/components/content_xmldoc.xpt +usr/share/seamonkey/components/content_xslt.xpt usr/lib/seamonkey/components/content_xslt.xpt +usr/share/seamonkey/components/content_xtf.xpt usr/lib/seamonkey/components/content_xtf.xpt +usr/share/seamonkey/components/cookie.xpt usr/lib/seamonkey/components/cookie.xpt +usr/share/seamonkey/components/directory.xpt usr/lib/seamonkey/components/directory.xpt +usr/share/seamonkey/components/docshell.xpt usr/lib/seamonkey/components/docshell.xpt +usr/share/seamonkey/components/dom.xpt usr/lib/seamonkey/components/dom.xpt +usr/share/seamonkey/components/dom_base.xpt usr/lib/seamonkey/components/dom_base.xpt +usr/share/seamonkey/components/dom_canvas.xpt usr/lib/seamonkey/components/dom_canvas.xpt +usr/share/seamonkey/components/dom_core.xpt usr/lib/seamonkey/components/dom_core.xpt +usr/share/seamonkey/components/dom_css.xpt usr/lib/seamonkey/components/dom_css.xpt +usr/share/seamonkey/components/dom_events.xpt usr/lib/seamonkey/components/dom_events.xpt +usr/share/seamonkey/components/dom_html.xpt usr/lib/seamonkey/components/dom_html.xpt +usr/share/seamonkey/components/dom_loadsave.xpt usr/lib/seamonkey/components/dom_loadsave.xpt +usr/share/seamonkey/components/dom_range.xpt usr/lib/seamonkey/components/dom_range.xpt +usr/share/seamonkey/components/dom_sidebar.xpt usr/lib/seamonkey/components/dom_sidebar.xpt +usr/share/seamonkey/components/dom_storage.xpt usr/lib/seamonkey/components/dom_storage.xpt +usr/share/seamonkey/components/dom_stylesheets.xpt usr/lib/seamonkey/components/dom_stylesheets.xpt +usr/share/seamonkey/components/dom_svg.xpt usr/lib/seamonkey/components/dom_svg.xpt +usr/share/seamonkey/components/dom_traversal.xpt usr/lib/seamonkey/components/dom_traversal.xpt +usr/share/seamonkey/components/dom_views.xpt usr/lib/seamonkey/components/dom_views.xpt +usr/share/seamonkey/components/dom_xbl.xpt usr/lib/seamonkey/components/dom_xbl.xpt +usr/share/seamonkey/components/dom_xpath.xpt usr/lib/seamonkey/components/dom_xpath.xpt +usr/share/seamonkey/components/dom_xul.xpt usr/lib/seamonkey/components/dom_xul.xpt +usr/share/seamonkey/components/downloadmanager.xpt usr/lib/seamonkey/components/downloadmanager.xpt +usr/share/seamonkey/components/editor.xpt usr/lib/seamonkey/components/editor.xpt +usr/share/seamonkey/components/embed_base.xpt usr/lib/seamonkey/components/embed_base.xpt +usr/share/seamonkey/components/extensions.xpt usr/lib/seamonkey/components/extensions.xpt +usr/share/seamonkey/components/exthandler.xpt usr/lib/seamonkey/components/exthandler.xpt +usr/share/seamonkey/components/filepicker.xpt usr/lib/seamonkey/components/filepicker.xpt +usr/share/seamonkey/components/find.xpt usr/lib/seamonkey/components/find.xpt +usr/share/seamonkey/components/gfx.xpt usr/lib/seamonkey/components/gfx.xpt +usr/share/seamonkey/components/gksvgrenderer.xpt usr/lib/seamonkey/components/gksvgrenderer.xpt +usr/share/seamonkey/components/history.xpt usr/lib/seamonkey/components/history.xpt +usr/share/seamonkey/components/htmlparser.xpt usr/lib/seamonkey/components/htmlparser.xpt +usr/share/seamonkey/components/imglib2.xpt usr/lib/seamonkey/components/imglib2.xpt +usr/share/seamonkey/components/impComm4xMail.xpt usr/lib/seamonkey/components/impComm4xMail.xpt +usr/share/seamonkey/components/inspector.xpt usr/lib/seamonkey/components/inspector.xpt +usr/share/seamonkey/components/inspector-cmdline.js usr/lib/seamonkey/components/inspector-cmdline.js +usr/share/seamonkey/components/intl.xpt usr/lib/seamonkey/components/intl.xpt +usr/share/seamonkey/components/jar.xpt usr/lib/seamonkey/components/jar.xpt +usr/share/seamonkey/components/jsconsole-clhandler.js usr/lib/seamonkey/components/jsconsole-clhandler.js +usr/share/seamonkey/components/jsconsole.xpt usr/lib/seamonkey/components/jsconsole.xpt +usr/share/seamonkey/components/jsdservice.xpt usr/lib/seamonkey/components/jsdservice.xpt +usr/share/seamonkey/components/layout_base.xpt usr/lib/seamonkey/components/layout_base.xpt +usr/share/seamonkey/components/layout_printing.xpt usr/lib/seamonkey/components/layout_printing.xpt +usr/share/seamonkey/components/layout_xul.xpt usr/lib/seamonkey/components/layout_xul.xpt +usr/share/seamonkey/components/layout_xul_tree.xpt usr/lib/seamonkey/components/layout_xul_tree.xpt +usr/share/seamonkey/components/locale.xpt usr/lib/seamonkey/components/locale.xpt +usr/share/seamonkey/components/lwbrk.xpt usr/lib/seamonkey/components/lwbrk.xpt +usr/share/seamonkey/components/mdn-service.js usr/lib/seamonkey/components/mdn-service.js +usr/share/seamonkey/components/mimetype.xpt usr/lib/seamonkey/components/mimetype.xpt +usr/share/seamonkey/components/mozbrwsr.xpt usr/lib/seamonkey/components/mozbrwsr.xpt +usr/share/seamonkey/components/mozfind.xpt usr/lib/seamonkey/components/mozfind.xpt +usr/share/seamonkey/components/mozldap.xpt usr/lib/seamonkey/components/mozldap.xpt +usr/share/seamonkey/components/msgsmime.xpt usr/lib/seamonkey/components/msgsmime.xpt +usr/share/seamonkey/components/necko.xpt usr/lib/seamonkey/components/necko.xpt +usr/share/seamonkey/components/necko_about.xpt usr/lib/seamonkey/components/necko_about.xpt +usr/share/seamonkey/components/necko_cache.xpt usr/lib/seamonkey/components/necko_cache.xpt +usr/share/seamonkey/components/necko_cookie.xpt usr/lib/seamonkey/components/necko_cookie.xpt +usr/share/seamonkey/components/necko_data.xpt usr/lib/seamonkey/components/necko_data.xpt +usr/share/seamonkey/components/necko_dns.xpt usr/lib/seamonkey/components/necko_dns.xpt +usr/share/seamonkey/components/necko_file.xpt usr/lib/seamonkey/components/necko_file.xpt +usr/share/seamonkey/components/necko_ftp.xpt usr/lib/seamonkey/components/necko_ftp.xpt +usr/share/seamonkey/components/necko_http.xpt usr/lib/seamonkey/components/necko_http.xpt +usr/share/seamonkey/components/necko_res.xpt usr/lib/seamonkey/components/necko_res.xpt +usr/share/seamonkey/components/necko_socket.xpt usr/lib/seamonkey/components/necko_socket.xpt +usr/share/seamonkey/components/necko_strconv.xpt usr/lib/seamonkey/components/necko_strconv.xpt +usr/share/seamonkey/components/necko_viewsource.xpt usr/lib/seamonkey/components/necko_viewsource.xpt +usr/share/seamonkey/components/nsAbLDAPAttributeMap.js usr/lib/seamonkey/components/nsAbLDAPAttributeMap.js +usr/share/seamonkey/components/nsCloseAllWindows.js usr/lib/seamonkey/components/nsCloseAllWindows.js +usr/share/seamonkey/components/nsComposerCmdLineHandler.js usr/lib/seamonkey/components/nsComposerCmdLineHandler.js +usr/share/seamonkey/components/nsDictionary.js usr/lib/seamonkey/components/nsDictionary.js +usr/share/seamonkey/components/nsDownloadProgressListener.js usr/lib/seamonkey/components/nsDownloadProgressListener.js +usr/share/seamonkey/components/nsFilePicker.js usr/lib/seamonkey/components/nsFilePicker.js +usr/share/seamonkey/components/nsHelperAppDlg.js usr/lib/seamonkey/components/nsHelperAppDlg.js +usr/share/seamonkey/components/nsInterfaceInfoToIDL.js usr/lib/seamonkey/components/nsInterfaceInfoToIDL.js +usr/share/seamonkey/components/nsKillAll.js usr/lib/seamonkey/components/nsKillAll.js +usr/share/seamonkey/components/nsProgressDialog.js usr/lib/seamonkey/components/nsProgressDialog.js +usr/share/seamonkey/components/nsProxyAutoConfig.js usr/lib/seamonkey/components/nsProxyAutoConfig.js +usr/share/seamonkey/components/nsResetPref.js usr/lib/seamonkey/components/nsResetPref.js +usr/share/seamonkey/components/nsSidebar.js usr/lib/seamonkey/components/nsSidebar.js +usr/share/seamonkey/components/nsURLFormatter.js usr/lib/seamonkey/components/nsURLFormatter.js +usr/share/seamonkey/components/nsUpdateNotifier.js usr/lib/seamonkey/components/nsUpdateNotifier.js +usr/share/seamonkey/components/nsXmlRpcClient.js usr/lib/seamonkey/components/nsXmlRpcClient.js +usr/share/seamonkey/components/offlineStartup.js usr/lib/seamonkey/components/offlineStartup.js +usr/share/seamonkey/components/oji.xpt usr/lib/seamonkey/components/oji.xpt +usr/share/seamonkey/components/p3p.xpt usr/lib/seamonkey/components/p3p.xpt +usr/share/seamonkey/components/pipboot.xpt usr/lib/seamonkey/components/pipboot.xpt +usr/share/seamonkey/components/pipnss.xpt usr/lib/seamonkey/components/pipnss.xpt +usr/share/seamonkey/components/pippki.xpt usr/lib/seamonkey/components/pippki.xpt +usr/share/seamonkey/components/plugin.xpt usr/lib/seamonkey/components/plugin.xpt +usr/share/seamonkey/components/pref.xpt usr/lib/seamonkey/components/pref.xpt +usr/share/seamonkey/components/prefetch.xpt usr/lib/seamonkey/components/prefetch.xpt +usr/share/seamonkey/components/prefmigr.xpt usr/lib/seamonkey/components/prefmigr.xpt +usr/share/seamonkey/components/profile.xpt usr/lib/seamonkey/components/profile.xpt +usr/share/seamonkey/components/progressDlg.xpt usr/lib/seamonkey/components/progressDlg.xpt +usr/share/seamonkey/components/proxyObjInst.xpt usr/lib/seamonkey/components/proxyObjInst.xpt +usr/share/seamonkey/components/rdf.xpt usr/lib/seamonkey/components/rdf.xpt +usr/share/seamonkey/components/related.xpt usr/lib/seamonkey/components/related.xpt +usr/share/seamonkey/components/saxparser.xpt usr/lib/seamonkey/components/saxparser.xpt +usr/share/seamonkey/components/search.xpt usr/lib/seamonkey/components/search.xpt +usr/share/seamonkey/components/shistory.xpt usr/lib/seamonkey/components/shistory.xpt +usr/share/seamonkey/components/sidebar.xpt usr/lib/seamonkey/components/sidebar.xpt +usr/share/seamonkey/components/signonviewer.xpt usr/lib/seamonkey/components/signonviewer.xpt +usr/share/seamonkey/components/smime-service.js usr/lib/seamonkey/components/smime-service.js +usr/share/seamonkey/components/spellchecker.xpt usr/lib/seamonkey/components/spellchecker.xpt +usr/share/seamonkey/components/storage.xpt usr/lib/seamonkey/components/storage.xpt +usr/share/seamonkey/components/toolkitremote.xpt usr/lib/seamonkey/components/toolkitremote.xpt +usr/share/seamonkey/components/txmgr.xpt usr/lib/seamonkey/components/txmgr.xpt +usr/share/seamonkey/components/txtsvc.xpt usr/lib/seamonkey/components/txtsvc.xpt +usr/share/seamonkey/components/typeaheadfind.xpt usr/lib/seamonkey/components/typeaheadfind.xpt +usr/share/seamonkey/components/uconv.xpt usr/lib/seamonkey/components/uconv.xpt +usr/share/seamonkey/components/unicharutil.xpt usr/lib/seamonkey/components/unicharutil.xpt +usr/share/seamonkey/components/uriloader.xpt usr/lib/seamonkey/components/uriloader.xpt +usr/share/seamonkey/components/urlformatter.xpt usr/lib/seamonkey/components/urlformatter.xpt +usr/share/seamonkey/components/wallet.xpt usr/lib/seamonkey/components/wallet.xpt +usr/share/seamonkey/components/walleteditor.xpt usr/lib/seamonkey/components/walleteditor.xpt +usr/share/seamonkey/components/walletpreview.xpt usr/lib/seamonkey/components/walletpreview.xpt +usr/share/seamonkey/components/webBrowser_core.xpt usr/lib/seamonkey/components/webBrowser_core.xpt +usr/share/seamonkey/components/webbrowserpersist.xpt usr/lib/seamonkey/components/webbrowserpersist.xpt +usr/share/seamonkey/components/webdav.xpt usr/lib/seamonkey/components/webdav.xpt +usr/share/seamonkey/components/webshell_idls.xpt usr/lib/seamonkey/components/webshell_idls.xpt +usr/share/seamonkey/components/websrvcs.xpt usr/lib/seamonkey/components/websrvcs.xpt +usr/share/seamonkey/components/widget.xpt usr/lib/seamonkey/components/widget.xpt +usr/share/seamonkey/components/windowds.xpt usr/lib/seamonkey/components/windowds.xpt +usr/share/seamonkey/components/windowwatcher.xpt usr/lib/seamonkey/components/windowwatcher.xpt +usr/share/seamonkey/components/xml-rpc.xpt usr/lib/seamonkey/components/xml-rpc.xpt +usr/share/seamonkey/components/xmlextras.xpt usr/lib/seamonkey/components/xmlextras.xpt +usr/share/seamonkey/components/xpautocomplete.xpt usr/lib/seamonkey/components/xpautocomplete.xpt +usr/share/seamonkey/components/xpcom_base.xpt usr/lib/seamonkey/components/xpcom_base.xpt +usr/share/seamonkey/components/xpcom_components.xpt usr/lib/seamonkey/components/xpcom_components.xpt +usr/share/seamonkey/components/xpcom_ds.xpt usr/lib/seamonkey/components/xpcom_ds.xpt +usr/share/seamonkey/components/xpcom_io.xpt usr/lib/seamonkey/components/xpcom_io.xpt +usr/share/seamonkey/components/xpcom_obsolete.xpt usr/lib/seamonkey/components/xpcom_obsolete.xpt +usr/share/seamonkey/components/xpcom_threads.xpt usr/lib/seamonkey/components/xpcom_threads.xpt +usr/share/seamonkey/components/xpcom_xpti.xpt usr/lib/seamonkey/components/xpcom_xpti.xpt +usr/share/seamonkey/components/xpconnect.xpt usr/lib/seamonkey/components/xpconnect.xpt +usr/share/seamonkey/components/xpinstall.xpt usr/lib/seamonkey/components/xpinstall.xpt +usr/share/seamonkey/components/xremoteservice.xpt usr/lib/seamonkey/components/xremoteservice.xpt +usr/share/seamonkey/components/xulappinfo.js usr/lib/seamonkey/components/xulappinfo.js +usr/share/seamonkey/components/xulappinfo.xpt usr/lib/seamonkey/components/xulappinfo.xpt +usr/share/seamonkey/components/xuldoc.xpt usr/lib/seamonkey/components/xuldoc.xpt +usr/share/seamonkey/components/xultmpl.xpt usr/lib/seamonkey/components/xultmpl.xpt +usr/share/seamonkey/components/homepagereset.js usr/lib/seamonkey/components/homepagereset.js +usr/share/seamonkey/components/about_debian.js usr/lib/seamonkey/components/about_debian.js --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.manpages +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man1/seamonkey.1 +debian/update-seamonkey-chrome.8 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.menu +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.menu @@ -0,0 +1,7 @@ +?package(seamonkey-browser):needs="x11" section="Applications/Network/Web Browsing" \ + title="Seamonkey Browser" command="/usr/bin/seamonkey" hints="Web browsers" \ + icon="/usr/share/pixmaps/seamonkey.xpm" +?package(seamonkey-browser):needs="x11" section="Applications/Web Development" \ + title="Seamonkey Composer" command="/usr/bin/seamonkey -edit" hints="HTML Editor" \ + icon="/usr/share/pixmaps/seamonkey-composer.xpm" + --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.mime +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.mime @@ -0,0 +1,5 @@ +text/html; /usr/bin/seamonkey %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html; priority=5 +text/xml; /usr/bin/seamonkey %s; description=XML Text; test=test -n "$DISPLAY"; nametemplate=%s.xml; priority=5 +image/png; /usr/bin/seamonkey %s; description=PNG Image; test=test -n "$DISPLAY"; nametemplate=%s.png; priority=2 +image/jpeg; /usr/bin/seamonkey %s; description=JPEG Image; test=test -n "$DISPLAY"; nametemplate=%s.jpeg; priority=2 +image/gif; /usr/bin/seamonkey %s; description=GIF Image; test=test -n "$DISPLAY"; nametemplate=%s.gif; priority=2 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.postinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.postinst @@ -0,0 +1,32 @@ +#! /bin/sh +# postinst script for seamonkey-browser + +set -e + +case "$1" in + configure|abort-upgrade) + update-alternatives --install /usr/bin/x-www-browser \ + x-www-browser /usr/bin/seamonkey 80 \ + --slave /usr/share/man/man1/x-www-browser.1.gz \ + x-www-browser.1.gz /usr/share/man/man1/seamonkey.1.gz + update-alternatives --install /usr/bin/mozilla \ + mozilla /usr/bin/seamonkey 99 \ + --slave /usr/share/man/man1/mozilla.1.gz \ + mozilla.1.gz /usr/share/man/man1/seamonkey.1.gz + + update-seamonkey-chrome + ;; + + abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.postrm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.postrm @@ -0,0 +1,26 @@ +#! /bin/sh +# postrm script for seamonkey-browser + +set -e + +case "$1" in + remove|abort-install) + rm -rf /var/lib/seamonkey/chrome /var/lib/seamonkey/components + rm -rf /usr/share/seamonkey/chrome/installed-chrome.txt + rm -f /usr/share/seamonkey/chrome/*.rdf + rm -f /usr/lib/seamonkey/components/*.dat + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.preinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.preinst @@ -0,0 +1,62 @@ +#! /bin/sh +# preinst script for seamonkey-browser + +set -e + +case "$1" in + install) + ( + for RC in /etc/iceape/iceaperc /etc/mozilla/mozillarc ; do + if [ ! -e /etc/seamonkey/seamonkeyrc ] && [ -e $RC ]; then + . $RC + if [ -n "${MOZILLA_DSP}${ICEAPE_DSP}" ]; then + [ ! -e /etc/seamonkey ] && install -d -m 755 /etc/seamonkey + [ -d /etc/seamonkey ] && cat < /etc/seamonkey/seamonkeyrc +# You can copy this file to \${HOME}/.mozilla/seamonkeyrc to modify it + +# which /dev/dsp wrapper to use +SEAMONKEY_DSP="${MOZILLA_DSP}${ICEAPE_DSP}" +EOF + break + fi + fi + done + ) + ;; + + upgrade|abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ "$1" = "install" ] || [ "$1" = "install" ]; then + if [ -d /usr/lib/seamonkey/chrome ] && ! [ -L /usr/lib/seamonkey/chrome ]; then + # files autogenerated by update-seamonkey-chrome - we can remove them + for file in installed-chrome.txt chrome.rdf overlays.rdf stylesheets.rdf; do + rm -f /usr/lib/seamonkey/chrome/$file; + done + + # move any remainings to the new directory unless they are there already + find /usr/lib/seamonkey/chrome -maxdepth 1 -mindepth 1 -exec mv --reply=no {} /usr/share/seamonkey/chrome/ \; + + # kill directory - if it fails, the user needs to work by hand + if ! rmdir /usr/lib/seamonkey/chrome; then + # we don't i18n this - it shouldn't happen within the stable release, but only + # for people running testing or unstable + echo "The directory /usr/lib/seamonkey/chrome needs to be empty or a symlink to /usr/share/seamonkey/chrome" + echo "Please clean it up and execute \"dpkg --configure seamonkey-browser\"" + exit 1 + fi + ln -s /usr/share/seamonkey/chrome /usr/lib/seamonkey/chrome + fi +fi + + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-browser.prerm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-browser.prerm @@ -0,0 +1,13 @@ +#! /bin/sh +# prerm script for seamonkey-browser + +set -e + +if [ "$1" = "remove" ]; then + update-alternatives --remove x-www-browser /usr/bin/seamonkey + update-alternatives --remove mozilla /usr/bin/seamonkey +fi + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-chatzilla.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-chatzilla.install @@ -0,0 +1,6 @@ +usr/lib/seamonkey/components/chatzilla-service.js usr/share/seamonkey/components +usr/lib/seamonkey/chrome/chatzilla* usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/icons/default/chatzilla-window.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/chatzilla-window16.xpm usr/share/seamonkey/chrome/icons/default +usr/share/pixmaps/chatzilla.xpm +usr/share/applications/chatzilla.desktop --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-chatzilla.links +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-chatzilla.links @@ -0,0 +1 @@ +usr/share/seamonkey/components/chatzilla-service.js usr/lib/seamonkey/components/chatzilla-service.js --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-chatzilla.menu +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-chatzilla.menu @@ -0,0 +1,3 @@ +?package(seamonkey-chatzilla,seamonkey-browser):needs="X11" section="Applications/Network/Communication"\ + title="Seamonkey IRC Client" command="/usr/bin/seamonkey -chat" hints="Messaging" \ + icon="/usr/share/pixmaps/chatzilla.xpm" --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-chatzilla.postinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-chatzilla.postinst @@ -0,0 +1,23 @@ +#! /bin/sh +# postinst script for seamonkey-chatzilla + +set -e + +case "$1" in + configure) + update-seamonkey-chrome + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-chatzilla.postrm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-chatzilla.postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for seamonkey-chatzilla + +set -e + +case "$1" in + remove|abort-install) + update-seamonkey-chrome + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-dev.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-dev.install @@ -0,0 +1,5 @@ +usr/include/seamonkey +usr/share/idl/seamonkey +usr/lib/pkgconfig/seamonkey-nspr.pc +usr/lib/pkgconfig/seamonkey-plugin.pc +usr/lib/pkgconfig/seamonkey-xpcom.pc --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-dom-inspector.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-dom-inspector.install @@ -0,0 +1,4 @@ +usr/lib/seamonkey/chrome/inspector.jar usr/share/seamonkey/chrome +usr/lib/seamonkey/defaults/pref/inspector.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/chrome/icons/default/winInspectorMain.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/winInspectorMain16.xpm usr/share/seamonkey/chrome/icons/default --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-dom-inspector.postinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-dom-inspector.postinst @@ -0,0 +1,23 @@ +#! /bin/sh +# postinst script for seamonkey-dom-inspector + +set -e + +case "$1" in + configure) + update-seamonkey-chrome + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-dom-inspector.postrm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-dom-inspector.postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for seamonkey-dom-inspector + +set -e + +case "$1" in + remove|abort-install) + update-seamonkey-chrome + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-gnome-support.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-gnome-support.install @@ -0,0 +1,3 @@ +usr/lib/seamonkey/components/imgicon.xpt usr/share/seamonkey/components/ +usr/lib/seamonkey/components/libimgicon.so +usr/lib/seamonkey/components/libnkgnomevfs.so --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-gnome-support.links +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-gnome-support.links @@ -0,0 +1 @@ +usr/share/seamonkey/components/imgicon.xpt usr/lib/seamonkey/components/imgicon.xpt --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-gnome-support.postinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-gnome-support.postinst @@ -0,0 +1,23 @@ +#! /bin/sh +# postinst script for seamonkey-gnome-support + +set -e + +case "$1" in + configure) + touch /usr/lib/seamonkey/.autoreg + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-gnome-support.postrm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-gnome-support.postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for seamonkey-gnome-support + +set -e + +case "$1" in + remove|abort-install) + touch /usr/lib/seamonkey/.autoreg + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-mailnews.install +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-mailnews.install @@ -0,0 +1,49 @@ +usr/lib/seamonkey/components/libaddrbook.so +usr/lib/seamonkey/components/liblocalmail.so +usr/lib/seamonkey/components/libmailnews.so +usr/lib/seamonkey/components/libmailview.so +usr/lib/seamonkey/components/libmime.so +usr/lib/seamonkey/components/libmimeemitter.so +usr/lib/seamonkey/components/libmozldap.so +usr/lib/seamonkey/components/libmsgcompose.so +usr/lib/seamonkey/components/libmsgdb.so +usr/lib/seamonkey/components/libmsgimap.so +usr/lib/seamonkey/components/libmsgnews.so +usr/lib/seamonkey/components/libmsgsmime.so +usr/lib/seamonkey/components/libvcard.so +usr/lib/seamonkey/components/libimport.so +usr/lib/seamonkey/components/libimpText.so +usr/lib/seamonkey/components/libimpComm4xMail.so +usr/lib/seamonkey/components/libmsgmdn.so +usr/lib/seamonkey/components/addrbook.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/mailnews.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/mailview.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/mime.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgbase.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgcompose.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgdb.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgimap.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msglocal.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgnews.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/msgsearch.xpt usr/share/seamonkey/components +usr/lib/seamonkey/components/nsLDAPPrefsService.js usr/share/seamonkey/components +usr/lib/seamonkey/components/import.xpt usr/share/seamonkey/components +usr/lib/seamonkey/defaults/messenger usr/share/seamonkey/defaults +usr/lib/seamonkey/defaults/pref/mailnews.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/defaults/pref/mdn.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/defaults/pref/smime.js usr/share/seamonkey/defaults/pref +usr/lib/seamonkey/chrome/messenger* usr/share/seamonkey/chrome +usr/lib/seamonkey/chrome/icons/default/abcardWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/abcardWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/addressbookWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/addressbookWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/messengerWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/messengerWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/msgcomposeWindow.xpm usr/share/seamonkey/chrome/icons/default +usr/lib/seamonkey/chrome/icons/default/msgcomposeWindow16.xpm usr/share/seamonkey/chrome/icons/default +usr/share/pixmaps/seamonkey-addressbook.xpm +usr/share/pixmaps/seamonkey-mailnews.xpm +usr/share/pixmaps/seamonkey-mail-compose.xpm +usr/share/applications/seamonkey-mail-compose.desktop +usr/share/applications/seamonkey-mailnews.desktop +usr/share/applications/seamonkey-addressbook.desktop --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-mailnews.links +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-mailnews.links @@ -0,0 +1,13 @@ +usr/share/seamonkey/components/addrbook.xpt usr/lib/seamonkey/components/addrbook.xpt +usr/share/seamonkey/components/mailnews.xpt usr/lib/seamonkey/components/mailnews.xpt +usr/share/seamonkey/components/mailview.xpt usr/lib/seamonkey/components/mailview.xpt +usr/share/seamonkey/components/mime.xpt usr/lib/seamonkey/components/mime.xpt +usr/share/seamonkey/components/msgbase.xpt usr/lib/seamonkey/components/msgbase.xpt +usr/share/seamonkey/components/msgcompose.xpt usr/lib/seamonkey/components/msgcompose.xpt +usr/share/seamonkey/components/msgdb.xpt usr/lib/seamonkey/components/msgdb.xpt +usr/share/seamonkey/components/msgimap.xpt usr/lib/seamonkey/components/msgimap.xpt +usr/share/seamonkey/components/msglocal.xpt usr/lib/seamonkey/components/msglocal.xpt +usr/share/seamonkey/components/msgnews.xpt usr/lib/seamonkey/components/msgnews.xpt +usr/share/seamonkey/components/msgsearch.xpt usr/lib/seamonkey/components/msgsearch.xpt +usr/share/seamonkey/components/nsLDAPPrefsService.js usr/lib/seamonkey/components/nsLDAPPrefsService.js +usr/share/seamonkey/components/import.xpt usr/lib/seamonkey/components/import.xpt --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-mailnews.menu +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-mailnews.menu @@ -0,0 +1,10 @@ +?package(seamonkey-mailnews,seamonkey-browser):needs="x11" section="Applications/Data Management" \ + title="Seamonkey Addressbook" command="/usr/bin/seamonkey -addressbook" \ + hints="Mail,News" \ + icon="/usr/share/pixmaps/seamonkey-addressbook.xpm" +?package(seamonkey-mailnews,seamonkey-browser):needs="x11" section="Applications/Network/Communication" \ + title="Seamonkey Mail Composer" command="/usr/bin/seamonkey -compose" hints="Mail" \ + icon="/usr/share/pixmaps/seamonkey-mail-compose.xpm" +?package(seamonkey-mailnews,seamonkey-browser):needs="x11" section="Applications/Network/Communication" \ + title="Seamonkey Mail & Newsgroups" command="/usr/bin/seamonkey -mail" hints="Mail,News" \ + icon="/usr/share/pixmaps/seamonkey-mailnews.xpm" --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-mailnews.postinst +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-mailnews.postinst @@ -0,0 +1,23 @@ +#! /bin/sh +# postinst script for seamonkey-mailnews + +set -e + +case "$1" in + configure) + update-seamonkey-chrome + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-mailnews.postrm +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-mailnews.postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for seamonkey-mailnews + +set -e + +case "$1" in + remove|abort-install) + update-seamonkey-chrome + ;; + + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey-runner +++ seamonkey-1.1.12+nobinonly/debian/seamonkey-runner @@ -0,0 +1,370 @@ +#!/bin/sh +# +# 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.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +## +## For silly people running seamonkey through sudo +## +if [ "${SUDO_USER}" ] && [ "${SUDO_USER}" != "${USER}" ]; then + SUDO_HOME=`getent passwd ${SUDO_USER} | cut -f6 -d:` + if [ "${SUDO_HOME}" = "${HOME}" ]; then + echo "You should really not run seamonkey through sudo WITHOUT the -H option." >&2 + echo "Anyway, I'll do as if you did use the -H option." >&2 + HOME=`getent passwd "${USER}" | cut -f6 -d:` + if [ -z "${HOME}" ]; then + echo "Could not find the correct home directory. Please use the -H option of sudo." >&2 + exit 1 + fi + fi +elif [ -z "${HOME}" ]; then + HOME=`getent passwd "${USER}" | cut -f6 -d:` + if [ -z "${HOME}" ]; then + echo "Could not find the correct home directory." >&2 + echo "Please set the HOME environment variable." >&2 + exit 1 + fi +fi + +## +## Variables +## +MOZ_DIST_BIN="/usr/lib/seamonkey" +MOZ_PROGRAM="${MOZ_DIST_BIN}/seamonkey-bin" + +## +## Load system and user properties +## + +RUNTIME_SEAMONKEY_DSP="${SEAMONKEY_DSP}" + +if [ -f /etc/seamonkey/seamonkeyrc ]; then + . /etc/seamonkey/seamonkeyrc +fi + +if [ -f "${HOME}/.mozilla/seamonkeyrc" ]; then + . "${HOME}/.mozilla/seamonkeyrc" +fi + +if [ "${RUNTIME_SEAMONKEY_DSP}" ]; then + SEAMONKEY_DSP="${RUNTIME_SEAMONKEY_DSP}" +fi + +if [ -z "${SEAMONKEY_DSP}" ]; then + SEAMONKEY_DSP="auto" +fi + +export MOZ_DISABLE_PANGO + +## +## find /dev/dsp handler +## + +if [ "${SEAMONKEY_DSP}" = "auto" ]; then + SEAMONKEY_DSP= + if [ -n "${AUDIOSERVER}" ]; then + # do not prevent using other wrappers if $AUDIOSERVER was set up + # unintentionally or audiooss is not available + if type audiooss >/dev/null 2>&1; then + SEAMONKEY_DSP=audiooss + fi + fi + if pgrep -u `id -u` esd >/dev/null 2>&1; then + SEAMONKEY_DSP=esddsp + elif pgrep -u `id -u` arts >/dev/null 2>&1; then + SEAMONKEY_DSP=artsdsp + elif [ -x /usr/bin/aoss ] && [ -d /proc/asound ] ; then + SEAMONKEY_DSP=aoss + fi +elif [ "${SEAMONKEY_DSP}" = "none" ]; then + SEAMONKEY_DSP= +fi + +## +## Set LD_LIBRARY_PATH +## +EXTENT_LD_LIB_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:/usr/lib/mozilla/plugins +if [ "${LD_LIBRARY_PATH}" ]; then + LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH}:${LD_LIBRARY_PATH} +else + LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH} +fi + +export LD_LIBRARY_PATH + +EXTENT_MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins +if [ "${MOZ_PLUGIN_PATH}" ]; then + MOZ_PLUGIN_PATH=${EXTENT_MOZ_PLUGIN_PATH}:${MOZ_PLUGIN_PATH} +else + MOZ_PLUGIN_PATH=${EXTENT_MOZ_PLUGIN_PATH} +fi + +export MOZ_PLUGIN_PATH + +# Set XPSERVERLIST if not set yet for XPrint support, or complain. + +#if [ -z "${XPSERVERLIST}" ]; then +# if [ -x /etc/init.d/xprint ]; then +# XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist` +# export XPSERVERLIST +# else +# echo -e "Warning: \${XPSERVERLIST} not set and /etc/init.d/xprint not found;\nprinting will not work.\nPlease install the xprt-xprintorg package" >&2 +# fi +#fi + +verbose () { + if [ "${VERBOSE}" ]; then + echo $@ + fi +} + +echo_vars () { + if [ "${VERBOSE}" ]; then + for var in "$@"; do + echo "$var=`eval echo \\${$var}`" + done + fi +} + +# exec wrapper for verbosity +exec_verbose () { + verbose Running: $@ + exec "$@" +} + +# exec wrapper for verbosity +run_verbose () { + verbose Running: $@ + "$@" +} + +# OK, here's where all the real work gets done + +# parse command line +APPLICATION_ID=seamonkey +VERBOSE= +DEBUG=0 +DEBUGGER= +REMOTE=0 +TRY_USE_EXIST=0 +first=1 +opt= +START= +for arg in "$@"; do + if [ ${first} -eq 1 ]; then + set dummy + first=0 + fi + + case "${arg}" in + -a | --display | -contentLocale | -UILocale | -remote | --debugger | -height | -width | -chrome | -P | -CreateProfile) + prev=${arg} + continue + ;; + esac + + if [ "${prev}" ]; then + case "${prev}" in + -a) + APPLICATION_ID="${arg}" + ;; + -P|-CreateProfile) + case "${arg}" in + default) APPLICATION_ID=seamonkey ;; + *) APPLICATION_ID=seamonkey--"${arg}" ;; + esac + MOZ_NO_REMOTE=1 + export MOZ_NO_REMOTE + set "$@" "${prev}" "${arg}" + ;; + --display) + CMDLINE_DISPLAY="${arg}" + set "$@" --display "${arg}" + ;; + -remote) + REMOTE=1 + set "$@" -remote "${arg}" + ;; + --debugger) + DEBUGGER="${arg}" + DEBUG=1 + ;; + *) + set "$@" "${prev}" "${arg}" + ;; + esac + prev= + elif [ "${arg}" ]; then + case "$arg" in + --verbose | -V) + VERBOSE=1 + ;; + --display=*) + CMDLINE_DISPLAY=`echo ${arg} | sed 's/^--display=//'` + set "$@" "${arg}" + ;; + -g | -debug) + DEBUG=1 + ;; + -no-remote) + MOZ_NO_REMOTE=1 + REMOTE=0 + export MOZ_NO_REMOTE + ;; + -ProfileManager) + MOZ_NO_REMOTE=1 + export MOZ_NO_REMOTE + APPLICATION_ID="unique--`uname -n`--$$" + set "$@" "${arg}" + ;; + -chat | -addressbook | -calendar | -edit | -compose | -mail | -news | -browser) + START="${arg}" + set "$@" "${arg}" + ;; + -*) + set "$@" "${arg}" + ;; + *) + if [ -z "${opt}" ]; then + opt="${arg}" + # check to make sure that the url contains at least a :/ in it. + echo ${opt} | grep -e ':/' 2>/dev/null > /dev/null + RETURN_VAL=$? + if [ "${RETURN_VAL}" -eq 1 ]; then + # if it doesn't begin with a '/' and it exists when the pwd is + # prepended to it then append the full path + echo ${opt} | grep -e '^/' 2>/dev/null > /dev/null + if [ "$?" -ne "0" ] && [ -e "`pwd`/${opt}" ]; then + opt="`pwd`/${opt}" + fi + # Make it percent-encoded and prepend file:// if it is a valid file + if [ -e "${opt}" ]; then + opt="file://$( echo -n "${opt}" | perl -pe "s/([^a-zA-Z0-9-._~\!\\\$&'()*+,=:@\/])/'%'.unpack('H2',\$1)/ge" )" + fi + fi + set "$@" "${opt}" + else + set "$@" "${arg}" + fi + ;; + esac + fi +done + +if [ $# -ne 0 ]; then + shift +fi +OPTIONS="$@" + +if [ ${DEBUG} -eq 1 ]; then + if [ "${DEBUGGER}" = "" ]; then + DEBUGGER=gdb + fi + TMPFILE=`mktemp -t seamonkey_argsXXXXXX` +# echo set args -a "${APPLICATION_ID}" "$@" > ${TMPFILE} + echo set args "$@" > ${TMPFILE} + case "${DEBUGGER}" in + gdb) + run_verbose gdb "${MOZ_PROGRAM}" -x ${TMPFILE} + ;; + ddd) + run_verbose ddd --debugger "gdb -x ${TMPFILE}" "${MOZ_PROGRAM}" + ;; + *) + run_verbose ${DEBUGGER} "${MOZ_PROGRAM}" "$@" + ;; + esac + rm ${TMPFILE} + exit +fi + +if ( [ $# -eq 1 ] && [ "$1" = "${opt}" ] ) || ( [ $# -eq 2 ] && [ "$2" = "${opt}" ] && [ "$1" = "-browser" ] ) ; then + TRY_USE_EXIST=1 +fi + +#MOZ_PROGRAM="${MOZ_PROGRAM} -a ${APPLICATION_ID}" + +echo_vars SEAMONKEY_DSP APPLICATION_ID CMDLINE_DISPLAY DISPLAY \ + OPTIONS DEBUG DEBUGGER MOZ_DISABLE_PANGO MOZ_NO_REMOTE REMOTE \ + START + +PING_STATUS=1 + +# No need to check if DISPLAY is not set, it will fail. But let's continue, +# so that firefox gives the display error message itself. +if [ "${DISPLAY}" ] || [ "${CMDLINE_DISPLAY}" ]; then + if [ -z "${CMDLINE_DISPLAY}" ]; then + CMDLINE_DISPLAY="${DISPLAY}" + fi + + # check to see if there's an already running instance or not + verbose "Running: ${MOZ_PROGRAM} -remote 'ping()'" + DISPLAY="${CMDLINE_DISPLAY}" ${MOZ_PROGRAM} -remote 'ping()' \ + > /dev/null 2>&1 + PING_STATUS=$? +fi + +echo_vars PING_STATUS + +if [ "${PING_STATUS}" -eq 0 ] && [ "${START}" != '' ]; then + COMMAND= + case "${START}" in + -chat) + COMMAND=openChat + ;; + -addressbook) + COMMAND=openAddressBook + ;; + -calendar) + COMMAND=openCalendar + ;; + -edit) + COMMAND=openComposer + ;; + -compose) + COMMAND=composeMessage + ;; + -mail | -news) + COMMAND=openInbox + ;; + esac + if [ "$COMMAND" ]; then + exec_verbose ${MOZ_PROGRAM} -remote "xfeDoCommand(${COMMAND})" + fi +fi + +# If there is no command line argument at all then try to open a new +# window in an already running instance. +if [ "${PING_STATUS}" -eq 0 ] && ( [ $# -eq 0 ] || ( [ $# -eq 1 ] && [ "${START}" = '-browser' ] ) ) ; then + exec_verbose ${MOZ_PROGRAM} -remote "xfeDoCommand(openBrowser)" +fi + +# If we are trying to use existing instance, and it exists, and we're not having +# a -remote command line argument, then open in window or tab accordingly. +if [ "${REMOTE}" -eq 0 ] && [ "${TRY_USE_EXIST}" -eq 1 ] && [ "${PING_STATUS}" -eq 0 ]; then + # just pass it off if it looks like a url + exec_verbose ${MOZ_PROGRAM} -remote "openURL(${opt})" +fi + +if type "${SEAMONKEY_DSP}" > /dev/null 2>&1; then + MOZ_PROGRAM="${SEAMONKEY_DSP} ${MOZ_PROGRAM}" +fi + +exec_verbose ${MOZ_PROGRAM} "$@" --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkey.cfg +++ seamonkey-1.1.12+nobinonly/debian/seamonkey.cfg @@ -0,0 +1,2 @@ +// +lockPref("update_notifications.enabled", false); --- seamonkey-1.1.12+nobinonly.orig/debian/seamonkeyrc +++ seamonkey-1.1.12+nobinonly/debian/seamonkeyrc @@ -0,0 +1,4 @@ +# You can copy this file to ${HOME}/.mozilla/seamonkeyrc to modify it + +# which /dev/dsp wrapper to use +SEAMONKEY_DSP="none" --- seamonkey-1.1.12+nobinonly.orig/debian/shlibs.local +++ seamonkey-1.1.12+nobinonly/debian/shlibs.local @@ -0,0 +1,4 @@ +libnss3 0d libnss3-0d (>= 3.11.5-1) +libsmime3 0d libnss3-0d (>= 3.11.5-1) +libsoftokn3 0d libnss3-0d (>= 3.11.5-1) +libssl3 0d libnss3-0d (>= 3.11.5-1) --- seamonkey-1.1.12+nobinonly.orig/debian/update-seamonkey-chrome +++ seamonkey-1.1.12+nobinonly/debian/update-seamonkey-chrome @@ -0,0 +1,67 @@ +#!/bin/sh + +set -e + +umask 022 + +echo -n "Updating seamonkey chrome registry..." + +unset MOZILLA_FIVE_HOME || : + +# PATH +export PATH=/usr/lib/seamonkey:$PATH + +cd /usr/lib/seamonkey + +LD_LIBRARY_PATH=/usr/lib/seamonkey +export LD_LIBRARY_PATH + +# fake home +HOME=`mktemp -d /tmp/seamonkey-browser-pkg.XXXXXX` +export LD_LIBRARY_PATH + +VARDIR=/var/lib/seamonkey +LIBDIR=/usr/lib/seamonkey +DATADIR=${VARDIR}/chrome.d + +# cleaning VARDIR +rm -fr ${VARDIR}/chrome ${VARDIR}/components + +# cleaning LIBDIR +rm -rf ${LIBDIR}/chrome/installed-chrome.txt +rm -f ${LIBDIR}/chrome/*.rdf +rm -f ${LIBDIR}/components/*.dat + +# create VARDIR +install -m 755 -d ${VARDIR}/chrome +install -m 755 -d ${VARDIR}/components + +# create symlinks to LIBDIR +ln -sf ${VARDIR}/chrome/installed-chrome.txt ${LIBDIR}/chrome/ + +# gen installed-chrome.txt +for f in `echo ${DATADIR}/* | sort`; do + cat $f >> ${VARDIR}/chrome/installed-chrome.txt +done +chmod 0644 ${VARDIR}/chrome/installed-chrome.txt + +# gen +${LIBDIR}/regchrome >/dev/null 2>&1 || echo "E: regchrome was exited: $?" +touch ${LIBDIR}/.autoreg + +cd ${LIBDIR}/chrome/ +for i in `ls -1 *.rdf`; do + mv $i ${VARDIR}/chrome/ + ln -s ${VARDIR}/chrome/$i ./ +done + +cd ${LIBDIR}/components/ +for j in `ls -1 *.dat`; do + mv $j ${VARDIR}/components/ + ln -s ${VARDIR}/components/$j ./ +done + +rm -fr ${HOME} + +# done +echo done. --- seamonkey-1.1.12+nobinonly.orig/debian/update-seamonkey-chrome.8 +++ seamonkey-1.1.12+nobinonly/debian/update-seamonkey-chrome.8 @@ -0,0 +1,11 @@ +.TH UPDATE-SEAMONKEY-CHROME 8 +.SH NAME +update-seamonkey-chrome \- maintenance script for Seamonkey +.SH SYNOPSIS +.B update-seamonkey-chrome +.SH DESCRIPTION +Run as superuser to update the installation of Seamonkey. +This script takes no arguments or options. +This script is normally called by the package maintenance script; however, you may invoke it yourself if you've added any chrome to Seamonkey. +.SH "SEE ALSO" +.BR seamonkey (1). --- seamonkey-1.1.12+nobinonly.orig/debian/watch +++ seamonkey-1.1.12+nobinonly/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/^(\d\.[\d\.]+)\+nobinonly$/$1/ \ +http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/(\d\.[\d\.]+)/seamonkey-([\d\.]+).source\.tar\.bz2 --- seamonkey-1.1.12+nobinonly.orig/debian/extras/debsearch.gif.uue +++ seamonkey-1.1.12+nobinonly/debian/extras/debsearch.gif.uue @@ -0,0 +1,12 @@ +begin 644 debsearch.gif +M1TE&.#EA$``0`*4``/___^^_S]!(<,``0,@80-`H8-A@@.>OO\@04-]_G]!` +M<-A8@."(H.>?K\`(0._'S\@@4/??W^_/W\@00-^'G]AH@/?G[^^_O_??[^^O +MO]`P8-!`8.^OK]!0@-`X<,@84-A@<,@X4-AHD.^GO]A0@.>/K_?/W_______ +M____________________________________________________________ +M_________________________________R'^%4-R96%T960@=VET:"!4:&4@ +M1TE-4``L`````!``$`!`!GA`@%`8$`P(!<-A*+P@A@<#@`.P>"Q#R80R9%02 +M#T"`(&&22LQT>C%@I`,#P?#B&$J'&(`#*U0DF!8C?&I")%R$:48("8Q&"FD- +M#F%J!A`11`.756X`FI)"&1I#&WQ4#QU,'T,1("$)(@N#0@^/B(0*D[9I)B(9 +$A$$`.P`` +` +end --- seamonkey-1.1.12+nobinonly.orig/debian/extras/debsearch.src +++ seamonkey-1.1.12+nobinonly/debian/extras/debsearch.src @@ -0,0 +1,26 @@ +# Mozilla Firebird plugin file +# +# Debian package lookup +# by Fergus McKenzie-Kay copying code +# by Spencer Wysinger +# +# Last updated: August 12, 2003 + + + + + + + + + + + --- seamonkey-1.1.12+nobinonly.orig/debian/extras/wikipedia.gif.uue +++ seamonkey-1.1.12+nobinonly/debian/extras/wikipedia.gif.uue @@ -0,0 +1,9 @@ +begin 664 wikipedia.gif +M1TE&.#EA$``0`/0```0"!!D8&2@H*#PZ/$A'2%=85VEJ:7I[>H2#A)B8F*FH +MJ;FZN +M:#HN!;$\"G$TSU$TC5$\B/`^!$'#@4@\'`9C(V!P/!(!!<,@0HX*`<:C$40H +M1(LO.(`0)0"[(^(G(A!HC0%!U#B4$(!OW/ +# ported to Ubuntu by Alex Converse +# +# Last updated: June 5, 2005 + + + + + + + --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/chatzilla.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/chatzilla.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Chatzilla +GenericName=IRC Chat +Exec=seamonkey -chat +Terminal=false +Type=Application +Categories=GTK;Network;IRCClient; +Icon=chatzilla +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey-addressbook.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey-addressbook.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Seamonkey Address Book +Comment=Seamonkey Address Book +Exec=seamonkey -addressbook +Icon=seamonkey-addressbook +Terminal=false +Type=Application +Categories=GTK;Office;ContactManagement; +StartupNotify=true +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey-composer.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey-composer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Seamonkey Composer +Comment=Seamonkey Composer +Exec=seamonkey -edit +Icon=seamonkey-composer +Terminal=false +Type=Application +Categories=GTK;WebDevelopment;Development; +StartupNotify=true +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey-mail-compose.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey-mail-compose.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Seamonkey Mail Composer +Name[cs]=Po¿tovní editor Seamonkey +Comment=Seamonkey Mail Composer +Comment[cs]=Po¿tovní editor Seamonkey +Exec=seamonkey -compose +Icon=seamonkey-mail-compose +Terminal=false +Type=Application +Categories=GTK;Email;Network; +StartupNotify=true +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey-mailnews.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey-mailnews.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Seamonkey Mail & Newsgroups +Exec=seamonkey -mail +Terminal=false +Type=Application +Categories=GTK;Email;Network; +Icon=seamonkey-mailnews +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey-navigator.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey-navigator.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Seamonkey Navigator +GenericName=Web Browser +Exec=seamonkey -browser %u +Terminal=false +Type=Application +Categories=GTK;WebBrowser;Network; +Icon=seamonkey +NoDisplay=true --- seamonkey-1.1.12+nobinonly.orig/debian/menu_dir/seamonkey.desktop +++ seamonkey-1.1.12+nobinonly/debian/menu_dir/seamonkey.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Seamonkey +GenericName=Internet Suite +Exec=seamonkey %u +Terminal=false +Type=Application +Categories=GTK;Network; +Icon=seamonkey --- seamonkey-1.1.12+nobinonly.orig/debian/patches/10_components_no_exec.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/10_components_no_exec.patch @@ -0,0 +1,37 @@ +--- + config/rules.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +## 10_components_no_exec.patch converted from dpatch file initially by Mike Hommey +# +# install extra components without exec premissions. bz#331777 + +Index: iceape-1.1.4/config/rules.mk +=================================================================== +--- iceape-1.1.4.orig/config/rules.mk ++++ iceape-1.1.4/config/rules.mk +@@ -1484,22 +1484,22 @@ + endif # XPIDLSRCS || SDK_XPIDLSRCS + endif # MOZ_JAVAXPCOM + + ################################################################################ + # Copy each element of EXTRA_COMPONENTS to $(FINAL_TARGET)/components + ifdef EXTRA_COMPONENTS + libs:: $(EXTRA_COMPONENTS) + ifndef NO_DIST_INSTALL +- $(INSTALL) $(IFLAGS2) $^ $(FINAL_TARGET)/components ++ $(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/components + endif + + install:: $(EXTRA_COMPONENTS) + ifndef NO_INSTALL +- $(SYSINSTALL) $(IFLAGS2) $^ $(DESTDIR)$(mozappdir)/components ++ $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/components + endif + endif + + ifdef EXTRA_PP_COMPONENTS + libs:: $(EXTRA_PP_COMPONENTS) + ifndef NO_DIST_INSTALL + $(EXIT_ON_ERROR) \ + for i in $^; \ --- seamonkey-1.1.12+nobinonly.orig/debian/patches/10_icons.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/10_icons.patch @@ -0,0 +1,29 @@ +--- + suite/branding/Makefile.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +## 10_icons.patch converted from dpatch file initially by Mike Hommey +# +# Install default.xpm in the right place + +Index: iceape-1.1.4/suite/branding/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/suite/branding/Makefile.in ++++ iceape-1.1.4/suite/branding/Makefile.in +@@ -44,9 +44,16 @@ + + libs:: + ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT))) + $(INSTALL) $(srcdir)/icons/gtk/default.xpm $(DIST)/bin/chrome/icons/default + $(INSTALL) $(srcdir)/icons/gtk/default16.xpm $(DIST)/bin/chrome/icons/default + $(INSTALL) $(srcdir)/icons/gtk/seamonkey.png $(DIST)/bin/chrome/icons/default + endif + ++install:: ++ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT))) ++ $(SYSINSTALL) $(IFLAGS1) $(srcdir)/icons/gtk/default.xpm $(DESTDIR)$(mozappdir)/chrome/icons/default ++ $(SYSINSTALL) $(IFLAGS1) $(srcdir)/icons/gtk/default16.xpm $(DESTDIR)$(mozappdir)/chrome/icons/default ++ $(SYSINSTALL) $(IFLAGS1) $(srcdir)/icons/gtk/seamonkey.png $(DESTDIR)$(mozappdir)/chrome/icons/default ++endif ++ + include $(topsrcdir)/config/rules.mk --- seamonkey-1.1.12+nobinonly.orig/debian/patches/10_no_chromelist.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/10_no_chromelist.patch @@ -0,0 +1,49 @@ +--- + config/rules.mk | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +## 10_no_chromelist.patch converted from dpatch file initially by Mike Hommey +# +# Don't build chromelist.txt files. bz#331781 +# Also correctly call make-jars.pl. bz#333543 + +Index: iceape-1.1.4/config/rules.mk +=================================================================== +--- iceape-1.1.4.orig/config/rules.mk ++++ iceape-1.1.4/config/rules.mk +@@ -1557,34 +1557,30 @@ + if test -f $(JAR_MANIFEST); then \ + if test ! -d $(FINAL_TARGET)/chrome; then $(NSINSTALL) -D $(FINAL_TARGET)/chrome; fi; \ + if test ! -d $(MAKE_JARS_TARGET)/chrome; then $(NSINSTALL) -D $(MAKE_JARS_TARGET)/chrome; fi; \ + $(PERL) $(MOZILLA_DIR)/config/preprocessor.pl $(XULPPFLAGS) $(DEFINES) $(ACDEFINES) \ + $(JAR_MANIFEST) | \ + $(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl \ + -d $(MAKE_JARS_TARGET)/chrome -j $(FINAL_TARGET)/chrome \ + $(MAKE_JARS_FLAGS) -- "$(XULPPFLAGS) $(DEFINES) $(ACDEFINES)"; \ +- $(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-chromelist.pl \ +- $(FINAL_TARGET)/chrome $(JAR_MANIFEST) $(_NO_FLOCK); \ + fi + endif + + install:: $(CHROME_DEPS) + ifndef NO_INSTALL + @$(EXIT_ON_ERROR) \ + if test -f $(JAR_MANIFEST); then \ + if test ! -d $(DESTDIR)$(mozappdir)/chrome; then $(NSINSTALL) -D $(DESTDIR)$(mozappdir)/chrome; fi; \ + if test ! -d $(MAKE_JARS_TARGET)/chrome; then $(NSINSTALL) -D $(MAKE_JARS_TARGET)/chrome; fi; \ + $(PERL) $(MOZILLA_DIR)/config/preprocessor.pl $(XULPPFLAGS) $(DEFINES) $(ACDEFINES) \ + $(JAR_MANIFEST) | \ + $(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl \ +- -d $(MAKE_JARS_TARGET) -j $(DESTDIR)$(mozappdir)/chrome \ ++ -d $(MAKE_JARS_TARGET)/chrome -j $(DESTDIR)$(mozappdir)/chrome \ + $(MAKE_JARS_FLAGS) -- "$(XULPPFLAGS) $(DEFINES) $(ACDEFINES)"; \ +- $(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-chromelist.pl \ +- $(DESTDIR)$(mozappdir)/chrome $(JAR_MANIFEST) $(_NO_FLOCK); \ + fi + endif + + ifneq ($(DIST_FILES),) + libs:: $(DIST_FILES) + @$(EXIT_ON_ERROR) \ + for f in $(DIST_FILES); do \ + $(PERL) $(MOZILLA_DIR)/config/preprocessor.pl \ --- seamonkey-1.1.12+nobinonly.orig/debian/patches/11_fix_ftbfs_with_fontconfig.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/11_fix_ftbfs_with_fontconfig.patch @@ -0,0 +1,29 @@ +This is a work-around for intrepid. A cleaner fix could be to +tweak configure.in + +--- + gfx/src/ps/Makefile.in | 1 + + 1 file changed, 1 insertion(+) + +Index: seamonkey-1.1.11+nobinonly/gfx/src/ps/Makefile.in +=================================================================== +--- seamonkey-1.1.11+nobinonly.orig/gfx/src/ps/Makefile.in ++++ seamonkey-1.1.11+nobinonly/gfx/src/ps/Makefile.in +@@ -96,16 +96,17 @@ + $(EXTRA_DSO_LIBS) \ + $(MOZ_COMPONENT_LIBS) \ + $(MOZ_UNICHARUTIL_LIBS) \ + $(NULL) + + ifdef MOZ_ENABLE_XFT + EXTRA_DSO_LDOPTS += \ + $(MOZ_XFT_LIBS) \ ++ -lfontconfig \ + $(FT2_LIBS) \ + $(NULL) + endif + + ifneq (,$(MOZ_ENABLE_FREETYPE2)$(MOZ_ENABLE_XFT)) + CPPSRCS += \ + nsType1.cpp \ + $(NULL) --- seamonkey-1.1.12+nobinonly.orig/debian/patches/12_fix_ftbfs_with_nss.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/12_fix_ftbfs_with_nss.patch @@ -0,0 +1,30 @@ +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +# Fix a FTBFS with system libnss (caused by bad linking order with libcrmf) +# by Fabien Tassin + +Index: seamonkey-1.1.4/configure.in +=================================================================== +--- seamonkey-1.1.4.orig/configure.in ++++ seamonkey-1.1.4/configure.in +@@ -3735,17 +3735,17 @@ + [ --with-system-nss Use system installed NSS], + _USE_SYSTEM_NSS=1 ) + + if test -n "$_USE_SYSTEM_NSS"; then + AM_PATH_NSS(3.0.0, [MOZ_NATIVE_NSS=1], [MOZ_NATIVE_NSS=]) + fi + + if test -n "$MOZ_NATIVE_NSS"; then +- NSS_LIBS="$NSS_LIBS -lcrmf" ++ NSS_LIBS=" -lcrmf $NSS_LIBS" + else + NSS_CFLAGS='-I$(DIST)/public/nss' + NSS_DEP_LIBS='\\\ + $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) \\\ + $(DIST)/lib/$(DLL_PREFIX)smime'$NSS_VERSION'$(DLL_SUFFIX) \\\ + $(DIST)/lib/$(DLL_PREFIX)ssl'$NSS_VERSION'$(DLL_SUFFIX) \\\ + $(DIST)/lib/$(DLL_PREFIX)nss'$NSS_VERSION'$(DLL_SUFFIX) \\\ + $(DIST)/lib/$(DLL_PREFIX)softokn'$NSS_VERSION'$(DLL_SUFFIX)' --- seamonkey-1.1.12+nobinonly.orig/debian/patches/13_bz344818_att264996.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/13_bz344818_att264996.patch @@ -0,0 +1,97 @@ +--- mozilla/configure.in.bak 2007-04-27 12:06:53.000000000 -0700 ++++ mozilla/configure.in 2007-04-27 13:51:40.000000000 -0700 +@@ -6731,12 +6731,29 @@ if test "$MOZ_SVG_RENDERER_CAIRO" -o "$M + PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_VERSION) + MOZ_CAIRO_CFLAGS=$CAIRO_CFLAGS + MOZ_CAIRO_LIBS=$CAIRO_LIBS ++ ++ if test "$MOZ_X11"; then ++ if test "$MOZ_SVG_RENDERER_CAIRO"; then ++ PKG_CHECK_MODULES(CAIRO_XLIB, cairo-xlib >= $CAIRO_VERSION,,:) ++ MOZ_CAIRO_XLIB_CFLAGS=$CAIRO_XLIB_CFLAGS ++ MOZ_CAIRO_XLIB_LIBS="$XLDFLAGS $CAIRO_XLIB_LIBS" ++ fi ++ if test "$MOZ_ENABLE_CANVAS"; then ++ PKG_CHECK_MODULES(CAIRO_XRENDER, cairo-xlib-xrender >= $CAIRO_VERSION,,:) ++ MOZ_CAIRO_XRENDER_CFLAGS=$CAIRO_XRENDER_CFLAGS ++ MOZ_CAIRO_XRENDER_LIBS="$XLDFLAGS $CAIRO_XRENDER_LIBS" ++ fi ++ fi + fi + fi + + AC_SUBST(MOZ_TREE_CAIRO) + AC_SUBST(MOZ_CAIRO_CFLAGS) + AC_SUBST(MOZ_CAIRO_LIBS) ++AC_SUBST(MOZ_CAIRO_XLIB_CFLAGS) ++AC_SUBST(MOZ_CAIRO_XLIB_LIBS) ++AC_SUBST(MOZ_CAIRO_XRENDER_CFLAGS) ++AC_SUBST(MOZ_CAIRO_XRENDER_LIBS) + + dnl ======================================================== + dnl disable xul +--- mozilla/layout/build/Makefile.in.bak 2007-04-27 12:13:22.000000000 -0700 ++++ mozilla/layout/build/Makefile.in 2007-04-27 13:53:00.000000000 -0700 +@@ -234,6 +234,17 @@ EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \ + $(NULL) + endif + ++ifdef MOZ_X11 ++ifdef MOZ_SVG_RENDERER_CAIRO ++EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_XLIB_LIBS) \ ++ $(NULL) ++endif ++ifdef MOZ_ENABLE_CANVAS ++EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_XRENDER_LIBS) \ ++ $(NULL) ++endif ++endif ++ + ifneq (,$(filter mac cocoa gtk,$(MOZ_WIDGET_TOOLKIT))) + EXTRA_DSO_LDOPTS += \ + $(TK_LIBS) \ +--- mozilla/layout/svg/renderer/src/cairo/Makefile.in.bak 2007-04-27 13:55:51.000000000 -0700 ++++ mozilla/layout/svg/renderer/src/cairo/Makefile.in 2007-04-27 13:49:51.000000000 -0700 +@@ -93,6 +93,11 @@ LOCAL_INCLUDES = \ + -I$(topsrcdir)/gfx/src \ + $(NULL) + ++ifdef MOZ_X11 ++CFLAGS += $(MOZ_CAIRO_XLIB_CFLAGS) ++CXXFLAGS += $(MOZ_CAIRO_XLIB_CFLAGS) ++endif ++ + ifdef MOZ_ENABLE_GTK + LOCAL_INCLUDES += -I$(topsrcdir)/gfx/src/gtk + CFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) +--- mozilla/config/autoconf.mk.in.bak 2007-04-27 12:12:12.000000000 -0700 ++++ mozilla/config/autoconf.mk.in 2007-04-27 13:47:28.000000000 -0700 +@@ -207,6 +207,8 @@ MOZ_SVG_RENDERER_CAIRO = @MOZ_SVG_RENDER + MOZ_LIBART_CFLAGS = @MOZ_LIBART_CFLAGS@ + MOZ_ENABLE_CANVAS = @MOZ_ENABLE_CANVAS@ + MOZ_CAIRO_CFLAGS = @MOZ_CAIRO_CFLAGS@ ++MOZ_CAIRO_XLIB_CFLAGS = @MOZ_CAIRO_XLIB_CFLAGS@ ++MOZ_CAIRO_XRENDER_CFLAGS = @MOZ_CAIRO_XRENDER_CFLAGS@ + TX_EXE = @TX_EXE@ + + # Mac's don't like / in a #include, so we include the libart +@@ -218,6 +220,8 @@ endif + endif + MOZ_LIBART_LIBS = @MOZ_LIBART_LIBS@ + MOZ_CAIRO_LIBS = @MOZ_CAIRO_LIBS@ ++MOZ_CAIRO_XLIB_LIBS = @MOZ_CAIRO_XLIB_LIBS@ ++MOZ_CAIRO_XRENDER_LIBS = @MOZ_CAIRO_XRENDER_LIBS@ + + MOZ_ENABLE_GNOMEUI = @MOZ_ENABLE_GNOMEUI@ + MOZ_GNOMEUI_CFLAGS = @MOZ_GNOMEUI_CFLAGS@ +--- mozilla/content/canvas/src/Makefile.in.bak 2007-04-27 12:25:38.000000000 -0700 ++++ mozilla/content/canvas/src/Makefile.in 2007-04-27 12:25:00.000000000 -0700 +@@ -94,7 +94,7 @@ FORCE_STATIC_LIB = 1 + + include $(topsrcdir)/config/rules.mk + +-CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) ++CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_CAIRO_XRENDER_CFLAGS) $(TK_CFLAGS) + + ifneq (,$(filter mac cocoa,$(MOZ_GFX_TOOLKIT))) + # needed for nsDrawingSurfaceMac.h --- seamonkey-1.1.12+nobinonly.orig/debian/patches/15_pango_textarea_position.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/15_pango_textarea_position.patch @@ -0,0 +1,65 @@ +--- + gfx/src/gtk/nsFontMetricsPango.cpp | 15 ++------------- + 1 file changed, 2 insertions(+), 13 deletions(-) + +## 15_pango_textarea_position.patch converted from dpatch file initially by +# +# Fix for cursor position when moving in a textarea. bz#366796 + +Index: iceape-1.1.4/gfx/src/gtk/nsFontMetricsPango.cpp +=================================================================== +--- iceape-1.1.4.orig/gfx/src/gtk/nsFontMetricsPango.cpp ++++ iceape-1.1.4/gfx/src/gtk/nsFontMetricsPango.cpp +@@ -946,17 +946,16 @@ + } + + PRInt32 + nsFontMetricsPango::GetPosition(const PRUnichar *aText, PRUint32 aLength, + nsPoint aPt) + { + int trailing = 0; + int inx = 0; +- gboolean found = FALSE; + const gchar *curChar; + PRInt32 retval = 0; + + float f = mDeviceContext->AppUnitsToDevUnits(); + + PangoLayout *layout = pango_layout_new(mPangoContext); + PRUint32 localX = (PRUint32)(aPt.x * PANGO_SCALE * f); + PRUint32 localY = (PRUint32)(aPt.y * PANGO_SCALE * f); +@@ -972,32 +971,22 @@ + retval = -1; + goto loser; + } + + // Set up the pango layout + pango_layout_set_text(layout, text, strlen(text)); + FixupSpaceWidths(layout, text); + +- found = pango_layout_xy_to_index(layout, localX, localY, +- &inx, &trailing); ++ pango_layout_xy_to_index(layout, localX, localY, ++ &inx, &trailing); + + // Convert the index back to the utf-16 index + curChar = text; + +- // Jump to the end if it's not found. +- if (!found) { +- if (inx == 0) +- retval = 0; +- else if (trailing) +- retval = aLength; +- +- goto loser; +- } +- + for (PRUint32 curOffset=0; curOffset < aLength; + curOffset++, curChar = g_utf8_find_next_char(curChar, NULL)) { + + // Check for a match before checking for a surrogate pair + if (curChar - text == inx) { + retval = curOffset; + break; + } --- seamonkey-1.1.12+nobinonly.orig/debian/patches/18_arm_xpcom_unused_attribute.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/18_arm_xpcom_unused_attribute.patch @@ -0,0 +1,33 @@ +--- + xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +## 18_arm_xpcom_unused_attribute.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Steve Langasek to fix unused vs. used gcc attribute on arm. +# bz#307418 + +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp +@@ -40,17 +40,18 @@ + + #include "xptcprivate.h" + + #if !defined(LINUX) || !defined(__arm__) + #error "This code is for Linux ARM only. Please check if it works for you, too.\nDepends strongly on gcc behaviour." + #endif + + /* Specify explicitly a symbol for this function, don't try to guess the c++ mangled symbol. */ +-static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch"); ++static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch") ++__attribute__((used)); + + static nsresult + PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) + { + #define PARAM_BUFFER_COUNT 16 + + nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; + nsXPTCMiniVariant* dispatchParams = NULL; --- seamonkey-1.1.12+nobinonly.orig/debian/patches/20_force-no-pragma-visibility-for-gcc-4.2_4.3.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/20_force-no-pragma-visibility-for-gcc-4.2_4.3.patch @@ -0,0 +1,32 @@ +--- + configure.in | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +## 20_force-no-pragma-visibility-for-gcc-4.2_4.3.patch converted from dpatch file initially by John Vivirito +# +# No description. + +Index: iceape-1.1.4/configure.in +=================================================================== +--- iceape-1.1.4.orig/configure.in ++++ iceape-1.1.4/configure.in +@@ -2645,18 +2645,17 @@ + if test `grep -c "@PLT" conftest.S` = 0; then + ac_cv_visibility_builtin_bug=yes + fi + fi + rm -f conftest.{c,S} + ]) + if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \ + "$ac_cv_have_visibility_class_bug" = "no"; then +- VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h' +- WRAP_SYSTEM_INCLUDES=1 ++ VISIBILITY_FLAGS='-fvisibility=hidden' + else + VISIBILITY_FLAGS='-fvisibility=hidden' + fi # have visibility pragma bug + fi # have visibility pragma + fi # have visibility(default) attribute + fi # have visibility(hidden) attribute + fi # GNU_CC + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/25_entropy.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/25_entropy.patch @@ -0,0 +1,35 @@ +--- + security/nss/lib/freebl/unix_rand.c | 4 ++++ + 1 file changed, 4 insertions(+) + +## 25_entropy.patch converted from dpatch file initially by Mike Hommey +# +# Remove code that called netstat to gain so called entropy. It's pretty +# useless on a Linux system. Thanks Wichert Akkerman. bz#51429. + +Index: iceape-1.1.4/security/nss/lib/freebl/unix_rand.c +=================================================================== +--- iceape-1.1.4.orig/security/nss/lib/freebl/unix_rand.c ++++ iceape-1.1.4/security/nss/lib/freebl/unix_rand.c +@@ -871,17 +871,21 @@ + + #ifdef DARWIN + #include + #endif + + /* Fork netstat to collect its output by default. Do not unset this unless + * another source of entropy is available + */ ++#ifndef LINUX + #define DO_NETSTAT 1 ++#else ++#undef DO_NETSTAT ++#endif + + void RNG_SystemInfoForRNG(void) + { + FILE *fp; + char buf[BUFSIZ]; + size_t bytes; + const char * const *cp; + char *randfile; --- seamonkey-1.1.12+nobinonly.orig/debian/patches/25_gnome_helpers_with_params.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/25_gnome_helpers_with_params.patch @@ -0,0 +1,471 @@ +--- + uriloader/exthandler/Makefile.in | 2 + uriloader/exthandler/unix/nsGNOMERegistry.cpp | 25 ++- + uriloader/exthandler/unix/nsGNOMERegistry.h | 11 + + uriloader/exthandler/unix/nsMIMEInfoUnix.cpp | 196 ++++++++++++++++++++++++++ + uriloader/exthandler/unix/nsMIMEInfoUnix.h | 48 ++++++ + 5 files changed, 270 insertions(+), 12 deletions(-) + +## 25_gnome_helpers_with_params.patch converted from dpatch file initially by Mike Hommey +# +# Make helper applications with parameters work. Adapted patch from +# bz#273524 + +Index: iceape-1.1.4/uriloader/exthandler/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/uriloader/exthandler/Makefile.in ++++ iceape-1.1.4/uriloader/exthandler/Makefile.in +@@ -98,17 +98,17 @@ + nsInternetConfigService.cpp \ + nsMIMEInfoMac.cpp \ + $(NULL) + endif + + LOCAL_INCLUDES = -I$(srcdir) + + ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) +-OSHELPER += nsGNOMERegistry.cpp ++OSHELPER += nsMIMEInfoUnix.cpp nsGNOMERegistry.cpp + endif + + ifeq ($(MOZ_WIDGET_TOOLKIT),beos) + OSHELPER += nsMIMEInfoBeOS.cpp + endif + + ifeq ($(MOZ_WIDGET_TOOLKIT),windows) + OSHELPER += nsMIMEInfoWin.cpp +Index: iceape-1.1.4/uriloader/exthandler/unix/nsGNOMERegistry.cpp +=================================================================== +--- iceape-1.1.4.orig/uriloader/exthandler/unix/nsGNOMERegistry.cpp ++++ iceape-1.1.4/uriloader/exthandler/unix/nsGNOMERegistry.cpp +@@ -37,36 +37,35 @@ + * ***** END LICENSE BLOCK ***** */ + + #include "nsGNOMERegistry.h" + #include "prlink.h" + #include "prmem.h" + #include "nsString.h" + #include "nsIComponentManager.h" + #include "nsILocalFile.h" +-#include "nsMIMEInfoImpl.h" + #include "nsAutoPtr.h" + + #include + #include + + static PRLibrary *gconfLib; + static PRLibrary *gnomeLib; + static PRLibrary *vfsLib; + + typedef struct _GConfClient GConfClient; + typedef struct _GnomeProgram GnomeProgram; + typedef struct _GnomeModuleInfo GnomeModuleInfo; + +-typedef struct { ++struct GnomeVFSMimeApplication { + char *id; + char *name; + char *command; + /* there is more here, but we don't need it */ +-} GnomeVFSMimeApplication; ++}; + + typedef GConfClient * (*_gconf_client_get_default_fn)(); + typedef gchar * (*_gconf_client_get_string_fn)(GConfClient *, + const char *, GError **); + typedef gboolean (*_gconf_client_get_bool_fn)(GConfClient *, + const char *, GError **); + typedef gboolean (*_gnome_url_show_fn)(const char *, GError **); + typedef const char * (*_gnome_vfs_mime_type_from_name_fn)(const char *); +@@ -259,17 +258,17 @@ + + if (app) { + CopyUTF8toUTF16(app, aDesc); + g_free(app); + } + } + + +-/* static */ already_AddRefed ++/* static */ already_AddRefed + nsGNOMERegistry::GetFromExtension(const char *aFileExt) + { + if (!gconfLib) + return nsnull; + + // Get the MIME type from the extension, then call GetFromType to + // fill in the MIMEInfo. + +@@ -281,27 +280,27 @@ + + const char *mimeType = _gnome_vfs_mime_type_from_name(fileExtToUse.get()); + if (!strcmp(mimeType, "application/octet-stream")) + return nsnull; + + return GetFromType(mimeType); + } + +-/* static */ already_AddRefed ++/* static */ already_AddRefed + nsGNOMERegistry::GetFromType(const char *aMIMEType) + { + if (!gconfLib) + return nsnull; + + GnomeVFSMimeApplication *handlerApp = _gnome_vfs_mime_get_default_application(aMIMEType); + if (!handlerApp) + return nsnull; + +- nsRefPtr mimeInfo = new nsMIMEInfoImpl(aMIMEType); ++ nsRefPtr mimeInfo = new nsMIMEInfoUnix(aMIMEType); + NS_ENSURE_TRUE(mimeInfo, nsnull); + + // Get the list of extensions and append then to the mimeInfo. + GList *extensions = _gnome_vfs_mime_get_extensions_list(aMIMEType); + for (GList *extension = extensions; extension; extension = extension->next) + mimeInfo->AppendExtension(nsDependentCString((const char *) extension->data)); + + _gnome_vfs_mime_extensions_list_free(extensions); +@@ -315,21 +314,31 @@ + gchar *nativeCommand = g_filename_from_utf8(handlerApp->command, + -1, NULL, NULL, NULL); + if (!nativeCommand) { + NS_ERROR("Could not convert helper app command to filesystem encoding"); + _gnome_vfs_mime_application_free(handlerApp); + return nsnull; + } + +- gchar *commandPath = g_find_program_in_path(nativeCommand); ++ gchar **argv; ++ gboolean res = g_shell_parse_argv(nativeCommand, NULL, &argv, NULL); ++ if (!res) { ++ NS_ERROR("Could not convert helper app command to filesystem encoding"); ++ _gnome_vfs_mime_application_free(handlerApp); ++ return nsnull; ++ } ++ ++ gchar *commandPath = g_find_program_in_path(argv[0]); + + g_free(nativeCommand); ++ g_strfreev(argv); + + if (!commandPath) { ++ NS_WARNING("could not find command in path"); + _gnome_vfs_mime_application_free(handlerApp); + return nsnull; + } + + nsCOMPtr appFile; + NS_NewNativeLocalFile(nsDependentCString(commandPath), PR_TRUE, + getter_AddRefs(appFile)); + if (appFile) { +@@ -337,12 +346,12 @@ + mimeInfo->SetDefaultDescription(NS_ConvertUTF8toUCS2(handlerApp->name)); + mimeInfo->SetPreferredAction(nsIMIMEInfo::useSystemDefault); + } + + g_free(commandPath); + + _gnome_vfs_mime_application_free(handlerApp); + +- nsMIMEInfoBase* retval; ++ nsMIMEInfoUnix* retval; + NS_ADDREF((retval = mimeInfo)); + return retval; + } +Index: iceape-1.1.4/uriloader/exthandler/unix/nsGNOMERegistry.h +=================================================================== +--- iceape-1.1.4.orig/uriloader/exthandler/unix/nsGNOMERegistry.h ++++ iceape-1.1.4/uriloader/exthandler/unix/nsGNOMERegistry.h +@@ -30,29 +30,34 @@ + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + ++#ifndef nsGNOMERegistry_h__ ++#define nsGNOMERegistry_h__ ++ + #include "nsIURI.h" + #include "nsCOMPtr.h" + +-class nsMIMEInfoBase; ++#include "nsMIMEInfoUnix.h" + + class nsGNOMERegistry + { + public: + static void Startup(); + + static PRBool HandlerExists(const char *aProtocolScheme); + + static nsresult LoadURL(nsIURI *aURL); + + static void GetAppDescForScheme(const nsACString& aScheme, + nsAString& aDesc); + +- static already_AddRefed GetFromExtension(const char *aFileExt); ++ static already_AddRefed GetFromExtension(const char *aFileExt); + +- static already_AddRefed GetFromType(const char *aMIMEType); ++ static already_AddRefed GetFromType(const char *aMIMEType); + }; ++ ++#endif // nsGNOMERegistry_h__ +Index: iceape-1.1.4/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +=================================================================== +--- /dev/null ++++ iceape-1.1.4/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +@@ -0,0 +1,196 @@ ++/* ***** BEGIN LICENSE BLOCK ***** ++ * Version: MPL 1.1 ++ * ++ * 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 mozilla.org Code. ++ * ++ * The Initial Developer of the Original Code is ++ * Red Hat, Inc. ++ * Portions created by the Initial Developer are Copyright (C) 2005 ++ * the Initial Developer. All Rights Reserved. ++ * ++ * Contributor(s): ++ * Christopher Aillon (Original author) ++ * ++ * ++ * ***** END LICENSE BLOCK ***** */ ++ ++#include "nsMIMEInfoUnix.h" ++#include "prlink.h" ++#include "prmem.h" ++#include ++#include ++ ++static PRLibrary *gnomeLib; ++static PRLibrary *vfsLib; ++ ++typedef struct _GnomeProgram GnomeProgram; ++typedef struct _GnomeModuleInfo GnomeModuleInfo; ++ ++typedef enum { ++ GNOME_VFS_OK // there's more but we don't care about them. ++} GnomeVFSResult; ++ ++typedef GnomeVFSResult (*_gnome_vfs_mime_application_launch_fn) ++ (GnomeVFSMimeApplication *app, ++ GList *uris); ++typedef void (*_gnome_vfs_mime_application_free_fn)(GnomeVFSMimeApplication *); ++typedef GnomeVFSMimeApplication * (*_gnome_vfs_mime_application_copy_fn)(GnomeVFSMimeApplication *); ++typedef GnomeProgram * (*_gnome_program_init_fn)(const char *, const char *, ++ const GnomeModuleInfo *, int, ++ char **, const char *, ...); ++typedef const char * (*_gnome_vfs_mime_application_get_name_fn)(GnomeVFSMimeApplication *); ++typedef const GnomeModuleInfo * (*_libgnome_module_info_get_fn)(); ++typedef GnomeProgram * (*_gnome_program_get_fn)(); ++typedef char * (*_gnome_vfs_make_uri_from_input_fn)(const char *); ++ ++#define DECL_FUNC_PTR(func) static _##func##_fn _##func ++ ++DECL_FUNC_PTR(gnome_vfs_mime_application_launch); ++DECL_FUNC_PTR(gnome_vfs_mime_application_free); ++DECL_FUNC_PTR(gnome_vfs_mime_application_copy); ++DECL_FUNC_PTR(gnome_vfs_mime_application_get_name); ++DECL_FUNC_PTR(gnome_program_init); ++DECL_FUNC_PTR(gnome_program_get); ++DECL_FUNC_PTR(libgnome_module_info_get); ++DECL_FUNC_PTR(gnome_vfs_make_uri_from_input); ++ ++static PRLibrary * ++LoadVersionedLibrary(const char* libName, const char* libVersion) ++{ ++ char *platformLibName = PR_GetLibraryName(nsnull, libName); ++ nsCAutoString versionLibName(platformLibName); ++ versionLibName.Append(libVersion); ++ PR_Free(platformLibName); ++ return PR_LoadLibrary(versionLibName.get()); ++} ++ ++static void ++Cleanup() ++{ ++ // Unload all libraries ++ if (gnomeLib) ++ PR_UnloadLibrary(gnomeLib); ++ if (vfsLib) ++ PR_UnloadLibrary(vfsLib); ++ ++ gnomeLib = vfsLib = nsnull; ++} ++ ++static void ++InitGnomeVFS() ++{ ++ static PRBool initialized = PR_FALSE; ++ ++ if (initialized) ++ return; ++ ++ #define ENSURE_LIB(lib) \ ++ PR_BEGIN_MACRO \ ++ if (!lib) { \ ++ Cleanup(); \ ++ return; \ ++ } \ ++ PR_END_MACRO ++ ++ #define GET_LIB_FUNCTION(lib, func, failure) \ ++ PR_BEGIN_MACRO \ ++ _##func = (_##func##_fn) PR_FindFunctionSymbol(lib##Lib, #func); \ ++ if (!_##func) { \ ++ failure; \ ++ } \ ++ PR_END_MACRO ++ ++ // Attempt to open libgnome ++ gnomeLib = LoadVersionedLibrary("gnome-2", ".0"); ++ ENSURE_LIB(gnomeLib); ++ ++ GET_LIB_FUNCTION(gnome, gnome_program_init, return Cleanup()); ++ GET_LIB_FUNCTION(gnome, libgnome_module_info_get, return Cleanup()); ++ GET_LIB_FUNCTION(gnome, gnome_program_get, return Cleanup()); ++ ++ // Attempt to open libgnomevfs ++ vfsLib = LoadVersionedLibrary("gnomevfs-2", ".0"); ++ ENSURE_LIB(vfsLib); ++ ++ GET_LIB_FUNCTION(vfs, gnome_vfs_mime_application_launch, /* do nothing */); ++ GET_LIB_FUNCTION(vfs, gnome_vfs_make_uri_from_input, return Cleanup()); ++ GET_LIB_FUNCTION(vfs, gnome_vfs_mime_application_get_name, return Cleanup()); ++ GET_LIB_FUNCTION(vfs, gnome_vfs_mime_application_free, return Cleanup()); ++ GET_LIB_FUNCTION(vfs, gnome_vfs_mime_application_copy, return Cleanup()); ++ ++ // Initialize GNOME, if it's not already initialized. It's not ++ // necessary to tell GNOME about our actual command line arguments. ++ ++ if (!_gnome_program_get()) { ++ char *argv[1] = { "gecko" }; ++ _gnome_program_init("Gecko", "1.0", _libgnome_module_info_get(), ++ 1, argv, NULL); ++ } ++ ++ // Note: after GNOME has been initialized, do not ever unload these ++ // libraries. They register atexit handlers, so if they are unloaded, we'll ++ // crash on exit. ++} ++ ++void ++nsMIMEInfoUnix::SetDefaultGnomeVFSMimeApplication(GnomeVFSMimeApplication* app) ++{ ++ if (_gnome_vfs_mime_application_copy && _gnome_vfs_mime_application_free) { ++ mDefaultVFSApplication = _gnome_vfs_mime_application_copy(app); ++ ++ mPreferredAction = nsIMIMEInfo::useSystemDefault; ++ ++ const gchar * name = _gnome_vfs_mime_application_get_name(mDefaultVFSApplication); ++ if (name) ++ mDefaultAppDescription = NS_ConvertUTF8toUCS2(name); ++ } ++} ++ ++nsMIMEInfoUnix::~nsMIMEInfoUnix() ++{ ++ if (mDefaultVFSApplication) ++ _gnome_vfs_mime_application_free(mDefaultVFSApplication); ++} ++ ++nsresult ++nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) ++{ ++ NS_ENSURE_ARG_POINTER(aFile); ++ ++ InitGnomeVFS(); ++ ++ if (_gnome_vfs_mime_application_launch && mDefaultVFSApplication) { ++ nsCAutoString nativePath; ++ aFile->GetNativePath(nativePath); ++ ++ gchar *uri = _gnome_vfs_make_uri_from_input(nativePath.get()); ++ ++ GList *uris = NULL; ++ uris = g_list_append(uris, uri); ++ ++ GnomeVFSResult result = _gnome_vfs_mime_application_launch(mDefaultVFSApplication, uris); ++ ++ g_free(uri); ++ g_list_free(uris); ++ ++ if (result != GNOME_VFS_OK) ++ return NS_ERROR_FAILURE; ++ ++ return NS_OK; ++ } ++ ++ if (!mDefaultApplication) ++ return NS_ERROR_FILE_NOT_FOUND; ++ ++ return LaunchWithIProcess(mDefaultApplication, aFile); ++} +Index: iceape-1.1.4/uriloader/exthandler/unix/nsMIMEInfoUnix.h +=================================================================== +--- /dev/null ++++ iceape-1.1.4/uriloader/exthandler/unix/nsMIMEInfoUnix.h +@@ -0,0 +1,48 @@ ++/* ***** BEGIN LICENSE BLOCK ***** ++ * Version: MPL 1.1 ++ * ++ * 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 mozilla.org Code. ++ * ++ * The Initial Developer of the Original Code is ++ * Red Hat, Inc. ++ * Portions created by the Initial Developer are Copyright (C) 2005 ++ * the Initial Developer. All Rights Reserved. ++ * ++ * Contributor(s): ++ * Christopher Aillon (Original author) ++ * ++ * ++ * ***** END LICENSE BLOCK ***** */ ++ ++#ifndef nsMimeInfoUnix_h__ ++#define nsMimeInfoUnix_h__ ++ ++#include "nsMIMEInfoImpl.h" ++ ++struct GnomeVFSMimeApplication; ++ ++class nsMIMEInfoUnix : public nsMIMEInfoImpl ++{ ++public: ++ nsMIMEInfoUnix(const char* aType = "") : nsMIMEInfoImpl(aType), mDefaultVFSApplication(nsnull) {} ++ virtual ~nsMIMEInfoUnix(); ++ ++ void SetDefaultGnomeVFSMimeApplication(GnomeVFSMimeApplication *app); ++ ++protected: ++ virtual NS_HIDDEN_(nsresult) LaunchDefaultWithFile(nsIFile* aFile); ++ ++ GnomeVFSMimeApplication *mDefaultVFSApplication; ++}; ++ ++#endif // nsMimeInfoUnix_h__ --- seamonkey-1.1.12+nobinonly.orig/debian/patches/25_pango_null_char.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/25_pango_null_char.patch @@ -0,0 +1,38 @@ +--- + layout/generic/nsTextTransformer.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +## 35_pango_null_char.patch converted from dpatch file initially by.dpatch by +# +# Avoid freeze/crash when null characters are present in justified text +# by discarding NULL characters before displaying. bz#366902 +# I don't like to have the two backends do different things, so we +# just unconditionally apply the workaround. + +Index: iceape-1.1.4/layout/generic/nsTextTransformer.h +=================================================================== +--- iceape-1.1.4.orig/layout/generic/nsTextTransformer.h ++++ iceape-1.1.4/layout/generic/nsTextTransformer.h +@@ -73,20 +73,20 @@ + #endif // IBMBIDI + + // For now, we have only a couple of characters to strip out. If we get + // any more, change this to use a bitset to lookup into. + // CH_SHY - soft hyphen (discretionary hyphen) + #ifdef IBMBIDI + // added BIDI formatting codes + #define IS_DISCARDED(_ch) \ +- (((_ch) == CH_SHY) || ((_ch) == '\r') || IS_BIDI_CONTROL(_ch)) ++ (((_ch) == CH_SHY) || ((_ch) == '\r') || IS_BIDI_CONTROL(_ch) || ((_ch) == '\0')) + #else + #define IS_DISCARDED(_ch) \ +- (((_ch) == CH_SHY) || ((_ch) == '\r')) ++ (((_ch) == CH_SHY) || ((_ch) == '\r') || ((_ch) == '\0')) + #endif + + #define IS_ASCII_CHAR(ch) ((ch&0xff80) == 0) + + #define NS_TEXT_TRANSFORMER_AUTO_WORD_BUF_SIZE 128 // used to be 256 + + // Indicates whether the transformed text should be left as ascii + #define NS_TEXT_TRANSFORMER_LEAVE_AS_ASCII 1 --- seamonkey-1.1.12+nobinonly.orig/debian/patches/25_xrender_bug_workaround.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/25_xrender_bug_workaround.patch @@ -0,0 +1,64 @@ +--- + gfx/src/gtk/nsFontMetricsXft.cpp | 32 ++++++++++++++++++++------------ + 1 file changed, 20 insertions(+), 12 deletions(-) + +## 25_xrender_bug_workaround.patch converted from dpatch file initially by Mike Hommey +# +# Patch to work around a bug in XRender. bz#252033 +# Ultimately, the rendering is going to be done by cairo, so the bug +# will disappear by itself when the gtk gfx engine will stop being used. + +Index: iceape-1.1.4/gfx/src/gtk/nsFontMetricsXft.cpp +=================================================================== +--- iceape-1.1.4.orig/gfx/src/gtk/nsFontMetricsXft.cpp ++++ iceape-1.1.4/gfx/src/gtk/nsFontMetricsXft.cpp +@@ -2194,29 +2194,37 @@ + mSpecBuffer[mSpecPos].glyph = glyph; + ++mSpecPos; + } + + void + nsAutoDrawSpecBuffer::Flush() + { + if (mSpecPos) { +- // Some Xft libraries will crash if none of the glyphs have any +- // area. So before we draw, we scan through the glyphs. If we +- // find any that have area, we can draw. +- for (PRUint32 i = 0; i < mSpecPos; i++) { +- XftGlyphFontSpec *sp = &mSpecBuffer[i]; +- XGlyphInfo info; +- XftGlyphExtents(GDK_DISPLAY(), sp->font, &sp->glyph, 1, &info); +- if (info.width && info.height) { +- // If we get here it means we found a drawable glyph. We will +- // Draw all the remaining glyphs and then break out of the loop +- XftDrawGlyphFontSpec(mDraw, mColor, mSpecBuffer+i, mSpecPos-i); +- break; ++ // There are two Xft problems to work around here: ++ // 1. Some Xft libraries reportedly crash if none of the ++ // glyphs have any area. ++ // 2. Because of an apparent X server bug (see bug 252033), ++ // a glyph with no area may cause all following glyphs to be ++ // dropped under some circumstances. ++ // For this reason, we manually ship out blocks of glyphs with ++ // area and skip blocks of glyphs with no area. ++ PRUint32 start = 0; ++ while (start < mSpecPos) { ++ PRUint32 i; ++ for (i = start; i < mSpecPos; i++) { ++ XftGlyphFontSpec *sp = &mSpecBuffer[i]; ++ XGlyphInfo info; ++ XftGlyphExtents(GDK_DISPLAY(), sp->font, &sp->glyph, 1, &info); ++ if (!info.width || !info.height) ++ break; + } ++ if (i > start) ++ XftDrawGlyphFontSpec(mDraw, mColor, mSpecBuffer+start, i-start); ++ start = i + 1; + } + mSpecPos = 0; + } + } + + // Static functions + + /* static */ --- seamonkey-1.1.12+nobinonly.orig/debian/patches/30_embedding_tests.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/30_embedding_tests.patch @@ -0,0 +1,123 @@ +--- + config/autoconf.mk.in | 1 + + configure.in | 14 ++++++++++++++ + embedding/browser/gtk/Makefile.in | 5 ++++- + embedding/browser/gtk/gtkembed.pkg | 2 ++ + 4 files changed, 21 insertions(+), 1 deletion(-) + +## 30_embedding_tests.patch converted from dpatch file initially by Mike Hommey +# +# embedding tests. bz#93213 + +Index: iceape-1.1.4/config/autoconf.mk.in +=================================================================== +--- iceape-1.1.4.orig/config/autoconf.mk.in ++++ iceape-1.1.4/config/autoconf.mk.in +@@ -109,16 +109,17 @@ + MOZ_CALENDAR = @MOZ_CALENDAR@ + MOZ_PLAINTEXT_EDITOR_ONLY = @MOZ_PLAINTEXT_EDITOR_ONLY@ + MOZ_COMPOSER = @MOZ_COMPOSER@ + BUILD_SHARED_LIBS = @BUILD_SHARED_LIBS@ + BUILD_STATIC_LIBS = @BUILD_STATIC_LIBS@ + MOZ_STATIC_COMPONENT_LIBS = @MOZ_STATIC_COMPONENT_LIBS@ + MOZ_ENABLE_LIBXUL = @MOZ_ENABLE_LIBXUL@ + ENABLE_TESTS = @ENABLE_TESTS@ ++ENABLE_EMBEDDING_TESTS = @ENABLE_EMBEDDING_TESTS@ + IBMBIDI = @IBMBIDI@ + SUNCTL = @SUNCTL@ + ACCESSIBILITY = @ACCESSIBILITY@ + MOZ_VIEW_SOURCE = @MOZ_VIEW_SOURCE@ + MOZ_XPINSTALL = @MOZ_XPINSTALL@ + MOZ_JSLOADER = @MOZ_JSLOADER@ + MOZ_USE_NATIVE_UCONV = @MOZ_USE_NATIVE_UCONV@ + MOZ_SINGLE_PROFILE = @MOZ_SINGLE_PROFILE@ +Index: iceape-1.1.4/configure.in +=================================================================== +--- iceape-1.1.4.orig/configure.in ++++ iceape-1.1.4/configure.in +@@ -5512,16 +5512,29 @@ + dnl ======================================================== + dnl build the tests by default + dnl ======================================================== + MOZ_ARG_DISABLE_BOOL(tests, + [ --disable-tests Do not build test libraries & programs], + ENABLE_TESTS=, + ENABLE_TESTS=1 ) + ++ ++dnl ======================================================== ++dnl you can enable some tests even if tests are disabled by ++dnl previous option ++dnl ======================================================== ++ENABLE_EMBEDDING_TESTS=$ENABLE_TESTS ++MOZ_ARG_ENABLE_BOOL(embedding-tests, ++[ --enable-embedding-tests ++ Do build embedding tests libraries & programs, ++ even if tests are disabled], ++ ENABLE_EMBEDDING_TESTS=1, ++ ENABLE_EMBEDDING_TESTS= ) ++ + dnl ======================================================== + dnl = + dnl = Module specific options + dnl = + dnl ======================================================== + MOZ_ARG_HEADER(Individual module options) + + dnl ======================================================== +@@ -7145,16 +7158,17 @@ + AC_SUBST(MOZ_ENABLE_XINERAMA) + + AC_SUBST(XPCOM_USE_LEA) + AC_SUBST(BUILD_SHARED_LIBS) + AC_SUBST(BUILD_STATIC_LIBS) + AC_SUBST(MOZ_STATIC_COMPONENT_LIBS) + AC_SUBST(MOZ_ENABLE_LIBXUL) + AC_SUBST(ENABLE_TESTS) ++AC_SUBST(ENABLE_EMBEDDING_TESTS) + AC_SUBST(IBMBIDI) + AC_SUBST(SUNCTL) + AC_SUBST(ACCESSIBILITY) + AC_SUBST(MOZ_XPINSTALL) + AC_SUBST(MOZ_VIEW_SOURCE) + AC_SUBST(MOZ_SINGLE_PROFILE) + AC_SUBST(MOZ_XPFE_COMPONENTS) + AC_SUBST(MOZ_USER_DIR) +Index: iceape-1.1.4/embedding/browser/gtk/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/embedding/browser/gtk/Makefile.in ++++ iceape-1.1.4/embedding/browser/gtk/Makefile.in +@@ -39,13 +39,16 @@ + DEPTH = ../../.. + topsrcdir = @top_srcdir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + + MODULE = gtkembedmoz +-DIRS=src tests ++DIRS = src ++ifdef ENABLE_EMBEDDING_TESTS ++DIRS += tests ++endif + + PACKAGE_FILE = gtkembed.pkg + + include $(topsrcdir)/config/rules.mk +Index: iceape-1.1.4/embedding/browser/gtk/gtkembed.pkg +=================================================================== +--- iceape-1.1.4.orig/embedding/browser/gtk/gtkembed.pkg ++++ iceape-1.1.4/embedding/browser/gtk/gtkembed.pkg +@@ -1,9 +1,11 @@ + [gtkembed] + dist/bin/@DLLP@gtkembedmoz@DLLS@ ++#if ENABLE_EMBEDDING_TESTS + dist/bin/TestGtkEmbed ++#endif + + #if ENABLE_TESTS + dist/bin/TestGtkEmbedNotebook@BINS@ + dist/bin/TestGtkEmbedSocket@BINS@ + dist/bin/TestGtkEmbedChild@BINS@ + #endif --- seamonkey-1.1.12+nobinonly.orig/debian/patches/30_killAll.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/30_killAll.patch @@ -0,0 +1,31 @@ +--- + xpfe/components/killAll/Makefile.in | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +## 30_killAll.patch converted from dpatch file initially by Mike Hommey +# +# Correctly install the killAll component. bz#333289. + +Index: iceape-1.1.4/xpfe/components/killAll/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpfe/components/killAll/Makefile.in ++++ iceape-1.1.4/xpfe/components/killAll/Makefile.in +@@ -37,16 +37,15 @@ + + DEPTH = ../../.. + topsrcdir = @top_srcdir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + +-include $(topsrcdir)/config/rules.mk ++EXTRA_COMPONENTS = nsKillAll.js + +-libs:: +- $(INSTALL) $(srcdir)/nsKillAll.js $(DIST)/bin/components ++include $(topsrcdir)/config/rules.mk + + clean:: + rm -f $(DIST)/bin/components/nsKillAll.js + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/32_print_command.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/32_print_command.patch @@ -0,0 +1,50 @@ +--- + modules/libpref/src/init/all.js | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +## 32_print_command.patch converted from dpatch file initially by Mike Hommey +# +# Fix printer configurations. bz#326245. + +Index: iceape-1.1.4/modules/libpref/src/init/all.js +=================================================================== +--- iceape-1.1.4.orig/modules/libpref/src/init/all.js ++++ iceape-1.1.4/modules/libpref/src/init/all.js +@@ -1882,17 +1882,17 @@ + pref("java.private_java_version_file", "~/.java/versions"); + pref("java.default_java_location_solaris", "/usr/j2se"); + pref("java.default_java_location_others", "/usr/java"); + pref("java.java_plugin_library_name", "javaplugin_oji"); + pref("applications.telnet", "xterm -e telnet %h %p"); + pref("applications.tn3270", "xterm -e tn3270 %h"); + pref("applications.rlogin", "xterm -e rlogin %h"); + pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u"); +-pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); ++pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}"); + pref("print.printer_list", ""); // list of printers, separated by spaces + pref("print.print_reversed", false); + pref("print.print_color", true); + pref("print.print_landscape", false); + pref("print.print_paper_size", 0); + + // Enables you to specify the gap from the edge of the paper to the margin + // this is used by both Printing and Print Preview +@@ -2219,17 +2219,17 @@ + + /* Xprint print module prefs */ + pref("print.xprint.font.force_outline_scaled_fonts", true); + + /* PostScript print module prefs */ + // pref("print.postscript.enabled", true); + pref("print.postscript.paper_size", "letter"); + pref("print.postscript.orientation", "portrait"); +-pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); ++pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}"); + + /* PostScript print module font config + * this list is used by the postscript font + * to enumerate the list of langGroups + * there should be a call to get the + * langGroups; see bug 75054 + */ + pref("print.postscript.nativefont.ar", ""); --- seamonkey-1.1.12+nobinonly.orig/debian/patches/35_mail_navigator_overlay.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/35_mail_navigator_overlay.patch @@ -0,0 +1,54 @@ +--- + mailnews/base/resources/content/contents.rdf | 1 + + xpfe/browser/resources/content/navigator.xul | 1 - + 2 files changed, 1 insertion(+), 1 deletion(-) + +## 35_mail_navigator_overlay.patch converted from dpatch file initially by.dpatch by +# +# Set the overlay for mailnews options in navigator in mailnews instead +# of navigator. bz#365701 + +Index: iceape-1.1.4/mailnews/base/resources/content/contents.rdf +=================================================================== +--- iceape-1.1.4.orig/mailnews/base/resources/content/contents.rdf ++++ iceape-1.1.4/mailnews/base/resources/content/contents.rdf +@@ -60,16 +60,17 @@ + + + chrome://messenger/content/mailTasksOverlay.xul + + + + + chrome://messenger/content/mailOverlay.xul ++ chrome://navigator/content/mailNavigatorOverlay.xul + + + + + chrome://messenger/content/mailMessengerOverlay.xul + + + chrome://messenger/content/mailMessengerOverlay.xul +Index: iceape-1.1.4/xpfe/browser/resources/content/navigator.xul +=================================================================== +--- iceape-1.1.4.orig/xpfe/browser/resources/content/navigator.xul ++++ iceape-1.1.4/xpfe/browser/resources/content/navigator.xul +@@ -37,17 +37,16 @@ + the terms of any one of the MPL, the GPL or the LGPL. + + ***** END LICENSE BLOCK ***** --> + + + + + +- + + + + + + + + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/35_theme_switch.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/35_theme_switch.patch @@ -0,0 +1,374 @@ +--- + layout/base/nsPresContext.cpp | 141 +++++++++++++++++++++++++++++++++++++++--- + layout/base/nsPresContext.h | 13 +++ + 2 files changed, 144 insertions(+), 10 deletions(-) + +## 35_theme_switch.patch converted from dpatch file initially by +# +# Fix for hang up when switching GTK theme. bz#352096 + +Index: seamonkey-1.1.6/layout/base/nsPresContext.cpp +=================================================================== +--- seamonkey-1.1.6.orig/layout/base/nsPresContext.cpp ++++ seamonkey-1.1.6/layout/base/nsPresContext.cpp +@@ -68,16 +68,19 @@ + #include "nsIWeakReferenceUtils.h" + #include "nsCSSRendering.h" + #include "prprf.h" + #include "nsContentPolicyUtils.h" + #include "nsIScriptGlobalObject.h" + #include "nsIDOMDocument.h" + #include "nsAutoPtr.h" + #include "nsEventStateManager.h" ++#include "nsIEventQueue.h" ++#include "nsIEventQueueService.h" ++ + #ifdef IBMBIDI + #include "nsBidiPresUtils.h" + #endif // IBMBIDI + + #include "nsContentUtils.h" + + // Needed for Start/Stop of Image Animation + #include "imgIContainer.h" +@@ -262,16 +265,17 @@ + nsContentUtils::UnregisterPrefCallback("bidi.", PrefChangedCallback, this); + + delete mBidiUtils; + #endif // IBMBIDI + + NS_IF_RELEASE(mDeviceContext); + NS_IF_RELEASE(mLookAndFeel); + NS_IF_RELEASE(mLangGroup); ++ NS_IF_RELEASE(mEventQueueService); + } + + NS_IMPL_ISUPPORTS2(nsPresContext, nsPresContext, nsIObserver) + + #define MAKE_FONT_PREF_KEY(_pref, _s0, _s1) \ + _pref.Assign(_s0); \ + _pref.Append(_s1); + +@@ -280,16 +284,27 @@ + ".fixed.", + ".serif.", + ".sans-serif.", + ".monospace.", + ".cursive.", + ".fantasy." + }; + ++// Set to true when LookAndFeelChanged needs to be called. This is used ++// because the look and feel is a service, so there's no need to notify it from ++// more than one prescontext. ++static PRBool sLookAndFeelChanged; ++ ++// Set to true when ThemeChanged needs to be called on mTheme. This is used ++// because mTheme is a service, so there's no need to notify it from more than ++// one prescontext. ++static PRBool sThemeChanged; ++ ++ + void + nsPresContext::GetFontPreferences() + { + if (!mLangGroup) + return; + + /* Fetch the font prefs to be used -- see bug 61883 for details. + Not all prefs are needed upfront. Some are fallback prefs intended +@@ -711,16 +726,19 @@ + nsContentUtils::RegisterPrefCallback("image.animation_mode", + nsPresContext::PrefChangedCallback, + this); + #ifdef IBMBIDI + nsContentUtils::RegisterPrefCallback("bidi.", PrefChangedCallback, + this); + #endif + ++ rv = CallGetService(NS_EVENTQUEUESERVICE_CONTRACTID, &mEventQueueService); ++ NS_ENSURE_SUCCESS(rv, rv); ++ + // Initialize our state from the user preferences + GetUserPreferences(); + + rv = mEventManager->Init(); + NS_ENSURE_SUCCESS(rv, rv); + + mEventManager->SetPresContext(this); + +@@ -1192,59 +1210,162 @@ + } + + return mTheme; + } + + void + nsPresContext::ThemeChanged() + { ++ if (!mPendingThemeChanged) { ++ sLookAndFeelChanged = PR_TRUE; ++ sThemeChanged = PR_TRUE; ++ ++ nsCOMPtr eventQ; ++ mEventQueueService-> ++ GetSpecialEventQueue(nsIEventQueueService::UI_THREAD_EVENT_QUEUE, ++ getter_AddRefs(eventQ)); ++ if (!eventQ) { ++ return; ++ } ++ ++ PLEvent* evt = new PLEvent(); ++ if (!evt) { ++ return; ++ } ++ ++ PL_InitEvent(evt, this, nsPresContext::ThemeChangedInternal, ++ nsPresContext::DestroyThemeChangeEvt); ++ ++ // After this point, event destruction will release |this| ++ NS_ADDREF_THIS(); ++ ++ nsresult rv = eventQ->PostEvent(evt); ++ if (NS_FAILED(rv)) { ++ PL_DestroyEvent(evt); ++ } else { ++ mPendingThemeChanged = PR_TRUE; ++ } ++ } ++} ++ ++void* PR_CALLBACK ++nsPresContext::ThemeChangedInternal(PLEvent *aEvent) ++{ ++ nsPresContext* pc = NS_STATIC_CAST(nsPresContext*, aEvent->owner); ++ ++ pc->mPendingThemeChanged = PR_FALSE; ++ + // Tell the theme that it changed, so it can flush any handles to stale theme + // data. +- if (mTheme) +- mTheme->ThemeChanged(); ++ if (pc->mTheme && sThemeChanged) { ++ pc->mTheme->ThemeChanged(); ++ sThemeChanged = PR_FALSE; ++ } + + // Clear all cached nsILookAndFeel colors. +- if (mLookAndFeel) +- mLookAndFeel->LookAndFeelChanged(); ++ if (pc->mLookAndFeel && sLookAndFeelChanged) { ++ pc->mLookAndFeel->LookAndFeelChanged(); ++ sLookAndFeelChanged = PR_FALSE; ++ } + + // We have to clear style data because the assumption of style rule + // immutability has been violated since any style rule that uses + // system colors or fonts (and probably -moz-appearance as well) has + // changed. +- nsPresContext::ClearStyleDataAndReflow(); ++ pc->ClearStyleDataAndReflow(); ++ ++ return nsnull; ++} ++ ++ ++void PR_CALLBACK ++nsPresContext::DestroyThemeChangeEvt(PLEvent* aEvent) ++{ ++ nsPresContext* pc = NS_STATIC_CAST(nsPresContext*, aEvent->owner); ++ NS_RELEASE(pc); ++ delete aEvent; + } + + void + nsPresContext::SysColorChanged() + { +- if (mLookAndFeel) { ++ if (!mPendingSysColorChanged) { ++ sLookAndFeelChanged = PR_TRUE; ++ ++ nsCOMPtr eventQ; ++ mEventQueueService-> ++ GetSpecialEventQueue(nsIEventQueueService::UI_THREAD_EVENT_QUEUE, ++ getter_AddRefs(eventQ)); ++ if (!eventQ) { ++ return; ++ } ++ ++ PLEvent* evt = new PLEvent(); ++ if (!evt) { ++ return; ++ } ++ ++ PL_InitEvent(evt, this, nsPresContext::SysColorChangedInternal, ++ nsPresContext::DestroySysColorChangeEvt); ++ ++ // After this point, event destruction will release |this| ++ NS_ADDREF_THIS(); ++ ++ nsresult rv = eventQ->PostEvent(evt); ++ if (NS_FAILED(rv)) { ++ PL_DestroyEvent(evt); ++ } else { ++ mPendingSysColorChanged = PR_TRUE; ++ } ++ } ++} ++ ++void* PR_CALLBACK ++nsPresContext::SysColorChangedInternal(PLEvent *aEvent) ++{ ++ nsPresContext* pc = NS_STATIC_CAST(nsPresContext*, aEvent->owner); ++ ++ pc->mPendingSysColorChanged = PR_FALSE; ++ ++ if (pc->mLookAndFeel && sLookAndFeelChanged) { + // Don't use the cached values for the system colors +- mLookAndFeel->LookAndFeelChanged(); ++ pc->mLookAndFeel->LookAndFeelChanged(); ++ sLookAndFeelChanged = PR_FALSE; + } +- ++ + // Reset default background and foreground colors for the document since + // they may be using system colors +- GetDocumentColorPreferences(); ++ pc->GetDocumentColorPreferences(); + + // Clear out all of the style data since it may contain RGB values + // which originated from system colors. + nsCOMPtr imageService; + nsresult result; + imageService = do_GetService(kSelectionImageService, &result); + if (NS_SUCCEEDED(result) && imageService) + { + imageService->Reset(); + } + + // We need to do a full reflow (and view update) here. Clearing the style + // data without reflowing/updating views will lead to incorrect change hints + // later, because when generating change hints, any style structs which have + // been cleared and not reread are assumed to not be used at all. +- ClearStyleDataAndReflow(); ++ pc->ClearStyleDataAndReflow(); ++ ++ return nsnull; ++} ++ ++void PR_CALLBACK ++nsPresContext::DestroySysColorChangeEvt(PLEvent* aEvent) ++{ ++ nsPresContext* pc = NS_STATIC_CAST(nsPresContext*, aEvent->owner); ++ NS_RELEASE(pc); ++ delete aEvent; + } + + void + nsPresContext::GetPageDim(nsRect* aActualRect, nsRect* aAdjRect) + { + if (mMedium == nsLayoutAtoms::print) { + if (aActualRect) { + PRInt32 width, height; +Index: seamonkey-1.1.6/layout/base/nsPresContext.h +=================================================================== +--- seamonkey-1.1.6.orig/layout/base/nsPresContext.h ++++ seamonkey-1.1.6/layout/base/nsPresContext.h +@@ -51,16 +51,17 @@ + #include "nsIWeakReference.h" + #include "nsITheme.h" + #include "nsILanguageAtomService.h" + #include "nsIObserver.h" + #include "nsITimer.h" + #include "nsCRT.h" + #include "nsIPrintSettings.h" + #include "nsPropertyTable.h" ++#include "plevent.h" + #ifdef IBMBIDI + class nsBidiPresUtils; + #endif // IBMBIDI + + struct nsRect; + + class imgIRequest; + +@@ -71,16 +72,17 @@ + class nsFrameManager; + class nsIImage; + class nsILinkHandler; + class nsStyleContext; + class nsIAtom; + class nsIEventStateManager; + class nsIURI; + class nsILookAndFeel; ++class nsIEventQueueService; + class nsICSSPseudoComparator; + class nsIAtom; + struct nsStyleStruct; + struct nsStyleBackground; + + #ifdef MOZ_REFLOW_PERF + class nsIRenderingContext; + #endif +@@ -625,16 +627,24 @@ + * to actual nscoord values. + */ + const nscoord* GetBorderWidthTable() { return mBorderWidthTable; } + + // Is this presentation in a chrome docshell? + PRBool IsChrome(); + + protected: ++ static NS_HIDDEN_(void*) PR_CALLBACK ThemeChangedInternal(PLEvent* aEvent); ++ static NS_HIDDEN_(void*) PR_CALLBACK SysColorChangedInternal(PLEvent* aEvent); ++ static NS_HIDDEN_(void) PR_CALLBACK DestroyThemeChangeEvt(PLEvent* aEvent); ++ static NS_HIDDEN_(void) PR_CALLBACK DestroySysColorChangeEvt(PLEvent* aEvent); ++ ++ friend void* PR_CALLBACK ThemeChangedInternal(PLEvent* aEvent); ++ friend void* PR_CALLBACK SysColorChangedInternal(PLEvent* aEvent); ++ + NS_HIDDEN_(void) SetImgAnimations(nsIContent *aParent, PRUint16 aMode); + NS_HIDDEN_(void) GetDocumentColorPreferences(); + + NS_HIDDEN_(void) PreferenceChanged(const char* aPrefName); + static NS_HIDDEN_(int) PR_CALLBACK PrefChangedCallback(const char*, void*); + + NS_HIDDEN_(void) UpdateAfterPreferencesChanged(); + static NS_HIDDEN_(void) PR_CALLBACK PrefChangedUpdateTimerCallback(nsITimer *aTimer, void *aClosure); +@@ -652,16 +662,17 @@ + nsIPresShell* mShell; // [WEAK] + nsIDeviceContext* mDeviceContext; // [STRONG] could be weak, but + // better safe than sorry. + // Cannot reintroduce cycles + // since there is no dependency + // from gfx back to layout. + nsIEventStateManager* mEventManager; // [STRONG] + nsILookAndFeel* mLookAndFeel; // [STRONG] ++ nsIEventQueueService *mEventQueueService; // [STRONG] + nsIAtom* mMedium; // initialized by subclass ctors; + // weak pointer to static atom + + nsILinkHandler* mLinkHandler; // [WEAK] + nsIAtom* mLangGroup; // [STRONG] + + nsSupportsHashtable mImageLoaders; + nsWeakPtr mContainer; +@@ -722,16 +733,18 @@ + unsigned mDrawColorBackground : 1; + unsigned mNeverAnimate : 1; + unsigned mIsRenderingOnlySelection : 1; + unsigned mNoTheme : 1; + unsigned mPaginated : 1; + unsigned mCanPaginatedScroll : 1; + unsigned mDoScaledTwips : 1; + unsigned mEnableJapaneseTransform : 1; ++ unsigned mPendingSysColorChanged : 1; ++ unsigned mPendingThemeChanged : 1; + #ifdef IBMBIDI + unsigned mIsVisual : 1; + unsigned mIsBidiSystem : 1; + + PRUint32 mBidi; + #endif + #ifdef DEBUG + PRBool mInitialized; --- seamonkey-1.1.12+nobinonly.orig/debian/patches/35_zip_cache.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/35_zip_cache.patch @@ -0,0 +1,109 @@ +--- + modules/libjar/nsJAR.cpp | 12 +++++++++++- + modules/libjar/nsJAR.h | 5 +++++ + 2 files changed, 16 insertions(+), 1 deletion(-) + +## 35_zip_cache.patch converted from dpatch file initially by Mike Hommey +# +# Invalidate cache for a zip file that got modified. It will prevent +# corruption of the XUL FastLoad cache when upgrade is performed +# while an instance of the application is running. bz#368428. + +Index: iceape-1.1.4/modules/libjar/nsJAR.cpp +=================================================================== +--- iceape-1.1.4.orig/modules/libjar/nsJAR.cpp ++++ iceape-1.1.4/modules/libjar/nsJAR.cpp +@@ -209,16 +209,17 @@ + //---------------------------------------------- + // nsIZipReader implementation + //---------------------------------------------- + + NS_IMETHODIMP + nsJAR::Init(nsIFile* zipFile) + { + mZipFile = zipFile; ++ zipFile->GetLastModifiedTime(&mMtime); + mLock = PR_NewLock(); + return mLock ? NS_OK : NS_ERROR_OUT_OF_MEMORY; + } + + NS_IMETHODIMP + nsJAR::GetFile(nsIFile* *result) + { + *result = mZipFile; +@@ -1211,25 +1212,34 @@ + #ifdef ZIP_CACHE_HIT_RATE + mZipCacheLookups++; + #endif + + nsCAutoString path; + rv = zipFile->GetNativePath(path); + if (NS_FAILED(rv)) return rv; + ++ PRInt64 Mtime; ++ rv = zipFile->GetLastModifiedTime(&Mtime); ++ if (NS_FAILED(rv)) return rv; ++ + nsCStringKey key(path); + nsJAR* zip = NS_STATIC_CAST(nsJAR*, NS_STATIC_CAST(nsIZipReader*,mZips.Get(&key))); // AddRefs +- if (zip) { ++ if (zip && LL_EQ(Mtime, zip->GetMtime())) { + #ifdef ZIP_CACHE_HIT_RATE + mZipCacheHits++; + #endif + zip->ClearReleaseTime(); + } + else { ++ if (zip) { ++ lock.unlock(); ++ mZips.Remove(&key); ++ lock.lock(); ++ } + zip = new nsJAR(); + if (zip == nsnull) + return NS_ERROR_OUT_OF_MEMORY; + NS_ADDREF(zip); + zip->SetZipReaderCache(this); + + rv = zip->Init(zipFile); + if (NS_FAILED(rv)) { +Index: iceape-1.1.4/modules/libjar/nsJAR.h +=================================================================== +--- iceape-1.1.4.orig/modules/libjar/nsJAR.h ++++ iceape-1.1.4/modules/libjar/nsJAR.h +@@ -112,30 +112,35 @@ + void ClearReleaseTime() { + mReleaseTime = PR_INTERVAL_NO_TIMEOUT; + } + + void SetZipReaderCache(nsZipReaderCache* cache) { + mCache = cache; + } + ++ PRInt64 GetMtime() { ++ return mMtime; ++ } ++ + PRFileDesc* OpenFile(); + protected: + //-- Private data members + nsCOMPtr mZipFile; // The zip/jar file on disk + nsZipArchive mZip; // The underlying zip archive + nsObjectHashtable mManifestData; // Stores metadata for each entry + PRBool mParsedManifest; // True if manifest has been parsed + nsCOMPtr mPrincipal; // The entity which signed this file + PRInt16 mGlobalStatus; // Global signature verification status + PRIntervalTime mReleaseTime; // used by nsZipReaderCache for flushing entries + nsZipReaderCache* mCache; // if cached, this points to the cache it's contained in + PRLock* mLock; + PRInt32 mTotalItemsInManifest; + PRFileDesc* mFd; ++ PRInt64 mMtime; + + //-- Private functions + nsresult ParseManifest(nsISignatureVerifier* verifier); + void ReportError(const char* aFilename, PRInt16 errorCode); + nsresult LoadEntry(const char* aFilename, char** aBuf, + PRUint32* aBufLen = nsnull); + PRInt32 ReadLine(const char** src); + nsresult ParseOneFile(nsISignatureVerifier* verifier, --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_arm_xpcom_optim.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_arm_xpcom_optim.patch @@ -0,0 +1,29 @@ +--- + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +## 38_arm_xpcom_optim.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Antti P Miettinen to fix small optimization problem with +# newer gcc's on arm. bz#322806 + +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp +@@ -207,14 +207,14 @@ + "addle sp, sp, r4 \n\t" /* and restore stack pointer */ + "movle r4, #0 \n\t" /* a mark for restoring sp */ + "ldr r0, [%1, #0] \n\t" /* get (self) */ + "mov lr, pc \n\t" /* call mathod */ + "mov pc, ip \n\t" + "add sp, sp, r4 \n\t" /* restore stack pointer */ + "mov %0, r0 \n\t" /* the result... */ + : "=r" (result) +- : "r" (&my_params) ++ : "r" (&my_params), "m" (my_params) + : "r0", "r1", "r2", "r3", "r4", "ip", "lr", "sp" + ); + + return result; + } --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_hppa_xpcom.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_hppa_xpcom.patch @@ -0,0 +1,257 @@ +--- + xpcom/reflect/xptcall/src/md/unix/Makefile.in | 14 + + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s | 128 ++++++++++ + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s | 73 +++++ + 3 files changed, 215 insertions(+) + +## 38_hppa_xpcom.patch converted from dpatch file initially by Mike Hommey +# +# patch from Ivar (Contributed by Randolph Chung) to fix Firefox on hppa. +# bz#287150 + +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +@@ -180,16 +180,30 @@ + ASFILES := xptcstubs_asm_ipf32.s xptcinvoke_asm_ipf32.s + endif + + # #18875 Building the CPP's (CXX) optimized causes a crash + CXXFLAGS := $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS)) + endif + endif + ++# ++# Linux/HPPA/GCC ++# ++ifeq ($(OS_ARCH),Linux) ++ifneq (,$(filter hppa,$(OS_TEST))) ++ifeq ($(CC),gcc) ++CPPSRCS := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp ++ASFILES := xptcstubs_asm_parisc_linux.s xptcinvoke_asm_parisc_linux.s ++CXXFLAGS += -O0 ++endif ++endif ++endif ++ ++ + ###################################################################### + # M68k + ###################################################################### + # + # NetBSD/m68k + # + ifeq ($(OS_ARCH),NetBSD) + ifneq (,$(filter amiga atari hp300 mac68k mvme68k next68k sun3 sun3x x68k,$(OS_TEST))) +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s +=================================================================== +--- /dev/null ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s +@@ -0,0 +1,128 @@ ++ ++ .LEVEL 1.1 ++ .text ++ .align 4 ++ ++framesz: ++ .equ 128 ++ ++; XPTC_InvokeByIndex(nsISuppots* that, PRUint32 methodIndex, ++; PRUint32 paramCount, nsXPTCVariant* params); ++ ++.globl XPTC_InvokeByIndex ++ .type XPTC_InvokeByIndex, @function ++ ++ ++XPTC_InvokeByIndex: ++ .PROC ++ .CALLINFO FRAME=72, CALLER,SAVE_RP, SAVE_SP, ENTRY_GR=3 ++ .ENTRY ++ ++ ; frame marker takes 48 bytes, ++ ; register spill area takes 8 bytes, ++ ; local stack area takes 72 bytes result in 128 bytes total ++ ++ STW %rp,-20(%sp) ++ STW,MA %r3,128(%sp) ++ ++ LDO -framesz(%r30),%r28 ++ STW %r28,-4(%r30) ; save previous sp ++ STW %r19,-32(%r30) ++ ++ STW %r26,-36-framesz(%r30) ; save argument registers in ++ STW %r25,-40-framesz(%r30) ; in PREVIOUS frame ++ STW %r24,-44-framesz(%r30) ; ++ STW %r23,-48-framesz(%r30) ; ++ ++; B,L .+8,%r2 ++; ADDIL L'invoke_count_bytes-$PIC_pcrel$1+4,%r2,%r1 ++; ; LDO R'invoke_count_bytes-$PIC_pcrel$2+8(%r1),%r1 ++;$PIC_pcrel$1 ++; LDSID (%r1),%r31 ++;$PIC_pcrel$2 ++; MTSP %r31,%sr0 ++ ++ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR ;in=24,25,26;out=28 ++ BL invoke_count_bytes,%r31 ++ COPY %r31,%r2 ++ ++ CMPIB,>= 0,%r28, .+76 ++ COPY %r30,%r3 ; copy stack ptr to saved stack ptr ++ ADD %r30,%r28,%r30 ; extend stack frame ++ LDW -4(%r3),%r28 ; move frame ++ STW %r28,-4(%r30) ++ LDW -8(%r3),%r28 ++ STW %r28,-8(%r30) ++ LDW -12(%r3),%r28 ++ STW %r28,-12(%r30) ++ LDW -16(%r3),%r28 ++ STW %r28,-16(%r30) ++ LDW -20(%r3),%r28 ++ STW %r28,-20(%r30) ++ LDW -24(%r3),%r28 ++ STW %r28,-24(%r30) ++ LDW -28(%r3),%r28 ++ STW %r28,-28(%r30) ++ LDW -32(%r3),%r28 ++ STW %r28,-32(%r30) ++ ++ LDO -40(%r30),%r26 ; load copy address ++ LDW -44-framesz(%r3),%r25 ; load rest of 2 arguments ++ LDW -48-framesz(%r3),%r24 ; ++ ++ LDW -32(%r30),%r19 ; shared lib call destroys r19; reload ++; B,L .+8,%r2 ++; ADDIL L'invoke_copy_to_stack-$PIC_pcrel$3+4,%r2,%r1 ++; LDO R'invoke_copy_to_stack-$PIC_pcrel$4+8(%r1),%r1 ++;$PIC_pcrel$3 ++; LDSID (%r1),%r31 ++;$PIC_pcrel$4 ++; MTSP %r31,%sr0 ++ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR ;in=24,25,26 ++ BL invoke_copy_to_stack,%r31 ++ COPY %r31,%r2 ++ ++ LDO -48(%r30),%r20 ++ EXTRW,U,= %r28,31,1,%r22 ++ FLDD 0(%r20),%fr7 ; load double arg 1 ++ EXTRW,U,= %r28,30,1,%r22 ++ FLDW 8(%r20),%fr5L ; load float arg 1 ++ EXTRW,U,= %r28,29,1,%r22 ++ FLDW 4(%r20),%fr6L ; load float arg 2 ++ EXTRW,U,= %r28,28,1,%r22 ++ FLDW 0(%r20),%fr7L ; load float arg 3 ++ ++ LDW -36-framesz(%r3),%r26 ; load ptr to 'that' ++ LDW -40(%r30),%r25 ; load the rest of dispatch argument registers ++ LDW -44(%r30),%r24 ++ LDW -48(%r30),%r23 ++ ++ LDW -36-framesz(%r3),%r20 ; load vtable addr ++ LDW -40-framesz(%r3),%r28 ; load index ++ LDW 0(%r20),%r20 ; follow vtable ++; LDO 0(%r20),%r20 ; offset vtable by 16 bytes (g++: 8, aCC: 16) ++ SH2ADDL %r28,%r20,%r28 ; add 4*index to vtable entry ++ LDW 0(%r28),%r22 ; load vtable entry ++ ++; B,L .+8,%r2 ++; ADDIL L'$$dyncall_external-$PIC_pcrel$5+4,%r2,%r1 ++; LDO R'$$dyncall_external-$PIC_pcrel$6+8(%r1),%r1 ++;$PIC_pcrel$5 ++; LDSID (%r1),%r31 ++;$PIC_pcrel$6 ++; MTSP %r31,%sr0 ++ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR,ARGW3=GR,RTNVAL=GR ;in=22-26;out=28; ++ BL $$dyncall,%r31 ++ COPY %r31,%r2 ++ ++ LDW -32(%r30),%r19 ++ COPY %r3,%r30 ; restore saved stack ptr ++ ++ LDW -148(%sp),%rp ++ LDWM -128(%sp),%r3 ++ BV,N (%rp) ++ NOP ++ .EXIT ++ .PROCEND ;in=23,24,25,26; ++ .SIZE XPTC_InvokeByIndex, .-XPTC_InvokeByIndex ++ +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s +=================================================================== +--- /dev/null ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s +@@ -0,0 +1,73 @@ ++ .LEVEL 1.1 ++ .TEXT ++ .ALIGN 4 ++ ++curframesz: ++ .EQU 128 ++ ++ ++; SharedStub has stack size of 128 bytes ++ ++lastframesz: ++ .EQU 64 ++ ++; the StubN C++ function has a small stack size of 64 bytes ++ ++ ++.globl SharedStub ++ .type SharedStub, @function ++ ++SharedStub: ++ .PROC ++ .CALLINFO CALLER,FRAME=80,SAVE_RP ++ ++ .ENTRY ++ STW %rp,-20(%sp) ++ LDO 128(%sp),%sp ++ ++ STW %r19,-32(%r30) ++ STW %r26,-36-curframesz(%r30) ; save arg0 in previous frame ++ ++ LDO -80(%r30),%r28 ++ FSTD,MA %fr5,8(%r28) ; save darg0 ++ FSTD,MA %fr7,8(%r28) ; save darg1 ++ FSTW,MA %fr4L,4(%r28) ; save farg0 ++ FSTW,MA %fr5L,4(%r28) ; save farg1 ++ FSTW,MA %fr6L,4(%r28) ; save farg2 ++ FSTW,MA %fr7L,4(%r28) ; save farg3 ++ ++ ; Former value of register 26 is already properly saved by StubN, ++ ; but register 25-23 are not because of the arguments mismatch ++ STW %r25,-40-curframesz-lastframesz(%r30) ; save r25 ++ STW %r24,-44-curframesz-lastframesz(%r30) ; save r24 ++ STW %r23,-48-curframesz-lastframesz(%r30) ; save r23 ++ COPY %r26,%r25 ; method index is arg1 ++ LDW -36-curframesz-lastframesz(%r30),%r26 ; self is arg0 ++ LDO -40-curframesz-lastframesz(%r30),%r24 ; normal args is arg2 ++ LDO -80(%r30),%r23 ; floating args is arg3 ++ ++; BL .+8,%r2 ++; ADDIL L'PrepareAndDispatch-$PIC_pcrel$0+4,%r2 ++; LDO R'PrepareAndDispatch-$PIC_pcrel$1+8(%r1),%r1 ++;$PIC_pcrel$0 ++; LDSID (%r1),%r31 ++;$PIC_pcrel$1 ++; MTSP %r31,%sr0 ++ .CALL ARGW0=GR,ARGW1=GR,ARGW2=GR,ARGW3=GR,RTNVAL=GR ;in=23-26;out=28; ++ BL PrepareAndDispatch, %r31 ++ COPY %r31,%r2 ++ ++ LDW -32(%r30),%r19 ++ ++ LDW -148(%sp),%rp ++ LDO -128(%sp),%sp ++ ++ ++ BV,N (%rp) ++ NOP ++ NOP ++ ++ .EXIT ++ .PROCEND ;in=26;out=28; ++ ++ .SIZE SharedStub, .-SharedStub --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_ia64_align.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_ia64_align.patch @@ -0,0 +1,95 @@ +--- + extensions/transformiix/source/base/Double.cpp | 35 ++++++++++++------------- + 1 file changed, 17 insertions(+), 18 deletions(-) + +## 38_ia64_align.patch converted from dpatch file initially by Mike Hommey +# +# Patch from David Mosberger-Tang (fixed up by Eric Dorland) to fix +# unaligned access on ia64 (and perhaps other platforms). bz#289394. + +Index: iceape-1.1.4/extensions/transformiix/source/base/Double.cpp +=================================================================== +--- iceape-1.1.4.orig/extensions/transformiix/source/base/Double.cpp ++++ iceape-1.1.4/extensions/transformiix/source/base/Double.cpp +@@ -70,33 +70,32 @@ + * differently: the 32 bit words are in little endian byte order, the two words + * are stored in big endian`s way. + */ + + #if defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__) + #define CPU_IS_ARM + #endif + +-#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2 +-/** +- * This version of the macros is safe for the alias optimizations +- * that gcc does, but uses gcc-specific extensions. +- */ +- + typedef union txdpun { +- PRFloat64 d; + struct { + #if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM) + PRUint32 lo, hi; + #else + PRUint32 hi, lo; + #endif + } s; ++ PRFloat64 d; + } txdpun; + ++#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2 ++/** ++ * This version of the macros is safe for the alias optimizations ++ * that gcc does, but uses gcc-specific extensions. ++ */ + #define TX_DOUBLE_HI32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.hi; })) + #define TX_DOUBLE_LO32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.lo; })) + + #else // __GNUC__ + + /* We don't know of any non-gcc compilers that perform alias optimization, + * so this code should work. + */ +@@ -112,30 +111,30 @@ + #endif // __GNUC__ + + #define TX_DOUBLE_HI32_SIGNBIT 0x80000000 + #define TX_DOUBLE_HI32_EXPMASK 0x7ff00000 + #define TX_DOUBLE_HI32_MANTMASK 0x000fffff + + //-- Initialize Double related constants + #ifdef IS_BIG_ENDIAN +-const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK, +- 0xffffffff}; +-const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0}; +-const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}; ++const txdpun nanMask = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK, ++ 0xffffffff}; ++const txdpun infMask = {TX_DOUBLE_HI32_EXPMASK, 0}; ++const txdpun negInfMask = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}; + #else +-const PRUint32 nanMask[2] = {0xffffffff, +- TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK}; +-const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK}; +-const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}; ++const txdpun nanMask = {0xffffffff, ++ TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK}; ++const txdpun infMask = {0, TX_DOUBLE_HI32_EXPMASK}; ++const txdpun negInfMask = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}; + #endif + +-const double Double::NaN = *((double*)nanMask); +-const double Double::POSITIVE_INFINITY = *((double*)infMask); +-const double Double::NEGATIVE_INFINITY = *((double*)negInfMask); ++const double Double::NaN = nanMask.d; ++const double Double::POSITIVE_INFINITY = infMask.d; ++const double Double::NEGATIVE_INFINITY = negInfMask.d; + + /* + * Determines whether the given double represents positive or negative + * inifinity + */ + MBool Double::isInfinite(double aDbl) + { + return ((TX_DOUBLE_HI32(aDbl) & ~TX_DOUBLE_HI32_SIGNBIT) == TX_DOUBLE_HI32_EXPMASK && --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_kbsd.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_kbsd.patch @@ -0,0 +1,936 @@ +--- + configure.in | 7 + directory/c-sdk/config/nsinstall.c | 2 + directory/c-sdk/configure | 15 +- + directory/c-sdk/configure.in | 15 +- + directory/c-sdk/ldap/include/portable.h | 21 +- + directory/c-sdk/ldap/libraries/libldap/Makefile.client | 4 + directory/c-sdk/ldap/libraries/libldap/Makefile.in | 4 + directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c | 2 + security/coreconf/Linux.mk | 71 ++-------- + security/coreconf/Linux2.6.mk | 3 + security/coreconf/arch.mk | 8 + + security/coreconf/config.mk | 2 + security/nss/lib/freebl/unix_rand.c | 3 + security/nss/lib/ssl/sslmutex.c | 2 + security/nss/lib/ssl/sslmutex.h | 2 + xpcom/reflect/xptcall/src/md/unix/Makefile.in | 2 + xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h | 2 + 17 files changed, 78 insertions(+), 87 deletions(-) + +## 38_kbsd.patch converted from dpatch file initially by Petr Salinger +# +# GNU/kFreeBSD support. bz#356011 + +Index: seamonkey-1.1.6/configure.in +=================================================================== +--- seamonkey-1.1.6.orig/configure.in ++++ seamonkey-1.1.6/configure.in +@@ -828,16 +828,17 @@ + + if test -n "$CROSS_COMPILE"; then + OS_TARGET="${target_os}" + OS_ARCH=`echo $target_os | sed -e 's|/|_|g'` + OS_RELEASE= + OS_TEST="${target_cpu}" + case "${target_os}" in + linux*) OS_ARCH=Linux ;; ++ kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;; + solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; + mingw*) OS_ARCH=WINNT ;; + wince*) OS_ARCH=WINCE ;; + darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;; + esac + else + OS_TARGET=`uname -s` + OS_ARCH=`uname -s | sed -e 's|/|_|g'` +@@ -1330,17 +1331,17 @@ + *-darwin*) + HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX -DXP_MACOSX -DNO_X11" + HOST_NSPR_MDCPUCFG='\"md/_darwin.cfg\"' + HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}" + MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(DIST)/bin' + LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) $(DIST)/bin/XUL -lobjc' + ;; + +-*-linux*) ++*-linux*|*-kfreebsd*-gnu) + HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX" + HOST_NSPR_MDCPUCFG='\"md/_linux.cfg\"' + HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}" + ;; + + *os2*) + HOST_CFLAGS="$HOST_CFLAGS -DXP_OS2 -DNO_X11 -Zomf" + HOST_NSPR_MDCPUCFG='\"md/_os2.cfg\"' +@@ -2294,17 +2295,17 @@ + AC_DEFINE(MOZ_OJI_REQUIRE_THREAD_SAFE_ON_STARTUP) + ;; + esac + + dnl ======================================================== + dnl = Flags to strip unused symbols from .so components + dnl ======================================================== + case "$target" in +- *-linux*) ++ *-linux*|*-kfreebsd*-gnu) + MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,--version-script -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-version-script' + ;; + *-solaris*) + if test -z "$GNU_CC"; then + MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-M $(BUILD_TOOLS)/gnu-ld-scripts/components-mapfile' + else + if test -z "$GCC_USE_GNU_LD"; then + MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,-M -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-mapfile' +@@ -2924,17 +2925,17 @@ + AC_DEFINE(_THREAD_SAFE) + dnl -pthread links in -lc_r, so don't specify it explicitly. + if test "$ac_cv_have_dash_pthread" = "yes"; then + _PTHREAD_LDFLAGS="-pthread" + LDFLAGS="${_PTHREAD_LDFLAGS} ${LDFLAGS}" + fi + ;; + +- *-*-linux*) ++ *-*-linux*|*-*-kfreebsd*-gnu) + AC_DEFINE(_REENTRANT) + ;; + + *-*-nto*) + AC_DEFINE(_REENTRANT) + ;; + + *-aix4.3*|*-aix5*) +Index: seamonkey-1.1.6/directory/c-sdk/config/nsinstall.c +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/config/nsinstall.c ++++ seamonkey-1.1.6/directory/c-sdk/config/nsinstall.c +@@ -104,17 +104,17 @@ + if (result) { + buf[strlen(buf)-1] = '\0'; + } + pclose (pwd); + return buf; + } + #endif /* NEXTSTEP */ + +-#ifdef LINUX ++#if defined(LINUX) || defined(__GLIBC__) || defined(__GNU__) + #include + #endif + + #if defined(SCO) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(NEXTSTEP) + #if !defined(S_ISLNK) && defined(S_IFLNK) + #define S_ISLNK(a) (((a) & S_IFMT) == S_IFLNK) + #endif + #endif +Index: seamonkey-1.1.6/directory/c-sdk/configure +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/configure ++++ seamonkey-1.1.6/directory/c-sdk/configure +@@ -2748,16 +2748,17 @@ + ASFLAGS='$(CFLAGS)' + + if test -n "$CROSS_COMPILE"; then + OS_ARCH=`echo $target_os | sed -e 's|/|_|g'` + OS_RELEASE= + OS_TEST="${target_cpu}" + case "${target_os}" in + linux*) OS_ARCH=Linux ;; ++ kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;; + solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; + mingw*) OS_ARCH=WINNT ;; + darwin*) OS_ARCH=Darwin ;; + esac + else + OS_ARCH=`uname -s | sed -e 's|/|_|g'` + OS_RELEASE=`uname -r` + OS_TEST=`uname -m` +@@ -3761,17 +3762,17 @@ + cat >> confdefs.h <<\EOF + #define _PR_HAVE_SGI_PRDA_PROCMASK 1 + EOF + + ;; + esac + ;; + +-*-linux*) ++*-linux*|*-kfreebsd*-gnu) + if test -z "$USE_NSPR_THREADS"; then + USE_PTHREADS=1 + IMPL_STRATEGY=_PTH + fi + cat >> confdefs.h <<\EOF + #define XP_UNIX 1 + EOF + +@@ -3790,24 +3791,28 @@ + cat >> confdefs.h <<\EOF + #define _LARGEFILE64_SOURCE 1 + EOF + + cat >> confdefs.h <<\EOF + #define HAVE_FCNTL_FILE_LOCKING 1 + EOF + +- cat >> confdefs.h <<\EOF ++ case "${target_os}" in ++ linux*) ++ cat >> confdefs.h <<\EOF + #define LINUX 1 + EOF + +- cat >> confdefs.h <<\EOF ++ cat >> confdefs.h <<\EOF + #define linux 1 + EOF + ++ ;; ++ esac + LD='$(CC)' + CFLAGS="$CFLAGS -ansi -Wall" + CXXFLAGS="$CXXFLAGS -ansi -Wall" + MDCPUCFG_H=_linux.cfg + PR_MD_CSRCS=linux.c + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' +@@ -5276,17 +5281,17 @@ + cat >> confdefs.h <<\EOF + #define _THREAD_SAFE 1 + EOF + + if test "$ac_cv_have_dash_pthread" = "yes"; then + _PTHREAD_LDFLAGS= + fi + ;; +- *-linux*) ++ *-linux*|*-kfreebsd*-gnu) + cat >> confdefs.h <<\EOF + #define _REENTRANT 1 + EOF + + ;; + esac + + else +@@ -5399,17 +5404,17 @@ + + cat >> confdefs.h <<\EOF + #define _PR_HAVE_GETHOST_R_POINTER 1 + EOF + + fi + fi + ;; +-*-linux*) ++*-linux*|*-kfreebsd*-gnu) + if test -n "$USE_NSPR_THREADS"; then + cat >> confdefs.h <<\EOF + #define _PR_LOCAL_THREADS_ONLY 1 + EOF + + fi + ;; + *-mingw*|*-cygwin*|*-msvc*|*-mks*) +Index: seamonkey-1.1.6/directory/c-sdk/configure.in +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/configure.in ++++ seamonkey-1.1.6/directory/c-sdk/configure.in +@@ -559,16 +559,17 @@ + ASFLAGS='$(CFLAGS)' + + if test -n "$CROSS_COMPILE"; then + OS_ARCH=`echo $target_os | sed -e 's|/|_|g'` + OS_RELEASE= + OS_TEST="${target_cpu}" + case "${target_os}" in + linux*) OS_ARCH=Linux ;; ++ kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;; + solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; + mingw*) OS_ARCH=WINNT ;; + darwin*) OS_ARCH=Darwin ;; + esac + else + OS_ARCH=`uname -s | sed -e 's|/|_|g'` + OS_RELEASE=`uname -r` + OS_TEST=`uname -m` +@@ -1259,29 +1260,33 @@ + irix5*) + ;; + *) + AC_DEFINE(_PR_HAVE_SGI_PRDA_PROCMASK) + ;; + esac + ;; + +-*-linux*) ++*-linux*|*-kfreebsd*-gnu) + if test -z "$USE_NSPR_THREADS"; then + USE_PTHREADS=1 + IMPL_STRATEGY=_PTH + fi + AC_DEFINE(XP_UNIX) + AC_DEFINE(_POSIX_SOURCE) + AC_DEFINE(_BSD_SOURCE) + AC_DEFINE(_SVID_SOURCE) + AC_DEFINE(_LARGEFILE64_SOURCE) + AC_DEFINE(HAVE_FCNTL_FILE_LOCKING) +- AC_DEFINE(LINUX) +- AC_DEFINE(linux) ++ case "${target_os}" in ++ linux*) ++ AC_DEFINE(LINUX) ++ AC_DEFINE(linux) ++ ;; ++ esac + LD='$(CC)' + CFLAGS="$CFLAGS -ansi -Wall" + CXXFLAGS="$CXXFLAGS -ansi -Wall" + MDCPUCFG_H=_linux.cfg + PR_MD_CSRCS=linux.c + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' +@@ -2182,17 +2187,17 @@ + ;; + *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*) + AC_DEFINE(_THREAD_SAFE) + dnl -pthread links in -lc_r, so don't specify it explicitly. + if test "$ac_cv_have_dash_pthread" = "yes"; then + _PTHREAD_LDFLAGS= + fi + ;; +- *-linux*) ++ *-linux*|*-kfreebsd*-gnu) + AC_DEFINE(_REENTRANT) + ;; + esac + + else + if test -n "$USE_USER_PTHREADS"; then + USE_PTHREADS= + USE_NSPR_THREADS= +@@ -2258,17 +2263,17 @@ + *-irix*) + if test "${target_os}" = "irix6.5"; then + if test -n "$USE_PTHREADS"; then + AC_DEFINE(_PR_HAVE_GETHOST_R) + AC_DEFINE(_PR_HAVE_GETHOST_R_POINTER) + fi + fi + ;; +-*-linux*) ++*-linux*|*-kfreebsd*-gnu) + if test -n "$USE_NSPR_THREADS"; then + AC_DEFINE(_PR_LOCAL_THREADS_ONLY) + fi + ;; + *-mingw*|*-cygwin*|*-msvc*|*-mks*) + dnl win32 does not use pthreads + USE_PTHREADS= + _PTHREAD_LDFLAGS= +Index: seamonkey-1.1.6/directory/c-sdk/ldap/include/portable.h +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/ldap/include/portable.h ++++ seamonkey-1.1.6/directory/c-sdk/ldap/include/portable.h +@@ -126,17 +126,17 @@ + #else + #define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT ) + #endif + + /* + * some systems don't have the BSD re_comp and re_exec routines + */ + #ifndef NEED_BSDREGEX +-#if ( defined( SYSV ) || defined( NETBSD ) || defined( freebsd ) || defined( linux ) || defined( DARWIN )) && !defined(sgi) ++#if ( defined( SYSV ) || defined( NETBSD ) || defined( freebsd ) || defined( linux ) || defined(__GNU__) || defined(__GLIBC__) || defined( DARWIN )) && !defined(sgi) + #define NEED_BSDREGEX + #endif + #endif + + /* + * many systems do not have the setpwfile() library routine... we just + * enable use for those systems we know have it. + */ +@@ -155,17 +155,17 @@ + #endif + #endif + + + /* + * Is snprintf() part of the standard C runtime library? + */ + #if !defined(HAVE_SNPRINTF) +-#if defined(SOLARIS) || defined(LINUX) || defined(HPUX) ++#if defined(SOLARIS) || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) || defined(HPUX) + #define HAVE_SNPRINTF + #endif + #endif + + + /* + * Async IO. Use a non blocking implementation of connect() and + * dns functions +@@ -175,17 +175,17 @@ + #define LDAP_ASYNC_IO + #endif /* _WINDOWS */ + #endif + + /* + * for select() + */ + #if !defined(WINSOCK) && !defined(_WINDOWS) && !defined(macintosh) && !defined(XP_OS2) +-#if defined(hpux) || defined(LINUX) || defined(SUNOS4) || defined(XP_BEOS) ++#if defined(hpux) || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) || defined(SUNOS4) || defined(XP_BEOS) + #include + #else + #include + #endif + #if !defined(FD_SET) + #define NFDBITS 32 + #define FD_SETSIZE 32 + #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) +@@ -262,41 +262,40 @@ + #define HAVE_TIME_R + #endif + + #if defined( sunos5 ) || defined( aix ) + #define HAVE_GETPWNAM_R + #define HAVE_GETGRNAM_R + #endif + +-#if defined(SNI) || defined(LINUX1_2) ++#if defined(SNI) || defined(LINUX1_2) || defined(__GNU__) || defined(__GLIBC__) + int strcasecmp(const char *, const char *); + #ifdef SNI + int strncasecmp(const char *, const char *, int); +-#endif /* SNI */ +-#ifdef LINUX1_2 ++#else /* SNI */ + int strncasecmp(const char *, const char *, size_t); +-#endif /* LINUX1_2 */ +-#endif /* SNI || LINUX1_2 */ ++#endif ++#endif /* SNI || LINUX1_2 || __GNU__ || __GLIBC__ */ + + #if defined(_WINDOWS) || defined(macintosh) || defined(XP_OS2) || defined(DARWIN) + #define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n ) + #define NSLDAPI_CTIME( c, b, l ) ctime( c ) + #define STRTOK( s1, s2, l ) strtok( s1, s2 ) + #elif defined(XP_BEOS) + #define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n ) + #define NSLDAPI_CTIME( c, b, l ) ctime_r( c, b ) + #define STRTOK( s1, s2, l ) strtok_r( s1, s2, l ) + #define HAVE_STRTOK_R + #else /* UNIX */ + #if defined(sgi) || defined(HPUX9) || defined(LINUX1_2) || defined(SCOOS) || \ + defined(UNIXWARE) || defined(SUNOS4) || defined(SNI) || defined(BSDI) || \ + defined(NCR) || defined(OSF1) || defined(NEC) || defined(VMS) || \ + ( defined(HPUX10) && !defined(_REENTRANT)) || defined(HPUX11) || \ +- defined(UnixWare) || defined(LINUX) || defined(NETBSD) || \ ++ defined(UnixWare) || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) || defined(NETBSD) || \ + defined(FREEBSD) || defined(OPENBSD) || \ + (defined(AIX) && !defined(USE_REENTRANT_LIBC)) + #define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n ) + #elif defined(AIX) + /* Maybe this is for another version of AIX? + Commenting out for AIX 4.1 for Nova + Replaced with following to lines, stolen from the #else below + #define GETHOSTBYNAME_BUF_T struct hostent_data +@@ -310,17 +309,17 @@ + #define GETHOSTBYNAME( n, r, b, l, e ) nsldapi_compat_gethostbyname_r( n, r, (char *)&b, l, e ) + #else + #include /* BUFSIZ */ + typedef char GETHOSTBYNAME_buf_t [BUFSIZ /* XXX might be too small */]; + #define GETHOSTBYNAME_BUF_T GETHOSTBYNAME_buf_t + #define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname_r( n, r, b, l, e ) + #endif + #if defined(HPUX9) || defined(LINUX1_2) || defined(LINUX2_0) || \ +- defined(LINUX2_1) || defined(SUNOS4) || defined(SNI) || \ ++ defined(LINUX2_1) || defined(__GNU__) || defined(__GLIBC__) || defined(SUNOS4) || defined(SNI) || \ + defined(SCOOS) || defined(BSDI) || defined(NCR) || \ + defined(NEC) || ( defined(HPUX10) && !defined(_REENTRANT)) || \ + (defined(AIX) && !defined(USE_REENTRANT_LIBC)) + #define NSLDAPI_CTIME( c, b, l ) ctime( c ) + #elif defined(HPUX10) && defined(_REENTRANT) && !defined(HPUX11) + #define NSLDAPI_CTIME( c, b, l ) nsldapi_compat_ctime_r( c, b, l ) + #elif defined( IRIX6_2 ) || defined( IRIX6_3 ) || defined(UNIXWARE) \ + || defined(OSF1V4) || defined(AIX) || defined(UnixWare) \ +@@ -330,17 +329,17 @@ + #define NSLDAPI_CTIME( c, b, l ) ctime_r( c, b ) + #elif defined( OSF1V3 ) + #define NSLDAPI_CTIME( c, b, l ) (ctime_r( c, b, l ) ? NULL : b) + #else + #define NSLDAPI_CTIME( c, b, l ) ctime_r( c, b, l ) + #endif + #if defined(hpux9) || defined(LINUX1_2) || defined(SUNOS4) || defined(SNI) || \ + defined(SCOOS) || defined(BSDI) || defined(NCR) || defined(VMS) || \ +- defined(NEC) || defined(LINUX) || (defined(AIX) && !defined(USE_REENTRANT_LIBC)) ++ defined(NEC) || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) || (defined(AIX) && !defined(USE_REENTRANT_LIBC)) + #define STRTOK( s1, s2, l ) strtok( s1, s2 ) + #else + #define HAVE_STRTOK_R + char *strtok_r(char *, const char *, char **); + #define STRTOK( s1, s2, l ) (char *)strtok_r( s1, s2, l ) + #endif /* STRTOK */ + #endif /* UNIX */ + +Index: seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libldap/Makefile.client +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/ldap/libraries/libldap/Makefile.client ++++ seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libldap/Makefile.client +@@ -172,17 +172,17 @@ + GENEXPARGS=$(BUILD_DEBUG) $(LDAPVERS_SUFFIX) $(LDAPVERS) + endif # USE_DLL_EXPORTS_FILE + + ifeq ($(OS_ARCH), SunOS) + EXTRA_LIBS = -L$(NSCP_DISTDIR)/$(OBJDIR_NAME)/lib -l$(LBER_LIBNAME) + EXTRA_LIBS += -L$(NSCP_DISTDIR)/lib + endif + +-ifeq ($(OS_ARCH), Linux) ++ifneq (,$(filter Linux GNU GNU_%, $(OS_ARCH))) + EXTRA_LIBS = -L$(NSCP_DISTDIR)/$(OBJDIR_NAME)/lib -l$(LBER_LIBNAME) + EXTRA_LIBS += -L$(NSCP_DISTDIR)/lib + endif + + ifeq ($(OS_ARCH), WINNT) + EXTRA_LIBS =wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib \ + comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \ + rpcrt4.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib +@@ -248,17 +248,17 @@ + $(DLLLDAP): $(OBJS) $(LIBDIR) $(LDAP_EXPORT_DEFS) + @echo ======= making $(DLLLDAP) + ifdef SO_FILES_TO_REMOVE + -$(RM) $(SO_FILES_TO_REMOVE) + endif + ifeq ($(OS_ARCH), AIX) + $(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a + else +-ifeq ($(OS_ARCH), Linux) ++ifneq (,$(filter Linux GNU GNU_%, $(OS_ARCH))) + $(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a + else + $(LINK_LIB) $(EXTRA_LIBS) + endif + endif + + veryclean:: clean + +Index: seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libldap/Makefile.in +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/ldap/libraries/libldap/Makefile.in ++++ seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libldap/Makefile.in +@@ -179,17 +179,17 @@ + ifeq ($(OS_ARCH), SunOS) + EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) + endif + + ifeq ($(OS_ARCH), IRIX) + EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) $(OS_LIBS) -lc + endif + +-ifeq ($(OS_ARCH), Linux) ++ifneq (,$(filter Linux GNU GNU_%, $(OS_ARCH))) + EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) + endif + + ifeq ($(OS_ARCH), WINNT) + ifdef NS_USE_GCC + EXTRA_DLL_LIBS=-L$(dist_libdir) -l$(LBER_LIBNAME) + else + EXTRA_LIBS =wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib \ +@@ -297,17 +297,17 @@ + $(LIBDIR): + $(MKDIR) $(LIBDIR) + + $(LIBLDAP): $(OBJS) $(LIBDIR) $(LDAP_EXPORT_DEFS) + @echo ======= making $(LIBLDAP) + ifdef SO_FILES_TO_REMOVE + -$(RM) $(SO_FILES_TO_REMOVE) + endif +-ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX NetBSD OSF1 OpenBSD, $(OS_ARCH))) ++ifneq (,$(filter AIX Linux GNU GNU_% HP-UX Darwin BeOS QNX NetBSD OSF1 OpenBSD, $(OS_ARCH))) + $(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a + else + ifeq ($(OS_ARCH),OS2) + # create import library for OS/2 + rm -f $@ + $(IMPLIB) $@ $(LDAP_EXPORT_DEFS) + else + $(LINK_LIB) $(EXTRA_LIBS) +Index: seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c +=================================================================== +--- seamonkey-1.1.6.orig/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c ++++ seamonkey-1.1.6/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c +@@ -228,17 +228,17 @@ + #endif + + #if defined(OSF1) || defined(BSDI) || defined(VMS) || defined(OPENBSD) + #define EOVERFLOW -1 + #endif + + #if defined(__hpux) || defined(_AIX) || defined(OSF1) || defined(DARWIN) || \ + defined(BEOS) || defined(FREEBSD) || defined(BSDI) || defined(VMS) || \ +- defined(OPENBSD) || defined(NETBSD) ++ defined(OPENBSD) || defined(NETBSD) || defined(__FreeBSD_kernel__) + #define EDEADLOCK -1 + #endif + + /* XXX: need to verify that the -1 entries are correct (no mapping) */ + static struct prldap_errormap_entry prldap_errormap[] = { + { PR_OUT_OF_MEMORY_ERROR, ENOMEM }, + { PR_BAD_DESCRIPTOR_ERROR, EBADF }, + { PR_WOULD_BLOCK_ERROR, EAGAIN }, +Index: seamonkey-1.1.6/security/coreconf/Linux.mk +=================================================================== +--- seamonkey-1.1.6.orig/security/coreconf/Linux.mk ++++ seamonkey-1.1.6/security/coreconf/Linux.mk +@@ -47,102 +47,70 @@ + endif + + CC = gcc + CCC = g++ + RANLIB = ranlib + + DEFAULT_COMPILER = gcc + +-ifeq ($(OS_TEST),m68k) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = m68k ++CPU_ARCH = $(OS_TEST) ++ ++ifeq ($(KERNEL),linux) ++ OS_REL_CFLAGS = -D_XOPEN_SOURCE -DLINUX1_2 ++ ARCH = linux + else ++ OS_REL_CFLAGS = -D_XOPEN_SOURCE ++ ARCH = gnu ++endif ++ + ifeq ($(OS_TEST),ppc64) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE + CPU_ARCH = ppc + ifeq ($(USE_64),1) + ARCHFLAG = -m64 + endif + else +-ifeq ($(OS_TEST),ppc) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = ppc +-else + ifeq ($(OS_TEST),alpha) +- OS_REL_CFLAGS = -D_ALPHA_ -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = alpha +-else +-ifeq ($(OS_TEST),ia64) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = ia64 ++ OS_REL_CFLAGS += -D_ALPHA_ + else + ifeq ($(OS_TEST),x86_64) +-ifeq ($(USE_64),1) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = x86_64 +-else +- OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE ++ifneq ($(USE_64),1) ++ OS_REL_CFLAGS += -Di386 + CPU_ARCH = x86 + ARCHFLAG = -m32 + endif + else +-ifeq ($(OS_TEST),sparc) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = sparc +-else + ifeq ($(OS_TEST),sparc64) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE + CPU_ARCH = sparc + else + ifeq (,$(filter-out arm% sa110,$(OS_TEST))) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE + CPU_ARCH = arm + else + ifeq ($(OS_TEST),parisc) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE + CPU_ARCH = hppa + else + ifeq ($(OS_TEST),parisc64) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE + CPU_ARCH = hppa + else +-ifeq ($(OS_TEST),s390) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = s390 +-else +-ifeq ($(OS_TEST),s390x) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = s390x +-else +-ifeq ($(OS_TEST),mips) +- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE +- CPU_ARCH = mips +-else +- OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE ++ifeq (,$(filter-out i686 i586 i486 i386,$(OS_TEST))) ++ OS_REL_CFLAGS += -Di386 + CPU_ARCH = x86 + endif + endif + endif + endif + endif + endif + endif + endif +-endif +-endif +-endif +-endif +-endif +-endif + + + LIBC_TAG = _glibc + +-ifeq ($(OS_RELEASE),2.0) ++ifeq ($(KERNEL)-$(OS_RELEASE),linux-2.0) + OS_REL_CFLAGS += -DLINUX2_0 + MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) + ifdef MAPFILE + MKSHLIB += -Wl,--version-script,$(MAPFILE) + endif + PROCESS_MAP_FILE = grep -v ';-' $< | \ + sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@ + endif +@@ -150,29 +118,30 @@ + ifdef BUILD_OPT + OPTIMIZER = -O2 + endif + + ifeq ($(USE_PTHREADS),1) + OS_PTHREAD = -lpthread + endif + +-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR ++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -ansi -Wall -pipe -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR ++ifeq ($(KERNEL),linux) ++OS_CFLAGS += -DLINUX -Dlinux ++endif + OS_LIBS = $(OS_PTHREAD) -ldl -lc + + ifdef USE_PTHREADS + DEFINES += -D_REENTRANT + endif + +-ARCH = linux +- + DSO_CFLAGS = -fPIC + DSO_LDOPTS = -shared $(ARCHFLAG) + DSO_LDFLAGS = + LDFLAGS += $(ARCHFLAG) + +-# INCLUDES += -I/usr/include -Y/usr/include/linux ++# INCLUDES += -I/usr/include + G++INCLUDES = -I/usr/include/g++ + + # + # Always set CPU_TAG on Linux, OpenVMS, WINCE. + # + CPU_TAG = _$(CPU_ARCH) +Index: seamonkey-1.1.6/security/coreconf/Linux2.6.mk +=================================================================== +--- seamonkey-1.1.6.orig/security/coreconf/Linux2.6.mk ++++ seamonkey-1.1.6/security/coreconf/Linux2.6.mk +@@ -34,17 +34,20 @@ + # the terms of any one of the MPL, the GPL or the LGPL. + # + # ***** END LICENSE BLOCK ***** + + include $(CORE_DEPTH)/coreconf/Linux.mk + + DSO_LDOPTS += -Wl,-z,defs + ++ifeq ($(KERNEL), linux) + OS_REL_CFLAGS += -DLINUX2_1 ++endif ++ + MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) + + ifdef MAPFILE + MKSHLIB += -Wl,--version-script,$(MAPFILE) + endif + PROCESS_MAP_FILE = grep -v ';-' $< | \ + sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@ + +Index: seamonkey-1.1.6/security/coreconf/arch.mk +=================================================================== +--- seamonkey-1.1.6.orig/security/coreconf/arch.mk ++++ seamonkey-1.1.6/security/coreconf/arch.mk +@@ -150,16 +150,24 @@ + OS_RELEASE := $(shell echo $(OS_RELEASE) | sed 's/-.*//') + endif + + ifeq ($(OS_ARCH),Linux) + OS_RELEASE := $(subst ., ,$(OS_RELEASE)) + ifneq ($(words $(OS_RELEASE)),1) + OS_RELEASE := $(word 1,$(OS_RELEASE)).$(word 2,$(OS_RELEASE)) + endif ++ KERNEL = linux ++endif ++ ++# This check must be last. Since all uses of OS_ARCH that follow affect only ++# userland, we can merge other Glibc systems with Linux here. ++ifneq (, $(filter GNU GNU_%, $(OS_ARCH))) ++OS_ARCH = Linux ++OS_RELEASE = 2.6 + endif + + # + # For OS/2 + # + ifeq ($(OS_ARCH),OS_2) + OS_ARCH = OS2 + OS_RELEASE := $(shell uname -v) +Index: seamonkey-1.1.6/security/coreconf/config.mk +=================================================================== +--- seamonkey-1.1.6.orig/security/coreconf/config.mk ++++ seamonkey-1.1.6/security/coreconf/config.mk +@@ -58,17 +58,17 @@ + # (dependent upon tags) # + # # + # We are moving towards just having a $(OS_TARGET).mk file # + # as opposed to multiple $(OS_TARGET)$(OS_RELEASE).mk files, # + # one for each OS release. # + ####################################################################### + + TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \ +- OpenVMS AIX ++ OpenVMS AIX GNU GNU_% + + ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET))) + include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk + else + include $(CORE_DEPTH)/coreconf/$(OS_TARGET)$(OS_RELEASE).mk + endif + + ####################################################################### +Index: seamonkey-1.1.6/security/nss/lib/freebl/unix_rand.c +=================================================================== +--- seamonkey-1.1.6.orig/security/nss/lib/freebl/unix_rand.c ++++ seamonkey-1.1.6/security/nss/lib/freebl/unix_rand.c +@@ -179,17 +179,18 @@ + rv = SECFailure; + } + return rv; + } + + #endif + + #if defined(SCO) || defined(UNIXWARE) || defined(BSDI) || defined(FREEBSD) \ +- || defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD) ++ || defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD) \ ++ || defined(__FreeBSD_kernel__) || defined(__NetBSD_kernel__) + #include + + #define getdtablesize() sysconf(_SC_OPEN_MAX) + + static size_t + GetHighResClock(void *buf, size_t maxbytes) + { + int ticks; +Index: seamonkey-1.1.6/security/nss/lib/ssl/sslmutex.c +=================================================================== +--- seamonkey-1.1.6.orig/security/nss/lib/ssl/sslmutex.c ++++ seamonkey-1.1.6/security/nss/lib/ssl/sslmutex.c +@@ -84,17 +84,17 @@ + if (!pMutex->u.sslLock) { + PORT_SetError(PR_INVALID_ARGUMENT_ERROR); + return SECFailure; + } + PR_Lock(pMutex->u.sslLock); + return SECSuccess; + } + +-#if defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD) || defined(OPENBSD) ++#if defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(__GLIBC__) + + #include + #include + #include + #include + #include "unix_err.h" + #include "pratom.h" + +Index: seamonkey-1.1.6/security/nss/lib/ssl/sslmutex.h +=================================================================== +--- seamonkey-1.1.6.orig/security/nss/lib/ssl/sslmutex.h ++++ seamonkey-1.1.6/security/nss/lib/ssl/sslmutex.h +@@ -74,17 +74,17 @@ + #endif + PRLock* sslLock; + HANDLE sslMutx; + } u; + } sslMutex; + + typedef int sslPID; + +-#elif defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD) || defined(OPENBSD) ++#elif defined(LINUX) || defined(AIX) || defined(VMS) || defined(BEOS) || defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(__GLIBC__) + + #include + #include "prtypes.h" + + typedef struct { + PRBool isMultiProcess; + union { + PRLock* sslLock; +Index: seamonkey-1.1.6/xpcom/reflect/xptcall/src/md/unix/Makefile.in +=================================================================== +--- seamonkey-1.1.6.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in ++++ seamonkey-1.1.6/xpcom/reflect/xptcall/src/md/unix/Makefile.in +@@ -72,17 +72,17 @@ + # + ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDamd64) + CPPSRCS := xptcinvoke_openbsd_amd64.cpp xptcstubs_openbsd_amd64.cpp + endif + # + # New code for Linux, et. al., with gcc + # Migrate other platforms here after testing + # +-ifneq (,$(filter Linux,$(OS_ARCH))) ++ifneq (,$(filter Linux GNU_%,$(OS_ARCH))) + # Linux/x86-64 + ifeq (x86_64,$(OS_TEST)) + CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp + else + ifeq (86,$(findstring 86,$(OS_TEST))) + CPPSRCS := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp + endif + endif +Index: seamonkey-1.1.6/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h +=================================================================== +--- seamonkey-1.1.6.orig/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h ++++ seamonkey-1.1.6/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h +@@ -62,17 +62,17 @@ + * # error "need TYPE1 or TYPE2 for NTO" + * # endif + * #elif defined(__BEOS__) + * + * and so on.... + * + */ + +-#if defined(LINUX) ++#if defined(LINUX) || (defined(__GLIBC__) && defined(__FreeBSD_kernel__)) + + #if (__GNUC__ == 2) && (__GNUC_MINOR__ <= 7) + /* Old gcc 2.7.x.x. What does gcc 2.8.x do?? */ + #define CFRONT_STYLE_THIS_ADJUST + #else + /* egcs and later */ + #define THUNK_BASED_THIS_ADJUST + #endif --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_mips64_build.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_mips64_build.patch @@ -0,0 +1,44 @@ +--- + security/coreconf/Linux.mk | 4 ++++ + 1 file changed, 4 insertions(+) + +## 38_mips64_build.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Martin Michlmayr for mips64 builds. bz#330626 + +Index: iceape-1.1.4/security/coreconf/Linux.mk +=================================================================== +--- iceape-1.1.4.orig/security/coreconf/Linux.mk ++++ iceape-1.1.4/security/coreconf/Linux.mk +@@ -85,27 +85,31 @@ + CPU_ARCH = arm + else + ifeq ($(OS_TEST),parisc) + CPU_ARCH = hppa + else + ifeq ($(OS_TEST),parisc64) + CPU_ARCH = hppa + else ++ifeq ($(OS_TEST),mips64) ++ CPU_ARCH = mips ++else + ifeq (,$(filter-out i686 i586 i486 i386,$(OS_TEST))) + OS_REL_CFLAGS += -Di386 + CPU_ARCH = x86 + endif + endif + endif + endif + endif + endif + endif + endif ++endif + + + LIBC_TAG = _glibc + + ifeq ($(KERNEL)-$(OS_RELEASE),linux-2.0) + OS_REL_CFLAGS += -DLINUX2_0 + MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) + ifdef MAPFILE --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_mips_xpcom.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_mips_xpcom.patch @@ -0,0 +1,577 @@ +--- + xpcom/reflect/xptcall/src/md/unix/Makefile.in | 12 + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s | 233 +++++++--------- + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp | 16 - + xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s | 142 +++++++++ + 4 files changed, 263 insertions(+), 140 deletions(-) + +## 38_mips_xpcom.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Thiemo Seufer to fix mips. bz#258429 + +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +@@ -237,21 +237,17 @@ + endif + endif + endif + + ifeq ($(OS_ARCH),Linux) + ifneq (,$(findstring mips, $(OS_TEST))) + CPPSRCS := xptcinvoke_mips.cpp xptcstubs_mips.cpp + ASFILES := xptcinvoke_asm_mips.s xptcstubs_asm_mips.s +-#xptcstubs_mips.cpp +-# xptcstubs_asm_mips.s +-ifdef GNU_CC +-ASFLAGS += $(INCLUDES) -x assembler-with-cpp -D__GNUC__ +-endif ++AS := $(CC) $(CFLAGS) $(INCLUDES) -c -x assembler-with-cpp + endif + endif + + ###################################################################### + # PowerPC + ###################################################################### + # + # AIX/PPC +@@ -388,20 +384,18 @@ + include $(topsrcdir)/config/rules.mk + + DEFINES += -DEXPORT_XPTC_API + + INCLUDES += -I$(srcdir)/../.. + + ifeq ($(OS_ARCH),Linux) + ifneq (,$(findstring mips, $(OS_TEST))) +-xptcstubs_asm_mips.o: xptcstubs_asm_mips.s.m4 $(PUBLIC)/xptcstubsdef.inc +- m4 $(INCLUDES) $< > ./xptcstubs_asm_mips.s && \ +- $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_mips.s +- $(RM) -f ./xptcstubs_asm_mips.s ++xptcstubs_asm_mips.o: xptcstubs_asm_mips.s $(PUBLIC)/xptcstubsdef.inc ++ $(AS) -o $@ $< + endif + endif + + ifeq ($(OS_ARCH),Darwin) + xptcstubs_asm_ppc_darwin.o: xptcstubs_asm_ppc_darwin.s.m4 $(PUBLIC)/xptcstubsdef.inc Makefile + gm4 $(INCLUDES) $< > ./xptcstubs_asm_ppc_darwin.s && \ + $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_ppc_darwin.s + $(RM) -f ./xptcstubs_asm_ppc_darwin.s +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s +@@ -16,151 +16,136 @@ + * The Initial Developer of the Original Code is + * Netscape Communications Corp, Inc. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Brendan Eich + * Stuart Parmenter ++ * Thiemo Seufer + */ + + /* This code is for MIPS using the O32 ABI. */ + + #include + #include + +-.text +-.globl invoke_count_words +-.globl invoke_copy_to_stack +- +-# We need a variable number of words allocated from the stack for copies of +-# the params, and this space must come between the high frame (where ra, gp, +-# and s0 are saved) and the low frame (where a0-a3 are saved by the callee +-# functions we invoke). +- +-LOCALSZ=4 # s0, s1, ra, gp +-NARGSAVE=4 # a0, a1, a2, a3 +-HIFRAMESZ=(LOCALSZ*SZREG) +-LOFRAMESZ=(NARGSAVE*SZREG) +-FRAMESZ=(HIFRAMESZ+LOFRAMESZ+ALSZ)&ALMASK +- +-# XXX these 2*SZREG, etc. are very magic -- we *know* that ALSZ&ALMASK cause +-# FRAMESZ to be 0 mod 8, in this case to be 16 and not 12. +-RAOFF=FRAMESZ - (2*SZREG) +-GPOFF=FRAMESZ - (3*SZREG) +-S0OFF=FRAMESZ - (4*SZREG) +-S1OFF=FRAMESZ - (5*SZREG) +- +-# These are not magic -- they are just our argsave slots in the caller frame. +-A0OFF=FRAMESZ +-A1OFF=FRAMESZ + (1*SZREG) +-A2OFF=FRAMESZ + (2*SZREG) +-A3OFF=FRAMESZ + (3*SZREG) +- +- # +- # _XPTC_InvokeByIndex(that, methodIndex, paramCount, params) +- # a0 a1 a2 a3 +- +-NESTED(_XPTC_InvokeByIndex, FRAMESZ, ra) +- +- .set noreorder +- .cpload t9 +- .set reorder +- ++# NARGSAVE is the argument space in the callers frame, including extra ++# 'shadowed' space for the argument registers. The minimum of 4 ++# argument slots is sometimes predefined in the header files. ++#ifndef NARGSAVE ++#define NARGSAVE 4 ++#endif ++ ++#define LOCALSZ 3 /* gp, fp, ra */ ++#define FRAMESZ ((((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK) ++ ++#define RAOFF (FRAMESZ - (1*SZREG)) ++#define FPOFF (FRAMESZ - (2*SZREG)) ++#define GPOFF (FRAMESZ - (3*SZREG)) ++ ++#define A0OFF (FRAMESZ + (0*SZREG)) ++#define A1OFF (FRAMESZ + (1*SZREG)) ++#define A2OFF (FRAMESZ + (2*SZREG)) ++#define A3OFF (FRAMESZ + (3*SZREG)) ++ ++ .text ++ ++# ++# _XPTC_InvokeByIndex(that, methodIndex, paramCount, params) ++# a0 a1 a2 a3 ++ ++ .globl _XPTC_InvokeByIndex ++ .align 2 ++ .type _XPTC_InvokeByIndex,@function ++ .ent _XPTC_InvokeByIndex,0 ++ .frame fp, FRAMESZ, ra ++_XPTC_InvokeByIndex: ++ SETUP_GP + subu sp, FRAMESZ + +- # specify the save register mask -- XXX do we want the a0-a3 here, given +- # our "split" frame where the args are saved below a dynamicly allocated +- # region under the high frame? +- # +- # 10010000000000010000000011110000 +- .mask 0x900100F0, -((NARGSAVE+LOCALSZ)*SZREG) +- +- # thou shalt not use .cprestore if yer frame has variable size... +- # .cprestore GPOFF +- +- REG_S ra, RAOFF(sp) +- +- # this happens automatically with .cprestore, but we cannot use that op... +- REG_S gp, GPOFF(sp) +- REG_S s0, S0OFF(sp) +- REG_S s1, S1OFF(sp) +- +- REG_S a0, A0OFF(sp) +- REG_S a1, A1OFF(sp) +- REG_S a2, A2OFF(sp) +- REG_S a3, A3OFF(sp) ++ # specify the save register mask for gp, fp, ra, a3 - a0 ++ .mask 0xD00000F0, RAOFF-FRAMESZ + +- # invoke_count_words(paramCount, params) +- move a0, a2 +- move a1, a3 ++ sw ra, RAOFF(sp) ++ sw fp, FPOFF(sp) + +- jal invoke_count_words +- lw gp, GPOFF(sp) ++ # we can't use .cprestore in a variable stack frame ++ sw gp, GPOFF(sp) + +- # save the old sp so we can pop the param area and any "low frame" +- # needed as an argsave area below the param block for callees that +- # we invoke. +- move s0, sp +- +- REG_L a1, A2OFF(sp) # a1 = paramCount +- REG_L a2, A3OFF(sp) # a2 = params +- +- # we define a word as 4 bytes, period end of story! +- sll v0, 2 # 4 bytes * result of invoke_copy_words +- subu v0, LOFRAMESZ # but we take back the argsave area built into +- # our stack frame -- SWEET! +- subu sp, sp, v0 # make room +- move a0, sp # a0 = param stack address +- move s1, a0 # save it for later -- it should be safe here +- +- # the old sp is still saved in s0, but we now need another argsave +- # area ("low frame") for the invoke_copy_to_stack call. +- subu sp, sp, LOFRAMESZ ++ sw a0, A0OFF(sp) ++ sw a1, A1OFF(sp) ++ sw a2, A2OFF(sp) ++ sw a3, A3OFF(sp) ++ ++ # save bottom of fixed frame ++ move fp, sp ++ ++ # extern "C" uint32 ++ # invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s); ++ la t9, invoke_count_words ++ move a0, a2 ++ move a1, a3 ++ jalr t9 ++ lw gp, GPOFF(fp) + +- # copy the param into the stack areas ++ # allocate variable stack, with a size of: ++ # wordsize (of 4 bytes) * result (already aligned to dword) ++ # but a minimum of 16 byte ++ sll v0, 2 ++ slt t0, v0, 16 ++ beqz t0, 1f ++ li v0, 16 ++1: subu sp, v0 ++ ++ # let a0 point to the bottom of the variable stack, allocate ++ # another fixed stack for: ++ # extern "C" void + # invoke_copy_to_stack(PRUint32* d, PRUint32 paramCount, +- # nsXPTCVariant* s) +- jal invoke_copy_to_stack +- lw gp, GPOFF(s0) +- +- move sp, s0 # get orig sp back, popping params and argsave +- +- REG_L a0, A0OFF(sp) # a0 = set "that" to be "this" +- REG_L a1, A1OFF(sp) # a1 = methodIndex +- +- # t1 = methodIndex * 4 +- # (use shift instead of mult) +- sll t1, a1, 2 +- +- # calculate the function we need to jump to, +- # which must then be saved in t9 ++ # nsXPTCVariant* s); ++ la t9, invoke_copy_to_stack ++ move a0, sp ++ lw a1, A2OFF(fp) ++ lw a2, A3OFF(fp) ++ subu sp, 16 ++ jalr t9 ++ lw gp, GPOFF(fp) ++ ++ # back to the variable stack frame ++ addu sp, 16 ++ ++ # calculate the function we need to jump to, which must then be ++ # stored in t9 ++ lw a0, A0OFF(fp) # a0 = set "that" to be "this" ++ lw t0, A1OFF(fp) # a1 = methodIndex + lw t9, 0(a0) +- addu t9, t9, t1 +- lw t9, 8(t9) +- +- # a1..a3 and f13..f14 should now be set to what +- # invoke_copy_to_stack told us. skip a0 and f12 +- # because that is the "this" pointer +- +- REG_L a1, 1*SZREG(s1) +- REG_L a2, 2*SZREG(s1) +- REG_L a3, 3*SZREG(s1) +- +- l.d $f13, 8(s1) +- l.d $f14, 16(s1) +- +- # Create the stack pointer for the function, which must have 4 words +- # of space for callee-saved args. invoke_count_words allocated space +- # for a0 starting at s1, so we just move s1 into sp. +- move sp, s1 ++ # t0 = methodIndex << PTRLOG ++ sll t0, t0, PTRLOG ++ addu t9, t0 ++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ ++ lw t9, (t9) ++#else /* not G++ V3 ABI */ ++ lw t9, 2*PTRSIZE(t9) ++#endif /* G++ V3 ABI */ ++ ++ # Set a1-a3 to what invoke_copy_to_stack told us. a0 is already ++ # the "this" pointer. We don't have to care about floating ++ # point arguments, the non-FP "this" pointer as first argument ++ # means they'll never be used. ++ lw a1, 1*SZREG(sp) ++ lw a2, 2*SZREG(sp) ++ lw a3, 3*SZREG(sp) ++ ++ jalr t9 ++ # Micro-optimization: There's no gp usage below this point, so ++ # we don't reload. ++ # lw gp, GPOFF(fp) + +- jalr ra, t9 +- lw gp, GPOFF(s0) ++ # leave variable stack frame ++ move sp, fp + +- move sp, s0 ++ lw ra, RAOFF(sp) ++ lw fp, FPOFF(sp) + +- REG_L ra, RAOFF(sp) +- REG_L s0, S0OFF(sp) +- addu sp, FRAMESZ ++ addiu sp, FRAMESZ + j ra +-.end _XPTC_InvokeByIndex ++END(_XPTC_InvokeByIndex) +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp +@@ -19,16 +19,17 @@ + * The Initial Developer of the Original Code is + * Netscape Communications Corp, Inc. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Stuart Parmenter + * Brendan Eich ++ * Thiemo Seufer + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your +@@ -47,32 +48,33 @@ + + + extern "C" uint32 + invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s) + { + // Count a word for a0 even though it's never stored or loaded + // We do this only for alignment of register pairs. + PRUint32 result = 1; +- for (PRUint32 i = 0; i < paramCount; i++, s++) ++ for (PRUint32 i = 0; i < paramCount; i++, result++, s++) + { +- result++; +- + if (s->IsPtrData()) + continue; + + switch(s->type) + { + case nsXPTType::T_I64 : + case nsXPTType::T_U64 : + case nsXPTType::T_DOUBLE : + if (result & 1) + result++; + result++; + break; ++ ++ default: ++ break; + } + } + return (result + 1) & ~(PRUint32)1; + } + + extern "C" void + invoke_copy_to_stack(PRUint32* d, PRUint32 paramCount, + nsXPTCVariant* s) +@@ -83,40 +85,40 @@ + for (PRUint32 i = 0; i < paramCount; i++, d++, s++) + { + if (s->IsPtrData()) + { + *((void**)d) = s->ptr; + continue; + } + +- *((void**)d) = s->val.p; +- + switch(s->type) + { + case nsXPTType::T_I64 : + if ((PRWord)d & 4) d++; + *((PRInt64*) d) = s->val.i64; d++; + break; + case nsXPTType::T_U64 : + if ((PRWord)d & 4) d++; + *((PRUint64*) d) = s->val.u64; d++; + break; + case nsXPTType::T_DOUBLE : + if ((PRWord)d & 4) d++; + *((double*) d) = s->val.d; d++; + break; ++ default: ++ *((void**)d) = s->val.p; ++ break; + } + } + } + + extern "C" nsresult _XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, + PRUint32 paramCount, + nsXPTCVariant* params); + + extern "C" + XPTC_PUBLIC_API(nsresult) + XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, + PRUint32 paramCount, nsXPTCVariant* params) + { + return _XPTC_InvokeByIndex(that, methodIndex, paramCount, params); +-} +- ++} +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s +=================================================================== +--- /dev/null ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s +@@ -0,0 +1,142 @@ ++/* -*- Mode: asm; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- ++ * Version: MPL 1.1 ++ * ++ * 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 mozilla.org code. ++ * ++ * The Initial Developer of the Original Code is ++ * Netscape Communications Corp, Inc. ++ * Portions created by the Initial Developer are Copyright (C) 2001 ++ * the Initial Developer. All Rights Reserved. ++ * ++ * Contributor(s): ++ * Stuart Parmenter ++ * Chris Waterson ++ * Thiemo Seufer ++ */ ++ ++/* This code is for MIPS using the O32 ABI. */ ++ ++#include ++#include ++ ++# NARGSAVE is the argument space in the callers frame, including extra ++# 'shadowed' space for the argument registers. The minimum of 4 ++# argument slots is sometimes predefined in the header files. ++#ifndef NARGSAVE ++#define NARGSAVE 4 ++#endif ++ ++#define LOCALSZ 2 /* gp, ra */ ++#define FRAMESZ ((((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK) ++ ++#define RAOFF (FRAMESZ - (1*SZREG)) ++#define GPOFF (FRAMESZ - (2*SZREG)) ++ ++#define A0OFF (FRAMESZ + (0*SZREG)) ++#define A1OFF (FRAMESZ + (1*SZREG)) ++#define A2OFF (FRAMESZ + (2*SZREG)) ++#define A3OFF (FRAMESZ + (3*SZREG)) ++ ++ .text ++ ++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ ++#define STUB_ENTRY(x) \ ++ .if x < 10; \ ++ .globl _ZN14nsXPTCStubBase5Stub ##x ##Ev; \ ++ .type _ZN14nsXPTCStubBase5Stub ##x ##Ev,@function; \ ++ .aent _ZN14nsXPTCStubBase5Stub ##x ##Ev,0; \ ++_ZN14nsXPTCStubBase5Stub ##x ##Ev:; \ ++ SETUP_GP; \ ++ li t0,x; \ ++ b sharedstub; \ ++ .elseif x < 100; \ ++ .globl _ZN14nsXPTCStubBase6Stub ##x ##Ev; \ ++ .type _ZN14nsXPTCStubBase6Stub ##x ##Ev,@function; \ ++ .aent _ZN14nsXPTCStubBase6Stub ##x ##Ev,0; \ ++_ZN14nsXPTCStubBase6Stub ##x ##Ev:; \ ++ SETUP_GP; \ ++ li t0,x; \ ++ b sharedstub; \ ++ .elseif x < 1000; \ ++ .globl _ZN14nsXPTCStubBase7Stub ##x ##Ev; \ ++ .type _ZN14nsXPTCStubBase7Stub ##x ##Ev,@function; \ ++ .aent _ZN14nsXPTCStubBase7Stub ##x ##Ev,0; \ ++_ZN14nsXPTCStubBase7Stub ##x ##Ev:; \ ++ SETUP_GP; \ ++ li t0,x; \ ++ b sharedstub; \ ++ .else; \ ++ .err; \ ++ .endif ++#else /* not G++ V3 ABI */ ++#define STUB_ENTRY(x) \ ++ .globl Stub ##x ##__14nsXPTCStubBase; \ ++ .type Stub ##x ##__14nsXPTCStubBase,@function; \ ++ .aent Stub ##x ##__14nsXPTCStubBase,0; \ ++Stub ##x ##__14nsXPTCStubBase:; \ ++ SETUP_GP; \ ++ li t0,x; \ ++ b sharedstub ++#endif /* G++ V3 ABI */ ++ ++# SENTINEL_ENTRY is handled in the cpp file. ++#define SENTINEL_ENTRY(x) ++ ++# ++# open a dummy frame for the function entries ++# ++ .align 2 ++ .type dummy,@function ++ .ent dummy, 0 ++ .frame sp, FRAMESZ, ra ++dummy: ++ SETUP_GP ++ ++#include "xptcstubsdef.inc" ++ ++sharedstub: ++ subu sp, FRAMESZ ++ ++ # specify the save register mask for gp, ra, a0-a3 ++ .mask 0x900000F0, RAOFF-FRAMESZ ++ ++ sw ra, RAOFF(sp) ++ SAVE_GP(GPOFF) ++ ++ # Micro-optimization: a0 is already loaded, and its slot gets ++ # ignored by PrepareAndDispatch, so no need to save it here. ++ # sw a0, A0OFF(sp) ++ sw a1, A1OFF(sp) ++ sw a2, A2OFF(sp) ++ sw a3, A3OFF(sp) ++ ++ la t9, PrepareAndDispatch ++ ++ # t0 is methodIndex ++ move a1, t0 ++ # have a2 point to the begin of the argument space on stack ++ addiu a2, sp, FRAMESZ ++ ++ # PrepareAndDispatch(that, methodIndex, args) ++ jalr t9 ++ ++ # Micro-optimization: Using jalr explicitly has the side-effect ++ # of not triggering .cprestore. This is ok because we have no ++ # gp reference below this point. It also allows better ++ # instruction sscheduling. ++ # lw gp, GPOFF(fp) ++ ++ lw ra, RAOFF(sp) ++ addiu sp, FRAMESZ ++ j ra ++ END(dummy) --- seamonkey-1.1.12+nobinonly.orig/debian/patches/38_sparc64_unichar_alignment.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/38_sparc64_unichar_alignment.patch @@ -0,0 +1,256 @@ +--- + gfx/src/gtk/nsFontMetricsPango.cpp | 19 ++++++++++++++++--- + intl/lwbrk/src/nsJISx4501LineBreaker.cpp | 24 ++++++++++++------------ + intl/unicharutil/util/nsUnicharUtils.cpp | 25 +++++++++++++++++++++++++ + intl/unicharutil/util/nsUnicharUtils.h | 5 +++++ + layout/generic/nsTextFrame.cpp | 8 ++++---- + 5 files changed, 62 insertions(+), 19 deletions(-) + +## 38_sparc64_unichar_alignment.patch converted from dpatch file initially by Mike Hommey +# +# Patch from bz#161826 to fix alignment issues on sparc64. + +Index: iceape-1.1.4/gfx/src/gtk/nsFontMetricsPango.cpp +=================================================================== +--- iceape-1.1.4.orig/gfx/src/gtk/nsFontMetricsPango.cpp ++++ iceape-1.1.4/gfx/src/gtk/nsFontMetricsPango.cpp +@@ -531,21 +531,33 @@ + nsresult + nsFontMetricsPango::GetTextDimensions(const PRUnichar* aString, + PRUint32 aLength, + nsTextDimensions& aDimensions, + PRInt32* aFontID, + nsRenderingContextGTK *aContext) + { + nsresult rv = NS_OK; +- ++ gchar *text = NULL; + PangoLayout *layout = pango_layout_new(mPangoContext); + +- gchar *text = g_utf16_to_utf8(aString, aLength, +- NULL, NULL, NULL); ++ // Just copy the aString to ensure the alignment, ++ // it is not used anywhere else. ++ PRUnichar* dummy = (PRUnichar *) PR_Malloc(aLength*sizeof(PRUnichar)); ++ if(!dummy) { ++#ifdef DEBUG ++ NS_WARNING("nsFontMetricsPango::GetTextDimensions malloc() failed"); ++#endif ++ rv = NS_ERROR_FAILURE; ++ goto out; ++ } ++ memcpy(dummy, aString, aLength*sizeof(PRUnichar)); ++ text = g_utf16_to_utf8(dummy, aLength, ++ NULL, NULL, NULL); ++ PR_Free(dummy); + + if (!text) { + #ifdef DEBUG + NS_WARNING("nsFontMetricsPango::GetTextDimensions invalid unicode to follow"); + DUMP_PRUNICHAR(aString, aLength) + #endif + aDimensions.width = 0; + aDimensions.ascent = 0; +@@ -576,16 +588,17 @@ + aDimensions.ascent = NSToCoordRound(PANGO_ASCENT(rect) * P2T / PANGO_SCALE); + aDimensions.descent = NSToCoordRound(PANGO_DESCENT(rect) * P2T / PANGO_SCALE); + + // printf("GetTextDimensions %d %d %d\n", aDimensions.width, + //aDimensions.ascent, aDimensions.descent); + + loser: + g_free(text); ++ out: + g_object_unref(layout); + + return rv; + } + + nsresult + nsFontMetricsPango::GetTextDimensions(const char* aString, + PRInt32 aLength, +Index: iceape-1.1.4/intl/lwbrk/src/nsJISx4501LineBreaker.cpp +=================================================================== +--- iceape-1.1.4.orig/intl/lwbrk/src/nsJISx4501LineBreaker.cpp ++++ iceape-1.1.4/intl/lwbrk/src/nsJISx4501LineBreaker.cpp +@@ -482,57 +482,57 @@ + NS_ENSURE_TRUE(oNeedMoreText, NS_ERROR_NULL_POINTER); + NS_ENSURE_TRUE(aPos <= aLen, NS_ERROR_ILLEGAL_VALUE); + + //forward check for CJK characters until a space is found. + //if CJK char is found before space, use 4051, otherwise western + PRUint32 cur; + for (cur = aPos; cur < aLen; ++cur) + { +- if (IS_SPACE(aText[cur])) ++ if (IS_SPACE(GetUnichar(&aText[cur]))) + { + *oNext = cur; + *oNeedMoreText = PR_FALSE; + return NS_OK; + } +- if (IS_CJK_CHAR(aText[cur])) ++ if (IS_CJK_CHAR(GetUnichar(&aText[cur]))) + goto ROUTE_CJK_NEXT; + } + *oNext = aLen; + *oNeedMoreText = PR_TRUE; + return NS_OK; + + ROUTE_CJK_NEXT: + PRInt8 c1, c2; + cur = aPos; +- if(NEED_CONTEXTUAL_ANALYSIS(aText[cur])) ++ if(NEED_CONTEXTUAL_ANALYSIS(GetUnichar(&aText[cur]))) + { +- c1 = this->ContextualAnalysis((cur>0)?aText[cur-1]:0, +- aText[cur], +- (cur<(aLen-1)) ?aText[cur+1]:0); ++ c1 = this->ContextualAnalysis((cur>0)?GetUnichar(&aText[cur-1]):0, ++ GetUnichar(&aText[cur]), ++ (cur<(aLen-1)) ?GetUnichar(&aText[cur+1]):0); + } else { +- c1 = this->GetClass(aText[cur]); ++ c1 = this->GetClass(GetUnichar(&aText[cur])); + } + + if(CLASS_THAI == c1) + { + *oNext = PRUint32(TrbFollowing(aText, aLen, aPos)); + *oNeedMoreText = PR_FALSE; + return NS_OK; + } + + for(cur++; cur ContextualAnalysis((cur>0)?aText[cur-1]:0, +- aText[cur], +- (cur<(aLen-1)) ?aText[cur+1]:0); ++ c2= this->ContextualAnalysis((cur>0)?GetUnichar(&aText[cur-1]):0, ++ GetUnichar(&aText[cur]), ++ (cur<(aLen-1)) ?GetUnichar(&aText[cur+1]):0); + } else { +- c2 = this->GetClass(aText[cur]); ++ c2 = this->GetClass(GetUnichar(&aText[cur])); + } + + if(GetPair(c1, c2)) { + *oNext = cur ; + *oNeedMoreText = PR_FALSE; + return NS_OK; + } + c1 = c2; +Index: iceape-1.1.4/intl/unicharutil/util/nsUnicharUtils.cpp +=================================================================== +--- iceape-1.1.4.orig/intl/unicharutil/util/nsUnicharUtils.cpp ++++ iceape-1.1.4/intl/unicharutil/util/nsUnicharUtils.cpp +@@ -343,8 +343,33 @@ + if (aChar < 256) + result = toupper(char(aChar)); + else + result = aChar; + } + return result; + } + ++PRUnichar ++GetUnichar(const void *ptr) ++{ ++ PRUnichar result; ++#if NEED_STRICT_ALIGNMENT ++ *((char *) &result) = *((char *) ptr); ++ *((char *) &result + 1) = *((char *) ptr + 1); ++#else ++ result = *((PRUnichar *) ptr); ++#endif ++ return result; ++} ++ ++void ++SetUnichar(void *ptr, PRUnichar aChar) ++{ ++#if NEED_STRICT_ALIGNMENT ++ *((char *) ptr) = *((char *) &aChar); ++ *((char *) ptr + 1) = *((char *) &aChar + 1); ++#else ++ *((PRUnichar *) ptr) = aChar; ++#endif ++} ++ ++ +Index: iceape-1.1.4/intl/unicharutil/util/nsUnicharUtils.h +=================================================================== +--- iceape-1.1.4.orig/intl/unicharutil/util/nsUnicharUtils.h ++++ iceape-1.1.4/intl/unicharutil/util/nsUnicharUtils.h +@@ -77,16 +77,21 @@ + aHay.BeginReading(searchBegin), + aHay.EndReading(searchEnd), + nsCaseInsensitiveStringComparator()); + } + + PRUnichar ToUpperCase(PRUnichar); + PRUnichar ToLowerCase(PRUnichar); + ++#define NEED_STRICT_ALIGNMENT defined(__sparc__) || defined(__alpha__) || defined(__mips__) || defined(__ia64) ++ ++PRUnichar GetUnichar(const void *); ++void SetUnichar(void *, PRUnichar); ++ + inline PRBool IsUpperCase(PRUnichar c) { + return ToLowerCase(c) != c; + } + + inline PRBool IsLowerCase(PRUnichar c) { + return ToUpperCase(c) != c; + } + +Index: iceape-1.1.4/layout/generic/nsTextFrame.cpp +=================================================================== +--- iceape-1.1.4.orig/layout/generic/nsTextFrame.cpp ++++ iceape-1.1.4/layout/generic/nsTextFrame.cpp +@@ -5124,18 +5124,18 @@ + TransformTextToUnicode(char* aText, PRInt32 aNumChars) + { + // Go backwards over the characters and convert them. + unsigned char* cp1 = (unsigned char*)aText + aNumChars - 1; + PRUnichar* cp2 = (PRUnichar*)aText + (aNumChars - 1); + + while (aNumChars-- > 0) { + // XXX: If you crash here then you may see the issue described +- // in http://bugzilla.mozilla.org/show_bug.cgi?id=36146#c44 +- *cp2-- = PRUnichar(*cp1--); ++ // in http://bugzilla.mozilla.org/show_bug.cgi?id=161826 ++ SetUnichar(cp2--, PRUnichar(*cp1--)); + } + } + + PRUint32 + nsTextFrame::EstimateNumChars(PRUint32 aAvailableWidth, + PRUint32 aAverageCharWidth) + { + // Estimate the number of characters that will fit. Use 105% of the available +@@ -6222,19 +6222,19 @@ + return NS_OK; + } + + static void + RevertSpacesToNBSP(PRUnichar* aBuffer, PRInt32 aWordLen) + { + PRUnichar* end = aBuffer + aWordLen; + for (; aBuffer < end; aBuffer++) { +- PRUnichar ch = *aBuffer; ++ PRUnichar ch = GetUnichar(aBuffer); + if (ch == ' ') { +- *aBuffer = CH_NBSP; ++ SetUnichar(aBuffer, CH_NBSP); + } + } + } + + nsTextDimensions + nsTextFrame::ComputeTotalWordDimensions(nsPresContext* aPresContext, + nsILineBreaker* aLineBreaker, + nsLineLayout& aLineLayout, --- seamonkey-1.1.12+nobinonly.orig/debian/patches/60_distclean.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/60_distclean.patch @@ -0,0 +1,309 @@ +--- + Makefile.in | 2 ++ + build/unix/Makefile.in | 2 +- + db/sqlite3/src/Makefile.in | 2 ++ + directory/c-sdk/Makefile.in | 2 ++ + directory/c-sdk/ldap/build/Makefile.in | 1 + + directory/c-sdk/ldap/libraries/libssldap/Makefile.in | 2 +- + extensions/p3p/Makefile.in | 2 ++ + extensions/pref/system-pref/src/gconf/Makefile.in | 2 ++ + profile/dirserviceprovider/standalone/Makefile.in | 2 ++ + security/manager/Makefile.in | 2 ++ + suite/components/xulappinfo/Makefile.in | 1 + + xpcom/build/Makefile.in | 2 +- + xpcom/glue/standalone/Makefile.in | 2 +- + xpfe/components/filepicker/src/Makefile.in | 1 + + 14 files changed, 21 insertions(+), 4 deletions(-) + +## 60_distclean.patch converted from dpatch file initially by +# +# Make distclean cleaner. bz#333308. + +Index: iceape-1.1.4/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/Makefile.in ++++ iceape-1.1.4/Makefile.in +@@ -443,16 +443,17 @@ + endif # BUILD_MODULES == all + + STATIC_MAKEFILES := nsprpub directory/c-sdk security/nss + + GARBAGE_DIRS += dist + DIST_GARBAGE = config.cache config.log config.status config-defs.h \ + dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \ + unallmakefiles mozilla-config.h \ ++ gfx/gfx-config.h netwerk/necko-config.h xpcom/xpcom-config.h xpcom/xpcom-private.h \ + $(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out + + # Build pseudo-external modules first when export is explicitly called + export:: + $(RM) -rf $(DIST)/sdk + $(MAKE) -C config export + $(MAKE) nspr + $(MAKE) ldap +@@ -538,16 +539,17 @@ + ldap: + ifdef MOZ_LDAP_XPCOM + $(MAKE) -C directory/c-sdk + endif + + distclean:: + cat unallmakefiles | $(XARGS) rm -f + rm -f unallmakefiles $(DIST_GARBAGE) ++ rm -rf $(GARBAGE_DIRS) + + ifeq ($(OS_ARCH),WINNT) + rebase: + ifdef MOZILLA_OFFICIAL + echo rebasing $(DIST) + /bin/find $(DIST) -name "*.dll" > rebase.lst + rebase -b 60000000 -R . -G rebase.lst + rm rebase.lst +Index: iceape-1.1.4/build/unix/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/build/unix/Makefile.in ++++ iceape-1.1.4/build/unix/Makefile.in +@@ -66,17 +66,17 @@ + endif + + _DEFS = $(subst \,\\\\\,$(ACDEFINES)) + + pkg_config_files=$(MOZ_APP_NAME)-nspr.pc $(MOZ_APP_NAME)-xpcom.pc \ + $(MOZ_APP_NAME)-js.pc $(MOZ_APP_NAME)-gtkmozembed.pc \ + $(MOZ_APP_NAME)-nss.pc $(MOZ_APP_NAME)-plugin.pc + +-GARBAGE = $(pkg_config_files) mozilla-config ++GARBAGE = $(pkg_config_files) $(MOZ_APP_NAME)-config + + $(MOZ_APP_NAME)-config:: mozilla-config.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk + cat $< | sed \ + -e "s|%prefix%|$(prefix)|" \ + -e "s|%exec_prefix%|$(exec_prefix)|" \ + -e "s|%includedir%|$(includedir)|" \ + -e "s|%libdir%|$(mozappdir)|" \ + -e "s|%idldir%|$(idldir)|" \ +Index: iceape-1.1.4/db/sqlite3/src/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/db/sqlite3/src/Makefile.in ++++ iceape-1.1.4/db/sqlite3/src/Makefile.in +@@ -108,8 +108,10 @@ + + include $(topsrcdir)/config/rules.mk + + sqlite-shell.$(OBJ_SUFFIX): shell.c + $(ELOG) $(CC) $(OUTOPTION)$@ -c $(COMPILE_CFLAGS) $(_VPATH_SRCS) + + # next line allows use of MOZ_OBJDIR in .mozconfig with older gcc on BeOS, maybe others + LOCAL_INCLUDES += -I$(srcdir) ++ ++DIST_GARBAGE += sqlite3.h +Index: iceape-1.1.4/directory/c-sdk/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/directory/c-sdk/Makefile.in ++++ iceape-1.1.4/directory/c-sdk/Makefile.in +@@ -14,8 +14,10 @@ + # has) to call "make depend" here and not fail, at the cost of actual + # dependencies on such builds possibly being incorrect. A nasty hack, but + # this build system is going away soon. + # + depend: + + FORCE: + ++distclean:: ++ rm -f config/autoconf.mk +Index: iceape-1.1.4/directory/c-sdk/ldap/build/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/directory/c-sdk/ldap/build/Makefile.in ++++ iceape-1.1.4/directory/c-sdk/ldap/build/Makefile.in +@@ -50,8 +50,9 @@ + + + export:: $(PROGRAM) + $(INSTALL) -m 555 $(PROGRAM) $(dist_bindir) + + clean:: + -rm -rf $(filter-out . ..,$(OBJDIR_NAME)) + ++GARBAGE += $(PROGRAM) +Index: iceape-1.1.4/directory/c-sdk/ldap/libraries/libssldap/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/directory/c-sdk/ldap/libraries/libssldap/Makefile.in ++++ iceape-1.1.4/directory/c-sdk/ldap/libraries/libssldap/Makefile.in +@@ -86,17 +86,17 @@ + ifeq ($(OS_ARCH), WINNT) + GENEXPORTS=cmd /c $(PERL) $(topsrcdir)/ldap/build/genexports.pl + else + GENEXPORTS=$(PERL) $(topsrcdir)/ldap/build/genexports.pl + endif + + # variable definitions for exported symbols + ifeq ($(OS_ARCH), WINNT) +- SSLDAP_EXPORT_DEFS= $(win_srcdir)/../msdos/winsock/nsldapssl32.def ++ SSLDAP_EXPORT_DEFS= $(srcdir)/../msdos/winsock/nsldapssl32.def + else + SSLDAP_EXPORT_DEFS= $(SSLOBJDEST)/libldap_ssl.exp + endif + + SSLDAP_EXPORT_FLAGS=$(addprefix $(DLLEXPORTS_PREFIX), $(SSLDAP_EXPORT_DEFS)) + + GENEXPARGS=$(BUILD_DEBUG) $(SSLDAPVERS_SUFFIX) $(SSLDAPVERS) + endif # USE_DLL_EXPORTS_FILE +Index: iceape-1.1.4/extensions/p3p/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/extensions/p3p/Makefile.in ++++ iceape-1.1.4/extensions/p3p/Makefile.in +@@ -46,16 +46,18 @@ + DIRS = public src + CHROME_DEPS = p3p200005.xsl p3p200010.xsl p3p200012.xsl p3p200109.xsl \ + p3p200201.xsl + + PP = $(PERL) -I$(topsrcdir)/config $(topsrcdir)/config/preprocessor.pl + + include $(topsrcdir)/config/rules.mk + ++GARBAGE += $(CHROME_DEPS) ++ + # Use the XUL preprocessor to adjust the stylesheet template to the slightly + # varying needs of the supported versions of the p3p specification. + + p3p200005.xsl: resources/content/p3p.xsl.in Makefile.in + @$(RM) -f $@ + $(PP) -DNAMESPACE=http://www.w3.org/2000/P3Pv1 \ + $< > $@ + +Index: iceape-1.1.4/extensions/pref/system-pref/src/gconf/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/extensions/pref/system-pref/src/gconf/Makefile.in ++++ iceape-1.1.4/extensions/pref/system-pref/src/gconf/Makefile.in +@@ -82,8 +82,10 @@ + + CFLAGS += $(MOZ_GTK2_CFLAGS) + CXXFLAGS += $(MOZ_GTK2_CFLAGS) + + LOCAL_INCLUDES = -I$(srcdir)/.. + + export:: + $(INSTALL) $(srcdir)/../nsSystemPrefFactory.cpp . ++ ++GARBAGE += nsSystemPrefFactory.cpp +Index: iceape-1.1.4/profile/dirserviceprovider/standalone/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/profile/dirserviceprovider/standalone/Makefile.in ++++ iceape-1.1.4/profile/dirserviceprovider/standalone/Makefile.in +@@ -60,8 +60,10 @@ + FORCE_STATIC_LIB = 1 + + include $(topsrcdir)/config/rules.mk + + LOCAL_INCLUDES = -I$(srcdir)/../src + + export:: $(MODULES_PROFILEDIRSERVICE_SRC_CSRCS) + $(INSTALL) $^ . ++ ++GARBAGE += $(notdir $(MODULES_PROFILEDIRSERVICE_SRC_CSRCS)) +Index: iceape-1.1.4/security/manager/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/security/manager/Makefile.in ++++ iceape-1.1.4/security/manager/Makefile.in +@@ -221,16 +221,18 @@ + $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean + ifndef SKIP_CHK + $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean + $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean + endif + touch $@ + endif + ++GARBAGE += .nss.cleaned ++ + .nss.checkout: + ifndef MOZ_NATIVE_NSS + touch $(srcdir)/$@ + endif + + dependclean export packages chrome:: + $(MAKE) -C boot $@ + $(MAKE) -C ssl $@ +Index: iceape-1.1.4/suite/components/xulappinfo/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/suite/components/xulappinfo/Makefile.in ++++ iceape-1.1.4/suite/components/xulappinfo/Makefile.in +@@ -54,8 +54,9 @@ + + EXTRA_PP_COMPONENTS = xulappinfo.js + + include $(topsrcdir)/config/rules.mk + + nsIXULAppInfo.idl: $(topsrcdir)/toolkit/xre/nsIXULAppInfo.idl + $(NSINSTALL) $(topsrcdir)/toolkit/xre/nsIXULAppInfo.idl . + ++GARBAGE += nsIXULAppInfo.idl +Index: iceape-1.1.4/xpcom/build/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpcom/build/Makefile.in ++++ iceape-1.1.4/xpcom/build/Makefile.in +@@ -146,17 +146,17 @@ + ifndef MINIMO + FORCE_SHARED_LIB = 1 + endif + endif + + # UNIX98 iconv support + OS_LIBS += $(LIBICONV) + +-GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUENS_SRC_LCSRCS) $(wildcard *.$(OBJ_SUFFIX)) ++GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUE_SRC_LCPPSRCS) $(XPCOM_GLUENS_SRC_LCPPSRCS) $(wildcard *.$(OBJ_SUFFIX)) + + include $(topsrcdir)/config/rules.mk + + DEFINES += \ + -D_IMPL_NS_COM \ + -D_IMPL_NS_STRINGAPI \ + -DEXPORT_XPT_API \ + -DEXPORT_XPTC_API \ +Index: iceape-1.1.4/xpcom/glue/standalone/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpcom/glue/standalone/Makefile.in ++++ iceape-1.1.4/xpcom/glue/standalone/Makefile.in +@@ -91,17 +91,17 @@ + $(NULL) + + # we don't want the shared lib, but we want to force the creation of a static lib. + FORCE_STATIC_LIB = 1 + + # Force use of PIC + FORCE_USE_PIC = 1 + +-GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(wildcard *.$(OBJ_SUFFIX)) ++GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUE_SRC_LCPPSRCS) $(wildcard *.$(OBJ_SUFFIX)) + + SRCS_IN_OBJDIR = 1 + + include $(topsrcdir)/config/rules.mk + + export:: $(XPCOM_GLUE_SRC_CSRCS) $(XPCOM_GLUE_SRC_CPPSRCS) + $(INSTALL) $^ . + +Index: iceape-1.1.4/xpfe/components/filepicker/src/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpfe/components/filepicker/src/Makefile.in ++++ iceape-1.1.4/xpfe/components/filepicker/src/Makefile.in +@@ -64,16 +64,17 @@ + $(NULL) + + CPPSRCS = \ + nsFileView.cpp \ + nsWildCard.cpp \ + $(NULL) + + EXTRA_COMPONENTS = nsFilePicker.js ++GARBAGE += nsFilePicker.js + + include $(topsrcdir)/config/rules.mk + + EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) + + nsFilePicker.js: nsFilePicker.js.in + $(PERL) $(MOZILLA_DIR)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) $^ > $@ + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/65_mouse_buttons.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/65_mouse_buttons.patch @@ -0,0 +1,41 @@ +--- + widget/src/gtk2/nsWindow.cpp | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +## 65_mouse_buttons.patch converted from dpatch file initially by Mike Hommey +# +# Extended mouse buttons support taken from #244305. Thanks Peter Colberg + +Index: iceape-1.1.4/widget/src/gtk2/nsWindow.cpp +=================================================================== +--- iceape-1.1.4.orig/widget/src/gtk2/nsWindow.cpp ++++ iceape-1.1.4/widget/src/gtk2/nsWindow.cpp +@@ -1654,24 +1654,27 @@ + containerWindow->mActivatePending = PR_FALSE; + DispatchActivateEvent(); + } + if (check_for_rollup(aEvent->window, aEvent->x_root, aEvent->y_root, + PR_FALSE)) + return; + + switch (aEvent->button) { ++ case 1: ++ eventType = NS_MOUSE_LEFT_BUTTON_DOWN; ++ break; + case 2: + eventType = NS_MOUSE_MIDDLE_BUTTON_DOWN; + break; + case 3: + eventType = NS_MOUSE_RIGHT_BUTTON_DOWN; + break; + default: +- eventType = NS_MOUSE_LEFT_BUTTON_DOWN; ++ return; + break; + } + + nsCOMPtr kungFuDeathGrip = this; + + nsMouseEvent event(PR_TRUE, eventType, this, nsMouseEvent::eReal); + InitButtonEvent(event, aEvent); + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/65_xremote.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/65_xremote.patch @@ -0,0 +1,194 @@ +--- + xpfe/components/xremote/src/XRemoteService.cpp | 122 +++++++++++++++++++++++++ + xpfe/components/xremote/src/XRemoteService.h | 3 + 2 files changed, 125 insertions(+) + +## 65_xremote.patch converted from dpatch file initially by Mike Hommey +# +# Add commands to open calendar, chatzilla and address book via the +# XRemote interface. + +Index: iceape-1.1.4/xpfe/components/xremote/src/XRemoteService.cpp +=================================================================== +--- iceape-1.1.4.orig/xpfe/components/xremote/src/XRemoteService.cpp ++++ iceape-1.1.4/xpfe/components/xremote/src/XRemoteService.cpp +@@ -393,16 +393,43 @@ + + // fallback + if (!*_retval) + *_retval = nsCRT::strdup("chrome://calendar/content/calendar.xul"); + + return NS_OK; + } + ++nsresult ++XRemoteService::GetChatLocation(const char **_retval) ++{ ++ // get the Chatzilla chrome URL ++ *_retval = "chrome://chatzilla/content/chatzilla.xul"; ++ ++ return NS_OK; ++} ++ ++nsresult ++XRemoteService::GetComposerLocation(const char **_retval) ++{ ++ // get the Composer chrome URL ++ *_retval = "chrome://editor/content/editor.xul"; ++ ++ return NS_OK; ++} ++ ++nsresult ++XRemoteService::GetAddressBookLocation(const char **_retval) ++{ ++ // get the Address Book chrome URL ++ *_retval = "chrome://messenger/content/addressbook/addressbook.xul"; ++ ++ return NS_OK; ++} ++ + PRBool + XRemoteService::MayOpenURL(const nsCString &aURL) + { + // by default, we assume nothing can be loaded. + PRBool allowURL= PR_FALSE; + + nsCOMPtr extProtService = + do_GetService(NS_EXTERNALPROTOCOLSERVICE_CONTRACTID); +@@ -760,16 +787,111 @@ + return rv; + + nsCOMPtr newWindow; + rv = OpenChromeWindow(0, calendarChrome, "chrome,all,dialog=no", + arg, getter_AddRefs(newWindow)); + } + } + ++ // open a new chat window ++ else if (aArgument.LowerCaseEqualsLiteral("openchat")) { ++ ++ // check to see if it's already running ++ nsCOMPtr aWindow; ++ ++ rv = FindWindow(NS_LITERAL_STRING("irc:chatzilla").get(), ++ getter_AddRefs(aWindow)); ++ ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ // focus the window if it was found ++ if (aWindow) { ++ aWindow->Focus(); ++ } ++ ++ // otherwise open a new chat window ++ else { ++ const char *chatChrome; ++ rv = GetChatLocation(&chatChrome); ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ nsCOMPtr newWindow; ++ rv = OpenChromeWindow(0, chatChrome, "chrome,all,dialog=no", ++ arg, getter_AddRefs(newWindow)); ++ } ++ ++ } ++ ++ // open a new composer window ++ else if (aArgument.LowerCaseEqualsLiteral("opencomposer")) { ++ ++ // check to see if it's already running ++ nsCOMPtr aWindow; ++ ++ rv = FindWindow(NS_LITERAL_STRING("composer:html").get(), ++ getter_AddRefs(aWindow)); ++ ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ // focus the window if it was found ++ if (aWindow) { ++ aWindow->Focus(); ++ } ++ ++ // otherwise open a new composer window ++ else { ++ const char *composerChrome; ++ rv = GetComposerLocation(&composerChrome); ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ arg->SetData(NS_ConvertUTF8toUCS2("about:blank")); ++ ++ nsCOMPtr newWindow; ++ rv = OpenChromeWindow(0, composerChrome, "chrome,all,dialog=no", ++ arg, getter_AddRefs(newWindow)); ++ } ++ ++ } ++ ++ // open a new chat window ++ else if (aArgument.LowerCaseEqualsLiteral("openaddressbook")) { ++ ++ // check to see if it's already running ++ nsCOMPtr aWindow; ++ ++ rv = FindWindow(NS_LITERAL_STRING("mail:addressbook").get(), ++ getter_AddRefs(aWindow)); ++ ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ // focus the window if it was found ++ if (aWindow) { ++ aWindow->Focus(); ++ } ++ ++ // otherwise open a new calendar window ++ else { ++ const char *addressbookChrome; ++ rv = GetAddressBookLocation(&addressbookChrome); ++ if (NS_FAILED(rv)) ++ return rv; ++ ++ nsCOMPtr newWindow; ++ rv = OpenChromeWindow(0, addressbookChrome, "chrome,all,dialog=no", ++ arg, getter_AddRefs(newWindow)); ++ } ++ ++ } ++ + return rv; + } + + nsresult + XRemoteService::FindWindow(const PRUnichar *aType, + nsIDOMWindowInternal **_retval) + { + nsCOMPtr mediator; +Index: iceape-1.1.4/xpfe/components/xremote/src/XRemoteService.h +=================================================================== +--- iceape-1.1.4.orig/xpfe/components/xremote/src/XRemoteService.h ++++ iceape-1.1.4/xpfe/components/xremote/src/XRemoteService.h +@@ -76,16 +76,19 @@ + nsISupports *aArguments, + nsIDOMWindow **_retval); + + // get the primary browser chrome location + nsresult GetBrowserLocation(char **_retval); + nsresult GetMailLocation(char **_retval); + nsresult GetComposeLocation(const char **_retval); + nsresult GetCalendarLocation(char **_retval); ++ nsresult GetChatLocation(const char**_retval); ++ nsresult GetComposerLocation(const char**_retval); ++ nsresult GetAddressBookLocation(const char**_retval); + + // returns true if the URL may be loaded. + PRBool MayOpenURL(const nsCString &aURL); + + // remote command handlers + nsresult OpenURL(nsCString &aArgument, + nsIDOMWindow* aParent, + PRBool aOpenBrowser); --- seamonkey-1.1.12+nobinonly.orig/debian/patches/68_m68k_xpcom.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/68_m68k_xpcom.patch @@ -0,0 +1,104 @@ +--- + xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_m68k.cpp | 36 +++++------- + xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_m68k.cpp | 12 ---- + 2 files changed, 17 insertions(+), 31 deletions(-) + +## 68_m68k_xpcom.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Zack Weinberg to fix FTBFS on m68k. bz#323114 +# Modified by Roman Zippel. #402011 + +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_m68k.cpp +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_m68k.cpp ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_m68k.cpp +@@ -132,39 +132,35 @@ + XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, + PRUint32 paramCount, nsXPTCVariant* params) + { + PRUint32 result, n; + + n = invoke_count_words(paramCount, params) * 4; + + __asm__ __volatile__( +- "subl %5, %/sp\n\t" /* make room for params */ +- "movl %/sp, %/a0\n\t" +- "movl %4, %/sp@-\n\t" +- "movl %3, %/sp@-\n\t" +- "movl %/a0, %/sp@-\n\t" ++ "subl %5, %%sp\n\t" /* make room for params */ ++ "movel %4, %%sp@-\n\t" ++ "movel %3, %%sp@-\n\t" ++ "pea %%sp@(8)\n\t" + "jbsr invoke_copy_to_stack\n\t" /* copy params */ +- "addl #12, %/sp\n\t" +- "movl %1, %/a0\n\t" +- "movl %/a0, %/sp@-\n\t" +- "movl %/a0@, %/a0\n\t" +- "movl %2, %/d0\n\t" /* function index */ ++ "addw #12, %%sp\n\t" ++ "movel %1, %%sp@-\n\t" ++ "movel %1@, %%a0\n\t" + #if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ +- "movl %/a0@(%/d0:l:4), %/a0\n\t" ++ "movel %%a0@(%2:l:4), %%a0\n\t" + #else /* not V3 */ +- "movl %/a0@(8,%/d0:l:4), %/a0\n\t" ++ "movel %%a0@(8,%2:l:4), %%a0\n\t" + #endif +- "jbsr %/a0@\n\t" /* safe to not cleanup sp */ +- "movl %/d0, %0\n\t" +- "addql #4, %/sp\n\t" +- "addl %5, %/sp" +- : "=g" (result) /* %0 */ +- : "g" (that), /* %1 */ +- "g" (methodIndex), /* %2 */ ++ "jbsr %%a0@\n\t" /* safe to not cleanup sp */ ++ "lea %%sp@(4,%5:l), %%sp\n\t" ++ "movel %%d0, %0" ++ : "=d" (result) /* %0 */ ++ : "a" (that), /* %1 */ ++ "d" (methodIndex), /* %2 */ + "g" (paramCount), /* %3 */ + "g" (params), /* %4 */ +- "g" (n) /* %5 */ ++ "d" (n) /* %5 */ + : "a0", "a1", "d0", "d1", "memory" + ); + + return result; + } +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_m68k.cpp +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_m68k.cpp ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_m68k.cpp +@@ -116,28 +116,18 @@ + + return result; + } + } + + #define STUB_ENTRY(n) \ + nsresult nsXPTCStubBase::Stub##n() \ + { \ +- register nsresult result asm("d0"); \ + void *frame = __builtin_frame_address(0); \ +- __asm__ __volatile__( \ +- "pea %2@(12)\n\t" /* args */ \ +- "pea "#n"\n\t" /* method index */ \ +- "movl %1, %/sp@-\n\t" /* this */ \ +- "jbsr PrepareAndDispatch\n\t" \ +- "addw #12, %/sp" \ +- : "=d" (result) /* %0 */ \ +- : "a" (this), "a" (frame) \ +- : "a0", "a1", "d0", "d1", "memory" ); \ +- return result; \ ++ return PrepareAndDispatch(this, n, (uint32*)frame + 3); \ + } + + #define SENTINEL_ENTRY(n) \ + nsresult nsXPTCStubBase::Sentinel##n() \ + { \ + NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \ + return NS_ERROR_NOT_IMPLEMENTED; \ + } --- seamonkey-1.1.12+nobinonly.orig/debian/patches/68_mips_performance.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/68_mips_performance.patch @@ -0,0 +1,62 @@ +--- + config/rules.mk | 9 --------- + configure.in | 2 -- + 2 files changed, 11 deletions(-) + +## 68_mips_performance.patch converted from dpatch file initially by Mike Hommey +# +# Patch from Thiemo Seufer to increase stability and performance on mips. + +Index: seamonkey-1.1.6/config/rules.mk +=================================================================== +--- seamonkey-1.1.6.orig/config/rules.mk ++++ seamonkey-1.1.6/config/rules.mk +@@ -451,25 +451,16 @@ + ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST))) + ifeq ($(MODULE),layout) + OS_CFLAGS += -Wa,-xgot + OS_CXXFLAGS += -Wa,-xgot + endif + endif + endif + +-ifeq ($(OS_ARCH),Linux) +-ifneq (,$(filter mips mipsel,$(OS_TEST))) +-ifeq ($(MODULE),layout) +-OS_CFLAGS += -Wa,-xgot +-OS_CXXFLAGS += -Wa,-xgot +-endif +-endif +-endif +- + # + # HP-UX specific section: for COMPONENTS only, add -Bsymbolic flag + # which uses internal symbols first + # + ifeq ($(OS_ARCH),HP-UX) + ifdef IS_COMPONENT + ifeq ($(GNU_CC)$(GNU_CXX),) + EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic +Index: seamonkey-1.1.6/configure.in +=================================================================== +--- seamonkey-1.1.6.orig/configure.in ++++ seamonkey-1.1.6/configure.in +@@ -1606,18 +1606,16 @@ + CFLAGS="$CFLAGS -mieee" + CXXFLAGS="$CXXFLAGS -mieee" + ;; + i*86) + USE_ELF_DYNSTR_GC=1 + MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1 + ;; + mips*) +- CFLAGS="$CFLAGS -Wa,-xgot" +- CXXFLAGS="$CXXFLAGS -Wa,-xgot" + ;; + esac + ;; + + *-wince*) + + MOZ_TOOLS_DIR=`echo $MOZ_TOOLS` + AR_LIST="$AR -list" --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_free_art_fixes.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_free_art_fixes.patch @@ -0,0 +1,54 @@ +--- + themes/classic/jar.mn | 1 - + themes/modern/jar.mn | 1 - + 2 files changed, 2 deletions(-) + +## 80_free_art_fixes.patch converted from dpatch file initially by Alexander Sack +# +# use .png for about:logo instead of .gif ... to improve about page +# appearence + +Index: iceape-1.1.4/themes/classic/jar.mn +=================================================================== +--- iceape-1.1.4.orig/themes/classic/jar.mn ++++ iceape-1.1.4/themes/classic/jar.mn +@@ -60,17 +60,16 @@ + skin/classic/communicator/icons/online.gif (communicator/icons/online.gif) + skin/classic/communicator/icons/search-act.gif (communicator/icons/search-act.gif) + skin/classic/communicator/icons/search.gif (communicator/icons/search.gif) + skin/classic/communicator/icons/search-hov.gif (communicator/icons/search-hov.gif) + skin/classic/communicator/icons/lock-secure.gif (communicator/icons/lock-secure.gif) + skin/classic/communicator/icons/lock-broken.gif (communicator/icons/lock-broken.gif) + skin/classic/communicator/icons/lock-insecure.gif (communicator/icons/lock-insecure.gif) + skin/classic/communicator/icons/loading.gif (communicator/icons/loading.gif) +- skin/classic/communicator/icons/turbo-systray.gif (communicator/icons/turbo-systray.gif) + skin/classic/communicator/icons/btn1.gif (communicator/icons/btn1.gif) + skin/classic/communicator/icons/smileys/smile_n.gif (communicator/icons/smileys/smile_n.gif) + skin/classic/communicator/icons/smileys/frown_n.gif (communicator/icons/smileys/frown_n.gif) + skin/classic/communicator/icons/smileys/wink_n.gif (communicator/icons/smileys/wink_n.gif) + skin/classic/communicator/icons/smileys/tongue_n.gif (communicator/icons/smileys/tongue_n.gif) + skin/classic/communicator/icons/smileys/laughing_n.gif (communicator/icons/smileys/laughing_n.gif) + skin/classic/communicator/icons/smileys/embarrassed_n.gif (communicator/icons/smileys/embarrassed_n.gif) + skin/classic/communicator/icons/smileys/undecided_n.gif (communicator/icons/smileys/undecided_n.gif) +Index: iceape-1.1.4/themes/modern/jar.mn +=================================================================== +--- iceape-1.1.4.orig/themes/modern/jar.mn ++++ iceape-1.1.4/themes/modern/jar.mn +@@ -31,17 +31,16 @@ + skin/modern/communicator/icons/autoscroll.png (communicator/icons/autoscroll.png) + skin/modern/communicator/icons/loading.gif (communicator/icons/loading.gif) + skin/modern/communicator/icons/lock-broken.gif (communicator/icons/lock-broken.gif) + skin/modern/communicator/icons/lock-insecure.gif (communicator/icons/lock-insecure.gif) + skin/modern/communicator/icons/lock-mixed.gif (communicator/icons/lock-mixed.gif) + skin/modern/communicator/icons/lock-secure.gif (communicator/icons/lock-secure.gif) + skin/modern/communicator/icons/offline.gif (communicator/icons/offline.gif) + skin/modern/communicator/icons/online.gif (communicator/icons/online.gif) +- skin/modern/communicator/icons/turbo-systray.gif (communicator/icons/turbo-systray.gif) + skin/modern/communicator/icons/btn1.gif (communicator/icons/btn1.gif) + skin/modern/communicator/icons/search.gif (communicator/icons/search.gif) + skin/modern/communicator/icons/smileys/smile_n.gif (communicator/icons/smileys/smile_n.gif) + skin/modern/communicator/icons/smileys/frown_n.gif (communicator/icons/smileys/frown_n.gif) + skin/modern/communicator/icons/smileys/wink_n.gif (communicator/icons/smileys/wink_n.gif) + skin/modern/communicator/icons/smileys/tongue_n.gif (communicator/icons/smileys/tongue_n.gif) + skin/modern/communicator/icons/smileys/laughing_n.gif (communicator/icons/smileys/laughing_n.gif) + skin/modern/communicator/icons/smileys/embarrassed_n.gif (communicator/icons/smileys/embarrassed_n.gif) --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_hunspell.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_hunspell.patch @@ -0,0 +1,148 @@ +--- + config/autoconf.mk.in | 4 ++++ + configure.in | 16 ++++++++++++++++ + extensions/spellcheck/myspell/src/Makefile.in | 24 ++++++++++++++++-------- + extensions/spellcheck/myspell/src/mozMySpell.h | 2 +- + 4 files changed, 37 insertions(+), 9 deletions(-) + +## 80_hunspell.patch converted from dpatch file initially by +# +# Use hunspell instead of myspell, and link against system library +# -> non pkg-config version of the patch + +Index: iceape-1.1.4/config/autoconf.mk.in +=================================================================== +--- iceape-1.1.4.orig/config/autoconf.mk.in ++++ iceape-1.1.4/config/autoconf.mk.in +@@ -186,16 +186,20 @@ + + MOZ_XUL = @MOZ_XUL@ + + NECKO_PROTOCOLS = @NECKO_PROTOCOLS@ + NECKO_DISK_CACHE = @NECKO_DISK_CACHE@ + NECKO_SMALL_BUFFERS = @NECKO_SMALL_BUFFERS@ + NECKO_COOKIES = @NECKO_COOKIES@ + ++MOZ_NATIVE_MYSPELL = @SYSTEM_MYSPELL@ ++MOZ_MYSPELL_LIBS = @MOZ_MYSPELL_LIBS@ ++MOZ_MYSPELL_CFLAGS = @MOZ_MYSPELL_CFLAGS@ ++ + MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@ + MOZ_NATIVE_JPEG = @SYSTEM_JPEG@ + MOZ_NATIVE_PNG = @SYSTEM_PNG@ + MOZ_TREE_CAIRO = @MOZ_TREE_CAIRO@ + + MOZ_UPDATE_XTERM = @MOZ_UPDATE_XTERM@ + MOZ_MATHML = @MOZ_MATHML@ + MOZ_XTF = @MOZ_XTF@ +Index: iceape-1.1.4/configure.in +=================================================================== +--- iceape-1.1.4.orig/configure.in ++++ iceape-1.1.4/configure.in +@@ -3901,16 +3901,32 @@ + + if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then + PNG_CFLAGS="-I${PNG_DIR}/include" + PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}" + fi + + fi # SKIP_LIBRARY_CHECKS + ++dnl system MySpell Support ++dnl ======================================================== ++MOZ_ARG_ENABLE_BOOL(system-myspell, ++[ --enable-system-myspell Use system myspell (located with pkgconfig)], ++ SYSTEM_MYSPELL=1 ) ++ ++if test -n "$SYSTEM_MYSPELL"; then ++ dnl PKG_CHECK_MODULES(MOZ_MYSPELL, myspell) ++ MOZ_MYSPELL_CFLAGS="-I/usr/include/hunspell -DMySpell=Hunspell" ++ MOZ_MYSPELL_LIBS="-lhunspell" ++fi ++ ++AC_SUBST(SYSTEM_MYSPELL) ++AC_SUBST(MOZ_MYSPELL_LIBS) ++AC_SUBST(MOZ_MYSPELL_CFLAGS) ++ + dnl ======================================================== + dnl Java SDK support + dnl ======================================================== + JAVA_INCLUDE_PATH= + MOZ_ARG_WITH_STRING(java-include-path, + [ --with-java-include-path=dir Location of Java SDK headers], + JAVA_INCLUDE_PATH=$withval) + +Index: iceape-1.1.4/extensions/spellcheck/myspell/src/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/extensions/spellcheck/myspell/src/Makefile.in ++++ iceape-1.1.4/extensions/spellcheck/myspell/src/Makefile.in +@@ -55,30 +55,38 @@ + REQUIRES = xpcom \ + string \ + uconv \ + unicharutil \ + spellchecker \ + xulapp \ + $(NULL) + +-CPPSRCS = affentry.cpp \ +- affixmgr.cpp \ +- hashmgr.cpp \ +- suggestmgr.cpp \ +- csutil.cpp \ +- myspell.cpp \ +- mozMySpell.cpp \ +- mozMySpellFactory.cpp \ ++CPPSRCS = mozMySpell.cpp \ ++ mozMySpellFactory.cpp \ + $(NULL) ++ifndef MOZ_NATIVE_MYSPELL ++CPPSRCS += affentry.cpp \ ++ affixmgr.cpp \ ++ hashmgr.cpp \ ++ suggestmgr.cpp \ ++ csutil.cpp \ ++ myspell.cpp \ ++ $(NULL) ++endif + + ifdef MOZ_XUL_APP + CPPSRCS += mozMySpellDirProvider.cpp + endif + + EXTRA_DSO_LDOPTS = \ + $(LIBS_DIR) \ + $(XPCOM_LIBS) \ + $(NSPR_LIBS) \ + $(MOZ_UNICHARUTIL_LIBS) \ ++ $(MOZ_MYSPELL_LIBS) \ + $(NULL) + + include $(topsrcdir)/config/rules.mk ++ ++ifdef MOZ_NATIVE_MYSPELL ++CXXFLAGS += $(MOZ_MYSPELL_CFLAGS) ++endif +Index: iceape-1.1.4/extensions/spellcheck/myspell/src/mozMySpell.h +=================================================================== +--- iceape-1.1.4.orig/extensions/spellcheck/myspell/src/mozMySpell.h ++++ iceape-1.1.4/extensions/spellcheck/myspell/src/mozMySpell.h +@@ -51,17 +51,17 @@ + * and affix compression in general, please see: + * http://www.cs.ucla.edu/ficus-members/geoff/ispell.html + * (the home page for ispell) + * + * ***** END LICENSE BLOCK ***** */ + #ifndef mozMySpell_h__ + #define mozMySpell_h__ + +-#include "myspell.hxx" ++#include "hunspell.hxx" + #include "mozISpellCheckingEngine.h" + #include "mozIPersonalDictionary.h" + #include "nsString.h" + #include "nsCOMPtr.h" + #include "nsIObserver.h" + #include "nsIUnicodeEncoder.h" + #include "nsIUnicodeDecoder.h" + #include "nsInterfaceHashtable.h" --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_install_path.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_install_path.patch @@ -0,0 +1,39 @@ +--- + config/autoconf.mk.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +## 80_install_path.patch converted from dpatch file initially by Mike Hommey +# +# hook to set application directory name + +Index: iceape-1.1.4/config/autoconf.mk.in +=================================================================== +--- iceape-1.1.4.orig/config/autoconf.mk.in ++++ iceape-1.1.4/config/autoconf.mk.in +@@ -52,23 +52,23 @@ + MOZ_APP_DISPLAYNAME = @MOZ_APP_DISPLAYNAME@ + MOZ_APP_VERSION = @MOZ_APP_VERSION@ + + MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@ + + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ +-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) ++includedir = @includedir@/$(MOZ_APP_NAME) + libdir = @libdir@ + datadir = @datadir@ + mandir = @mandir@ +-idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) ++idldir = @datadir@/idl/$(MOZ_APP_NAME) + +-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) ++mozappdir = $(libdir)/$(MOZ_APP_NAME) + mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION) + mrelibdir = $(mredir)/lib + + DIST = $(DEPTH)/dist + + MOZ_CHROME_FILE_FORMAT = @MOZ_CHROME_FILE_FORMAT@ + + MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@ --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_libxpcom_hack.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_libxpcom_hack.patch @@ -0,0 +1,82 @@ +--- + embedding/browser/gtk/src/Makefile.in | 2 ++ + js/src/xpconnect/shell/Makefile.in | 2 ++ + xpfe/bootstrap/Makefile.in | 2 +- + 3 files changed, 5 insertions(+), 1 deletion(-) + +## 80_libxpcom_hack.patch converted from dpatch file initially by Mike Hommey +# +# Force libxpcom to be linked to xulrunner-bin, xpcshell and libgtkmozembed +# so that it is loaded in most of the cases. + +Index: iceape-1.1.4/embedding/browser/gtk/src/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/embedding/browser/gtk/src/Makefile.in ++++ iceape-1.1.4/embedding/browser/gtk/src/Makefile.in +@@ -115,17 +115,19 @@ + EXTRA_DSO_LDOPTS = \ + $(MOZ_COMPONENT_LIBS) \ + -lgtksuperwin \ + $(NULL) + endif + + ifdef MOZ_ENABLE_GTK2 + EXTRA_DSO_LDOPTS = \ ++ -Wl,--no-as-needed \ + $(MOZ_COMPONENT_LIBS) \ ++ -Wl,--as-needed \ + $(NULL) + endif + + EXTRA_DSO_LDOPTS += $(MOZ_GTK_LDFLAGS) $(MOZ_GTK2_LIBS) + + ifdef BUILD_STATIC_LIBS + # This is so sick! We'll work backwards from the embedding manifest to + # produce the set of components that we need to link in to a +Index: iceape-1.1.4/js/src/xpconnect/shell/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/js/src/xpconnect/shell/Makefile.in ++++ iceape-1.1.4/js/src/xpconnect/shell/Makefile.in +@@ -52,17 +52,19 @@ + js \ + caps \ + $(NULL) + + CPPSRCS = xpcshell.cpp + + LIBS = \ + $(MOZ_JS_LIBS) \ ++ -Wl,--no-as-needed \ + $(XPCOM_LIBS) \ ++ -Wl,--as-needed \ + $(NSPR_LIBS) \ + $(NULL) + + include $(topsrcdir)/config/rules.mk + + DEFINES += -DJS_THREADSAFE + + # +Index: iceape-1.1.4/xpfe/bootstrap/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpfe/bootstrap/Makefile.in ++++ iceape-1.1.4/xpfe/bootstrap/Makefile.in +@@ -193,17 +193,17 @@ + endif + + # If you change anything that mozilla links to, please talk to dougt@netscape.com + ifdef GRE_BUILD + LIBS += \ + $(DIST)/lib/$(LIB_PREFIX)xpcomglue.$(LIB_SUFFIX) \ + $(NULL) + else +-LIBS += $(XPCOM_LIBS) ++LIBS += -Wl,--no-as-needed $(XPCOM_LIBS) --Wl,--as-needed + endif + + LIBS += \ + $(MOZ_JS_LIBS) \ + $(NSPR_LIBS) \ + $(NULL) + + ifdef MOZ_JPROF --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_security_build.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_security_build.patch @@ -0,0 +1,279 @@ +--- + security/coreconf/rules.mk | 2 + + security/manager/Makefile.in | 49 ------------------------------------ + security/nss/cmd/shlibsign/Makefile | 2 - + 3 files changed, 3 insertions(+), 50 deletions(-) + +## 80_security_build.patch converted from dpatch file initially by Mike Hommey +# +# Dynamically link libnssckbi to both libplc4 and libplds4 instead of +# linking statically. The static link issue has been more deeply been +# taken care of in bz#302416. +# Note we do build the shlibsign program but don't automatically create +# the .chk file, since we will strip the library in debian/rules. + +Index: seamonkey-1.1.11+nobinonly/security/coreconf/rules.mk +=================================================================== +--- seamonkey-1.1.11+nobinonly.orig/security/coreconf/rules.mk ++++ seamonkey-1.1.11+nobinonly/security/coreconf/rules.mk +@@ -40,16 +40,18 @@ + ### R U L E S O F E N G A G E M E N T ### + ### ### + ####################################################################### + + ####################################################################### + # Double-Colon rules for utilizing the binary release model. # + ####################################################################### + ++CFLAGS += -g ++ + all:: export libs + + ifeq ($(AUTOCLEAN),1) + autobuild:: clean export private_export libs program install + else + autobuild:: export private_export libs program install + endif + +Index: seamonkey-1.1.11+nobinonly/security/manager/Makefile.in +=================================================================== +--- seamonkey-1.1.11+nobinonly.orig/security/manager/Makefile.in ++++ seamonkey-1.1.11+nobinonly/security/manager/Makefile.in +@@ -48,32 +48,30 @@ + PACKAGE_FILE = psm.pkg + + ifndef MOZ_NATIVE_NSS + PACKAGE_VARS += \ + NSS3_LIB \ + SMIME3_LIB \ + SSL3_LIB \ + SOFTOKEN3_LIB \ +- SOFTOKEN3_CHK \ + LOADABLE_ROOT_MODULE \ + HAVE_FREEBL_LIBS \ + HAVE_FREEBL_LIBS_32 \ + HAVE_FREEBL_LIBS_32INT64 \ + HAVE_FREEBL_LIBS_64 \ + $(NULL) + + LOADABLE_ROOT_MODULE = $(DLL_PREFIX)nssckbi$(DLL_SUFFIX) + endif + + NSS3_LIB = $(DLL_PREFIX)nss3$(DLL_SUFFIX) + SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX) + SSL3_LIB = $(DLL_PREFIX)ssl3$(DLL_SUFFIX) + SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX) +-SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk + + # Default + HAVE_FREEBL_LIBS = 1 + + # 32-bit HP-UX PA-RISC + ifeq ($(OS_ARCH), HP-UX) + ifneq ($(OS_TEST), ia64) + ifndef HAVE_64BIT_OS +@@ -94,33 +92,27 @@ + HAVE_FREEBL_LIBS_32 = 1 + HAVE_FREEBL_LIBS_32INT64 = 1 + endif + endif + endif + + ifdef HAVE_FREEBL_LIBS + FREEBL_LIB = $(DLL_PREFIX)freebl3$(DLL_SUFFIX) +-FREEBL_CHK = $(DLL_PREFIX)freebl3.chk + endif + ifdef HAVE_FREEBL_LIBS_32 + FREEBL_32INT_LIB = libfreebl_32int_3$(DLL_SUFFIX) +-FREEBL_32INT_CHK = libfreebl_32int_3.chk + FREEBL_32FPU_LIB = libfreebl_32fpu_3$(DLL_SUFFIX) +-FREEBL_32FPU_CHK = libfreebl_32fpu_3.chk + endif + ifdef HAVE_FREEBL_LIBS_32INT64 + FREEBL_32INT64_LIB = libfreebl_32int64_3$(DLL_SUFFIX) +-FREEBL_32INT64_CHK = libfreebl_32int64_3.chk + endif + ifdef HAVE_FREEBL_LIBS_64 + FREEBL_64INT_LIB = libfreebl_64int_3$(DLL_SUFFIX) +-FREEBL_64INT_CHK = libfreebl_64int_3.chk + FREEBL_64FPU_LIB = libfreebl_64fpu_3$(DLL_SUFFIX) +-FREEBL_64FPU_CHK = libfreebl_64fpu_3.chk + endif + + ABS_DIST := $(shell cd $(DIST) && pwd) + ifeq ($(HOST_OS_ARCH),WINNT) + ifdef CYGDRIVE_MOUNT + ABS_DIST := $(shell cygpath -w $(ABS_DIST) | sed -e 's|\\|/|g') + endif + ifneq (,$(filter mingw%,$(host_os))) +@@ -201,33 +193,30 @@ + LINK="$(LD)" \ + AS="$(AS)" \ + AR='$(AR) $(AR_FLAGS:$@=$$@)' \ + RANLIB="$(RANLIB)" \ + RC="$(RC) $(RCFLAGS)" \ + OS_ARCH="$(OS_ARCH)" \ + CPU_ARCH="$(TARGET_CPU)" \ + $(NULL) +-SKIP_CHK=1 + endif + SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile locales/Makefile + + include $(topsrcdir)/config/rules.mk + + # Attempt to properly handle NSS' refusal to implement a dependency system + export:: .nss.cleaned + + .nss.cleaned: .nss.checkout + ifndef MOZ_NATIVE_NSS + $(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean + $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean +-ifndef SKIP_CHK + $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean + $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean +-endif + touch $@ + endif + + GARBAGE += .nss.cleaned + + .nss.checkout: + ifndef MOZ_NATIVE_NSS + touch $(srcdir)/$@ +@@ -255,99 +244,63 @@ + $(MAKE) -C $(topsrcdir)/security/nss-fips/lib $(DEFAULT_GMAKE_FLAGS) export + $(MAKE) -C $(topsrcdir)/security/nss-fips/lib/util $(DEFAULT_GMAKE_FLAGS) libs + $(MAKE) -C $(topsrcdir)/security/nss-fips/lib/freebl $(DEFAULT_GMAKE_FLAGS) libs + $(MAKE) -C $(topsrcdir)/security/nss-fips/lib/softoken $(DEFAULT_GMAKE_FLAGS) libs + $(MAKE) -C $(topsrcdir)/security/nss-fips/lib/util $(DEFAULT_GMAKE_FLAGS) clean + # In NSS 3.11.8-3.11.9, lib/ssl/derive.c includes cmd/lib/secutil.h. + $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) export + $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) DIRS="util base dev pki pki1 certdb certhigh pk11wrap cryptohi nss ssl pkcs12 pkcs7 smime crmf jar ckfw ckfw/builtins" +-ifndef SKIP_CHK + $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) + $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin +-ifndef SKIP_CHK +- $(INSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DIST)/bin +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DIST)/bin + $(INSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DIST)/bin + $(INSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DIST)/bin + $(INSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DIST)/bin + ifdef HAVE_FREEBL_LIBS +-ifndef SKIP_CHK +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DIST)/bin +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DIST)/bin + endif + ifdef HAVE_FREEBL_LIBS_32 +-ifndef SKIP_CHK +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DIST)/bin +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DIST)/bin +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DIST)/bin + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DIST)/bin + endif + ifdef HAVE_FREEBL_LIBS_32INT64 +-ifndef SKIP_CHK +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DIST)/bin +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DIST)/bin + endif + ifdef HAVE_FREEBL_LIBS_64 +-ifndef SKIP_CHK +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DIST)/bin +- $(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DIST)/bin +-endif + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DIST)/bin + $(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DIST)/bin + endif + endif + $(MAKE) -C boot $@ + $(MAKE) -C ssl $@ + $(MAKE) -C locales $@ + ifdef MOZ_XUL + $(MAKE) -C pki $@ + endif + + install:: + ifndef MOZ_NATIVE_NSS + $(SYSINSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DESTDIR)$(mozappdir) +-ifndef SKIP_CHK +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DESTDIR)$(mozappdir) +-endif + $(SYSINSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DESTDIR)$(mozappdir) + $(SYSINSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DESTDIR)$(mozappdir) + $(SYSINSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DESTDIR)$(mozappdir) + $(SYSINSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DESTDIR)$(mozappdir) + ifdef HAVE_FREEBL_LIBS +-ifndef SKIP_CHK +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DESTDIR)$(mozappdir) +-endif + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DESTDIR)$(mozappdir) + endif + ifdef HAVE_FREEBL_LIBS_32 +-ifndef SKIP_CHK +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DESTDIR)$(mozappdir) +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DESTDIR)$(mozappdir) +-endif + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DESTDIR)$(mozappdir) + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DESTDIR)$(mozappdir) + endif + ifdef HAVE_FREEBL_LIBS_32INT64 +-ifndef SKIP_CHK +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DESTDIR)$(mozappdir) +-endif + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DESTDIR)$(mozappdir) + endif + ifdef HAVE_FREEBL_LIBS_64 +-ifndef SKIP_CHK +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DESTDIR)$(mozappdir) +- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DESTDIR)$(mozappdir) +-endif + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DESTDIR)$(mozappdir) + $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DESTDIR)$(mozappdir) + endif + endif + $(MAKE) -C boot $@ + $(MAKE) -C ssl $@ + $(MAKE) -C locales $@ + ifdef MOZ_XUL +@@ -359,20 +312,18 @@ + $(MAKE) -C ssl $@ + $(MAKE) -C locales $@ + ifdef MOZ_XUL + $(MAKE) -C pki $@ + endif + ifndef MOZ_NATIVE_NSS + $(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean + $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean +-ifndef SKIP_CHK + $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean + $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean + endif +-endif + + echo-requires-recursive:: + $(MAKE) -C boot $@ + $(MAKE) -C ssl $@ + $(MAKE) -C pki $@ + $(MAKE) -C locales $@ + +Index: seamonkey-1.1.11+nobinonly/security/nss/cmd/shlibsign/Makefile +=================================================================== +--- seamonkey-1.1.11+nobinonly.orig/security/nss/cmd/shlibsign/Makefile ++++ seamonkey-1.1.11+nobinonly/security/nss/cmd/shlibsign/Makefile +@@ -94,10 +94,10 @@ + $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \ + $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<) + else + cd $(OBJDIR) ; sh $(SRCDIR)/sign.sh $(call core_abspath,$(DIST)) \ + $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \ + $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<) + endif + +-libs install :: $(CHECKLOC) ++libs install :: + --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_system_libs.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_system_libs.patch @@ -0,0 +1,71 @@ +--- + configure.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +## 80_system_libs.patch converted from dpatch file initially by +# +# Make sure we won't be bitten by upstream changing libjpeg, libpng +# or zlib internal version, which makes system library not used even +# though --with-system-* argument is given to configure. + +Index: iceape-1.1.4/configure.in +=================================================================== +--- iceape-1.1.4.orig/configure.in ++++ iceape-1.1.4/configure.in +@@ -3776,17 +3776,17 @@ + LDFLAGS="-L${JPEG_DIR}/lib $LDFLAGS" + fi + if test -z "$JPEG_DIR" -o "$JPEG_DIR" = no; then + SYSTEM_JPEG= + else + AC_CHECK_LIB(jpeg, jpeg_destroy_compress, [SYSTEM_JPEG=1 JPEG_LIBS="-ljpeg $JPEG_LIBS"], SYSTEM_JPEG=, $JPEG_LIBS) + fi + +-if test "$SYSTEM_JPEG" = 1; then ++if test "$SYSTEM_JPEG" = 0; then + LIBS="$JPEG_LIBS $LIBS" + AC_TRY_RUN( + #include + #include + #include + int main () { + #if JPEG_LIB_VERSION >= $MOZJPEG + exit(0); +@@ -3821,17 +3821,17 @@ + LDFLAGS="-L${ZLIB_DIR}/lib $LDFLAGS" + fi + if test -z "$ZLIB_DIR" -o "$ZLIB_DIR" = no; then + SYSTEM_ZLIB= + else + AC_CHECK_LIB(z, gzread, [SYSTEM_ZLIB=1 ZLIB_LIBS="-lz $ZLIB_LIBS"], + [SYSTEM_ZLIB= ZLIB_CFLAGS= ZLIB_LIBS=], $ZLIB_LIBS) + fi +-if test "$SYSTEM_ZLIB" = 1; then ++if test "$SYSTEM_ZLIB" = 0; then + LIBS="$ZLIB_LIBS $LIBS" + AC_TRY_RUN([ + #include + #include + #include + int parse_version(const char *str, int *ver) { + return (sscanf(str, "%d.%d.%d", ver, ver+1, ver+2)==3?0:1); + } +@@ -3874,17 +3874,17 @@ + LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS" + fi + if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then + SYSTEM_PNG= + else + AC_CHECK_LIB(png, png_get_valid, [SYSTEM_PNG=1 PNG_LIBS="-lpng $PNG_LIBS"], + SYSTEM_PNG=, $PNG_LIBS) + fi +-if test "$SYSTEM_PNG" = 1; then ++if test "$SYSTEM_PNG" = 0; then + LIBS="$PNG_LIBS $LIBS" + AC_TRY_RUN( + #include + #include + #include + int main () { + #if PNG_LIBPNG_VER >= $MOZPNG + exit(0); --- seamonkey-1.1.12+nobinonly.orig/debian/patches/80_uname.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/80_uname.patch @@ -0,0 +1,83 @@ +--- + configure.in | 16 ++++++++++++---- + xpcom/reflect/xptcall/src/md/unix/Makefile.in | 2 +- + 2 files changed, 13 insertions(+), 5 deletions(-) + +## 80_uname.patch converted from dpatch file initially by Mike Hommey +# +# Use ${host_*} variables instead of uname in configure.in. Closes: +# #377418. +# This is a minimalist patch to solve the particular bad assembler +# choice issue. It would need a much greater work to actually do +# something totally clean, but the current patch should be enough +# for Linux builds. +# Also incorporates fix for bz#363263. + +Index: iceape-1.1.4/configure.in +=================================================================== +--- iceape-1.1.4.orig/configure.in ++++ iceape-1.1.4/configure.in +@@ -822,28 +822,36 @@ + MOZ_ENABLE_POSTSCRIPT=1 + + if test -n "$CROSS_COMPILE"; then + OS_TARGET="${target_os}" + OS_ARCH=`echo $target_os | sed -e 's|/|_|g'` + OS_RELEASE= + OS_TEST="${target_cpu}" + case "${target_os}" in +- linux*) OS_ARCH=Linux ;; ++ linux*) OS_ARCH=Linux OS_TARGET=Linux;; + kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;; + solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; + mingw*) OS_ARCH=WINNT ;; + wince*) OS_ARCH=WINCE ;; + darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;; + esac + else +- OS_TARGET=`uname -s` +- OS_ARCH=`uname -s | sed -e 's|/|_|g'` ++ OS_TARGET="${host_os}" ++ OS_ARCH=`echo $host_os | sed -e 's|/|_|g'` + OS_RELEASE=`uname -r` +- OS_TEST=`uname -m` ++ OS_TEST="${host_cpu}" ++ case "${host_os}" in ++ linux*) OS_ARCH=Linux OS_TARGET=Linux;; ++ kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;; ++ solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; ++ mingw*) OS_ARCH=WINNT ;; ++ wince*) OS_ARCH=WINCE ;; ++ darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;; ++ esac + fi + _COMPILER_PREFIX= + + HOST_OS_ARCH=`echo $host_os | sed -e 's|/|_|g'` + + ####################################################################### + # Master "Core Components" macros for getting the OS target # + ####################################################################### +Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +=================================================================== +--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in ++++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in +@@ -268,17 +268,17 @@ + + # #24617 Building the CPP's (CXX) optimized causes a crash + CXXFLAGS := $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS)) + endif + + # + # Linux/PPC + # +-ifeq ($(OS_ARCH)$(OS_TEST),Linuxppc) ++ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc) + CPPSRCS := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp + ASFILES := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s + AS := $(CC) -c -x assembler-with-cpp + endif + + # + # NetBSD/PPC + # --- seamonkey-1.1.12+nobinonly.orig/debian/patches/82_locale.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/82_locale.patch @@ -0,0 +1,31 @@ +--- + modules/libpref/src/init/all.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +## 82_locale.patch converted from dpatch file initially by Mike Hommey +# +# use OS locale. bz#331779 + +Index: iceape-1.1.4/modules/libpref/src/init/all.js +=================================================================== +--- iceape-1.1.4.orig/modules/libpref/src/init/all.js ++++ iceape-1.1.4/modules/libpref/src/init/all.js +@@ -776,17 +776,17 @@ + pref("intl.charsetmenu.mailedit", "chrome://navigator/locale/navigator.properties"); + pref("intl.charsetmenu.browser.cache", ""); + pref("intl.charsetmenu.mailview.cache", ""); + pref("intl.charsetmenu.composer.cache", ""); + pref("intl.charsetmenu.browser.cache.size", 5); + pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties"); + pref("intl.charset.default", "chrome://navigator-platform/locale/navigator.properties"); + pref("intl.content.langcode", "chrome://communicator-region/locale/region.properties"); +-pref("intl.locale.matchOS", false); ++pref("intl.locale.matchOS", true); + // fallback charset list for Unicode conversion (converting from Unicode) + // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes) + // for ISO-8859-1 + pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252"); + pref("font.language.group", "chrome://navigator/locale/navigator.properties"); + + pref("images.dither", "auto"); + pref("security.directory", ""); --- seamonkey-1.1.12+nobinonly.orig/debian/patches/82_prefs.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/82_prefs.patch @@ -0,0 +1,177 @@ +--- + mailnews/mailnews.js | 4 ++-- + modules/libpref/src/init/all.js | 36 +++++++++++++++++++----------------- + 2 files changed, 21 insertions(+), 19 deletions(-) + +## 82_prefs.patch converted from dpatch file initially by Mike Hommey +# +# Set filename for general config file for locks and set the obscure +# value to 0 so that the file needs not be "encrypted". +# Set javascript.options.showInConsole. +# Set DPI to system settings. +# Fix font defaults. +# Workaround for freeze error with mail compose window after a couple +# of hours of use. bz#307672 + +Index: iceape-1.1.4/mailnews/mailnews.js +=================================================================== +--- iceape-1.1.4.orig/mailnews/mailnews.js ++++ iceape-1.1.4/mailnews/mailnews.js +@@ -386,17 +386,17 @@ + pref("ldap_2.version", 3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */ + pref("ldap_2.prefs_migrated", false); + + pref("mailnews.confirm.moveFoldersToTrash", true); + + // space-delimited list of extra headers to add to .msf file + pref("mailnews.customDBHeaders", ""); + +-pref("mailnews.reuse_message_window", true); ++pref("mailnews.reuse_message_window", false); + pref("mailnews.reuse_thread_window2", false); + pref("mailnews.open_window_warning", 10); // warn user if they attempt to open more than this many messages at once + + pref("mailnews.start_page.enabled", true); + + pref("mailnews.remember_selected_message", true); + pref("mailnews.scroll_to_new_message", true); + +@@ -662,17 +662,17 @@ + // see abCommon.js and abSelectAddressesDialog.js + pref("mailnews.ui.select_addresses_results.version", 1); + // for manual upgrades of certain UI features. + // 1 -> 2 is for the ab results pane + // to hide the non default columns in the advanced directory search dialog + // see abCommon.js and ABSearchDialog.js + pref("mailnews.ui.advanced_directory_search_results.version", 1); + //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly +-pref("mail.compose.max_recycled_windows", 1); ++pref("mail.compose.max_recycled_windows", 0); + + // true makes it so we persist the open state of news server when starting up the 3 pane + // this is costly, as it might result in network activity. + // false makes it so we act like 4.x + // see bug #103010 for details + pref("news.persist_server_open_state_in_folderpane",false); + + // default description and color prefs for tags +Index: iceape-1.1.4/modules/libpref/src/init/all.js +=================================================================== +--- iceape-1.1.4.orig/modules/libpref/src/init/all.js ++++ iceape-1.1.4/modules/libpref/src/init/all.js +@@ -47,17 +47,18 @@ + // SYNTAX HINTS: dashes are delimiters. Use underscores instead. + // The first character after a period must be alphabetic. + + pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q="); + pref("keyword.enabled", false); + pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties"); + pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties"); + +-pref("general.config.obscure_value", 13); // for MCD .cfg files ++pref("general.config.obscure_value", 0); // for MCD .cfg files ++pref("general.config.filename", "seamonkey.cfg"); + + // maximum number of dated backups to keep at any time + pref("browser.bookmarks.max_backups", 5); + + pref("browser.cache.disk.enable", true); + pref("browser.cache.disk.capacity", 51200); + pref("browser.cache.memory.enable", true); + //pref("browser.cache.memory.capacity", -1); +@@ -459,16 +460,17 @@ + // 2 = openAbused + pref("privacy.popups.disable_from_plugins", 2); + + pref("dom.event.contextmenu.enabled", true); + + pref("javascript.enabled", true); + pref("javascript.allow.mailnews", false); + pref("javascript.options.strict", false); ++pref("javascript.options.showInConsole", true); + + // advanced prefs + pref("security.enable_java", true); + pref("advanced.mailftp", false); + pref("image.animation_mode", "normal"); + + // If there is ever a security firedrill that requires + // us to block certian ports global, this is the pref +@@ -1839,17 +1841,17 @@ + #endif + + #ifndef XP_MACOSX + #ifdef XP_UNIX + // Handled differently under Mac/Windows + pref("network.hosts.smtp_server", "localhost"); + pref("network.hosts.pop_server", "pop"); + pref("network.protocol-handler.warn-external.file", false); +-pref("layout.css.dpi", -1); // max(96dpi, System setting) ++pref("layout.css.dpi", 0); // System setting + pref("browser.drag_out_of_frame_style", 1); + pref("editor.singleLine.pasteNewlines", 0); + + // Middle-mouse handling + pref("middlemouse.paste", true); + pref("middlemouse.contentLoadURL", true); + pref("middlemouse.openNewWindow", true); + pref("middlemouse.scrollbarPosition", true); +@@ -1927,43 +1929,43 @@ + pref("font.name.monospace.ja", "monospace"); + + pref("font.name.serif.ko", "serif"); + pref("font.name.sans-serif.ko", "sans-serif"); + pref("font.name.monospace.ko", "monospace"); + + // th + +-pref("font.name.serif.tr", "Times"); +-pref("font.name.sans-serif.tr", "Helvetica"); +-pref("font.name.monospace.tr", "Courier"); ++pref("font.name.serif.tr", "serif"); ++pref("font.name.sans-serif.tr", "sans-serif"); ++pref("font.name.monospace.tr", "monospace"); + + pref("font.name.serif.x-baltic", "serif"); + pref("font.name.sans-serif.x-baltic", "sans-serif"); + pref("font.name.monospace.x-baltic", "monospace"); + +-pref("font.name.serif.x-central-euro", "Times"); +-pref("font.name.sans-serif.x-central-euro", "Helvetica"); +-pref("font.name.monospace.x-central-euro", "Courier"); ++pref("font.name.serif.x-central-euro", "serif"); ++pref("font.name.sans-serif.x-central-euro", "sans-serif"); ++pref("font.name.monospace.x-central-euro", "monospace"); + + pref("font.name.serif.x-cyrillic", "serif"); + pref("font.name.sans-serif.x-cyrillic", "sans-serif"); + pref("font.name.monospace.x-cyrillic", "monospace"); + +-pref("font.name.serif.x-unicode", "Times"); +-pref("font.name.sans-serif.x-unicode", "Helvetica"); +-pref("font.name.monospace.x-unicode", "Courier"); ++pref("font.name.serif.x-unicode", "serif"); ++pref("font.name.sans-serif.x-unicode", "sans-serif"); ++pref("font.name.monospace.x-unicode", "monospace"); + +-pref("font.name.serif.x-user-def", "Times"); +-pref("font.name.sans-serif.x-user-def", "Helvetica"); +-pref("font.name.monospace.x-user-def", "Courier"); ++pref("font.name.serif.x-user-def", "serif"); ++pref("font.name.sans-serif.x-user-def", "sans-serif"); ++pref("font.name.monospace.x-user-def", "monospace"); + +-pref("font.name.serif.x-western", "Times"); +-pref("font.name.sans-serif.x-western", "Helvetica"); +-pref("font.name.monospace.x-western", "Courier"); ++pref("font.name.serif.x-western", "serif"); ++pref("font.name.sans-serif.x-western", "sans-serif"); ++pref("font.name.monospace.x-western", "monospace"); + + pref("font.name.serif.zh-CN", "serif"); + pref("font.name.sans-serif.zh-CN", "sans-serif"); + pref("font.name.monospace.zh-CN", "monospace"); + + // ming_uni.ttf (HKSCS-2001) + // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe + pref("font.name.serif.zh-HK", "serif"); --- seamonkey-1.1.12+nobinonly.orig/debian/patches/85_syspref.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/85_syspref.patch @@ -0,0 +1,44 @@ +--- + modules/libpref/src/nsPrefService.cpp | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +## 85_syspref.patch converted from dpatch file initially by +# +# Add a syspref preferences directory. + +Index: iceape-1.1.4/modules/libpref/src/nsPrefService.cpp +=================================================================== +--- iceape-1.1.4.orig/modules/libpref/src/nsPrefService.cpp ++++ iceape-1.1.4/modules/libpref/src/nsPrefService.cpp +@@ -753,16 +753,31 @@ + #endif + }; + + rv = pref_LoadPrefsInDir(defaultPrefDir, specialFiles, NS_ARRAY_LENGTH(specialFiles)); + if (NS_FAILED(rv)) { + NS_WARNING("Error parsing application default preferences."); + } + ++ // Load files from defaults/syspref ++ nsCOMPtr SysPrefDir; ++ rv = defaultPrefDir->GetParent(getter_AddRefs(SysPrefDir)); ++ NS_ENSURE_SUCCESS(rv, rv); ++ rv = SysPrefDir->AppendNative(NS_LITERAL_CSTRING("syspref")); ++ NS_ENSURE_SUCCESS(rv, rv); ++ PRBool exists; ++ if (NS_SUCCEEDED(SysPrefDir->Exists(&exists)) && exists) { ++ rv = pref_LoadPrefsInDir(SysPrefDir, nsnull, 0); ++ if (NS_FAILED(rv)) { ++ NS_WARNING("Error parsing system default preferences."); ++ } ++ ++ } ++ + // xxxbsmedberg: TODO load default prefs from a category + // but the architecture is not quite there yet + + nsCOMPtr dirSvc(do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID, &rv)); + if (NS_FAILED(rv)) return rv; + + nsCOMPtr dirList; + dirSvc->Get(NS_APP_PREFS_DEFAULTS_DIR_LIST, --- seamonkey-1.1.12+nobinonly.orig/debian/patches/85_ubuntu_menu.patch +++ seamonkey-1.1.12+nobinonly/debian/patches/85_ubuntu_menu.patch @@ -0,0 +1,85 @@ +Index: seamonkey-1.1.8+nobinonly/xpfe/communicator/jar.mn +=================================================================== +--- seamonkey-1.1.8+nobinonly.orig/xpfe/communicator/jar.mn 2008-02-13 19:10:49.000000000 +0100 ++++ seamonkey-1.1.8+nobinonly/xpfe/communicator/jar.mn 2008-02-13 19:11:09.000000000 +0100 +@@ -19,6 +19,7 @@ + content/communicator/tasksOverlay.xul (resources/content/tasksOverlay.xul) + content/communicator/browserBindings.xul (resources/content/browserBindings.xul) + content/communicator/editorBindings.xul (resources/content/editorBindings.xul) ++ content/communicator/ubuntumenu.js (resources/content/ubuntumenu.js) + #ifdef XP_MACOSX + content/communicator/platformBrowserBindings.xul (resources/content/mac/platformBrowserBindings.xul) + content/communicator/platformEditorBindings.xul (resources/content/mac/platformEditorBindings.xul) +Index: seamonkey-1.1.8+nobinonly/xpfe/communicator/resources/content/ubuntumenu.js +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ seamonkey-1.1.8+nobinonly/xpfe/communicator/resources/content/ubuntumenu.js 2008-02-13 19:12:32.000000000 +0100 +@@ -0,0 +1,33 @@ ++function ubufoxReportBug(event) { ++ ++ var executable = ++ Components.classes['@mozilla.org/file/local;1'] ++ .createInstance(Components.interfaces.nsILocalFile); ++ ++ executable.initWithPath("/usr/bin/ubuntu-bug"); ++ ++ if(!executable.exists () || !executable.isExecutable()) ++ alert('Unexpected error!'); ++ ++ var procUtil = ++ Components.classes['@mozilla.org/process/util;1'] ++ .createInstance(Components.interfaces.nsIProcess); ++ ++ var nsFile = executable.QueryInterface(Components.interfaces.nsIFile); ++ ++ procUtil.init(executable); ++ ++ var args = new Array("-p", "seamonkey" ); ++ var res = procUtil.run(false, args, args.length); ++} ++ ++ ++function ubufoxGetHelpOnline(event) ++{ ++ openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", "https://launchpad.net/distros/ubuntu/hardy/+sources/seamonkey/+gethelp"); ++} ++ ++function ubufoxHelpTranslateLaunchpad(event) ++{ ++ openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", "https://launchpad.net/distros/ubuntu/hardy/+sources/seamonkey/+translate"); ++} +Index: seamonkey-1.1.8+nobinonly/xpfe/communicator/resources/content/utilityOverlay.xul +=================================================================== +--- seamonkey-1.1.8+nobinonly.orig/xpfe/communicator/resources/content/utilityOverlay.xul 2008-02-13 19:11:34.000000000 +0100 ++++ seamonkey-1.1.8+nobinonly/xpfe/communicator/resources/content/utilityOverlay.xul 2008-02-13 19:11:50.000000000 +0100 +@@ -22,7 +22,9 @@ + src="chrome://communicator/content/utilityOverlay.js"/> +