Merge lp:~om26er/ubuntu/maverick/rhythmbox/rhythmbox-bugfixes-maverick into lp:ubuntu/maverick-proposed/rhythmbox

Proposed by Omer Akram
Status: Needs review
Proposed branch: lp:~om26er/ubuntu/maverick/rhythmbox/rhythmbox-bugfixes-maverick
Merge into: lp:ubuntu/maverick-proposed/rhythmbox
Diff against target: 128 lines (+98/-0)
5 files modified
debian/changelog (+11/-0)
debian/patches/dont_crash_if_multiple_feeds_are_selected.patch (+23/-0)
debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch (+39/-0)
debian/patches/series (+3/-0)
debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch (+22/-0)
To merge this branch: bzr merge lp:~om26er/ubuntu/maverick/rhythmbox/rhythmbox-bugfixes-maverick
Reviewer Review Type Date Requested Status
Jamie Strandboge Approve
Artur Rona (community) Approve
Review via email: mp+43558@code.launchpad.net

Description of the change

Backported fixes for three rhythmbox crashers two of which are common cases. all three patches contain very small changes.

To post a comment you must log in.
Revision history for this message
Artur Rona (ari-tczew) wrote :

Please remove one star in debian/changelog:3

You have wrong URL in tag Bug-Ubuntu. It should be https://launchpad.net/bugs/XXXXXX

review: Needs Fixing
177. By Omer Akram

debian/patches/dont_crash_if_multiple_feeds_are_selected.patch:

Revision history for this message
Omer Akram (om26er) wrote :

> Please remove one star in debian/changelog:3
>
> You have wrong URL in tag Bug-Ubuntu. It should be
> https://launchpad.net/bugs/XXXXXX

fixed. thanks for the review

Revision history for this message
Artur Rona (ari-tczew) wrote :

OK now looks good and builds fine in maverick chroot. Please any core-dev upload.

review: Approve
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Patch applies and debdiff looks good. I didn't review the patches themselves since Artur ACKd the upload already.

review: Approve
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Somehow I forgot to upload this. Doing it now.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Omer, I did notice while re-reviewing this that the series file had the patches at the top. This means that they will get applied before any other patches, which could mess up patches coming after it. I have moved them to be last in the series file and renamed them so they conform to the patch names used in the package.

Unmerged revisions

177. By Omer Akram

debian/patches/dont_crash_if_multiple_feeds_are_selected.patch:

176. By Omer Akram

* * debian/patches/dont_crash_if_multiple_feeds_are_selected.patch:
  - Don't crash if multiple podcast feeds are selected. (LP: #404255)
* debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch:
  - Don't crash when right clicking on ipod to get properties. (LP: #651261)
* debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch:
  - Don't crash when opening .m3u file. (LP: #410510)

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 2010-11-02 13:05:02 +0000
3+++ debian/changelog 2010-12-24 12:23:28 +0000
4@@ -1,3 +1,14 @@
5+rhythmbox (0.13.1-0ubuntu6.1) maverick-proposed; urgency=low
6+
7+ * debian/patches/dont_crash_if_multiple_feeds_are_selected.patch:
8+ - Don't crash if multiple podcast feeds are selected. (LP: #404255)
9+ * debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch:
10+ - Don't crash when right clicking on ipod to get properties. (LP: #651261)
11+ * debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch:
12+ - Don't crash when opening .m3u file. (LP: #410510)
13+
14+ -- Omer Akram <om26er@ubuntu.com> Tue, 14 Dec 2010 00:16:52 +0500
15+
16 rhythmbox (0.13.1-0ubuntu6) maverick-proposed; urgency=low
17
18 * debian/patches/92_git_add_hardcoded_extensions_for_common_media_types.patch:
19
20=== added file 'debian/patches/dont_crash_if_multiple_feeds_are_selected.patch'
21--- debian/patches/dont_crash_if_multiple_feeds_are_selected.patch 1970-01-01 00:00:00 +0000
22+++ debian/patches/dont_crash_if_multiple_feeds_are_selected.patch 2010-12-24 12:23:28 +0000
23@@ -0,0 +1,23 @@
24+From: Jonathan Matthew <jonathan@d14n.org>
25+Subject: Don't crash if multiple feeds are selected.
26+Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=5d57ea19d2f5dc32e5cf9aab85beb4d782eaa250
27+Bug: http://bugs.gnome.org/589886
28+Bug-Ubuntu: https://launchpad.net/bugs/404255
29+
30+---
31+diff --git a/sources/rb-podcast-source.c b/sources/rb-podcast-source.c
32+index 4c5f241..77ae3ab 100644
33+--- a/sources/rb-podcast-source.c
34++++ b/sources/rb-podcast-source.c
35+@@ -1171,7 +1171,8 @@ construct_query_from_selection (RBPodcastSource *source)
36+ RHYTHMDB_QUERY_END);
37+ if (g_list_next (l))
38+ rhythmdb_query_append (source->priv->db, subquery,
39+- RHYTHMDB_QUERY_DISJUNCTION);
40++ RHYTHMDB_QUERY_DISJUNCTION,
41++ RHYTHMDB_QUERY_END);
42+ }
43+
44+ rhythmdb_query_append (source->priv->db, query,
45+--
46+cgit v0.8.3.1
47
48=== added file 'debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch'
49--- debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch 1970-01-01 00:00:00 +0000
50+++ debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch 2010-12-24 12:23:28 +0000
51@@ -0,0 +1,39 @@
52+From: Jonathan Matthew <jonathan@d14n.org>
53+Subject: Don't crash when trying to show properties if ipod db load fails.
54+Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=703fe04402dabea4d4b1e76d5ffc4101ee4264bb
55+Bug: http://bugs.gnome.org/618619
56+Bug-Ubuntu: https://launchpad.net/bugs/651261
57+
58+---
59+diff --git a/plugins/ipod/rb-ipod-source.c b/plugins/ipod/rb-ipod-source.c
60+index 47a405b..847551e 100644
61+--- a/plugins/ipod/rb-ipod-source.c
62++++ b/plugins/ipod/rb-ipod-source.c
63+@@ -2036,13 +2036,23 @@ get_mount_point (RBiPodSource *source)
64+ static guint64
65+ impl_get_capacity (RBMediaPlayerSource *source)
66+ {
67+- return rb_ipod_helpers_get_capacity (get_mount_point (RB_IPOD_SOURCE (source)));
68++ RBiPodSourcePrivate *priv = IPOD_SOURCE_GET_PRIVATE (source);
69++ if (priv->ipod_db) {
70++ return rb_ipod_helpers_get_capacity (get_mount_point (RB_IPOD_SOURCE (source)));
71++ } else {
72++ return 0;
73++ }
74+ }
75+
76+ static guint64
77+ impl_get_free_space (RBMediaPlayerSource *source)
78+ {
79+- return rb_ipod_helpers_get_free_space (get_mount_point (RB_IPOD_SOURCE (source)));
80++ RBiPodSourcePrivate *priv = IPOD_SOURCE_GET_PRIVATE (source);
81++ if (priv->ipod_db) {
82++ return rb_ipod_helpers_get_free_space (get_mount_point (RB_IPOD_SOURCE (source)));
83++ } else {
84++ return 0;
85++ }
86+ }
87+
88+ static void
89+--
90+cgit v0.8.3.1
91
92=== modified file 'debian/patches/series'
93--- debian/patches/series 2010-11-02 13:05:02 +0000
94+++ debian/patches/series 2010-12-24 12:23:28 +0000
95@@ -1,3 +1,6 @@
96+dont_crash_if_multiple_feeds_are_selected.patch
97+dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch
98+specify_the_right_pointer_for_the_parser_entry-added_handler.patch
99 01_dlna_vorbis.patch
100 15_ubuntu_lpi.patch
101 16_ubuntu_ayatana_register.patch
102
103=== added file 'debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch'
104--- debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch 1970-01-01 00:00:00 +0000
105+++ debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch 2010-12-24 12:23:28 +0000
106@@ -0,0 +1,22 @@
107+From: Jonathan Matthew <jonathan@d14n.org>
108+Subject: Specify the right pointer for the parser entry-added handler.
109+Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=75ae0dc122a8e9a78fb8d975c50a9d7781bd2030
110+Bug: http://bugs.gnome.org/591841
111+Bug-Ubuntu: https://launchpad.net/bugs/410510
112+
113+---
114+diff --git a/shell/rb-shell.c b/shell/rb-shell.c
115+index 4976349..c490a92 100644
116+--- a/shell/rb-shell.c
117++++ b/shell/rb-shell.c
118+@@ -3405,7 +3405,7 @@ rb_shell_load_uri (RBShell *shell,
119+
120+ g_signal_connect_data (parser, "entry-parsed",
121+ G_CALLBACK (handle_playlist_entry_cb),
122+- &data, NULL, 0);
123++ data, NULL, 0);
124+
125+ totem_pl_parser_add_ignored_mimetype (parser, "x-directory/normal");
126+ totem_pl_parser_add_ignored_mimetype (parser, "inode/directory");
127+--
128+cgit v0.8.3.1

Subscribers

People subscribed via source and target branches

to all changes: