Merge lp:~robru/webbrowser-app/packaging into lp:webbrowser-app

Proposed by Robert Bruce Park
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 101
Merged at revision: 102
Proposed branch: lp:~robru/webbrowser-app/packaging
Merge into: lp:webbrowser-app
Diff against target: 108 lines (+25/-16)
5 files modified
debian/changelog (+7/-1)
debian/control (+16/-13)
debian/copyright (+0/-1)
debian/rules (+2/-0)
debian/webbrowser-app-autopilot.install (+0/-1)
To merge this branch: bzr merge lp:~robru/webbrowser-app/packaging
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Olivier Tilloy Approve
Robert Bruce Park (community) Approve
Didier Roche-Tolomelli Needs Information
Review via email: mp+153650@code.launchpad.net

Commit message

Minor packaging fixes.

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

@Martin: can we get jenkins taking care of that one for a CI job?

After a first really quick looks, this looks good.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~robru/webbrowser-app/packaging updated
96. By Robert Bruce Park

Fix copy&paste error in debian/rules.

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

Please approve ;-)

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

Hey Robert,

same question than the other (this job is using the ppa), did you try it without the ppa, are all build-deps available in normal distro? Did you try running it, looking at the tests status, and are you happy with those? :)

review: Needs Information
lp:~robru/webbrowser-app/packaging updated
97. By Robert Bruce Park

Update standards.

Revision history for this message
Robert Bruce Park (robru) wrote :

This one builds ok on amd64 but fails to install because libhud-qt-qml is missing.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~robru/webbrowser-app/packaging updated
98. By Robert Bruce Park

Rebase on trunk.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

In debian/control, in the build deps, the following line was mistakenly added (or rather, not removed when rebasing on the latest trunk):

    qt-components-ubuntu,

review: Needs Fixing
lp:~robru/webbrowser-app/packaging updated
99. By Robert Bruce Park

Drop obsolete dep.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Robert Bruce Park (robru) wrote :

I don't have the slightest clue what jenkins is trying to tell me here. But this package is still blocked on libhud-qt-qml anyway.

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

Robert: I think jenkins is having a hard time. Let me ping mmrazik :)

Revision history for this message
Olivier Tilloy (osomon) wrote :

Yup, looks like jenkins is messed up, it reports a failure because generic-mediumtests #366 failed, but this job was for the gallery application!

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks good to me now.

review: Approve
Revision history for this message
Robert Bruce Park (robru) wrote :

So, I installed libhud-qt-qml from the PPA, and then I was able to install this package. It doesn't run though:

$ webbrowser-app

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

register types Ubuntu.HUD
initialize engine Ubuntu.HUD
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Browser/Browser.qml:130:22: Cannot assign to non-existent property "devicePixelRatio"
             experimental.devicePixelRatio: browser.qtwebkitdpr
                          ^
Segmentation fault (core dumped)

Thoughts, Olivier? I'm not good with gdb so I'll need you to guide me somewhat to better troubleshoot this.

Revision history for this message
Olivier Tilloy (osomon) wrote :

This one needs a patched version of QtWebKit that’s in the phablet-team PPA. Interestingly, it hasn’t been built for raring in the PPA, I’ll request it.

This 'experimental.devicePixelRatio' property doesn’t make much sense on the desktop anyway, so I’ll see if we can make it optional, instead of crashing badly at startup.

Note that this property was introduced to work around an incomplete implementation in QtUbuntu (Qt Platform Abstraction for Ubuntu Touch), so in the long run it is supposed to go away (what is unclear to me is when, I’ll see if I can find out).

Revision history for this message
Robert Bruce Park (robru) wrote :

In the name of convergence, wouldn't it make more sense to simply define the value of experimental.devicePixelRatio to be '1' (or whatever 'nop' value is appropriate), just so that the same code runs everywhere?

Revision history for this message
Olivier Tilloy (osomon) wrote :

Definitely. However the issue here is that the stock version of QtWebKit in ubuntu doesn’t know of this attached property, so QML chokes when trying to assign it a value.

Revision history for this message
Olivier Tilloy (osomon) wrote :

> This 'experimental.devicePixelRatio' property doesn’t make much sense on the
> desktop anyway, so I’ll see if we can make it optional, instead of crashing
> badly at startup.

Done, see https://code.launchpad.net/~osomon/webbrowser-app/webkitdpr-patch-not-mandatory/+merge/155706.

Revision history for this message
Olivier Tilloy (osomon) wrote :

> > This 'experimental.devicePixelRatio' property doesn’t make much sense on the
> > desktop anyway, so I’ll see if we can make it optional, instead of crashing
> > badly at startup.
>
> Done, see https://code.launchpad.net/~osomon/webbrowser-app/webkitdpr-patch-
> not-mandatory/+merge/155706.

And merged in webbrowser-app trunk.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Merging in trunk yields a conflict in debian/changelog, can you please rebase to fix that?

review: Needs Fixing
lp:~robru/webbrowser-app/packaging updated
100. By Robert Bruce Park

[ Olivier Tilloy ]
* Add support for <select> dropdowns (LP: #1157764).
* Work around the lack of support for handling hyperlinks with a
  target attribute set to '_blank' in QtWebKit (LP: #1129281).
* Allow faster scrolling, by making the maximum flick velocity of
  the webview proportional to its height (LP: #1118501).

Revision history for this message
Robert Bruce Park (robru) wrote :

Wow, it runs! This is amazing ;-)

Please merge!

review: Approve
Revision history for this message
Olivier Tilloy (osomon) wrote :

You shouldn’t modify the latest changelog entry (0.17), as it’s already been released (and published in the phablet-team PPA). I think you should add a new changelog entry instead.

review: Needs Fixing
lp:~robru/webbrowser-app/packaging updated
101. By Robert Bruce Park

Marching along...

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

LGTM now.

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
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-03-26 18:07:13 +0000
3+++ debian/changelog 2013-03-27 18:37:20 +0000
4@@ -1,3 +1,9 @@
5+webbrowser-app (0.17-0ubuntu1) UNRELEASED; urgency=low
6+
7+ * Some minor fixes to the packaging.
8+
9+ -- Robert Bruce Park <robert.park@canonical.com> Wed, 27 Mar 2013 11:34:51 -0700
10+
11 webbrowser-app (0.17) quantal; urgency=low
12
13 * Add support for <select> dropdowns (LP: #1157764).
14@@ -125,7 +131,7 @@
15
16 ubuntu-browser (0.2) quantal; urgency=low
17
18- * latest release
19+ * latest release
20
21 -- Bill Filler <bill.filler@canonical.com> Thu, 31 Jan 2013 22:02:22 -0500
22
23
24=== modified file 'debian/control'
25--- debian/control 2013-03-19 11:59:00 +0000
26+++ debian/control 2013-03-27 18:37:20 +0000
27@@ -2,39 +2,42 @@
28 Section: x11
29 Priority: optional
30 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
31-Build-Depends: debhelper (>= 9.0),
32- cmake (>= 2.8.9),
33+Build-Depends: cmake (>= 2.8.9),
34+ debhelper (>= 9),
35+ python,
36 qt5-default,
37 qt5-qmake,
38 qtbase5-dev,
39 qtdeclarative5-dev,
40 qtdeclarative5-qtquick2-plugin,
41 qtdeclarative5-test-plugin,
42+ qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
43 qtdeclarative5-window-plugin,
44- qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
45- python,
46-Standards-Version: 3.9.3
47-Vcs-Bzr: lp:webbrowser-app
48+Standards-Version: 3.9.4
49+Homepage: https://launchpad.net/webbrowser-app
50+# If you aren't a member of ~phablet-team but need to upload packaging changes,
51+# just go ahead. ~phablet-team will notice and sync up the code again.
52+Vcs-Bzr: https://code.launchpad.net/~phablet-team/webbrowser-app/trunk
53
54 Package: webbrowser-app
55 Architecture: any
56-Depends: ${shlibs:Depends},
57- ${misc:Depends},
58+Depends: libhud-qt-qml,
59+ libqt5webkit5-qmlwebkitplugin,
60 qtdeclarative5-qtquick2-plugin,
61+ qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
62 qtdeclarative5-window-plugin,
63- libqt5webkit5-qmlwebkitplugin,
64- qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
65- libhud-qt-qml,
66+ ${misc:Depends},
67+ ${shlibs:Depends},
68 Description: Ubuntu web browser
69 A lightweight web browser tailored for Ubuntu, based on the Webkit rendering
70 engine and using the Ubuntu UI components.
71
72 Package: webbrowser-app-autopilot
73 Architecture: all
74-Depends: ${misc:Depends},
75- libautopilot-qt,
76+Depends: libautopilot-qt,
77 libqt5test5,
78 webbrowser-app (= ${source:Version}),
79+ ${misc:Depends},
80 Description: Ubuntu web browser autopilot tests
81 A lightweight web browser tailored for Ubuntu, based on the Webkit rendering
82 engine and using the Ubuntu UI components. This package contains autopilot
83
84=== modified file 'debian/copyright'
85--- debian/copyright 2013-02-07 09:28:18 +0000
86+++ debian/copyright 2013-03-27 18:37:20 +0000
87@@ -19,4 +19,3 @@
88 .
89 On Debian systems, the full text of the GNU General Public License
90 version 3 can be found in the file /usr/share/common-licenses/GPL-3.
91-
92
93=== modified file 'debian/rules'
94--- debian/rules 2013-02-07 09:30:39 +0000
95+++ debian/rules 2013-03-27 18:37:20 +0000
96@@ -9,3 +9,5 @@
97 %:
98 dh $@ --parallel
99
100+override_dh_install:
101+ dh_install --fail-missing
102
103=== modified file 'debian/webbrowser-app-autopilot.install'
104--- debian/webbrowser-app-autopilot.install 2013-03-08 10:59:25 +0000
105+++ debian/webbrowser-app-autopilot.install 2013-03-27 18:37:20 +0000
106@@ -1,2 +1,1 @@
107 usr/lib/python*/dist-packages/webbrowser_app/*
108-

Subscribers

People subscribed via source and target branches

to status/vote changes: