Merge lp:~cyphermox/ubuntu/natty/lunar-applet/lp708721 into lp:ubuntu/natty/lunar-applet

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Merged at revision: 9
Proposed branch: lp:~cyphermox/ubuntu/natty/lunar-applet/lp708721
Merge into: lp:ubuntu/natty/lunar-applet
Diff against target: 76 lines (+46/-1)
4 files modified
debian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/e-source-get-color-replacement.patch (+34/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~cyphermox/ubuntu/natty/lunar-applet/lp708721
Reviewer Review Type Date Requested Status
Artur Rona (community) Approve
Review via email: mp+47680@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Artur Rona (ari-tczew) wrote :

Thank you for your time and efforts making Ubuntu better! However, there are some issues:

1) You can use target UNRELEASED when you want to merge into branch hosted in Vcs-Bzr field from debian/control, but lunar-applet is not hosted on lp:ubuntu/lunar-applet so please update target to natty.

2) Please improve tag Forwarded:
Forwarded: yes, http://code.google.com/p/lunar-applet/issues/detail?id=9

3) Please forward your patch to Debian and add tag to patch:
Bug-Debian: http://bugs.debian.org/XXXXXX
and in debian/changelog use: (LP: #708721, Closes: #XXXXXX)

review: Needs Fixing
10. By Mathieu Trudel-Lapierre

Address Artur Rona's comments on merge req. 47680

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Hi Artur,

Thanks for the quick review!

I addressed most of your concerns:
 - Forwarded is updated in patch tags
 - Bug is forwarded to Debian and the relevant tag was added.

I also changed the target to natty as requested.

However, I did not add the Closes: tag to changelog, because I believe it will be added by the Debian maintainer once a fix is uploaded in Debian -- this will avoid having the entry twice in changelog, plus these entries will likely be lost in a future sync once the bug is corrected in Debian -- not to mention how this would not cause the bug to be closed in the Debian tracker anyway.

What do you think?

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

1) We preffer to use short URLs in DEP3 tags, so please use:
Bug-Debian: http://bugs.debian.org/611327

2) Adding Closes: # to changelog in Ubuntu is new method to quick say that change has been forwarded in Debian. It's useful during merge from Debian to quick check both changelogs. If merger sees the same Closes in Debian, it's a quick symbol to know that change could be dropped.

3) Please run update-maintainer script from ubuntu-dev-tools package.
https://wiki.ubuntu.com/DebianMaintainerField

review: Needs Fixing
11. By Mathieu Trudel-Lapierre

Further fixes to packaging for merge 47680.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Updated, thanks!

For my personal knowledge, could you please give me links to where the preference for short urls is documented, as well as for adding Closes: # ?

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

On DEP3 tags page you can find an example of Bug-Debian on paragraph "Sample DEP-3 compliant headers". I have to add some examples or short URLs on https://wiki.ubuntu.com/PackagingGuide/PatchSystems#Patch%20Tagging%20Guidelines

Closes: # in debian/changelog is not yet documented on wiki, but will be.

Now looks good. Thank you for your contribution!

review: Approve

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 2011-01-26 12:03:15 +0000
3+++ debian/changelog 2011-01-28 13:11:48 +0000
4@@ -1,3 +1,12 @@
5+lunar-applet (2.0-2ubuntu1) natty; urgency=low
6+
7+ * debian/patches/e-source-get-color-replacement.patch: fix FTBFS against new
8+ evolution library API: replace the call to e_source_get_color() with a
9+ simpler e_source_peek_color_spec() which does the same thing.
10+ (LP: #708721, Closes: #611327)
11+
12+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 27 Jan 2011 23:36:16 -0500
13+
14 lunar-applet (2.0-2build2) natty; urgency=low
15
16 * No-change upload to build against current evolution library ABI.
17
18=== modified file 'debian/control'
19--- debian/control 2010-05-12 22:47:40 +0000
20+++ debian/control 2011-01-28 13:11:48 +0000
21@@ -1,7 +1,8 @@
22 Source: lunar-applet
23 Section: gnome
24 Priority: optional
25-Maintainer: LI Daobing <lidaobing@debian.org>
26+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
27+XSBC-Original-Maintainer: LI Daobing <lidaobing@debian.org>
28 Uploaders: Anthony Fok <foka@debian.org>
29 Build-Depends: cdbs, debhelper (>= 5.0.51~), autotools-dev, intltool (>= 0.35.0),
30 libpanel-applet2-dev, libecal1.2-dev, libedataserverui1.2-dev,
31
32=== added file 'debian/patches/e-source-get-color-replacement.patch'
33--- debian/patches/e-source-get-color-replacement.patch 1970-01-01 00:00:00 +0000
34+++ debian/patches/e-source-get-color-replacement.patch 2011-01-28 13:11:48 +0000
35@@ -0,0 +1,34 @@
36+From: Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
37+Subject: Replace the use of deprecated e_source_get_color().
38+Bug-Ubuntu: http://launchpad.net/bugs/708721
39+Bug-Debian: http://bugs.debian.org/611327
40+Forwarded: yes, http://code.google.com/p/lunar-applet/issues/detail?id=9
41+
42+The e_source_get_color() call causes a FTBFS with evolution > 2.32, because
43+it has been deprecated and then removed from the API. A simpler method for
44+retrieving the hex color spec already existed and already returns NULL if there
45+is no color set, so replacing most of the work done in get_source_color to
46+just directly return a copy of what e_source_peak_color_spec returns makes
47+sense.
48+
49+g_strdup kept to avoid unnecessary changes elsewhere in lunar-applet code. It
50+will return NULL if e_source_peak_color_spec() returns NULL.
51+
52+Index: lunar-applet/src/calendar-client.c
53+===================================================================
54+--- lunar-applet.orig/src/calendar-client.c 2011-01-27 10:37:04.711822754 -0500
55++++ lunar-applet/src/calendar-client.c 2011-01-27 10:42:00.467822754 -0500
56+@@ -672,11 +672,8 @@
57+ g_return_val_if_fail (E_IS_CAL (esource), NULL);
58+
59+ source = e_cal_get_source (esource);
60+- if (e_source_get_color (source, &color)) {
61+- return g_strdup_printf ("%06x", color);
62+- }
63+-
64+- return NULL;
65++
66++ return g_strdup (e_source_peek_color_spec (source));
67+ }
68+
69+ static inline int
70
71=== modified file 'debian/patches/series'
72--- debian/patches/series 2010-05-12 22:47:40 +0000
73+++ debian/patches/series 2011-01-28 13:11:48 +0000
74@@ -1,1 +1,2 @@
75 debian-changes-2.0-2
76+e-source-get-color-replacement.patch

Subscribers

People subscribed via source and target branches