Merge lp:~bregma/frame/ftbfs-on-jhbuild into lp:frame

Proposed by Stephen M. Webb
Status: Merged
Approved by: Francis Ginther
Approved revision: 120
Merged at revision: 119
Proposed branch: lp:~bregma/frame/ftbfs-on-jhbuild
Merge into: lp:frame
Diff against target: 94 lines (+12/-7)
5 files modified
include/oif/frame.h.in (+2/-2)
include/oif/frame_x11.h (+2/-2)
src/Makefile.am (+3/-2)
test/regular/Makefile.am (+1/-0)
tools/Makefile.am (+4/-1)
To merge this branch: bzr merge lp:~bregma/frame/ftbfs-on-jhbuild
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Daniel d'Andrada (community) Approve
Review via email: mp+138519@code.launchpad.net

Commit message

Fix a fail-to-build-from-source in an out-of-source build (lp: #1152741).

Description of the change

Frame fails to build in an out-of-source directory, which causes jhbuild failures.

The header search paths in Makefile.am files needs to be adjusted, as do the header search path in nested include paths.

To post a comment you must log in.
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

It still doesn't work for me:

http://paste.ubuntu.com/1415171/

review: Needs Fixing
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

* out-of-source "make" now works, but "make check" does not.
* "make install" doesn't install frame.h

review: Needs Fixing
Revision history for this message
Stephen M. Webb (bregma) wrote :

Finally, out-of-source make works, make distcheck works, make install works.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Everything works now.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Failure due to networking issues in the jenkins lab. Re-approving.

Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

If only jenkins could try again when there are such failures...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/oif/frame.h.in'
2--- include/oif/frame.h.in 2012-12-04 18:46:01 +0000
3+++ include/oif/frame.h.in 2013-03-08 20:15:27 +0000
4@@ -2,7 +2,7 @@
5 *
6 * frame - Touch Frame Library
7 *
8- * Copyright (C) 2010-2012 Canonical Ltd.
9+ * Copyright (C) 2010-2013 Canonical Ltd.
10 *
11 * This library is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License version 3
13@@ -780,7 +780,7 @@
14
15 /** @} */
16
17-#include "frame_internal.h"
18+#include "oif/frame_internal.h"
19
20 #ifdef __cplusplus
21 }
22
23=== modified file 'include/oif/frame_x11.h'
24--- include/oif/frame_x11.h 2012-12-04 18:46:01 +0000
25+++ include/oif/frame_x11.h 2013-03-08 20:15:27 +0000
26@@ -2,7 +2,7 @@
27 *
28 * frame - Touch Frame Library
29 *
30- * Copyright (C) 2010-2012 Canonical Ltd.
31+ * Copyright (C) 2010-2013 Canonical Ltd.
32 *
33 * This library is free software: you can redistribute it and/or modify it
34 * under the terms of the GNU Lesser General Public License version 3
35@@ -21,7 +21,7 @@
36 #ifndef FRAME_OIF_FRAME_X11_H_
37 #define FRAME_OIF_FRAME_X11_H_
38
39-#include "frame.h"
40+#include "oif/frame.h"
41 #include <X11/Xlib.h>
42
43 #ifdef __cplusplus
44
45=== modified file 'src/Makefile.am'
46--- src/Makefile.am 2012-11-20 14:13:20 +0000
47+++ src/Makefile.am 2013-03-08 20:15:27 +0000
48@@ -14,6 +14,7 @@
49 $(CXX_LIBS)
50
51 AM_CPPFLAGS = \
52+ -I$(top_builddir)/include \
53 -I$(top_srcdir)/include/ \
54 -I$(top_srcdir)/src \
55 $(WARNING_CPPFLAGS) \
56@@ -29,7 +30,7 @@
57
58 libframeincludedir = $(includedir)/oif
59 libframeinclude_HEADERS = \
60- $(top_srcdir)/include/oif/frame.h \
61+ $(top_builddir)/include/oif/frame.h \
62 $(top_srcdir)/include/oif/frame_backend.h \
63 $(top_srcdir)/include/oif/frame_internal.h
64
65@@ -69,4 +70,4 @@
66 x11/window_x11.cpp
67 endif
68
69-EXTRA_DIST = $(version_script)
70+EXTRA_DIST = $(version_script)
71
72=== modified file 'test/regular/Makefile.am'
73--- test/regular/Makefile.am 2012-12-04 18:46:01 +0000
74+++ test/regular/Makefile.am 2013-03-08 20:15:27 +0000
75@@ -15,6 +15,7 @@
76 $(COVERAGE_CFLAGS)
77
78 AM_CPPFLAGS = \
79+ -I$(top_builddir)/include \
80 -I$(top_srcdir)/include \
81 -iquote$(srcdir)
82
83
84=== modified file 'tools/Makefile.am'
85--- tools/Makefile.am 2012-06-21 19:41:40 +0000
86+++ tools/Makefile.am 2013-03-08 20:15:27 +0000
87@@ -1,4 +1,7 @@
88-AM_CPPFLAGS = -I$(top_srcdir)/include/ $(WARNING_CPPFLAGS)
89+AM_CPPFLAGS = \
90+ -I$(top_builddir)/include \
91+ -I$(top_srcdir)/include \
92+ $(WARNING_CPPFLAGS)
93
94 AM_CFLAGS = $(C11_CFLAGS) $(COVERAGE_CFLAGS)
95

Subscribers

People subscribed via source and target branches