--- gears-0.5.18.0~svn3301+dfsg.orig/debian/control +++ gears-0.5.18.0~svn3301+dfsg/debian/control @@ -0,0 +1,15 @@ +Source: gears +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Stefan Lesicnik +Build-Depends: debhelper (>= 7), m4, ia32-libs [amd64], libidl0 [!amd64], zip, mozilla-devscripts (>= 0.5~), cdbs +Vcs-Bzr: https://code.launchpad.net/~ubuntu-dev/firefox-extensions/gears.ubuntu/ +Standards-Version: 3.8.0 +Homepage: http://gears.google.com/ + +Package: gears +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, firefox | firefox-3.0 | abrowser | iceweasel +Description: Gears is an open source project that enables more powerful web applications + Gears is a plug-in that extends your browser to create a richer platform for web applications. For example, webmasters can use Gears on their websites to let users access information offline or provide you with content based on your geographical location. Gears was designed to be used on both Google and non-Google sites. A number of web applications currently make use of Gears, including two Google products: Google Reader and Google Docs. Additionally, Zoho and Remember the Milk have been using Gears since its original launch --- gears-0.5.18.0~svn3301+dfsg.orig/debian/changelog +++ gears-0.5.18.0~svn3301+dfsg/debian/changelog @@ -0,0 +1,38 @@ +gears (0.5.18.0~svn3301+dfsg-0ubuntu1~ppa3) karmic; urgency=low + + [ Stefan Lesicnik ] + * debian/patches/40-system-gecko.diff: + - Build against system xulrunner. + + [ Rail Aliev ] + * debian/rules: + - Rewrite get-orig-source target. + - Fix SVN_REVISION parsing. + - Remove pre-build target + * debian/patches/50-system-gecko-buildfix.diff: + - Build fixes. + + -- Rail Aliev Thu, 14 May 2009 20:18:23 +0400 + +gears (0.5.18.0~svn3301+dfsg-0ubuntu1~ppa2) karmic; urgency=low + + * debian/rules: + - Add simple-patchsys.mk support. + - Use /usr/lib/xulrunner-addons directory to support all xulrunner based + applications. + * Remove build.sh and move all build logic to debian/rules. + * debian/patches/install.rdf.m4.diff: + - Add support for Prism + * debian/patches/build.diff: + - Build bits. + * debian/patches/009-3301.diff: + - Moved from "009-3301" to make simple-patchsys.mk happy. + + + -- Rail Aliev Wed, 06 May 2009 18:49:45 +0400 + +gears (0.5.18.0~svn3301+dfsg-0ubuntu1~ppa1) karmic; urgency=low + + * Initial release (LP: #244245) + + -- Stefan Lesicnik Thu, 30 Apr 2009 19:15:25 +0200 --- gears-0.5.18.0~svn3301+dfsg.orig/debian/copyright +++ gears-0.5.18.0~svn3301+dfsg/debian/copyright @@ -0,0 +1,525 @@ +This package was debianized by Stefan Lesicnik on +Tue, 24 Feb 2009 18:43:43 +0200. + +It was downloaded from http://gears.google.com/ + +Upstream Author(s): + + Google Inc. + +Copyright: + + Copyright 2007, Google Inc. + +License: + + 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 Google Inc. 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 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. + +Third Party Addons: + + Breakpad + Copyright (c) 2006, Google Inc. + BSD + + Unicode + Copyright 2001-2004 Unicode, Inc. + + This source code is provided as is by Unicode, Inc. No claims are + made as to fitness for any particular purpose. No warranties of any + kind are expressed or implied. The recipient agrees to determine + applicability of information provided. If this file has been + purchased on magnetic or optical media from Unicode, Inc., the + sole remedy for any claim will be exchange of defective media + within 90 days of receipt. + + Limitations on Rights to Redistribute This Code + + Unicode, Inc. hereby grants the right to freely use the information + supplied in this file in the creation of products supporting the + Unicode Standard, and to make copies of this file in any form + for internal or external distribution as long as this notice + remains attached. + + google_perltools + Copyright (c) 2005, Google Inc. + BSD + + gtest + Copyright 2008, Google Inc. + BSD + + icu38 + Copyright (c) 1995-2006 International Business Machines Corporation and others + All rights reserved. + + 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, and/or sell + copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies + of the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + 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 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL + THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, + OR 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. + + Except as contained in this notice, the name of a copyright holder shall not be + used in advertising or otherwise to promote the sale, use or other dealings in + this Software without prior written authorization of the copyright holder. + + jsonjs + Copyright (c) 2002 JSON.org + 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 shall be used for Good, not Evil. + + 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. + + libjpeg + 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. + + ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, + sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. + ansi2knr.c is NOT covered by the above copyright and conditions, but instead + by the usual distribution terms of the Free Software Foundation; principally, + that you must include source code if you redistribute it. (See the file + ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part + of any program generated from the IJG code, this does not limit you more than + the foregoing paragraphs do. + + linked_ptr + Copyright (c) 2003 Google Inc + BSD + + npapi + Netscape Communications Corporation (1998) + Copyright 2006 Google Inc. + Copyright (C) 2004, Apple Computer, Inc. and The Mozilla Foundation + BSD + MPL 1.1/GPL 2.0/LGPL 2.1 + + pexpect + Pexpect Copyright (c) 2008 Noah Spurrier + MIT + + scoped_ptr + (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. + Copyright (c) 2001, 2002 Peter Dimov + BSD + + sqlite_google + Public Domain + All of the deliverable code in SQLite has been dedicated to the public domain by the authors. + + All code authors, and representatives of the companies they work for, have signed affidavits dedicating + their contributions to the public domain and originals of those signed affidavits are stored + in a firesafe at the main offices of Hwaci. Anyone is free to copy, modify, publish, use, compile, sell, + or distribute the original SQLite code, either in source code form or as a compiled binary, for any purpose, + commercial or non-commercial, and by any means. + + zlib + Copyright (C) 1995-2005 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 jloup@gzip.org + Mark Adler madler@alumni.caltech.edu + + Cheetah + Copyright 2001-2005, The Cheetah Development Team: Tavis Rudd, Mike Orr, + Chuck Esterbrook, Ian Bicking. + BSD + + gecko_1.9 + Copyright (C) 1996-1999 Netscape Communications Corporation + Copyright (C) 2004, Apple Computer, Inc. and The Mozilla Foundation + MPL 1.1/GPL 2.0/LGPL 2.1 + + googleurl + Copyright 2007, Google Inc. + BSD + + The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is + licensed separately as follows: + + Copyright (C) 1996-1999 Netscape Communications Corporation + + 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/ + + gtk + GPL v2 + + Original Authors + ---------------- + Peter Mattis + Spencer Kimball + Josh MacDonald + + The GTK+ Team (in alphabetical order) + ------------------------------------- + Shawn T. Amundson + Jerome Bolliet + Damon Chaplin + Tony Gale + Jeff Garzik + Lars Hamann + Raja R Harinath + Carsten Haitzler + Tim Janik + Stefan Jeske + Elliot Lee + Raph Levien + Ian Main + Federico Mena + Paolo Molaro + Jay Painter + Manish Singh + Owen Taylor + + MS-Windows theme engine + ----------------------- + Raymond Penners + Dom Lachowicz + + + Pixbuf theme engine + ------------------- + Owen Taylor + + + IME input method + ---------------- + Takuro Ashie + Kazuki IWAMOTO + + + Mac OS X backend + ---------------- + Anders Carlsson + + + DirectFB backend + ---------------- + Denis Oliver Kropp + Sven Neumann + Mike Emmel + + + jsoncpp + Baptiste Lepilleur + Copyright 2006 Google Inc. All Rights Reserved + Public Domain + + libgd + + Pierre-Alain Joye + Copyright and licensing info, main source: + + Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, + 2002 by Cold Spring Harbor Laboratory. Funded under Grant + P41-RR02188 by the National Institutes of Health. + + Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 by + Boutell.Com, Inc. + + Portions relating to GD2 format copyright 1999, 2000, 2001, 2002 + Philip Warner. + + Portions relating to PNG copyright 1999, 2000, 2001, 2002 Greg + Roelofs. + + Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002 John + Ellson (ellson@lucent.com). + + Portions relating to gdft.c copyright 2001, 2002 John Ellson + (ellson@lucent.com). + + Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Pierre-Alain Joye (pierre@libgd.org). + + Portions relating to JPEG and to color quantization copyright 2000, + 2001, 2002, Doug Becker and copyright (C) 1994, 1995, 1996, 1997, + 1998, 1999, 2000, 2001, 2002, Thomas G. Lane. This software is + based in part on the work of the Independent JPEG Group. See the + file README-JPEG.TXT for more information. + + Portions relating to WBMP copyright 2000, 2001, 2002 Maurice + Szmurlo and Johan Van den Brande. + + Permission has been granted to copy, distribute and modify gd in + any context without fee, including a commercial application, + provided that this notice is present in user-accessible supporting + documentation. + + This does not affect your ownership of the derived work itself, and + the intent is to assure proper credit for the authors of gd, not to + interfere with your productive use of gd. If you have questions, + ask. "Derived works" includes all programs that utilize the + library. Credit must be given in user-accessible documentation. + + This software is provided "AS IS." The copyright holders disclaim + all warranties, either express or implied, including but not + limited to implied warranties of merchantability and fitness for a + particular purpose, with respect to this code and accompanying + documentation. + + Although their code does not appear in gd, the authors wish to thank + David Koblas, David Rowley, and Hutchison Avenue Software Corporation + for their prior contributions. + + Copyright and licensing info, gd_gif_out.c: + + /* Code drawn from ppmtogif.c, from the pbmplus package + ** + ** Based on GIFENCOD by David Rowley . A + ** Lempel-Zim compression based on "compress". + ** + ** Modified by Marcel Wijkstra + ** + ** Copyright (C) 1989 by Jef Poskanzer. + ** + ** 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. This software is provided "as is" without express or + ** implied warranty. + ** + ** The Graphics Interchange Format(c) is the Copyright property of + ** CompuServe Incorporated. GIF(sm) is a Service Mark property of + ** CompuServe Incorporated. + */ + + Copyright and licensing info, strlcpy.c: + + * Copyright (c) 1998 Todd C. Miller + * 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. 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 ``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. + + libpng + + libpng version 1.2.26 - April 2, 2008 + Copyright (c) 1998-2008 Glenn Randers-Pehrson + (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) + (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) + + Authors and maintainers: + libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat + libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger + libpng versions 0.97, January 1998, through 1.2.26 - April 2, 2008: Glenn + See also "Contributing Authors", below. + + COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + + If you modify libpng you may insert additional notices immediately following + this sentence. + + libpng versions 1.2.6, August 15, 2004, through 1.2.26, April 2, 2008, are + Copyright (c) 2004, 2006-2008 Glenn Randers-Pehrson, and are + 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, 2000 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. + + modpb_64 + Copyright 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com + BSD + + passthru_app + Copyright 2007 Igor Tandetnik + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + + simplejson + Copyright (c) 2006 Bob Ippolito + BSD + +The Debian packaging is copyright 2009, Stefan Lesicnik and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- gears-0.5.18.0~svn3301+dfsg.orig/debian/compat +++ gears-0.5.18.0~svn3301+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- gears-0.5.18.0~svn3301+dfsg.orig/debian/rules +++ gears-0.5.18.0~svn3301+dfsg/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f + +# name the package (as in debian/control) that will ship the extension +MOZ_EXTENSION_PKG := gears + +# xpi.mk will auto detect the .xpi in your package. if you want to do it +# explicit, use this variable +# MOZ_XPI_FILE := gears-linux-x86_64-opt-0.5.18.0.xpi + +# xpi.mk tries to auto detect the extension manager id (em:id) from the .xpis +# install.rdf file. There might be cases where this doesn't work. use the following +# variable to explicitly define an extension ID and disable auto detection +#MOZ_XPI_EMID := {xxxxxxx-xxxx-xxxx} + +# xpi.mk will run a build command before packaging an .xpi file. you can use this +# to produce an .xpi. if you define this, the clean rule will remove any .xpi file +# found in the top level directory +MOZ_XPI_BUILD_COMMAND = echo + +# xpi.mk will assume your extension is compatible with Firefox 3, +# and will install it in the default dirs, defined in xpi.mk script. In case, your +# extension is compatible with Fx3 or Thunderbird adjust this variable (see the example) +# firefox-addons - set if compatible with Firefox 3 or Abrowser 3 +# thunderbird - set if compatible with Thunderbird +# iceweasel - set if compatible with Iceweasel +# icedove - set if compatible with Icedove +# Don't forget to adjust Depends field in debian/control If the extension doesnt work with Thunderbird or Icedove +MOZ_XPI_MOZILLA_DIRS := xulrunner-addons + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/mozilla-devscripts/xpi.mk + +PACKAGE = gears +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') +SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"~" '{ print $$2 }' | awk -F"+" '{ print $$1 }' | sed 's/svn//' ) +TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz +.PHONY: get-orig-source + +build/$(MOZ_EXTENSION_PKG):: + make -C gears BROWSER=FF3 MODE=opt + #Fix to get compile on i386 + mkdir -p gears/bin-opt/linux-i386/ff2 + touch gears/bin-opt/linux-i386/ff2/libgears.so + make -C gears installers MODE=opt + cp gears/bin-opt/installers/*.xpi . + +clean:: + make -C gears clean + +get-orig-source: + if test -n "$$TMP"; then \ + TMPD=`mktemp -d -p $$TMP`; \ + else \ + TMPD=`mktemp -d`; \ + fi && \ + cd $$TMPD && \ + svn export -r $(SVN_REVISION) http://gears.googlecode.com/svn/trunk $(PACKAGE)-$(SRC_VERSION) && \ + cp $(PACKAGE)-$(SRC_VERSION)/third_party/gecko_1.9/gecko_internal/nsGUIEvent_edited_for_Gears.h \ + $(PACKAGE)-$(SRC_VERSION)/gears/desktop/ && \ + rm -rf $(PACKAGE)-$(SRC_VERSION)/third_party/gecko_1.8 \ + $(PACKAGE)-$(SRC_VERSION)/third_party/gecko_1.9 \ + $(PACKAGE)-$(SRC_VERSION)/third_party/breakpad/src/client/mac \ + $(PACKAGE)-$(SRC_VERSION)/third_party/breakpad/src/common/mac \ + $(PACKAGE)-$(SRC_VERSION)/third_party/breakpad/src/tools/mac \ + $(PACKAGE)-$(SRC_VERSION)/third_party/breakpad_osx \ + $(PACKAGE)-$(SRC_VERSION)/third_party/chrome \ + $(PACKAGE)-$(SRC_VERSION)/third_party/growl \ + $(PACKAGE)-$(SRC_VERSION)/third_party/opera \ + $(PACKAGE)-$(SRC_VERSION)/third_party/spidermonkey/nspr/pr/src/md/mac \ + $(PACKAGE)-$(SRC_VERSION)/third_party/tremor/win32 \ + $(PACKAGE)-$(SRC_VERSION)/third_party/v8 \ + $(PACKAGE)-$(SRC_VERSION)/third_party/spidermonkey \ + $(PACKAGE)-$(SRC_VERSION)/third_party/sqlite_vendor \ + $(PACKAGE)-$(SRC_VERSION)/third_party/stlport \ + $(PACKAGE)-$(SRC_VERSION)/third_party/AtlActiveScriptSite.h \ + $(PACKAGE)-$(SRC_VERSION)/third_party/glint \ + $(PACKAGE)-$(SRC_VERSION)/third_party/speex \ + $(PACKAGE)-$(SRC_VERSION)/third_party/sqlite_google/CVS \ + $(PACKAGE)-$(SRC_VERSION)/third_party/sqlite_google/docs/CVS \ + $(PACKAGE)-$(SRC_VERSION)/third_party/portaudio \ + $(PACKAGE)-$(SRC_VERSION)/third_party/tremor \ + $(PACKAGE)-$(SRC_VERSION)/third_party/skia/include/utils/mac \ + $(PACKAGE)-$(SRC_VERSION)/third_party/skia/src/utils/mac && \ + GZIP=--best tar czf $(TARBALL) $(PACKAGE)-$(SRC_VERSION) && \ + rm -rf $(PACKAGE)-$(SRC_VERSION) && \ + mv $(TARBALL) $(CURDIR)/.. && \ + rmdir $$TMPD --- gears-0.5.18.0~svn3301+dfsg.orig/debian/README.Debian +++ gears-0.5.18.0~svn3301+dfsg/debian/README.Debian @@ -0,0 +1,8 @@ +gears for Debian +---------------- + +This package is currently only building for Firefox 3.0+. Firefox 3.1 and 3.2pre are not supported at this stage. + +There was concerns raised that we should link against our own NSS. This needs to be investigated. + + -- Stefan Lesicnik Tue, 24 Feb 2009 18:43:43 +0200 --- gears-0.5.18.0~svn3301+dfsg.orig/debian/patches/30-install.rdf.m4.diff +++ gears-0.5.18.0~svn3301+dfsg/debian/patches/30-install.rdf.m4.diff @@ -0,0 +1,17 @@ +--- google-gears-0.5.16.0.orig/gears/base/firefox/install.rdf.m4 ++++ google-gears-0.5.16.0/gears/base/firefox/install.rdf.m4 +@@ -60,6 +60,14 @@ + {000a9d1c-beef-4f90-9363-039d445309b8} + PRODUCT_VERSION + ++ ++ ++ prism@developer.mozilla.org ++ 0.8 ++ 1.0.0.* ++ ++ ++ +