Skip to contentSkip to conversation

gnome-settings-daemon: smartcard support is optional, and needs nss

PATCH New Adrian Bunk 1 participant 1 message Aug 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnome-settings-daemon: smartcard support is optional, and needs nss

../gnome-settings-daemon-3.36.1/meson.build:165:2: ERROR: Dependency "nss" not found, tried pkgconfig

This happened when networkmanager is configured without nss, or nm support disabled in gnome-settings-daemon.

---
 .../gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb       | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb +2 -0
index b38ba558c..8d90a7a40 100644
@@ -44,12 +44,14 @@ EXTRA_OEMESON = "--native-file ${WORKDIR}/meson.native"
 PACKAGECONFIG ??= " \
     cups nm \
     alsa gudev \
+    smartcard \
     ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
 "
 PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib"
 PACKAGECONFIG[cups] = "-Dcups=true,-Dcups=false,cups"
 PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev"
 PACKAGECONFIG[nm] = "-Dnetwork_manager=true,-Dnetwork_manager=false,networkmanager"
+PACKAGECONFIG[smartcard] = "-Dsmartcard=true,-Dsmartcard=false,nss"
 PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland"
 
 FILES_${PN} += " \
Signature · 1 line
2.17.1