--- webaccounts-browser-extension-0.5.orig/.pc/.quilt_patches +++ webaccounts-browser-extension-0.5/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches --- webaccounts-browser-extension-0.5.orig/.pc/.quilt_series +++ webaccounts-browser-extension-0.5/.pc/.quilt_series @@ -0,0 +1 @@ +series --- webaccounts-browser-extension-0.5.orig/.pc/.version +++ webaccounts-browser-extension-0.5/.pc/.version @@ -0,0 +1 @@ +2 --- webaccounts-browser-extension-0.5.orig/.pc/applied-patches +++ webaccounts-browser-extension-0.5/.pc/applied-patches @@ -0,0 +1 @@ +fix-libtool-check.diff --- webaccounts-browser-extension-0.5.orig/.pc/fix-libtool-check.diff/autogen.sh +++ webaccounts-browser-extension-0.5/.pc/fix-libtool-check.diff/autogen.sh @@ -0,0 +1,157 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +DIE=0 + +if [ -n "$GNOME2_DIR" ]; then + ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" + LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" + PATH="$GNOME2_DIR/bin:$PATH" + export PATH + export LD_LIBRARY_PATH +fi + +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level package directory" + exit 1 +} + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`autoconf' installed." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +(grep "^IT_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && { + (intltoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`intltool' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.ac >/dev/null) && { + (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`xml-i18n-toolize' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && { + (libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtool' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } +} + +(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.ac >/dev/null) && { + (grep "sed.*POTFILES" $srcdir/configure.ac) > /dev/null || \ + (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`glib' installed." + echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + NO_AUTOMAKE=yes +} + + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing \`aclocal'. The version of \`automake'" + echo "installed doesn't appear recent enough." + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run \`configure' with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo \`$0\'" command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + +for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.ac -print` +do + dr=`dirname $coin` + if test -f $dr/NO-AUTO-GEN; then + echo skipping $dr -- flagged as no auto-gen + else + echo processing $dr + ( cd $dr + + aclocalinclude="$ACLOCAL_FLAGS" + + if grep "^AM_GLIB_GNU_GETTEXT" configure.ac >/dev/null; then + echo "Creating $dr/aclocal.m4 ..." + test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 + echo "Running glib-gettextize... Ignore non-fatal messages." + echo "no" | glib-gettextize --force --copy + echo "Making $dr/aclocal.m4 writable ..." + test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 + fi + if grep "^IT_PROG_INTLTOOL" configure.ac >/dev/null; then + echo "Running intltoolize..." + intltoolize --copy --force --automake + fi + if grep "^AM_PROG_XML_I18N_TOOLS" configure.ac >/dev/null; then + echo "Running xml-i18n-toolize..." + xml-i18n-toolize --copy --force --automake + fi + if grep "^LT_INIT" configure.ac >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + libtoolize --force --copy + fi + fi + echo "Running aclocal $aclocalinclude ..." + aclocal $aclocalinclude + if grep "^A[CM]_CONFIG_HEADER" configure.ac >/dev/null; then + echo "Running autoheader..." + autoheader + fi + echo "Running automake --gnu $am_opt ..." + automake --add-missing --gnu $am_opt + echo "Running autoconf ..." + autoconf + ) + fi +done + +if test x$NOCONFIGURE = x; then + echo Running $srcdir/configure "$@" ... + $srcdir/configure "$@" \ + && echo Now type \`make\' to compile. || exit 1 +else + echo Skipping configure process. +fi --- webaccounts-browser-extension-0.5.orig/autogen.sh +++ webaccounts-browser-extension-0.5/autogen.sh @@ -49,9 +49,9 @@ } (grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && { - (libtool --version) < /dev/null > /dev/null 2>&1 || { + (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo - echo "**Error**: You must have \`libtool' installed." + echo "**Error**: You must have \`libtoolize' installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" DIE=1 } --- webaccounts-browser-extension-0.5.orig/debian/changelog +++ webaccounts-browser-extension-0.5/debian/changelog @@ -0,0 +1,164 @@ +webaccounts-browser-extension (0.5-0ubuntu3) vivid; urgency=medium + + * Fix libtool check. + * Build for every architecture. + + -- Matthias Klose Sat, 07 Mar 2015 17:15:17 +0100 + +webaccounts-browser-extension (0.5-0ubuntu2) trusty; urgency=medium + + * debian/control: + - Work with just unity-control-center-signon installed (LP: #1257505) + + -- Robert Ancell Wed, 29 Jan 2014 17:01:40 +1300 + +webaccounts-browser-extension (0.5-0ubuntu1) saucy; urgency=low + + [ Robert Bruce Park ] + * Inline packaging metadata. + * Automatic snapshot from revision 31 (bootstrap) + + [ Alberto Mardegan ] + * Update license information: LGPL v2.1 for the libwebaccounts library and + for the NPAPI plugin, and GPL v2 for the unit tests. + + [ Didier Roche ] + * don't build on powerpc as the new Qt5-based version don't have powerpc + qtscripts. + + [ Ken VanDine ] + * debian/control + - Use latest standards version + * debian/copyright + - added missing LGPL-2.1 stanza + + -- Ken VanDine Fri, 05 Jul 2013 09:27:12 -0400 + +webaccounts-browser-extension (0.4.5-0ubuntu4) raring; urgency=low + + * debian/control + - build depend on vim-common, it is required + + -- Ken VanDine Thu, 15 Nov 2012 12:22:18 -0500 + +webaccounts-browser-extension (0.4.5-0ubuntu3) raring; urgency=low + + * debian/control + - Move the depends for gnome-control-center-signon to the -common package + instead of specifying it multiple times. + - Don't build depend on vim-common + * debian/copyright + - Updated to add license/copyright for lib/* + + -- Ken VanDine Wed, 14 Nov 2012 13:58:52 -0500 + +webaccounts-browser-extension (0.4.5-0ubuntu2) raring; urgency=low + + * debian/rules + - enable tests + * debian/compat, debian/control + - dh 9 + + -- Ken VanDine Thu, 08 Nov 2012 16:13:39 -0500 + +webaccounts-browser-extension (0.4.5-0ubuntu1) raring; urgency=low + + * New upstream release. + - Do not load the libwebaccounts library more than once (LP: #1066917) + + -- Ken VanDine Thu, 08 Nov 2012 12:44:23 -0500 + +webaccounts-browser-extension (0.4.4-0ubuntu1) quantal; urgency=low + + * New upstream release. + - Don't use npapi plugin for firefox + - install library as a private lib + + -- Ken VanDine Mon, 10 Sep 2012 14:41:04 -0400 + +webaccounts-browser-extension (0.4.2-0ubuntu1) quantal; urgency=low + + * New upstream release. + - Don't add any symbols to the main window global scope (LP: #1037706) + - Don't leak the browser chrome window (LP: #1037707) + - Don't import XPCOMUtils.jsm, it's not used anywhere + - Get the cookiemanager from Services.jsm + - Updated names and descriptions to be consistent between firefox and + chromium extensions (LP: #1025462) + + -- Ken VanDine Fri, 17 Aug 2012 16:40:48 -0400 + +webaccounts-browser-extension (0.4.1-0ubuntu3) quantal; urgency=low + + * debian/rules + - enable firefox extension build + * debian/control + - add the xul-ext-webaccounts binary + + -- Ken VanDine Thu, 16 Aug 2012 12:57:59 -0400 + +webaccounts-browser-extension (0.4.1-0ubuntu2) quantal; urgency=low + + * debian/rules + - bump dbus-test-runner timeout to 180 + + -- Ken VanDine Wed, 15 Aug 2012 17:19:21 -0400 + +webaccounts-browser-extension (0.4.1-0ubuntu1) quantal; urgency=low + + * New upstream release + * debian/watch + - added + * debian/control + - added dbus-test-runner build depends + * debian/patches/tests_gsettings_fix.patch + - setup GSETTINGS_SCHEMA_DIR for tests + * debian/rules + - compile gsettings schemas for tests + + -- Ken VanDine Wed, 15 Aug 2012 16:56:41 -0400 + +webaccounts-browser-extension (0.2+bzr13-0quantal2) quantal; urgency=low + + * Added gtest build dep + + -- Ken VanDine Mon, 16 Jul 2012 16:51:06 -0400 + +webaccounts-browser-extension (0.2+bzr13-0quantal1) quantal; urgency=low + + * rebuild for quantal + + -- Ken VanDine Mon, 16 Jul 2012 10:30:02 -0400 + +webaccounts-browser-extension (0.2+bzr13-0precise1) precise; urgency=low + + * New snapshot from tag 0.2+bzr13 + + -- Ken VanDine Wed, 11 Jul 2012 10:26:00 -0400 + +webaccounts-browser-extension (0.1-0precise4) precise; urgency=low + + * no change rebuild + + -- Ken VanDine Fri, 15 Jun 2012 16:45:31 -0400 + +webaccounts-browser-extension (0.1-0precise3) precise; urgency=low + + * debian/control + - make both browser extensions depend on gnome-control-center-signon, + they require it via dbus + + -- Ken VanDine Thu, 14 Jun 2012 16:54:19 -0400 + +webaccounts-browser-extension (0.1-0precise2) precise; urgency=low + + * chromium-extension/manifest.json.in + - use the .so + + -- Ken VanDine Mon, 11 Jun 2012 15:27:37 -0400 + +webaccounts-browser-extension (0.1-0precise1) precise; urgency=low + + * Initial package + + -- Ken VanDine Mon, 04 Jun 2012 11:15:08 -0400 --- webaccounts-browser-extension-0.5.orig/debian/compat +++ webaccounts-browser-extension-0.5/debian/compat @@ -0,0 +1 @@ +9 --- webaccounts-browser-extension-0.5.orig/debian/control +++ webaccounts-browser-extension-0.5/debian/control @@ -0,0 +1,52 @@ +Source: webaccounts-browser-extension +Priority: optional +Maintainer: Ubuntu Desktop Team +Build-Depends: autotools-dev, + dbus-test-runner, + debhelper (>= 9), + dh-autoreconf, + gnome-common, + libaccounts-glib-dev (>= 1.1+bzr153), + libglib2.0-dev, + libgtest-dev, + libjson-glib-dev, + mozilla-devscripts, + openssl, + pkg-config, + vim-common, + zip, +Standards-Version: 3.9.4 +Section: web +Homepage: https://launchpad.net/webaccounts-browser-extension +# If you aren't a member of ~online-accounts but need to upload packaging changes, +# just go ahead. ~online-accounts will notice and sync up the code again. +Vcs-Bzr: https://code.launchpad.net/~online-accounts/webaccounts-browser-extension/trunk + +Package: webaccounts-extension-common +Architecture: any +Depends: unity-control-center-signon | gnome-control-center-signon, ${misc:Depends}, ${shlibs:Depends} +Description: Ubuntu Online Accounts browser extension - common files + Common files needed by the Ubuntu Online Accounts integration Chromium + and Firefox extensions + +Package: webaccounts-chromium-extension +Architecture: any +Depends: chromium-browser, + webaccounts-extension-common (= ${binary:Version}), + ${misc:Depends}, +Breaks: libwebaccounts-chromium +Replaces: libwebaccounts-chromium +Description: Ubuntu Online Accounts extension for chromium + Chromium extension to allow integraton with Ubuntu Online Accounts + +Package: xul-ext-webaccounts +Architecture: any +Depends: webaccounts-extension-common (= ${binary:Version}), + ${misc:Depends}, + ${xpi:Depends}, +Enhances: ${xpi:Enhances} +Provides: ${xpi:Provides} +Recommends: ${xpi:Recommends} +Breaks: ${xpi:Breaks} +Description: Ubuntu Online Accounts extension for firefox + Firefox extension to allow integraton with Ubuntu Online Accounts --- webaccounts-browser-extension-0.5.orig/debian/copyright +++ webaccounts-browser-extension-0.5/debian/copyright @@ -0,0 +1,68 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: webaccounts-browser-extension +Source: https://launchpad.net/webaccounts-browser-extension + +Files: * +Copyright: Copyright (C) Canonical LTD 2012 +License: LGPL-2.1 + +Files: lib/* lib/webaccounts/* lib/data/* +Copyright: 2012 Canonical Ltd +License: LGPL-2.1 + +Files: lib/tests/* +Copyright: 2012 Canonical Ltd +License: GPL-2 + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: npapi-plugin/* +Copyright: 2012 Canonical Ltd +License: LGPL-2.1 + +Files: npapi-plugin/src/npapi-headers/headers/nptypes.h +Copyright: 2004 mozilla.org +License: GPL-2+ + +Files: npapi-plugin/src/npapi-headers/headers/npapi.h + npapi-plugin/src/npapi-headers/headers/npfunctions.h +Copyright: 1998 Netscape Communications Corporation +License: GPL-2+ + +Files: npapi-plugin/src/npapi-headers/headers/npruntime.h +Copyright: 2004 Apple Computer, 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 names of Apple Computer, Inc. ("Apple") or The Mozilla + Foundation ("Mozilla") nor the names of their contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR 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 APPLE, MOZILLA OR + THEIR 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. + +License: GPL-2+ + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +License: LGPL-2.1 + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + --- webaccounts-browser-extension-0.5.orig/debian/docs +++ webaccounts-browser-extension-0.5/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- webaccounts-browser-extension-0.5.orig/debian/patches/fix-libtool-check.diff +++ webaccounts-browser-extension-0.5/debian/patches/fix-libtool-check.diff @@ -0,0 +1,16 @@ +Index: b/autogen.sh +=================================================================== +--- a/autogen.sh ++++ b/autogen.sh +@@ -49,9 +49,9 @@ fi + } + + (grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && { +- (libtool --version) < /dev/null > /dev/null 2>&1 || { ++ (libtoolize --version) < /dev/null > /dev/null 2>&1 || { + echo +- echo "**Error**: You must have \`libtool' installed." ++ echo "**Error**: You must have \`libtoolize' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } --- webaccounts-browser-extension-0.5.orig/debian/patches/series +++ webaccounts-browser-extension-0.5/debian/patches/series @@ -0,0 +1 @@ +fix-libtool-check.diff --- webaccounts-browser-extension-0.5.orig/debian/rules +++ webaccounts-browser-extension-0.5/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +override_dh_autoreconf: + cp debian/webaccounts.pem . + NOCONFIGURE=1 dh_autoreconf ./autogen.sh + +override_dh_install: + install-xpi -p xul-ext-webaccounts firefox-extension/webaccounts-firefox-extension.xpi + rm -rf debian/tmp/usr/lib/*/webaccounts-firefox + rm -f debian/tmp/usr/lib/*/*/libwebaccounts.la + dh_install --fail-missing + +override_dh_auto_test: + dbus-test-runner -t make -p check -m 180 + +%: + dh $@ --with xul-ext,autoreconf --- webaccounts-browser-extension-0.5.orig/debian/webaccounts-chromium-extension.install +++ webaccounts-browser-extension-0.5/debian/webaccounts-chromium-extension.install @@ -0,0 +1,2 @@ +usr/lib/*/webaccounts-chromium/*.crx +usr/share/chromium/extensions --- webaccounts-browser-extension-0.5.orig/debian/webaccounts-extension-common.install +++ webaccounts-browser-extension-0.5/debian/webaccounts-extension-common.install @@ -0,0 +1,2 @@ +usr/lib/*/webaccounts-browser-extension +usr/share/glib-2.0/schemas --- webaccounts-browser-extension-0.5.orig/debian/webaccounts.pem +++ webaccounts-browser-extension-0.5/debian/webaccounts.pem @@ -0,0 +1,15 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXAIBAAKBgQDDkeiTu8AJ32tEHdtsPV3zzd6qKc2xIMu6MkfyADxssTvshm1W +uSyWQPEOpoyklDD4XtjjlhrOgh1DTslCv/uz0+fi7P2M+IRWzRQynRcbA9OUkdHt +TKhXgVkY+5iNSPxVLtObY5KxLqXu9EDmeFFvK3j/XiIEj0FOMZBrV6NYiwIDAQAB +AoGAPexiNvzYxod+gFfv1SrtJ7hEy55m6bHXsAIhs6eNemD392FtF2uUiZLQgPIN +UEM36jyl8hHiNQcP2vMEWOVO/cjQmM3mSkVTHav1bgFv/UolXQZ6XuO5jg28p3fa +C4gjTqCMtfcRV5+TU9nPHR+dU6T8b2VyblrUL0amN9B76jECQQDngF5lhwvnCI90 +sIwDy3fplUGRBB7nsJhSgSi3VGkFsVQq80pv8WAzsi/8Awy/x0nQjldTb7srkxkc +K90e6tOTAkEA2EQdq+eOXBdoKpG9x/15jPebm13CYJIFSgZlb1b8y5qRDGvjTipx +c55Yf7lqjsYvipwKuZWbLclyFBqKqPByKQJAU8CvZg/LkJQaQl806JKOGWW0SOCy +xaOwF/k+X8UcEcEr8DYAsisjYNCQZ5462I8i917n3PnJP2SCaxy7bNoMHQJBAMy0 +3Skky5ncBhuVTICLK40Fq2MLAryKOztwhn83ZZ4LtpR9YvFQN4drMPXlOjne2o1n +WreEJxjV/4eMAAgdYNECQGw1H3AVMrrRPNoneX4ryT2NiuTILGmTVIFeTM2Y/p1Q +2+ISRM2Vjdz7wvnpwYNfxflM5PHV/wJnlUwE+mnnAHY= +-----END RSA PRIVATE KEY----- --- webaccounts-browser-extension-0.5.orig/debian/xul-ext-webaccounts.postinst +++ webaccounts-browser-extension-0.5/debian/xul-ext-webaccounts.postinst @@ -0,0 +1,12 @@ +#!/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# +