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
=== modified file 'debian/changelog'
--- debian/changelog 2010-11-02 13:05:02 +0000
+++ debian/changelog 2010-12-24 12:23:28 +0000
@@ -1,3 +1,14 @@
1rhythmbox (0.13.1-0ubuntu6.1) maverick-proposed; urgency=low
2
3 * debian/patches/dont_crash_if_multiple_feeds_are_selected.patch:
4 - Don't crash if multiple podcast feeds are selected. (LP: #404255)
5 * debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch:
6 - Don't crash when right clicking on ipod to get properties. (LP: #651261)
7 * debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch:
8 - Don't crash when opening .m3u file. (LP: #410510)
9
10 -- Omer Akram <om26er@ubuntu.com> Tue, 14 Dec 2010 00:16:52 +0500
11
1rhythmbox (0.13.1-0ubuntu6) maverick-proposed; urgency=low12rhythmbox (0.13.1-0ubuntu6) maverick-proposed; urgency=low
213
3 * debian/patches/92_git_add_hardcoded_extensions_for_common_media_types.patch:14 * debian/patches/92_git_add_hardcoded_extensions_for_common_media_types.patch:
415
=== added file 'debian/patches/dont_crash_if_multiple_feeds_are_selected.patch'
--- debian/patches/dont_crash_if_multiple_feeds_are_selected.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/dont_crash_if_multiple_feeds_are_selected.patch 2010-12-24 12:23:28 +0000
@@ -0,0 +1,23 @@
1From: Jonathan Matthew <jonathan@d14n.org>
2Subject: Don't crash if multiple feeds are selected.
3Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=5d57ea19d2f5dc32e5cf9aab85beb4d782eaa250
4Bug: http://bugs.gnome.org/589886
5Bug-Ubuntu: https://launchpad.net/bugs/404255
6
7---
8diff --git a/sources/rb-podcast-source.c b/sources/rb-podcast-source.c
9index 4c5f241..77ae3ab 100644
10--- a/sources/rb-podcast-source.c
11+++ b/sources/rb-podcast-source.c
12@@ -1171,7 +1171,8 @@ construct_query_from_selection (RBPodcastSource *source)
13 RHYTHMDB_QUERY_END);
14 if (g_list_next (l))
15 rhythmdb_query_append (source->priv->db, subquery,
16- RHYTHMDB_QUERY_DISJUNCTION);
17+ RHYTHMDB_QUERY_DISJUNCTION,
18+ RHYTHMDB_QUERY_END);
19 }
20
21 rhythmdb_query_append (source->priv->db, query,
22--
23cgit v0.8.3.1
024
=== added file 'debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch'
--- debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch 2010-12-24 12:23:28 +0000
@@ -0,0 +1,39 @@
1From: Jonathan Matthew <jonathan@d14n.org>
2Subject: Don't crash when trying to show properties if ipod db load fails.
3Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=703fe04402dabea4d4b1e76d5ffc4101ee4264bb
4Bug: http://bugs.gnome.org/618619
5Bug-Ubuntu: https://launchpad.net/bugs/651261
6
7---
8diff --git a/plugins/ipod/rb-ipod-source.c b/plugins/ipod/rb-ipod-source.c
9index 47a405b..847551e 100644
10--- a/plugins/ipod/rb-ipod-source.c
11+++ b/plugins/ipod/rb-ipod-source.c
12@@ -2036,13 +2036,23 @@ get_mount_point (RBiPodSource *source)
13 static guint64
14 impl_get_capacity (RBMediaPlayerSource *source)
15 {
16- return rb_ipod_helpers_get_capacity (get_mount_point (RB_IPOD_SOURCE (source)));
17+ RBiPodSourcePrivate *priv = IPOD_SOURCE_GET_PRIVATE (source);
18+ if (priv->ipod_db) {
19+ return rb_ipod_helpers_get_capacity (get_mount_point (RB_IPOD_SOURCE (source)));
20+ } else {
21+ return 0;
22+ }
23 }
24
25 static guint64
26 impl_get_free_space (RBMediaPlayerSource *source)
27 {
28- return rb_ipod_helpers_get_free_space (get_mount_point (RB_IPOD_SOURCE (source)));
29+ RBiPodSourcePrivate *priv = IPOD_SOURCE_GET_PRIVATE (source);
30+ if (priv->ipod_db) {
31+ return rb_ipod_helpers_get_free_space (get_mount_point (RB_IPOD_SOURCE (source)));
32+ } else {
33+ return 0;
34+ }
35 }
36
37 static void
38--
39cgit v0.8.3.1
040
=== modified file 'debian/patches/series'
--- debian/patches/series 2010-11-02 13:05:02 +0000
+++ debian/patches/series 2010-12-24 12:23:28 +0000
@@ -1,3 +1,6 @@
1dont_crash_if_multiple_feeds_are_selected.patch
2dont_crash_when_trying_to_show_properties_if_ipod_db_load_fails.patch
3specify_the_right_pointer_for_the_parser_entry-added_handler.patch
101_dlna_vorbis.patch401_dlna_vorbis.patch
215_ubuntu_lpi.patch515_ubuntu_lpi.patch
316_ubuntu_ayatana_register.patch616_ubuntu_ayatana_register.patch
47
=== added file 'debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch'
--- debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/specify_the_right_pointer_for_the_parser_entry-added_handler.patch 2010-12-24 12:23:28 +0000
@@ -0,0 +1,22 @@
1From: Jonathan Matthew <jonathan@d14n.org>
2Subject: Specify the right pointer for the parser entry-added handler.
3Origin: http://git.gnome.org/browse/rhythmbox/commit/?id=75ae0dc122a8e9a78fb8d975c50a9d7781bd2030
4Bug: http://bugs.gnome.org/591841
5Bug-Ubuntu: https://launchpad.net/bugs/410510
6
7---
8diff --git a/shell/rb-shell.c b/shell/rb-shell.c
9index 4976349..c490a92 100644
10--- a/shell/rb-shell.c
11+++ b/shell/rb-shell.c
12@@ -3405,7 +3405,7 @@ rb_shell_load_uri (RBShell *shell,
13
14 g_signal_connect_data (parser, "entry-parsed",
15 G_CALLBACK (handle_playlist_entry_cb),
16- &data, NULL, 0);
17+ data, NULL, 0);
18
19 totem_pl_parser_add_ignored_mimetype (parser, "x-directory/normal");
20 totem_pl_parser_add_ignored_mimetype (parser, "inode/directory");
21--
22cgit v0.8.3.1

Subscribers

People subscribed via source and target branches

to all changes: