--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/autoreconf
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/autoreconf
@@ -0,0 +1 @@
+libufe-xidgetter
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/libufe-xidgetter0.install
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/libufe-xidgetter0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/copyright
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/copyright
@@ -0,0 +1,24 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: unity-firefox-extension
+Source: https://launchpad.net/unity-firefox-extension
+
+Files: *
+Copyright: 2011 Canonical LTD
+License: GPL-3.0
+
+License: GPL-3.0
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/xul-ext-unity.postinst
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/xul-ext-unity.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+echo "Please restart all running instances of firefox, or you will experience problems."
+
+if [ -d /var/run ] ; then
+ touch /var/run/firefox-restart-required
+fi
+
+#DEBHELPER#
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/control
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/control
@@ -0,0 +1,42 @@
+Source: unity-firefox-extension
+Section: web
+Priority: optional
+Maintainer: Ubuntu Developers
+Build-Depends: debhelper (>= 9),
+ dh-autoreconf,
+ dh-translations,
+ gir1.2-unity-webapps-0.2 (>= 1.8.0+r699),
+ libgtk2.0-dev,
+ libunity-webapps-dev,
+ mozilla-devscripts,
+ xsltproc,
+ zip,
+XS-Testsuite: autopkgtest
+Standards-Version: 3.9.4
+Homepage: https://launchpad.net/unity-firefox-extension
+# If you aren't a member of ~webapps but need to upload packaging changes,
+# just go ahead. ~webapps will notice and sync up the code again.
+Vcs-Bzr: https://code.launchpad.net/~webapps/unity-firefox-extension/trunk
+
+Package: xul-ext-unity
+Architecture: all
+Depends: libufe-xidgetter0 (>= ${source:Version}),
+ libunity-webapps0 (>= 1.8.0+r699),
+ xul-ext-websites-integration,
+ ${misc:Depends},
+ ${xpi:Depends},
+Enhances: ${xpi:Enhances},
+Provides: ${xpi:Provides},
+Recommends: ${xpi:Recommends},
+Breaks: ${xpi:Breaks},
+Description: Firefox extension: Unity Integration
+ Firefox extension to allow WebApps to integrate with the Unity Desktop
+
+Package: libufe-xidgetter0
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends},
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+Description: Firefox extension: Unity Integration
+ Firefox extension to allow WebApps to integrate with the Unity Desktop
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/compat
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/compat
@@ -0,0 +1 @@
+9
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/rules
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+
+override_dh_auto_configure:
+ dh_auto_configure -D libufe-xidgetter
+
+override_dh_auto_build:
+ dh_auto_build -D libufe-xidgetter
+ cd unity-firefox-extension && sh build.sh
+
+override_dh_install:
+ install-xpi -p xul-ext-unity unity-firefox-extension/unity.xpi
+ dh_auto_install -D libufe-xidgetter
+ rm -f debian/tmp/usr/lib/*/*.a
+ rm -f debian/tmp/usr/lib/*/*.la
+ rm -f debian/tmp/usr/lib/*/*.so
+ dh_install --fail-missing
+
+override_dh_clean:
+ dh_clean
+ rm -f unity-firefox-extension/unity.xpi
+
+%:
+ dh $@ --with xul-ext,autoreconf,translations
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/changelog
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/changelog
@@ -0,0 +1,363 @@
+unity-firefox-extension (2.4.8+13.10.20130920-0ubuntu1) saucy; urgency=low
+
+ [ Alexandre Abreu ]
+ * Remove reliance over global private browsing (LP: #1168020)
+
+ [ Robert Bruce Park ]
+ * Minor packaging fixes for daily release.
+ * Automatic snapshot from revision 410 (bootstrap)
+
+ [ Ubuntu daily release ]
+ * Automatic snapshot from revision 412
+
+ -- Ubuntu daily release Fri, 20 Sep 2013 23:15:09 +0000
+
+unity-firefox-extension (2.4.7bzr13.04.15-0ubuntu1) raring; urgency=low
+
+ * Remove reliance over global private browsing (LP: #1168020)
+
+ -- Alexandre Abreu Thu, 11 Apr 2013 14:45:28 -0400
+
+unity-firefox-extension (2.4.7bzr13.04.04-0ubuntu1) raring; urgency=low
+
+ [ Maxim Ermilov ]
+ * use document instead of navigator as a proper "innner-window
+ scoped" object for key in the weakmap.
+
+ [ Alexandre Abreu ]
+ * Remove unused jsctypes dependency/definition.
+
+ -- Robert Bruce Park Thu, 04 Apr 2013 11:00:20 -0700
+
+unity-firefox-extension (2.4.5bzr13.03.25-0ubuntu1) raring; urgency=low
+
+ [ Alexandre Abreu ]
+ * Firefox 20 does not integrate (LP: #1155238)
+ * Error 'target is undefined' in observer.js. (LP: #1115408)
+
+ -- Robert Bruce Park Mon, 25 Mar 2013 14:23:57 -0700
+
+unity-firefox-extension (2.4.4bzr13.01.29-0ubuntu1) raring; urgency=low
+
+ [ Robert Bruce Park ]
+ * Inline packaging metadata.
+
+ [ Alex Abreu ]
+ * Update to FF18.
+ * Bump to 2.4.4.
+ * Remove unity-webapps.js file generation for now.
+
+ [ Maxim Ermilov ]
+ * Add stress test.
+ * Fix warnings.
+
+ -- Robert Bruce Park Tue, 29 Jan 2013 12:41:23 -0800
+
+unity-firefox-extension (2.4.2-0ubuntu1) raring; urgency=low
+
+ * New upstream release.
+ - Mnemonic key Y in prompt is hardcoded (LP: #1075151)
+ - Two untranslatable strings in ‘Exceptions’ dialog (LP: #1075202)
+ * debian/patches/lp_1076350.patch
+ - listen for tabClose event (LP: #1076350)
+
+ -- Ken VanDine Wed, 28 Nov 2012 00:02:06 -0500
+
+unity-firefox-extension (2.4.1-0ubuntu3) raring; urgency=low
+
+ * SECURITY UPDATE: denial of service and possible code execution
+ (LP: #1076350)
+ - debian/patches/CVE-2012-0960.patch: improve logic in
+ unity-firefox-extension/content/unity-global-property-initializer.js.
+ - CVE-2012-0960
+
+ -- Marc Deslauriers Thu, 22 Nov 2012 10:44:07 -0500
+
+unity-firefox-extension (2.4.1-0ubuntu2) raring; urgency=low
+
+ * Upload for raring
+
+ -- Ken VanDine Wed, 21 Nov 2012 15:34:25 -0500
+
+unity-firefox-extension (2.4.1-0ubuntu1) quantal-proposed; urgency=low
+
+ * New upstream release.
+ - Fixed: Extension does not support moving tabs between
+ windows (activity tracking degenerates) (LP: #967604)
+ - clicking on webapp icon doesn't work with tab groups (LP: #1059926)
+ - Translations for the webapps installation prompt are not
+ loaded (LP: #1066969)
+ - new translations
+
+ -- Ken VanDine Wed, 24 Oct 2012 08:55:08 +0200
+
+unity-firefox-extension (2.3.5-0ubuntu2) raring; urgency=low
+
+ * debian/control: Drop Vcs-Bzr:, that branch is abandoned.
+ * debian/tests/control: Add missing test dependencies dbus-x11 and
+ hicolor-icon-theme.
+
+ -- Martin Pitt Fri, 09 Nov 2012 14:58:14 +0100
+
+unity-firefox-extension (2.3.5-0ubuntu1) quantal; urgency=low
+
+ * New upstream release.
+ - Include translations exported from launchpad and converted to
+ mozilla's format. (LP: #1061423)
+
+ -- Ken VanDine Wed, 10 Oct 2012 13:20:03 -0400
+
+unity-firefox-extension (2.3.4-0ubuntu1) quantal; urgency=low
+
+ * New upstream release.
+ - translation fixes needed for webapps-greasemonkey
+
+ -- Ken VanDine Wed, 03 Oct 2012 22:29:11 -0400
+
+unity-firefox-extension (2.3.3-0ubuntu2) quantal; urgency=low
+
+ * debian/rules
+ - use dh-translations
+ * debian/control
+ - add build depends for dh-translations
+ * debian/patches/revert_1055803.patch
+ - Dropped patch which reverted fix for typos in strings, this will
+ fix (LP: #1055803)
+
+ -- Ken VanDine Tue, 02 Oct 2012 09:34:16 -0400
+
+unity-firefox-extension (2.3.3-0ubuntu1) quantal; urgency=low
+
+ * New upstream release.
+ - Fixes for the PIP in the launcher
+ * debian/patches/revert_1055803.patch
+ - revert string change from upstream until a proper UIFe is granted
+
+ -- Ken VanDine Mon, 01 Oct 2012 16:05:48 -0400
+
+unity-firefox-extension (2.3.2-0ubuntu1) quantal-proposed; urgency=low
+
+ * New upstream release
+ - Fixes buggy test
+ - Fixes xid ctype
+ * Rename source package to match upstream
+ * debian/tests:
+ - Run test suite as a dep8 test (because it needs mozmill via pip)
+
+ -- Michael Terry Thu, 20 Sep 2012 13:27:41 -0400
+
+xul-ext-unity (2.3-0quantal2) quantal; urgency=low
+
+ * Add libufe-xidgetter0
+
+ -- Ken VanDine Tue, 18 Sep 2012 10:25:27 -0400
+
+xul-ext-unity (2.3-0quantal1) quantal; urgency=low
+
+ * New upstream release
+
+ -- Ken VanDine Tue, 11 Sep 2012 16:15:06 -0400
+
+xul-ext-unity (2.0-0quantal1) quantal; urgency=low
+
+ * New upstream release
+
+ -- Ken VanDine Sat, 18 Aug 2012 00:08:12 -0400
+
+xul-ext-unity (1.8.0+r272-0quantal2) quantal; urgency=low
+
+ * rebuild
+
+ -- Ken VanDine Fri, 27 Jul 2012 17:07:39 -0400
+
+xul-ext-unity (1.8.0+r272-0quantal1) quantal; urgency=low
+
+ * New snapshot rev 272
+ * debian/control
+ - depend on xul-ext-websites-integration
+ - No longer package libufe-xidgetter0
+ * debian/rules
+ - No longer build libufe-xidgetter0
+
+ -- Ken VanDine Fri, 27 Jul 2012 14:40:21 -0400
+
+xul-ext-unity (1.6.0-0quantal1) quantal; urgency=low
+
+ * rebuild for quantal
+
+ -- Ken VanDine Mon, 16 Jul 2012 09:42:48 -0400
+
+xul-ext-unity (1.6.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.6
+
+ -- Ken VanDine Mon, 09 Jul 2012 11:15:41 -0400
+
+xul-ext-unity (1.5.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.5
+ * debian/control
+ - make xul-ext-unity depend on the same version of libufe-xidgetter0
+
+ -- Ken VanDine Mon, 25 Jun 2012 16:32:37 -0400
+
+xul-ext-unity (1.4.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.4
+
+ -- Ken VanDine Thu, 21 Jun 2012 12:53:14 -0400
+
+xul-ext-unity (1.3.0-0precise2) precise; urgency=low
+
+ * install.rdf
+ - bump maxVersion to 14.*
+
+ -- Ken VanDine Mon, 11 Jun 2012 09:42:49 -0400
+
+xul-ext-unity (1.3.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.3
+
+ -- Ken VanDine Tue, 29 May 2012 16:17:00 -0400
+
+xul-ext-unity (1.2.0-0precise2) precise; urgency=low
+
+ * install.rdf
+ - bump maxVersion to 13.*
+
+ -- Ken VanDine Tue, 22 May 2012 16:10:44 -0400
+
+xul-ext-unity (1.2.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.2
+
+ -- Ken VanDine Tue, 22 May 2012 15:46:32 -0400
+
+xul-ext-unity (1.1.0-0precise2+r235) precise; urgency=low
+
+ * Merged from trunk rev 235
+
+ -- Ken VanDine Wed, 16 May 2012 11:53:29 -0400
+
+xul-ext-unity (1.1.0-0precise2) precise; urgency=low
+
+ * Bump to rebuild against latest libunity-webapps
+
+ -- Ken VanDine Fri, 04 May 2012 10:42:31 -0700
+
+xul-ext-unity (1.1.0-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_1.1
+
+ -- Ken VanDine Fri, 27 Apr 2012 15:43:59 -0400
+
+xul-ext-unity (1.0.0-0precise1) precise; urgency=low
+
+ * new snapshot RELEASE_1.0
+
+ -- Ken VanDine Fri, 13 Apr 2012 16:40:35 -0400
+
+xul-ext-unity (0.9.9-0precise1) precise; urgency=low
+
+ * new snapshot RELEASE_0.9.9
+
+ -- Ken VanDine Fri, 30 Mar 2012 10:53:21 -0400
+
+xul-ext-unity (0.9.4-0precise2) precise; urgency=low
+
+ * debian/rules
+ - added overrides to build libufe-xidgetter
+
+ -- Ken VanDine Wed, 28 Mar 2012 17:27:57 -0400
+
+xul-ext-unity (0.9.4-0precise1) precise; urgency=low
+
+ * new snapshot RELEASE_0.9.4
+
+ -- Ken VanDine Mon, 26 Mar 2012 14:44:26 -0400
+
+xul-ext-unity (0.9.3-0precise1) precise; urgency=low
+
+ * new snapshot RELEASE_0.9.3
+
+ -- Ken VanDine Mon, 19 Mar 2012 09:56:17 -0400
+
+xul-ext-unity (0.9.2-0precise1) precise; urgency=low
+
+ * New snapshot RELEASE_0.9.2
+ * debian/control
+ - bump minimum version of libunity-webapps0 to >= 0.9.2
+
+ -- Ken VanDine Mon, 12 Mar 2012 15:17:40 -0400
+
+xul-ext-unity (0.9.1-0precise1) precise; urgency=low
+
+ * New snapshow RELEASE_0.9.1
+
+ -- Ken VanDine Fri, 09 Mar 2012 16:08:46 -0500
+
+xul-ext-unity (0.9-0precise1) precise; urgency=low
+
+ * New upstream release
+ * debian/control
+ - Added libunity-webapps-dev build depends
+ - bumped standards version to 3.9.3
+
+ -- Ken VanDine Fri, 24 Feb 2012 16:46:17 -0500
+
+xul-ext-unity (0.7-0precise2) precise; urgency=low
+
+ * unity-firefox-extension/install.rdf
+ - bump maxVersion to 11.*
+
+ -- Ken VanDine Mon, 06 Feb 2012 21:30:39 -0500
+
+xul-ext-unity (0.7-0precise1) precise; urgency=low
+
+ * New snapshot tagged RELEASE_0.7
+
+ -- Ken VanDine Fri, 03 Feb 2012 18:07:26 -0500
+
+xul-ext-unity (0.3.1-0precise3) precise; urgency=low
+
+ * Renamed source package to xul-ext-unity
+
+ -- Ken VanDine Thu, 12 Jan 2012 16:48:40 +0100
+
+unity-firefox-extension (0.3.1-0precise2) precise; urgency=low
+
+ * debian/control
+ - rename binary to xul-ext-unity
+ - added build depends for mozilla-devscripts
+ - replace unity-firefox-extension
+ * debian/rules
+ - use helpers from mozilla-devscripts
+ * unity-firefox-extension/install.rdf
+ - bump maxVersion to 10.* to support firefox 10
+
+ -- Ken VanDine Thu, 12 Jan 2012 14:20:02 +0100
+
+unity-firefox-extension (0.3.1-0precise1) precise; urgency=low
+
+ * New upstream release
+
+ -- Ken VanDine Wed, 11 Jan 2012 16:52:03 -0500
+
+unity-firefox-extension (0.2~89-0precise1) precise; urgency=low
+
+ * New snapshot from trunk, revision 89
+
+ -- Ken VanDine Tue, 20 Dec 2011 16:30:58 -0500
+
+unity-firefox-extension (0.2~83-0precise2) precise; urgency=low
+
+ * debian/control
+ - depend on libunity-webapps0 instead of unity-webapps-service
+
+ -- Ken VanDine Fri, 16 Dec 2011 17:02:51 -0500
+
+unity-firefox-extension (0.2~83-0precise1) precise; urgency=low
+
+ * Initial Release.
+
+ -- Ken VanDine Fri, 16 Dec 2011 14:33:59 -0500
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/tests/control
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: mozmill-tests
+Depends: @, python-pip, xvfb, dbus-x11, hicolor-icon-theme
+Restrictions: needs-root build-needed
--- unity-firefox-extension-2.4.8+13.10.20130920.orig/debian/tests/mozmill-tests
+++ unity-firefox-extension-2.4.8+13.10.20130920/debian/tests/mozmill-tests
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+pip install mozmill
+export PATH=$PATH:/usr/local/bin
+cd tests
+rm -f output.log
+xvfb-run ./run.sh | tee ./output.log
+if grep "INFO Failed: [1-9].*" ./output.log > /dev/null; then
+ rm -f output.log
+ exit 1
+else
+ rm -f output.log
+ exit 0
+fi