Merge lp:~barry/ubuntu/natty/libfsotransport/618809-ftbfs into lp:ubuntu/natty/libfsotransport

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 8
Proposed branch: lp:~barry/ubuntu/natty/libfsotransport/618809-ftbfs
Merge into: lp:ubuntu/natty/libfsotransport
Diff against target: 296 lines (+36/-222)
5 files modified
debian/changelog (+14/-0)
debian/control (+3/-2)
debian/patches/0002-update-autotools-files.patch (+0/-219)
debian/patches/0003-pkg-config-for-vala-0.10.patch (+15/-0)
debian/rules (+4/-1)
To merge this branch: bzr merge lp:~barry/ubuntu/natty/libfsotransport/618809-ftbfs
Reviewer Review Type Date Requested Status
Artur Rona (community) Approve
Ubuntu branches Pending
Review via email: mp+45575@code.launchpad.net

Description of the change

Another libvala transition fix.

To post a comment you must log in.
Revision history for this message
Artur Rona (ari-tczew) wrote :
review: Needs Fixing
Revision history for this message
Barry Warsaw (barry) wrote :

Done. Updated branch is pushed.

10. By Barry Warsaw

Add DEP3 patch headers

11. By Barry Warsaw

Update changelog

12. By Barry Warsaw

Update changelog.

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

You are patching configure.c by 01-pkg-config-for-vala-0.10.patch, so please update debian/changelog:

  * 01-pkg-config-for-vala-0.10.patch, debian/control:
    - Transition from libvala-dev to libvala-0.10-dev. (LP: #618809)
  * debian/control:
    - Build-Depends on libtool since it's required for autoreconf.
  * debian/rules: Run autoreconf before building.
  * debian/patches/0002-update-autotools-files.patch:
    - Remove this patch since the files will get updated automatically
      by the new post-patches target in debian/rules.
      This latter is required for the libvala transition.

Please don't forget that sentence ends by dot.

You used wrong tag in patch and bad link:
Bug: https://bugs.launchpad.net/ubuntu/+source/libfsotransport/+bug/618809
should be:
Bug-Ubuntu: https://launchpad.net/bugs/618809

review: Needs Fixing
13. By Barry Warsaw

* 0003-pkg-config-for-vala-0.10.patch, debian/control:
* debian/control:
  - Build-Depends on libtool since it's required for autoreconf.
* debian/patches/0002-update-autotools-files.patch:
    by the new post-patches target in debian/rules.
    This latter is required for the libvala transition.

Revision history for this message
Barry Warsaw (barry) wrote :

> You are patching configure.c by 01-pkg-config-for-vala-0.10.patch, so please
> update debian/changelog:
>
> * 01-pkg-config-for-vala-0.10.patch, debian/control:
> - Transition from libvala-dev to libvala-0.10-dev. (LP: #618809)
> * debian/control:
> - Build-Depends on libtool since it's required for autoreconf.
> * debian/rules: Run autoreconf before building.
> * debian/patches/0002-update-autotools-files.patch:
> - Remove this patch since the files will get updated automatically
> by the new post-patches target in debian/rules.
> This latter is required for the libvala transition.
>
> Please don't forget that sentence ends by dot.
>
> You used wrong tag in patch and bad link:
> Bug: https://bugs.launchpad.net/ubuntu/+source/libfsotransport/+bug/618809
> should be:
> Bug-Ubuntu: https://launchpad.net/bugs/618809

Fixed and pushed.

14. By Barry Warsaw

Update bug tag.

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

OK now looks good. I'll upload it tomorrow.

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-09-11 22:56:52 +0000
3+++ debian/changelog 2011-01-10 22:50:26 +0000
4@@ -1,3 +1,17 @@
5+libfsotransport (0.9.5.9+git20100507-2ubuntu2) natty; urgency=low
6+
7+ * 0003-pkg-config-for-vala-0.10.patch, debian/control:
8+ - Transition from libvala-dev to libvala-0.10-dev. (LP: #618809)
9+ * debian/control:
10+ - Build-Depends on libtool since it's required for autoreconf.
11+ * debian/rules: Run autoreconf before building.
12+ * debian/patches/0002-update-autotools-files.patch:
13+ - Remove this patch since the files will get updated automatically
14+ by the new post-patches target in debian/rules.
15+ This latter is required for the libvala transition.
16+
17+ -- Barry Warsaw <barry@ubuntu.com> Mon, 10 Jan 2011 17:34:03 -0500
18+
19 libfsotransport (0.9.5.9+git20100507-2ubuntu1) maverick; urgency=low
20
21 * Add build-depends on libtool to fix FTBFS
22
23=== modified file 'debian/control'
24--- debian/control 2010-09-11 22:56:52 +0000
25+++ debian/control 2011-01-10 22:50:26 +0000
26@@ -1,9 +1,10 @@
27 Source: libfsotransport
28 Priority: extra
29-Maintainer: Debian FreeSmartphone.Org Team <pkg-fso-maint@lists.alioth.debian.org>
30+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
31+XSBC-Original-Maintainer: Debian FreeSmartphone.Org Team <pkg-fso-maint@lists.alioth.debian.org>
32 Uploaders: Heiko Stuebner <heiko@sntech.de>
33 DM-Upload-Allowed: yes
34-Build-Depends: debhelper (>= 7), cdbs, pkg-config, valac (>= 0.8.1), libvala-dev (>= 0.8.1), libglib2.0-dev, libfsobasics-dev (>= 0.9.0+git20100509), libgee-dev (>=0.5.0), libtool
35+Build-Depends: debhelper (>= 7), cdbs, pkg-config, valac-0.10, libvala-0.10-dev, libglib2.0-dev, libfsobasics-dev (>= 0.9.0+git20100509), libgee-dev (>=0.5.0), libtool
36 Standards-Version: 3.8.4
37 Section: libs
38 Homepage: http://freesmartphone.org/
39
40=== removed file 'debian/patches/0002-update-autotools-files.patch'
41--- debian/patches/0002-update-autotools-files.patch 2010-06-12 21:09:26 +0000
42+++ debian/patches/0002-update-autotools-files.patch 1970-01-01 00:00:00 +0000
43@@ -1,219 +0,0 @@
44-From 6a45a53e982eabddf89643f17aa86e710e13aec0 Mon Sep 17 00:00:00 2001
45-From: Heiko Stuebner <heiko@sntech.de>
46-Date: Sat, 12 Jun 2010 21:04:00 +0200
47-Subject: [PATCH 2/2] update autotools files
48-
49----
50- configure | 67 ++++++++++++++++++++++++++++++++++++---------
51- fsotransport/Makefile.in | 3 +-
52- 2 files changed, 55 insertions(+), 15 deletions(-)
53-
54-diff --git a/configure b/configure
55-index ca75747..4d7b0f1 100755
56---- a/configure
57-+++ b/configure
58-@@ -747,6 +747,8 @@ ac_subst_vars='am__EXEEXT_FALSE
59- am__EXEEXT_TRUE
60- LTLIBOBJS
61- LIBOBJS
62-+FAST_BAUD_FALSE
63-+FAST_BAUD_TRUE
64- WANT_DEBUG_FALSE
65- WANT_DEBUG_TRUE
66- GLIB_LIBS
67-@@ -874,6 +876,7 @@ enable_fast_install
68- with_gnu_ld
69- enable_libtool_lock
70- enable_debug
71-+enable_fast_baud
72- '
73- ac_precious_vars='build_alias
74- host_alias
75-@@ -1518,6 +1521,7 @@ Optional Features:
76- optimize for fast installation [default=yes]
77- --disable-libtool-lock avoid locking (might break parallel builds)
78- --enable-debug Enable debug build (default=disabled)
79-+ --disable-fast-baud Disable fast baud rates
80-
81- Optional Packages:
82- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
83-@@ -4959,13 +4963,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
84- else
85- lt_cv_nm_interface="BSD nm"
86- echo "int some_variable = 0;" > conftest.$ac_ext
87-- (eval echo "\"\$as_me:4962: $ac_compile\"" >&5)
88-+ (eval echo "\"\$as_me:4966: $ac_compile\"" >&5)
89- (eval "$ac_compile" 2>conftest.err)
90- cat conftest.err >&5
91-- (eval echo "\"\$as_me:4965: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
92-+ (eval echo "\"\$as_me:4969: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
93- (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
94- cat conftest.err >&5
95-- (eval echo "\"\$as_me:4968: output\"" >&5)
96-+ (eval echo "\"\$as_me:4972: output\"" >&5)
97- cat conftest.out >&5
98- if $GREP 'External.*some_variable' conftest.out > /dev/null; then
99- lt_cv_nm_interface="MS dumpbin"
100-@@ -6170,7 +6174,7 @@ ia64-*-hpux*)
101- ;;
102- *-*-irix6*)
103- # Find out which ABI we are using.
104-- echo '#line 6173 "configure"' > conftest.$ac_ext
105-+ echo '#line 6177 "configure"' > conftest.$ac_ext
106- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
107- (eval $ac_compile) 2>&5
108- ac_status=$?
109-@@ -7428,11 +7432,11 @@ else
110- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
111- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
112- -e 's:$: $lt_compiler_flag:'`
113-- (eval echo "\"\$as_me:7431: $lt_compile\"" >&5)
114-+ (eval echo "\"\$as_me:7435: $lt_compile\"" >&5)
115- (eval "$lt_compile" 2>conftest.err)
116- ac_status=$?
117- cat conftest.err >&5
118-- echo "$as_me:7435: \$? = $ac_status" >&5
119-+ echo "$as_me:7439: \$? = $ac_status" >&5
120- if (exit $ac_status) && test -s "$ac_outfile"; then
121- # The compiler can only warn and ignore the option if not recognized
122- # So say no if there are warnings other than the usual output.
123-@@ -7767,11 +7771,11 @@ else
124- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
125- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
126- -e 's:$: $lt_compiler_flag:'`
127-- (eval echo "\"\$as_me:7770: $lt_compile\"" >&5)
128-+ (eval echo "\"\$as_me:7774: $lt_compile\"" >&5)
129- (eval "$lt_compile" 2>conftest.err)
130- ac_status=$?
131- cat conftest.err >&5
132-- echo "$as_me:7774: \$? = $ac_status" >&5
133-+ echo "$as_me:7778: \$? = $ac_status" >&5
134- if (exit $ac_status) && test -s "$ac_outfile"; then
135- # The compiler can only warn and ignore the option if not recognized
136- # So say no if there are warnings other than the usual output.
137-@@ -7872,11 +7876,11 @@ else
138- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
139- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
140- -e 's:$: $lt_compiler_flag:'`
141-- (eval echo "\"\$as_me:7875: $lt_compile\"" >&5)
142-+ (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
143- (eval "$lt_compile" 2>out/conftest.err)
144- ac_status=$?
145- cat out/conftest.err >&5
146-- echo "$as_me:7879: \$? = $ac_status" >&5
147-+ echo "$as_me:7883: \$? = $ac_status" >&5
148- if (exit $ac_status) && test -s out/conftest2.$ac_objext
149- then
150- # The compiler can only warn and ignore the option if not recognized
151-@@ -7927,11 +7931,11 @@ else
152- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
153- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
154- -e 's:$: $lt_compiler_flag:'`
155-- (eval echo "\"\$as_me:7930: $lt_compile\"" >&5)
156-+ (eval echo "\"\$as_me:7934: $lt_compile\"" >&5)
157- (eval "$lt_compile" 2>out/conftest.err)
158- ac_status=$?
159- cat out/conftest.err >&5
160-- echo "$as_me:7934: \$? = $ac_status" >&5
161-+ echo "$as_me:7938: \$? = $ac_status" >&5
162- if (exit $ac_status) && test -s out/conftest2.$ac_objext
163- then
164- # The compiler can only warn and ignore the option if not recognized
165-@@ -10311,7 +10315,7 @@ else
166- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
167- lt_status=$lt_dlunknown
168- cat > conftest.$ac_ext <<_LT_EOF
169--#line 10314 "configure"
170-+#line 10318 "configure"
171- #include "confdefs.h"
172-
173- #if HAVE_DLFCN_H
174-@@ -10407,7 +10411,7 @@ else
175- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
176- lt_status=$lt_dlunknown
177- cat > conftest.$ac_ext <<_LT_EOF
178--#line 10410 "configure"
179-+#line 10414 "configure"
180- #include "confdefs.h"
181-
182- #if HAVE_DLFCN_H
183-@@ -11043,6 +11047,35 @@ else
184- fi
185-
186-
187-+# check for disabling of fast baud rates
188-+# Check whether --enable-fast-baud was given.
189-+if test "${enable_fast_baud+set}" = set; then :
190-+ enableval=$enable_fast_baud; fastbaud="$enableval"
191-+else
192-+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
193-+/* end confdefs.h. */
194-+
195-+ #include <termios.h>
196-+ int tspeed = B2500000 + B4000000;
197-+
198-+_ACEOF
199-+if ac_fn_c_try_compile "$LINENO"; then :
200-+ fastbaud="yes"
201-+else
202-+ fastbaud="no"
203-+fi
204-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
205-+fi
206-+
207-+ if test x"$fastbaud" = x"yes"; then
208-+ FAST_BAUD_TRUE=
209-+ FAST_BAUD_FALSE='#'
210-+else
211-+ FAST_BAUD_TRUE='#'
212-+ FAST_BAUD_FALSE=
213-+fi
214-+
215-+
216- # git version
217- GITV=`cat ../.git/refs/heads/master || echo "unknown"`
218-
219-@@ -11172,6 +11205,10 @@ if test -z "${WANT_DEBUG_TRUE}" && test -z "${WANT_DEBUG_FALSE}"; then
220- as_fn_error "conditional \"WANT_DEBUG\" was never defined.
221- Usually this means the macro was only invoked conditionally." "$LINENO" 5
222- fi
223-+if test -z "${FAST_BAUD_TRUE}" && test -z "${FAST_BAUD_FALSE}"; then
224-+ as_fn_error "conditional \"FAST_BAUD\" was never defined.
225-+Usually this means the macro was only invoked conditionally." "$LINENO" 5
226-+fi
227-
228- : ${CONFIG_STATUS=./config.status}
229- ac_write_fail=0
230-@@ -13396,6 +13433,8 @@ echo "Configuration Options:"
231- echo
232- echo " debug build.............: $debug"
233- echo
234-+echo " fast baud rates.........: $fastbaud"
235-+echo
236- echo " prefix..................: $prefix"
237- echo
238- echo "------------------------------------------------------------------------"
239-diff --git a/fsotransport/Makefile.in b/fsotransport/Makefile.in
240-index b9d1a2b..aa95438 100644
241---- a/fsotransport/Makefile.in
242-+++ b/fsotransport/Makefile.in
243-@@ -42,6 +42,7 @@ DIST_COMMON = $(dist_vapi_DATA) $(fsotransportinclude_HEADERS) \
244- $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
245- $(top_srcdir)/Makefile.decl
246- @WANT_DEBUG_TRUE@am__append_1 = -g -D DEBUG
247-+@FAST_BAUD_TRUE@am__append_2 = -D FAST_BAUD
248- subdir = fsotransport
249- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
250- am__aclocal_m4_deps = $(top_srcdir)/configure.ac
251-@@ -255,7 +256,7 @@ AM_CPPFLAGS = \
252- VALAC_ARGS = --basedir $(top_srcdir) --vapidir $(top_srcdir)/vapi \
253- --pkg posix --pkg linux --pkg glib-2.0 --pkg gio-2.0 --pkg \
254- gee-1.0 --pkg fsobasics-2.0 --header fsotransport.h --library \
255-- fsotransport-2.0 $(am__append_1)
256-+ fsotransport-2.0 $(am__append_1) $(am__append_2)
257- @WANT_DEBUG_TRUE@AM_CFLAGS = -ggdb -O0
258- BUILT_SOURCES = .vala.stamp
259- lib_LTLIBRARIES = \
260---
261-1.7.1
262-
263
264=== added file 'debian/patches/0003-pkg-config-for-vala-0.10.patch'
265--- debian/patches/0003-pkg-config-for-vala-0.10.patch 1970-01-01 00:00:00 +0000
266+++ debian/patches/0003-pkg-config-for-vala-0.10.patch 2011-01-10 22:50:26 +0000
267@@ -0,0 +1,15 @@
268+From: Barry Warsaw <barry@ubuntu.com>
269+Subject: Transition from libvala-dev to libvala-0.10-dev.
270+Bug-Ubuntu: https://launchpad.net/bugs/618809
271+diff -Nur -x '*.orig' -x '*~' 618809-ftbfs//configure.ac 618809-ftbfs.new//configure.ac
272+--- 618809-ftbfs//configure.ac 2011-01-07 17:52:26.978142531 -0500
273++++ 618809-ftbfs.new//configure.ac 2011-01-07 17:52:39.609021768 -0500
274+@@ -25,7 +25,7 @@
275+ AC_PATH_PROG(VALAC, valac, valac)
276+ AC_SUBST(VALAC)
277+ PKG_CHECK_MODULES(VALA,
278+- vala-1.0 >= $VALA_REQUIRED)
279++ vala-0.10 >= $VALA_REQUIRED)
280+
281+ # glib and friends
282+ PKG_CHECK_MODULES(GLIB,
283
284=== modified file 'debian/rules'
285--- debian/rules 2009-09-23 20:50:12 +0000
286+++ debian/rules 2011-01-10 22:50:26 +0000
287@@ -7,4 +7,7 @@
288 DEB_DH_STRIP_ARGS := --dbg-package=libfsotransport-dbg
289 DEB_DH_MAKESHLIBS_ARGS_libfsotransport0 := -V"libfsotransport0 (>= $(DEB_UPSTREAM_VERSION))"
290
291-DEB_INSTALL_DOCS_ALL =
292\ No newline at end of file
293+DEB_INSTALL_DOCS_ALL =
294+
295+post-patches::
296+ autoreconf -f -i -v

Subscribers

People subscribed via source and target branches

to all changes: