Patchwork [meta-chromium] Add bbappend for gnome-settings-daemon to make it build (deteministc) when using meta-chromium

login
register
mail settings
Submitter Andreas Müller
Date May 15, 2012, 9:54 a.m.
Message ID <1337075678-10009-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/27761/
State Accepted, archived
Headers show

Comments

Andreas Müller - May 15, 2012, 9:54 a.m.
After including meta-chromium configure of gnome-settings-daemon detects nss
and fails during compile with

| In file included from gsd-smartcard-manager.h:27:0,
|                  from gsd-smartcard-manager.c:25:
| gsd-smartcard.h:26:20: fatal error: secmod.h: No such file or directory
| compilation terminated.
| In file included from gsd-smartcard.c:21:0:
| gsd-smartcard.h:26:20: fatal error: secmod.h: No such file or directory
| compilation terminated.

The append makes build deterministic and fixes build error.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../gnome-settings-daemon_2.32.1.bbappend          |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend

Patch

diff --git a/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend b/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
new file mode 100644
index 0000000..01e607d
--- /dev/null
+++ b/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
@@ -0,0 +1,3 @@ 
+DEPENDS += "nss"
+
+CFLAGS += "-I${STAGING_INCDIR}/mozilla/nss"