NetworkManager/contrib/debian/REQUIRED_PACKAGES
Thomas Haller d6cbbbcad3
contrib: install "udev" package with "debian/REQUIRED_PACKAGES"
"debian/REQUIRED_PACKAGES" is used by gitlab-ci to prepare the image. We require
"udev" package, if only to install "/usr/share/pkgconfig/udev.pc" to get the
udev directory.

Otherwise build fails with:

    Run-time dependency udev found: NO (tried pkgconfig)
    meson.build:371:2: ERROR: Dependency "udev" not found, tried pkgconfig
2020-11-10 13:51:29 +01:00

79 lines
1.5 KiB
Bash
Executable file

#!/bin/bash
# A list of packages useful/needed to build and develop
# NetworkManager on Debian and Ubuntu.
#
# Not all of these packages are available, depending
# on your distribution/release. But the script will happily
# skip them.
#
# Not all of these packages are strictly speaking necessary.
# This is a generous list of related packages.
install() {
for p in "$@"; do
if [ "$NM_INSTALL" != "" ]; then
$NM_INSTALL "$p" || :
else
sudo apt-get install -y "$p" || :
fi
done
}
install \
\
autoconf \
automake \
autopoint \
clang \
dbus \
dbus-x11 \
dnsmasq \
git \
gobject-introspection \
gtk-doc-tools \
intltool \
iproute2 \
iptables \
libaudit-dev \
libcurl4-gnutls-dev \
libdbus-1-dev \
libgcrypt11-dev \
libgirepository1.0-dev \
libglib2.0-dev \
libglib2.0-doc \
libgnutls-dev \
libgnutls28-dev \
libiw-dev \
libjansson-dev \
libjansson4 \
libmm-glib-dev \
libndp-dev \
libnewt-dev \
libnss3-dev \
libpolkit-gobject-1-dev \
libreadline-dev \
libsystemd-dev \
libteam-dev \
libtool \
libudev-dev \
locales \
make \
meson \
mobile-broadband-provider-info \
pkg-config \
ppp \
ppp-dev \
python-dbus \
python-gi \
python-setuptools \
python-software-properties \
python3-dbus \
python3-gi \
python3-pip \
python3-setuptools \
udev \
uuid-dev \
valgrind \
\
#end