Merge lp:~allison/ubuntu/raring/gpsdrive/merge-debian-patches into lp:ubuntu/raring/gpsdrive

Proposed by Allison Randal
Status: Work in progress
Proposed branch: lp:~allison/ubuntu/raring/gpsdrive/merge-debian-patches
Merge into: lp:ubuntu/raring/gpsdrive
Diff against target: 183 lines (+79/-49)
7 files modified
debian/changelog (+37/-1)
debian/patches/00list (+3/-3)
debian/patches/104-fix-xcursor-check.dpatch (+19/-0)
debian/patches/105-add-boost-links.dpatch (+19/-0)
debian/patches/105-fix-xcursor-check.dpatch (+0/-22)
debian/patches/106-add-boost-links.dpatch (+0/-22)
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~allison/ubuntu/raring/gpsdrive/merge-debian-patches
Reviewer Review Type Date Requested Status
Micah Gersten (community) Needs Fixing
Ubuntu branches Pending
Review via email: mp+143035@code.launchpad.net

Description of the change

Ubuntu patches merged upstream to Debian. Different names for identical patches in Debian/Ubuntu was causing the automatic merge to double-apply patches and fail. Renamed patches to match Debian upstream to allow future automatic merges.

To post a comment you must log in.
Revision history for this message
Micah Gersten (micahg) wrote :

Looks fine, will upload if it builds, thanks

review: Approve
Revision history for this message
Micah Gersten (micahg) wrote :

Sorry, the bash patch rename didn't make it through in the merge. Also, there's a config.sub and config.guess diff that's not documented here.

review: Needs Fixing
Revision history for this message
Micah Gersten (micahg) wrote :

I wonder if the config.* diff is not needed since autoconf is run during the build.

Revision history for this message
Allison Randal (allison) wrote :

The patch file rename of 104-lp-325288.dpatch to 106-lp-325288.dpatch is in bzr as a File rename. Are you referring to some other patch?

The config.* changes came from Debian, there weren't any local Ubuntu changes there.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

The patch rename looks correct AFAICT. Though I do see the config.* diff. Try running:

bzr diff -r tag:2.10~pre4-6.dfsg-5.2 config.*

Revision history for this message
Micah Gersten (micahg) wrote :

Sorry, I used the download diff feature which apparently doesn't include the rename, I'll file an LP bug for that.

Revision history for this message
Allison Randal (allison) wrote :

Okay, I've run several debdiffs to find the source of the config.* changes:

debdiff gpsdrive_2.10~pre4-6.dfsg-5.2.dsc gpsdrive_2.10~pre4-6.dfsg-5.2ubuntu1.dsc

Shows that there are changes in config.guess and config.sub between this merged version of the package and the current debian version of the package. However, comparing the two Ubuntu packages:

debdiff gpsdrive_2.10~pre4-6.dfsg-5ubuntu4.dsc gpsdrive_2.10~pre4-6.dfsg-5.2ubuntu1.dsc

Shows no changes in the config.* files between the previous Ubuntu version of the package and this merged version. So the merge merely preserved changes made in an earlier release of the package. To confirm this:

debdiff gpsdrive_2.10~pre4-6.dfsg-5.dsc gpsdrive_2.10~pre4-6.dfsg-5ubuntu4.dsc

Shows that these changes already existed in the last Ubuntu release.

A search through the bzr repo for gps drive shows the changes to config.guess and config.sub were introduced for the package version 2.10~pre4-6.dfsg-3ubuntu4, with the reason given "Rebuild with libmysqlclient16-dev", and no annotation in the changelog about the Ubuntu changes to config.* files:

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/gpsdrive/raring/revision/18

Based on this review, I conclude that the merge was correct in preserving the Ubuntu-specific changes to config.guess and config.sub, and so am preserving them in this merge proposal. However I've added a comment to the changelog about the preserved changes, to aid in future merges.

See new merge request at:

https://code.launchpad.net/~allison/ubuntu/raring/gpsdrive/merge-debian-patches2/+merge/143996

Closing this one.

Unmerged revisions

25. By Allison Randal

* Merge from Debian unstable, remaining changes:
  - scripts/geo-code: Changed executing environment from /bin/sh
    to /bin/bash. Resequenced as debian/patches/106-lp-325288.dpatch
* Dropped changes:
  - debian/patches/107-fix-disable-mapnik.dpatch: now upstream in Debian.
  - debian/patches/105-fix-xcursor-check.dpatch removed,
    in Debian as 104-fix-xcursor-check.dpatch.
  - debian/patches/106-add-boost-links.dpatch removed,
    in Debian as 105-add-boost-links.dpatch.
* Non-maintainer upload
* Disable optional mapnik libraries, gpsdrive is incompatible with
  APIs of mapnik version 2.0.0.
* debian/patches/107-fix-disable-mapnik.dpatch:
  Fix known bug with gpsdrive-2.10pre4 when disabling Mapnik library.
* Non-maintainer upload.
* debian/patches/104-fix-xcursor-check.dpatch:
  - Define Xcursor within AC_CHECK_LIB, fix FTBFS.
    (Closes: #615653, 628310)
* debian/patches/105-add-boost-links.dpatch:
  - Link against boost-filesystem and boost-system.

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-12-02 09:52:13 +0000
3+++ debian/changelog 2013-01-12 23:56:22 +0000
4@@ -1,3 +1,40 @@
5+gpsdrive (2.10~pre4-6.dfsg-5.2ubuntu1) raring; urgency=low
6+
7+ * Merge from Debian unstable, remaining changes:
8+ - scripts/geo-code: Changed executing environment from /bin/sh
9+ to /bin/bash. Resequenced as debian/patches/106-lp-325288.dpatch
10+ * Dropped changes:
11+ - debian/patches/107-fix-disable-mapnik.dpatch: now upstream in Debian.
12+ - debian/patches/105-fix-xcursor-check.dpatch removed,
13+ in Debian as 104-fix-xcursor-check.dpatch.
14+ - debian/patches/106-add-boost-links.dpatch removed,
15+ in Debian as 105-add-boost-links.dpatch.
16+
17+ -- Allison Randal <allison@ubuntu.com> Sat, 12 Jan 2013 15:28:02 -0800
18+
19+gpsdrive (2.10~pre4-6.dfsg-5.2) unstable; urgency=low
20+
21+ * Non-maintainer upload
22+
23+ [ Allison Randal ]
24+ * Disable optional mapnik libraries, gpsdrive is incompatible with
25+ APIs of mapnik version 2.0.0.
26+ * debian/patches/107-fix-disable-mapnik.dpatch:
27+ Fix known bug with gpsdrive-2.10pre4 when disabling Mapnik library.
28+
29+ -- Christian Perrier <bubulle@debian.org> Sun, 07 Oct 2012 14:27:36 +0200
30+
31+gpsdrive (2.10~pre4-6.dfsg-5.1) unstable; urgency=medium
32+
33+ * Non-maintainer upload.
34+ * debian/patches/104-fix-xcursor-check.dpatch:
35+ - Define Xcursor within AC_CHECK_LIB, fix FTBFS.
36+ (Closes: #615653, 628310)
37+ * debian/patches/105-add-boost-links.dpatch:
38+ - Link against boost-filesystem and boost-system.
39+
40+ -- Luca Falavigna <dktrkranz@debian.org> Thu, 01 Sep 2011 22:44:02 +0200
41+
42 gpsdrive (2.10~pre4-6.dfsg-5ubuntu4) precise; urgency=low
43
44 * Disable optional mapnik libraries, gpsdrive is incompatible with
45@@ -169,7 +206,6 @@
46
47 -- Andreas Putzo <andreas@putzo.net> Sat, 19 Jul 2008 20:01:39 +0000
48
49->>>>>>> .r2096
50 gpsdrive (2.10~pre4-3) unstable; urgency=low
51
52 * Fix regression of last upload in the mapnik handling.
53
54=== modified file 'debian/patches/00list'
55--- debian/patches/00list 2011-12-01 22:58:43 +0000
56+++ debian/patches/00list 2013-01-12 23:56:22 +0000
57@@ -19,7 +19,7 @@
58 101-signalposreq
59 102-unittest
60 103-no-textquery
61-104-lp-325288
62-105-fix-xcursor-check.dpatch
63-106-add-boost-links.dpatch
64+104-fix-xcursor-check
65+105-add-boost-links
66+106-lp-325288
67 107-fix-disable-mapnik.dpatch
68
69=== added file 'debian/patches/104-fix-xcursor-check.dpatch'
70--- debian/patches/104-fix-xcursor-check.dpatch 1970-01-01 00:00:00 +0000
71+++ debian/patches/104-fix-xcursor-check.dpatch 2013-01-12 23:56:22 +0000
72@@ -0,0 +1,19 @@
73+#! /bin/sh /usr/share/dpatch/dpatch-run
74+## Description: XcursorImageCreate is defined in Xcursor
75+## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
76+## Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615653
77+## fix-xcursor-check.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
78+
79+@DPATCH@
80+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/configure.ac gpsdrive/configure.ac
81+--- gpsdrive~/configure.ac 2011-07-05 13:43:55.000000000 +0200
82++++ gpsdrive/configure.ac 2011-07-05 13:51:30.531707412 +0200
83+@@ -471,7 +471,7 @@
84+ if $PKG_CONFIG xcursor --atleast-version=1.1.2
85+ then
86+ AC_MSG_RESULT([yes])
87+- AC_CHECK_LIB(fontconfig, XcursorImageCreate, [], [
88++ AC_CHECK_LIB(Xcursor, XcursorImageCreate, [], [
89+ echo "Error with test of xcursor library not found"
90+ exit -1
91+ ])
92
93=== added file 'debian/patches/105-add-boost-links.dpatch'
94--- debian/patches/105-add-boost-links.dpatch 1970-01-01 00:00:00 +0000
95+++ debian/patches/105-add-boost-links.dpatch 2013-01-12 23:56:22 +0000
96@@ -0,0 +1,19 @@
97+#! /bin/sh /usr/share/dpatch/dpatch-run
98+## Description: requires direct link against boost {file,}system
99+## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
100+## Bug: https://bugs.launchpad.net/ubuntu/+source/gpsdrive/+bug/749273
101+## 105-add-boost-links.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
102+
103+@DPATCH@
104+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/src/Makefile.am gpsdrive/src/Makefile.am
105+--- gpsdrive~/src/Makefile.am 2011-07-05 13:59:11.000000000 +0200
106++++ gpsdrive/src/Makefile.am 2011-07-05 14:02:23.341707820 +0200
107+@@ -42,7 +42,7 @@
108+ INCLUDES = $(DBUS_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1
109+ endif
110+
111+-gpsdrive_LDADD=@LIBS@ $(LIBADD_DL)
112++gpsdrive_LDADD=@LIBS@ $(LIBADD_DL) -lboost_filesystem -lboost_system
113+
114+ PRGS = gpsdrive.c splash.c splash.h gpsdrive_config.c gpsdrive_config.h \
115+ navigation.c \
116
117=== removed file 'debian/patches/105-fix-xcursor-check.dpatch'
118--- debian/patches/105-fix-xcursor-check.dpatch 2011-11-23 23:34:54 +0000
119+++ debian/patches/105-fix-xcursor-check.dpatch 1970-01-01 00:00:00 +0000
120@@ -1,22 +0,0 @@
121-#! /bin/sh /usr/share/dpatch/dpatch-run
122-## Description: XcursorImageCreate is defined in Xcursor
123-## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
124-## Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615653
125-## fix-xcursor-check.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
126-##
127-## All lines beginning with `## DP:' are a description of the patch.
128-## DP: No description.
129-
130-@DPATCH@
131-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/configure.ac gpsdrive/configure.ac
132---- gpsdrive~/configure.ac 2011-07-05 13:43:55.000000000 +0200
133-+++ gpsdrive/configure.ac 2011-07-05 13:51:30.531707412 +0200
134-@@ -471,7 +471,7 @@
135- if $PKG_CONFIG xcursor --atleast-version=1.1.2
136- then
137- AC_MSG_RESULT([yes])
138-- AC_CHECK_LIB(fontconfig, XcursorImageCreate, [], [
139-+ AC_CHECK_LIB(Xcursor, XcursorImageCreate, [], [
140- echo "Error with test of xcursor library not found"
141- exit -1
142- ])
143
144=== removed file 'debian/patches/106-add-boost-links.dpatch'
145--- debian/patches/106-add-boost-links.dpatch 2011-07-05 12:30:16 +0000
146+++ debian/patches/106-add-boost-links.dpatch 1970-01-01 00:00:00 +0000
147@@ -1,22 +0,0 @@
148-#! /bin/sh /usr/share/dpatch/dpatch-run
149-## Description: requires direct link against boost {file,}system
150-## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
151-## Bug: https://bugs.launchpad.net/ubuntu/+source/gpsdrive/+bug/749273
152-## 105-add-boost-links.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
153-##
154-## All lines beginning with `## DP:' are a description of the patch.
155-## DP: No description.
156-
157-@DPATCH@
158-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/src/Makefile.am gpsdrive/src/Makefile.am
159---- gpsdrive~/src/Makefile.am 2011-07-05 13:59:11.000000000 +0200
160-+++ gpsdrive/src/Makefile.am 2011-07-05 14:02:23.341707820 +0200
161-@@ -42,7 +42,7 @@
162- INCLUDES = $(DBUS_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1
163- endif
164-
165--gpsdrive_LDADD=@LIBS@ $(LIBADD_DL)
166-+gpsdrive_LDADD=@LIBS@ $(LIBADD_DL) -lboost_filesystem -lboost_system
167-
168- PRGS = gpsdrive.c splash.c splash.h gpsdrive_config.c gpsdrive_config.h \
169- navigation.c \
170
171=== renamed file 'debian/patches/104-lp-325288.dpatch' => 'debian/patches/106-lp-325288.dpatch'
172=== modified file 'debian/rules'
173--- debian/rules 2011-12-01 22:58:43 +0000
174+++ debian/rules 2013-01-12 23:56:22 +0000
175@@ -58,7 +58,7 @@
176 build: build-arch build-indep
177
178 build-arch: config.status build-arch-stamp
179-build-arch-stamp:
180+build-arch-stamp: config.status
181 dh_testdir
182 $(MAKE)
183 touch $@

Subscribers

People subscribed via source and target branches