Merge lp:~morphis/network-manager/correct-build-deps into lp:~phablet-team/network-manager/snappy

Proposed by Simon Fels
Status: Needs review
Proposed branch: lp:~morphis/network-manager/correct-build-deps
Merge into: lp:~phablet-team/network-manager/snappy
Diff against target: 141 lines (+35/-27)
2 files modified
parts/plugins/x-autotools.py (+1/-0)
snapcraft.yaml (+34/-27)
To merge this branch: bzr merge lp:~morphis/network-manager/correct-build-deps
Reviewer Review Type Date Requested Status
Tony Espy Pending
Ubuntu Phablet Team Pending
Review via email: mp+291749@code.launchpad.net

Commit message

Correct build dependencies to work in stateless environments

The build configuration was incorrect and didn't worked on a system being setup by them. We also mixed up stage-packages and build-packages.

This also drops polkit and vala support as we're not using those at all on snappy.

Description of the change

See https://launchpad.net/~phablet-team/+snap/network-manager for builds running successful with this.

To post a comment you must log in.
979. By Simon Fels

Remove commented configure switches

Unmerged revisions

979. By Simon Fels

Remove commented configure switches

978. By Simon Fels

Reduce set of stage-packages

977. By Simon Fels

Don't mention gtk-doc-tools twice

976. By Simon Fels

Add some more build-deps

975. By Simon Fels

Add gtk-doc-tools as dependency too

974. By Simon Fels

Adjust build configuration

973. By Simon Fels

Add quilt as necessary build dependency

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'parts/plugins/x-autotools.py'
--- parts/plugins/x-autotools.py 2016-03-18 11:20:18 +0000
+++ parts/plugins/x-autotools.py 2016-04-13 12:51:51 +0000
@@ -80,6 +80,7 @@
80 'autopoint',80 'autopoint',
81 'libtool',81 'libtool',
82 'make',82 'make',
83 'quilt',
83 ])84 ])
8485
85 if options.install_via == 'destdir':86 if options.install_via == 'destdir':
8687
=== modified file 'snapcraft.yaml'
--- snapcraft.yaml 2016-03-30 06:27:38 +0000
+++ snapcraft.yaml 2016-04-13 12:51:51 +0000
@@ -51,6 +51,38 @@
51 # which we don't profile anymore and will cause the build to fail.51 # which we don't profile anymore and will cause the build to fail.
52 force-autogen: true52 force-autogen: true
5353
54 build-packages:
55 - intltool
56 - gtk-doc-tools
57 - libdbus-glib-1-dev
58 - libdbus-1-dev
59 - libiw-dev
60 - libglib2.0-dev
61 - libnl-3-dev
62 - libnl-route-3-dev
63 - libnl-genl-3-dev
64 - ppp-dev
65 - libpolkit-gobject-1-dev
66 - libgnutls28-dev
67 - libgcrypt11-dev
68 - uuid-dev
69 - systemd
70 - libsystemd-dev
71 - libudev-dev
72 - libgudev-1.0-dev
73 - libgirepository1.0-dev
74 - gobject-introspection
75 - libsoup2.4-dev
76 - libglib2.0-doc
77 - libmm-glib-dev
78 - libndp-dev
79 - libreadline-dev
80 - libnewt-dev
81 - dbus-test-runner
82 - isc-dhcp-client
83 - python-dbus
84 - python-gi
85
54 # NOTE: Keep this in sync with what the debian package configures86 # NOTE: Keep this in sync with what the debian package configures
55 # NetworkManager. For everything we do differently please add a 87 # NetworkManager. For everything we do differently please add a
56 # comment why we do so.88 # comment why we do so.
@@ -71,14 +103,12 @@
71 - --with-nmtui103 - --with-nmtui
72 - --disable-more-warnings104 - --disable-more-warnings
73 - --disable-modify-system105 - --disable-modify-system
74 - --enable-polkit
75 - --enable-ppp106 - --enable-ppp
76 - --enable-ifupdown107 - --enable-ifupdown
77 - --enable-introspection108 - --enable-introspection
78 - --enable-gtk-doc109 - --enable-gtk-doc
79 - --enable-concheck110 - --enable-concheck
80 - --enable-teamdctl=no111 - --enable-teamdctl=no
81 - --enable-vala
82 - --enable-bluez4112 - --enable-bluez4
83 - --with-tests113 - --with-tests
84 # NOTE: After this all options are specific to snappy and are not114 # NOTE: After this all options are specific to snappy and are not
@@ -87,16 +117,14 @@
87 - --sysconfdir=/etc117 - --sysconfdir=/etc
88 - --disable-qt118 - --disable-qt
89 - --enable-snappy119 - --enable-snappy
120 - --disable-polkit
121 - --disable-vala
90122
91 # We stage everything here we need for build and runtime123 # We stage everything here we need for build and runtime
92 stage-packages:124 stage-packages:
93 - adduser
94 - dbus-test-runner
95 - dnsmasq-base125 - dnsmasq-base
96 - gobject-introspection126 - gobject-introspection
97 - gtk-doc-tools
98 - init-system-helpers127 - init-system-helpers
99 - intltool
100 - iputils-arping128 - iputils-arping
101 - isc-dhcp-client129 - isc-dhcp-client
102 - iw130 - iw
@@ -104,52 +132,31 @@
104 - libdbus-1-3132 - libdbus-1-3
105 - libdbus-1-dev133 - libdbus-1-dev
106 - libdbus-glib-1-2134 - libdbus-glib-1-2
107 - libdbus-glib-1-dev
108 - libgcrypt11-dev
109 - libgcrypt20135 - libgcrypt20
110 - libgirepository1.0-dev
111 - libglib2.0-0136 - libglib2.0-0
112 - libglib2.0-dev
113 - libglib2.0-doc
114 - libgudev-1.0-0137 - libgudev-1.0-0
115 - libgudev-1.0-dev
116 - libiw-dev138 - libiw-dev
117 - libmbim-glib4139 - libmbim-glib4
118 - libmm-glib-dev
119 - libndp-dev
120 - libndp0140 - libndp0
121 - libnewt-dev
122 - libnewt0.52141 - libnewt0.52
123 - libnl-3-200142 - libnl-3-200
124 - libnl-3-dev143 - libnl-3-dev
125 - libnl-genl-3-200144 - libnl-genl-3-200
126 - libnl-genl-3-dev
127 - libnl-route-3-200145 - libnl-route-3-200
128 - libnl-route-3-dev
129 - libnss3-dev
130 - libnspr4-dev
131 - libpam-systemd146 - libpam-systemd
132 - libpolkit-agent-1-0147 - libpolkit-agent-1-0
133 - libpolkit-gobject-1-0148 - libpolkit-gobject-1-0
134 - libpolkit-gobject-1-dev
135 - libqmi-glib1149 - libqmi-glib1
136 - libreadline-dev
137 - libreadline6150 - libreadline6
138 - libsoup2.4-1151 - libsoup2.4-1
139 - libsoup2.4-dev
140 - libsystemd-dev
141 - libsystemd0152 - libsystemd0
142 - libudev-dev
143 - libuuid1153 - libuuid1
144 - lsb-base154 - lsb-base
145 - pkg-config
146 - policykit-1
147 - ppp-dev155 - ppp-dev
148 - python-dbus156 - python-dbus
149 - python-gi157 - python-gi
150 - udev158 - udev
151 - uuid-dev159 - uuid-dev
152 - valac
153 - wireless-tools160 - wireless-tools
154161
155 # We don't want that anything from our staged packages ends162 # We don't want that anything from our staged packages ends

Subscribers

People subscribed via source and target branches