Merge lp:~bkerensa/ubuntu/precise/xfce4-weather-plugin/fix-typo-strings into lp:ubuntu/precise/xfce4-weather-plugin

Proposed by Benjamin Kerensa
Status: Work in progress
Proposed branch: lp:~bkerensa/ubuntu/precise/xfce4-weather-plugin/fix-typo-strings
Merge into: lp:ubuntu/precise/xfce4-weather-plugin
Diff against target: 35 lines (+8/-2)
2 files modified
debian/changelog (+6/-0)
panel-plugin/weather.c (+2/-2)
To merge this branch: bzr merge lp:~bkerensa/ubuntu/precise/xfce4-weather-plugin/fix-typo-strings
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Needs Fixing
Ubuntu branches Pending
Review via email: mp+99482@code.launchpad.net

Commit message

Fixed Typos in weather.c strings

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your work on this.

I noticed a few small things:

 - the patch you forwarded to https://bugzilla.xfce.org/attachment.cgi?id=4282 contains
   another hunk changing panel-plugin/weather-data.c - this one is not included below.
 - could you please use 'edit-patch' to apply the change as the package uses quilt
   to manage patches on top of the upstream source?
 - also please add information in resulting patch file like the upstream bug link
   (https://bugzilla.xfce.org/show_bug.cgi?id=8325), etc.

Thanks in advance.

review: Needs Fixing
Revision history for this message
Benjamin Kerensa (bkerensa) wrote :

The differences in the merge proposal and the patch I sent upstream is due to the fact that likely Debian fixed the strings in panel-plugin/weather-data.c because they simply do not exist in our local source package but they do exist upstream of Debian with the XFCE project. I reviewed the changelog and could not see any indication that the string in panel-plugin/weather-data.c was fixed but it clearly is not present.

It is possible to just wait for XFCE to apply my patch and for it to trickle down to Debian -> Ubuntu
I am unsure how long that process generally takes but notably other patches I have submitted to projects Upstream of Debian that are already applied have yet to even hit Debian let alone Ubuntu.

So perhaps months? The question is do we want to carry my fix in Ubuntu?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Ok, not fixing a string which does not exist makes perfect sense. :-)

You never know how long it takes. The question is just if we want to get it in real quick because of 12.04 or not. If we decide to roll it just into Ubuntu we will have to live with some kind of delta. I'll leave the decision to you.

Revision history for this message
Daniel Holbach (dholbach) wrote :

(If we apply it, we'd better do it with the patch system uses.)

Unmerged revisions

18. By Benjamin Kerensa

Fixed Typos in weather.c string

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-11-18 10:48:51 +0000
3+++ debian/changelog 2012-03-27 09:21:17 +0000
4@@ -1,3 +1,9 @@
5+xfce4-weather-plugin (0.7.4-3ubuntu1) precise; urgency=low
6+
7+ * Fixed Typos in weather.c string
8+
9+ -- Benjamin Kerensa <bkerensa@ubuntu.com> Tue, 27 Mar 2012 02:13:43 -0700
10+
11 xfce4-weather-plugin (0.7.4-3) unstable; urgency=low
12
13 * Brown paper bag release.
14
15=== modified file 'panel-plugin/weather.c'
16--- panel-plugin/weather.c 2011-02-12 14:43:52 +0000
17+++ panel-plugin/weather.c 2012-03-27 09:21:17 +0000
18@@ -462,7 +462,7 @@
19 data->location_name = g_strdup (value);
20 }
21
22- if (xfce_rc_read_bool_entry (rc, "celcius", TRUE))
23+ if (xfce_rc_read_bool_entry (rc, "celsius", TRUE))
24 data->unit = METRIC;
25 else
26 data->unit = IMPERIAL;
27@@ -545,7 +545,7 @@
28 if (!rc)
29 return;
30
31- xfce_rc_write_bool_entry (rc, "celcius", (data->unit == METRIC));
32+ xfce_rc_write_bool_entry (rc, "celsius", (data->unit == METRIC));
33
34 if (data->location_code)
35 xfce_rc_write_entry (rc, "loc_code", data->location_code);

Subscribers

People subscribed via source and target branches