NetworkManager: update to 1.32.2
This commit is contained in:
parent
10a70118cc
commit
80f6771649
3 changed files with 34 additions and 34 deletions
|
@ -1,13 +1,14 @@
|
||||||
Reason: Fix crossbuilding GIR
|
Reason: Fix crossbuilding GIR
|
||||||
Upstream: No, not upstreamable since this is very specific to the Void setup
|
Upstream: No, not upstreamable since this is very specific to the Void setup
|
||||||
Index: b/libnm/meson.build
|
Index: b/src/libnm-client-impl/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/libnm/meson.build
|
--- a/src/libnm-client-impl/meson.build
|
||||||
+++ b/libnm/meson.build
|
+++ b/src/libnm-client-impl/meson.build
|
||||||
@@ -274,13 +274,23 @@ if enable_introspection
|
@@ -210,6 +210,16 @@ if enable_introspection
|
||||||
'LD_LIBRARY_PATH=' + ld_library_path,
|
ld_library_path = ':' + ld_library_path
|
||||||
]
|
endif
|
||||||
|
ld_library_path = meson.current_build_dir() + ld_library_path
|
||||||
|
+
|
||||||
+ if meson.is_cross_build()
|
+ if meson.is_cross_build()
|
||||||
+ qemu_python3_cmd = [
|
+ qemu_python3_cmd = [
|
||||||
+ '/usr/bin/qemu-@XBPS_TARGET_QEMU_MACHINE@-static',
|
+ '/usr/bin/qemu-@XBPS_TARGET_QEMU_MACHINE@-static',
|
||||||
|
@ -17,13 +18,13 @@ Index: b/libnm/meson.build
|
||||||
+ else
|
+ else
|
||||||
+ qemu_python3_cmd = python.path()
|
+ qemu_python3_cmd = python.path()
|
||||||
+ endif
|
+ endif
|
||||||
+
|
|
||||||
nm_settings_docs_xml_gir = custom_target(
|
nm_settings_docs_xml_gir = custom_target(
|
||||||
'nm-settings-docs-gir.xml',
|
'nm-settings-docs-gir.xml',
|
||||||
input: libnm_gir[0],
|
@@ -219,7 +229,7 @@ if enable_introspection
|
||||||
output: 'nm-settings-docs-gir.xml',
|
'env',
|
||||||
command: [
|
'GI_TYPELIB_PATH=' + gi_typelib_path,
|
||||||
generate_setting_docs_env,
|
'LD_LIBRARY_PATH=' + ld_library_path,
|
||||||
- python.path(),
|
- python.path(),
|
||||||
+ qemu_python3_cmd,
|
+ qemu_python3_cmd,
|
||||||
join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-gir.py'),
|
join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-gir.py'),
|
||||||
|
|
|
@ -15,16 +15,15 @@ Index: b/meson.build
|
||||||
endif
|
endif
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
Index: b/clients/common/meson.build
|
Index: b/src/libnmc-setting/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/clients/common/meson.build
|
--- a/src/libnmc-setting/meson.build
|
||||||
+++ b/clients/common/meson.build
|
+++ b/src/libnmc-setting/meson.build
|
||||||
@@ -28,7 +28,7 @@ libnmc_base_dep = declare_dependency(
|
@@ -1,6 +1,6 @@
|
||||||
link_with: libnmc_base,
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
)
|
|
||||||
|
|
||||||
-if enable_docs
|
-if enable_docs
|
||||||
+if enable_docs and enable_introspection
|
+if enable_docs and enable_introspection
|
||||||
settings_docs_source = custom_target(
|
settings_docs_input_xml = custom_target(
|
||||||
'settings-docs.h',
|
'settings-docs-input.xml',
|
||||||
input: nm_settings_docs_xml_gir,
|
input: [nm_settings_docs_xml_gir, nm_property_infos_xml['nmcli']],
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'NetworkManager'
|
# Template file for 'NetworkManager'
|
||||||
pkgname=NetworkManager
|
pkgname=NetworkManager
|
||||||
version=1.30.4
|
version=1.32.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir qemu"
|
build_helper="gir qemu"
|
||||||
|
@ -24,7 +24,7 @@ hostmakedepends="gettext-devel glib-devel libxslt-devel pkg-config
|
||||||
makedepends="libuuid-devel nss-devel dbus-glib-devel libgudev-devel
|
makedepends="libuuid-devel nss-devel dbus-glib-devel libgudev-devel
|
||||||
libnl3-devel polkit-devel ppp-devel iptables-devel libcurl-devel
|
libnl3-devel polkit-devel ppp-devel iptables-devel libcurl-devel
|
||||||
ModemManager-devel readline-devel libndp-devel newt-devel jansson-devel
|
ModemManager-devel readline-devel libndp-devel newt-devel jansson-devel
|
||||||
libpsl-devel eudev-libudev-devel mobile-broadband-provider-info
|
libpsl-devel eudev-libudev-devel mobile-broadband-provider-info gnutls-devel
|
||||||
$(vopt_if gir 'libgirepository-devel python3-gobject')
|
$(vopt_if gir 'libgirepository-devel python3-gobject')
|
||||||
$(vopt_if elogind elogind-devel)"
|
$(vopt_if elogind elogind-devel)"
|
||||||
depends="dbus iproute2 openresolv wpa_supplicant mobile-broadband-provider-info"
|
depends="dbus iproute2 openresolv wpa_supplicant mobile-broadband-provider-info"
|
||||||
|
@ -34,7 +34,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://wiki.gnome.org/Projects/NetworkManager"
|
homepage="https://wiki.gnome.org/Projects/NetworkManager"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=6050b724212ea3ce7386113359bea9afa1f679a54f60d999a5999892e672c190
|
checksum=701d511067f757d0f92f412c98cdb49a74a6ba69448aabb1beadacbc171e3873
|
||||||
# TODO: Some tests require network namespaces to run.
|
# TODO: Some tests require network namespaces to run.
|
||||||
make_check=extended
|
make_check=extended
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
@ -51,6 +51,16 @@ make_dirs="
|
||||||
build_options="gir elogind"
|
build_options="gir elogind"
|
||||||
build_options_default="gir elogind"
|
build_options_default="gir elogind"
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
# Replace the values from our patch into the system itself
|
||||||
|
vsed -i \
|
||||||
|
-e "s|@XBPS_CROSS_BASE@|${XBPS_CROSS_BASE}|g" \
|
||||||
|
-e "s|@XBPS_TARGET_QEMU_MACHINE@|${XBPS_TARGET_QEMU_MACHINE}|" \
|
||||||
|
src/libnm-client-impl/meson.build
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
# machine-id is a random, non-zero value
|
# machine-id is a random, non-zero value
|
||||||
echo 'dcb30309cd6c8b7cc20383d85a5c7012' > /etc/machine-id
|
echo 'dcb30309cd6c8b7cc20383d85a5c7012' > /etc/machine-id
|
||||||
|
@ -60,16 +70,6 @@ post_check() {
|
||||||
rm /etc/machine-id
|
rm /etc/machine-id
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# Replace the values from our patch into the system itself
|
|
||||||
vsed -i \
|
|
||||||
-e "s|@XBPS_CROSS_BASE@|${XBPS_CROSS_BASE}|g" \
|
|
||||||
-e "s|@XBPS_TARGET_QEMU_MACHINE@|${XBPS_TARGET_QEMU_MACHINE}|" \
|
|
||||||
libnm/meson.build
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.conf 644 etc/${pkgname}
|
vinstall ${FILESDIR}/${pkgname}.conf 644 etc/${pkgname}
|
||||||
vinstall ${FILESDIR}/50-org.freedesktop.NetworkManager.rules 644 \
|
vinstall ${FILESDIR}/50-org.freedesktop.NetworkManager.rules 644 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue