Merge lp:~robru/webaccounts-browser-extension/inline-packaging into lp:webaccounts-browser-extension

Proposed by Robert Bruce Park
Status: Merged
Approved by: Víctor R. Ruiz
Approved revision: 33
Merged at revision: 31
Proposed branch: lp:~robru/webaccounts-browser-extension/inline-packaging
Merge into: lp:webaccounts-browser-extension
Diff against target: 370 lines (+302/-1)
12 files modified
.bzr-builddeb/default.conf (+2/-0)
.bzrignore (+0/-1)
debian/changelog (+134/-0)
debian/compat (+1/-0)
debian/control (+52/-0)
debian/copyright (+59/-0)
debian/docs (+2/-0)
debian/rules (+21/-0)
debian/webaccounts-chromium-extension.install (+2/-0)
debian/webaccounts-extension-common.install (+2/-0)
debian/webaccounts.pem (+15/-0)
debian/xul-ext-webaccounts.postinst (+12/-0)
To merge this branch: bzr merge lp:~robru/webaccounts-browser-extension/inline-packaging
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Didier Roche-Tolomelli Approve
Víctor R. Ruiz Pending
Review via email: mp+135463@code.launchpad.net

Description of the change

Inline packaging metadata.

This mp was already approved my mardy, however jenkins got a bit confused so I deleted that one and am resubmitting an identical mp.

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

312 +override_dh_auto_install:
313 + install-xpi -p xul-ext-webaccounts firefox-extension/webaccounts-firefox-extension.xpi
314 + dh_auto_install
315 + rm -rf debian/tmp/usr/lib/*/webaccounts-firefox
316 + rm -f debian/tmp/usr/lib/*/*/libwebaccounts.la

I would prefer that we use the now traditional:
override_dh_install:
   install-xpi…
   rm what we want to remove
   dh_install --fail-missing

Do you mind changing that?

review: Needs Fixing
33. By Robert Bruce Park

Fix debian/rules as per didrocks.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

perfect!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory '.bzr-builddeb'
=== added file '.bzr-builddeb/default.conf'
--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
+++ .bzr-builddeb/default.conf 2012-11-22 16:02:21 +0000
@@ -0,0 +1,2 @@
1[BUILDDEB]
2split = True
03
=== modified file '.bzrignore'
--- .bzrignore 2012-09-07 14:26:17 +0000
+++ .bzrignore 2012-11-22 16:02:21 +0000
@@ -2,7 +2,6 @@
2*.gcno2*.gcno
3*.la3*.la
4*.lo4*.lo
5*.pem
6*.tar.gz5*.tar.gz
7Makefile6Makefile
8Makefile.in7Makefile.in
98
=== added directory 'debian'
=== added file 'debian/changelog'
--- debian/changelog 1970-01-01 00:00:00 +0000
+++ debian/changelog 2012-11-22 16:02:21 +0000
@@ -0,0 +1,134 @@
1webaccounts-browser-extension (0.4.6-0ubuntu1) raring; urgency=low
2
3 * Inline packaging metadata.
4
5 -- Robert Bruce Park <robert.park@canonical.com> Tue, 20 Nov 2012 15:44:39 -0600
6
7webaccounts-browser-extension (0.4.5-0ubuntu4) raring; urgency=low
8
9 * debian/control
10 - build depend on vim-common, it is required
11
12 -- Ken VanDine <ken.vandine@canonical.com> Thu, 15 Nov 2012 12:22:18 -0500
13
14webaccounts-browser-extension (0.4.5-0ubuntu3) raring; urgency=low
15
16 * debian/control
17 - Move the depends for gnome-control-center-signon to the -common package
18 instead of specifying it multiple times.
19 - Don't build depend on vim-common
20 * debian/copyright
21 - Updated to add license/copyright for lib/*
22
23 -- Ken VanDine <ken.vandine@canonical.com> Wed, 14 Nov 2012 13:58:52 -0500
24
25webaccounts-browser-extension (0.4.5-0ubuntu2) raring; urgency=low
26
27 * debian/rules
28 - enable tests
29 * debian/compat, debian/control
30 - dh 9
31
32 -- Ken VanDine <ken.vandine@canonical.com> Thu, 08 Nov 2012 16:13:39 -0500
33
34webaccounts-browser-extension (0.4.5-0ubuntu1) raring; urgency=low
35
36 * New upstream release.
37 - Do not load the libwebaccounts library more than once (LP: #1066917)
38
39 -- Ken VanDine <ken.vandine@canonical.com> Thu, 08 Nov 2012 12:44:23 -0500
40
41webaccounts-browser-extension (0.4.4-0ubuntu1) quantal; urgency=low
42
43 * New upstream release.
44 - Don't use npapi plugin for firefox
45 - install library as a private lib
46
47 -- Ken VanDine <ken.vandine@canonical.com> Mon, 10 Sep 2012 14:41:04 -0400
48
49webaccounts-browser-extension (0.4.2-0ubuntu1) quantal; urgency=low
50
51 * New upstream release.
52 - Don't add any symbols to the main window global scope (LP: #1037706)
53 - Don't leak the browser chrome window (LP: #1037707)
54 - Don't import XPCOMUtils.jsm, it's not used anywhere
55 - Get the cookiemanager from Services.jsm
56 - Updated names and descriptions to be consistent between firefox and
57 chromium extensions (LP: #1025462)
58
59 -- Ken VanDine <ken.vandine@canonical.com> Fri, 17 Aug 2012 16:40:48 -0400
60
61webaccounts-browser-extension (0.4.1-0ubuntu3) quantal; urgency=low
62
63 * debian/rules
64 - enable firefox extension build
65 * debian/control
66 - add the xul-ext-webaccounts binary
67
68 -- Ken VanDine <ken.vandine@canonical.com> Thu, 16 Aug 2012 12:57:59 -0400
69
70webaccounts-browser-extension (0.4.1-0ubuntu2) quantal; urgency=low
71
72 * debian/rules
73 - bump dbus-test-runner timeout to 180
74
75 -- Ken VanDine <ken.vandine@canonical.com> Wed, 15 Aug 2012 17:19:21 -0400
76
77webaccounts-browser-extension (0.4.1-0ubuntu1) quantal; urgency=low
78
79 * New upstream release
80 * debian/watch
81 - added
82 * debian/control
83 - added dbus-test-runner build depends
84 * debian/patches/tests_gsettings_fix.patch
85 - setup GSETTINGS_SCHEMA_DIR for tests
86 * debian/rules
87 - compile gsettings schemas for tests
88
89 -- Ken VanDine <ken.vandine@canonical.com> Wed, 15 Aug 2012 16:56:41 -0400
90
91webaccounts-browser-extension (0.2+bzr13-0quantal2) quantal; urgency=low
92
93 * Added gtest build dep
94
95 -- Ken VanDine <ken.vandine@canonical.com> Mon, 16 Jul 2012 16:51:06 -0400
96
97webaccounts-browser-extension (0.2+bzr13-0quantal1) quantal; urgency=low
98
99 * rebuild for quantal
100
101 -- Ken VanDine <ken.vandine@canonical.com> Mon, 16 Jul 2012 10:30:02 -0400
102
103webaccounts-browser-extension (0.2+bzr13-0precise1) precise; urgency=low
104
105 * New snapshot from tag 0.2+bzr13
106
107 -- Ken VanDine <ken.vandine@canonical.com> Wed, 11 Jul 2012 10:26:00 -0400
108
109webaccounts-browser-extension (0.1-0precise4) precise; urgency=low
110
111 * no change rebuild
112
113 -- Ken VanDine <ken.vandine@canonical.com> Fri, 15 Jun 2012 16:45:31 -0400
114
115webaccounts-browser-extension (0.1-0precise3) precise; urgency=low
116
117 * debian/control
118 - make both browser extensions depend on gnome-control-center-signon,
119 they require it via dbus
120
121 -- Ken VanDine <ken.vandine@canonical.com> Thu, 14 Jun 2012 16:54:19 -0400
122
123webaccounts-browser-extension (0.1-0precise2) precise; urgency=low
124
125 * chromium-extension/manifest.json.in
126 - use the .so
127
128 -- Ken VanDine <ken.vandine@canonical.com> Mon, 11 Jun 2012 15:27:37 -0400
129
130webaccounts-browser-extension (0.1-0precise1) precise; urgency=low
131
132 * Initial package
133
134 -- Ken VanDine <ken.vandine@canonical.com> Mon, 04 Jun 2012 11:15:08 -0400
0135
=== added file 'debian/compat'
--- debian/compat 1970-01-01 00:00:00 +0000
+++ debian/compat 2012-11-22 16:02:21 +0000
@@ -0,0 +1,1 @@
19
02
=== added file 'debian/control'
--- debian/control 1970-01-01 00:00:00 +0000
+++ debian/control 2012-11-22 16:02:21 +0000
@@ -0,0 +1,52 @@
1Source: webaccounts-browser-extension
2Priority: optional
3Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
4Build-Depends: autotools-dev,
5 dbus-test-runner,
6 debhelper (>= 9),
7 dh-autoreconf,
8 gnome-common,
9 libaccounts-glib-dev (>= 1.1+bzr153),
10 libglib2.0-dev,
11 libgtest-dev,
12 libjson-glib-dev,
13 mozilla-devscripts,
14 openssl,
15 pkg-config,
16 vim-common,
17 zip,
18Standards-Version: 3.9.3
19Section: web
20Homepage: https://launchpad.net/webaccounts-browser-extension
21# If you aren't a member of ~online-accounts but need to upload packaging changes,
22# just go ahead. ~online-accounts will notice and sync up the code again.
23Vcs-Bzr: https://code.launchpad.net/~online-accounts/webaccounts-browser-extension/trunk
24
25Package: webaccounts-extension-common
26Architecture: any
27Depends: gnome-control-center-signon, ${misc:Depends}, ${shlibs:Depends}
28Description: Ubuntu Online Accounts browser extension - common files
29 Common files needed by the Ubuntu Online Accounts integration Chromium
30 and Firefox extensions
31
32Package: webaccounts-chromium-extension
33Architecture: any
34Depends: chromium-browser,
35 webaccounts-extension-common (= ${binary:Version}),
36 ${misc:Depends},
37Breaks: libwebaccounts-chromium
38Replaces: libwebaccounts-chromium
39Description: Ubuntu Online Accounts extension for chromium
40 Chromium extension to allow integraton with Ubuntu Online Accounts
41
42Package: xul-ext-webaccounts
43Architecture: any
44Depends: webaccounts-extension-common (= ${binary:Version}),
45 ${misc:Depends},
46 ${xpi:Depends},
47Enhances: ${xpi:Enhances}
48Provides: ${xpi:Provides}
49Recommends: ${xpi:Recommends}
50Breaks: ${xpi:Breaks}
51Description: Ubuntu Online Accounts extension for firefox
52 Firefox extension to allow integraton with Ubuntu Online Accounts
053
=== added file 'debian/copyright'
--- debian/copyright 1970-01-01 00:00:00 +0000
+++ debian/copyright 2012-11-22 16:02:21 +0000
@@ -0,0 +1,59 @@
1Format: http://dep.debian.net/deps/dep5
2Upstream-Name: online-accounts-browser-extension
3Source: https://launchpad.net/online-accounts-browser-extension
4
5Files: *
6Copyright: Copyright (C) Canonical LTD 2012
7License: GPL-3
8 On Debian systems, the complete text of the GNU General
9 Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
10
11Files: lib/*
12Copyright: 2012 Canonical Ltd
13License: GPL-2+
14
15Files: npapi-plugin/*
16Copyright: 2012 Canonical Ltd
17License: GPL-2+
18
19Files: npapi-plugin/src/npapi-headers/headers/nptypes.h
20Copyright: 2004 mozilla.org
21License: GPL-2+
22
23Files: npapi-plugin/src/npapi-headers/headers/npapi.h
24 npapi-plugin/src/npapi-headers/headers/npfunctions.h
25Copyright: 1998 Netscape Communications Corporation
26License: GPL-2+
27
28Files: npapi-plugin/src/npapi-headers/headers/npruntime.h
29Copyright: 2004 Apple Computer, Inc.
30License:
31 Redistribution and use in source and binary forms, with or without
32 modification, are permitted provided that the following conditions are
33 met:
34 .
35 1. Redistributions of source code must retain the above copyright
36 notice, this list of conditions and the following disclaimer.
37 2. Redistributions in binary form must reproduce the above copyright
38 notice, this list of conditions and the following disclaimer in the
39 documentation and/or other materials provided with the distribution.
40 3. Neither the names of Apple Computer, Inc. ("Apple") or The Mozilla
41 Foundation ("Mozilla") nor the names of their contributors may be used
42 to endorse or promote products derived from this software without
43 specific prior written permission.
44 .
45 THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR CONTRIBUTORS "AS
46 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
47 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
48 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE, MOZILLA OR
49 THEIR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
51 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
52 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
53 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
54 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
55 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56
57License: GPL-2+
58 On Debian systems, the complete text of the GNU General
59 Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
060
=== added file 'debian/docs'
--- debian/docs 1970-01-01 00:00:00 +0000
+++ debian/docs 2012-11-22 16:02:21 +0000
@@ -0,0 +1,2 @@
1NEWS
2README
03
=== added file 'debian/rules'
--- debian/rules 1970-01-01 00:00:00 +0000
+++ debian/rules 2012-11-22 16:02:21 +0000
@@ -0,0 +1,21 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5export DPKG_GENSYMBOLS_CHECK_LEVEL=4
6
7override_dh_autoreconf:
8 cp debian/webaccounts.pem .
9 NOCONFIGURE=1 dh_autoreconf ./autogen.sh
10
11override_dh_install:
12 install-xpi -p xul-ext-webaccounts firefox-extension/webaccounts-firefox-extension.xpi
13 rm -rf debian/tmp/usr/lib/*/webaccounts-firefox
14 rm -f debian/tmp/usr/lib/*/*/libwebaccounts.la
15 dh_install --fail-missing
16
17override_dh_auto_test:
18 dbus-test-runner -t make -p check -m 180
19
20%:
21 dh $@ --with xul-ext,autoreconf
022
=== added file 'debian/webaccounts-chromium-extension.install'
--- debian/webaccounts-chromium-extension.install 1970-01-01 00:00:00 +0000
+++ debian/webaccounts-chromium-extension.install 2012-11-22 16:02:21 +0000
@@ -0,0 +1,2 @@
1usr/lib/*/webaccounts-chromium/*.crx
2usr/share/chromium/extensions
03
=== added file 'debian/webaccounts-extension-common.install'
--- debian/webaccounts-extension-common.install 1970-01-01 00:00:00 +0000
+++ debian/webaccounts-extension-common.install 2012-11-22 16:02:21 +0000
@@ -0,0 +1,2 @@
1usr/lib/*/webaccounts-browser-extension
2usr/share/glib-2.0/schemas
03
=== added file 'debian/webaccounts.pem'
--- debian/webaccounts.pem 1970-01-01 00:00:00 +0000
+++ debian/webaccounts.pem 2012-11-22 16:02:21 +0000
@@ -0,0 +1,15 @@
1-----BEGIN RSA PRIVATE KEY-----
2MIICXAIBAAKBgQDDkeiTu8AJ32tEHdtsPV3zzd6qKc2xIMu6MkfyADxssTvshm1W
3uSyWQPEOpoyklDD4XtjjlhrOgh1DTslCv/uz0+fi7P2M+IRWzRQynRcbA9OUkdHt
4TKhXgVkY+5iNSPxVLtObY5KxLqXu9EDmeFFvK3j/XiIEj0FOMZBrV6NYiwIDAQAB
5AoGAPexiNvzYxod+gFfv1SrtJ7hEy55m6bHXsAIhs6eNemD392FtF2uUiZLQgPIN
6UEM36jyl8hHiNQcP2vMEWOVO/cjQmM3mSkVTHav1bgFv/UolXQZ6XuO5jg28p3fa
7C4gjTqCMtfcRV5+TU9nPHR+dU6T8b2VyblrUL0amN9B76jECQQDngF5lhwvnCI90
8sIwDy3fplUGRBB7nsJhSgSi3VGkFsVQq80pv8WAzsi/8Awy/x0nQjldTb7srkxkc
9K90e6tOTAkEA2EQdq+eOXBdoKpG9x/15jPebm13CYJIFSgZlb1b8y5qRDGvjTipx
10c55Yf7lqjsYvipwKuZWbLclyFBqKqPByKQJAU8CvZg/LkJQaQl806JKOGWW0SOCy
11xaOwF/k+X8UcEcEr8DYAsisjYNCQZ5462I8i917n3PnJP2SCaxy7bNoMHQJBAMy0
123Skky5ncBhuVTICLK40Fq2MLAryKOztwhn83ZZ4LtpR9YvFQN4drMPXlOjne2o1n
13WreEJxjV/4eMAAgdYNECQGw1H3AVMrrRPNoneX4ryT2NiuTILGmTVIFeTM2Y/p1Q
142+ISRM2Vjdz7wvnpwYNfxflM5PHV/wJnlUwE+mnnAHY=
15-----END RSA PRIVATE KEY-----
016
=== added file 'debian/xul-ext-webaccounts.postinst'
--- debian/xul-ext-webaccounts.postinst 1970-01-01 00:00:00 +0000
+++ debian/xul-ext-webaccounts.postinst 2012-11-22 16:02:21 +0000
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3set -e
4
5echo "Please restart all running instances of firefox, or you will experience problems."
6
7if [ -d /var/run ] ; then
8 touch /var/run/firefox-restart-required
9fi
10
11#DEBHELPER#
12

Subscribers

People subscribed via source and target branches