Merge lp:~jtaylor/ubuntu/oneiric/gpsdrive/fix-build into lp:ubuntu/oneiric/gpsdrive

Proposed by Julian Taylor
Status: Merged
Merged at revision: 21
Proposed branch: lp:~jtaylor/ubuntu/oneiric/gpsdrive/fix-build
Merge into: lp:ubuntu/oneiric/gpsdrive
Diff against target: 80 lines (+55/-0)
4 files modified
debian/changelog (+9/-0)
debian/patches/00list (+2/-0)
debian/patches/105-fix-xcursor-check.dpatch (+22/-0)
debian/patches/106-add-boost-links.dpatch (+22/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/gpsdrive/fix-build
Reviewer Review Type Date Requested Status
Stefano Rivera Approve
Ubuntu branches Pending
Review via email: mp+66895@code.launchpad.net

Description of the change

fix oneiric build failure

To post a comment you must log in.
Revision history for this message
Stefano Rivera (stefanor) wrote :

LGTM

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 2010-07-26 06:41:40 +0000
3+++ debian/changelog 2011-07-05 12:35:56 +0000
4@@ -1,3 +1,12 @@
5+gpsdrive (2.10~pre4-6.dfsg-5ubuntu2) oneiric; urgency=low
6+
7+ * debian/patches/105-fix-xcursor-check.dpatch: (Closes: #615653)
8+ configure.ac searched in fontconfig for a symbol defined in Xcursor
9+ * debian/patches/106-add-boost-links.dpatch: (LP: #749273)
10+ link against boost-filesystem and boost-system
11+
12+ -- Julian Taylor <jtaylor.debian@googlemail.com> Tue, 05 Jul 2011 13:51:33 +0200
13+
14 gpsdrive (2.10~pre4-6.dfsg-5ubuntu1) maverick; urgency=low
15
16 * Merge from Debian unstable (LP: #605350), remaining changes:
17
18=== modified file 'debian/patches/00list'
19--- debian/patches/00list 2010-07-26 06:41:40 +0000
20+++ debian/patches/00list 2011-07-05 12:35:56 +0000
21@@ -20,3 +20,5 @@
22 102-unittest
23 103-no-textquery
24 104-lp-325288
25+105-fix-xcursor-check.dpatch
26+106-add-boost-links.dpatch
27
28=== added file 'debian/patches/105-fix-xcursor-check.dpatch'
29--- debian/patches/105-fix-xcursor-check.dpatch 1970-01-01 00:00:00 +0000
30+++ debian/patches/105-fix-xcursor-check.dpatch 2011-07-05 12:35:56 +0000
31@@ -0,0 +1,22 @@
32+#! /bin/sh /usr/share/dpatch/dpatch-run
33+## Description: XcursorImageCreate is defined in Xcursor
34+## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
35+## Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615653
36+## fix-xcursor-check.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
37+##
38+## All lines beginning with `## DP:' are a description of the patch.
39+## DP: No description.
40+
41+@DPATCH@
42+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/configure.ac gpsdrive/configure.ac
43+--- gpsdrive~/configure.ac 2011-07-05 13:43:55.000000000 +0200
44++++ gpsdrive/configure.ac 2011-07-05 13:51:30.531707412 +0200
45+@@ -471,7 +471,7 @@
46+ if $PKG_CONFIG xcursor --atleast-version=1.1.2
47+ then
48+ AC_MSG_RESULT([yes])
49+- AC_CHECK_LIB(fontconfig, XcursorImageCreate, [], [
50++ AC_CHECK_LIB(Xcursor, XcursorImageCreate, [], [
51+ echo "Error with test of xcursor library not found"
52+ exit -1
53+ ])
54
55=== added file 'debian/patches/106-add-boost-links.dpatch'
56--- debian/patches/106-add-boost-links.dpatch 1970-01-01 00:00:00 +0000
57+++ debian/patches/106-add-boost-links.dpatch 2011-07-05 12:35:56 +0000
58@@ -0,0 +1,22 @@
59+#! /bin/sh /usr/share/dpatch/dpatch-run
60+## Description: requires direct link against boost {file,}system
61+## Origin/Author: Julian Taylor <jtaylor.debian@googlemail.com>
62+## Bug: https://bugs.launchpad.net/ubuntu/+source/gpsdrive/+bug/749273
63+## 105-add-boost-links.dpatch by Julian Taylor <jtaylor.debian@googlemail.com>
64+##
65+## All lines beginning with `## DP:' are a description of the patch.
66+## DP: No description.
67+
68+@DPATCH@
69+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gpsdrive~/src/Makefile.am gpsdrive/src/Makefile.am
70+--- gpsdrive~/src/Makefile.am 2011-07-05 13:59:11.000000000 +0200
71++++ gpsdrive/src/Makefile.am 2011-07-05 14:02:23.341707820 +0200
72+@@ -42,7 +42,7 @@
73+ INCLUDES = $(DBUS_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1
74+ endif
75+
76+-gpsdrive_LDADD=@LIBS@ $(LIBADD_DL)
77++gpsdrive_LDADD=@LIBS@ $(LIBADD_DL) -lboost_filesystem -lboost_system
78+
79+ PRGS = gpsdrive.c splash.c splash.h gpsdrive_config.c gpsdrive_config.h \
80+ navigation.c \

Subscribers

People subscribed via source and target branches

to all changes: