Skip to contentSkip to conversation

updated lxdm recipe depends and build config

PATCH In review stephen.arnold42 3 participants 4 messages Mar 16, 2014 – Apr 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 updated lxdm recipe depends and build config

---
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/lxdm/lxdm_git.bb +11 -2
index c12eddf..6ef014f 100644
@@ -16,18 +16,27 @@ SRCREV = "07fb151a99ef99318b71f3de0afbba977b1e6267"
 PV = "0.5.0+git${SRCPV}"
 PE = "1"
 
-DEPENDS = "cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
+DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango iso-codes"
 DEPENDS += "${@base_contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
 
 # combine oe-core way with angstrom DISTRO_TYPE
 DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
 
-inherit autotools gettext systemd
+inherit autotools pkgconfig gettext systemd
 
 S = "${WORKDIR}/git"
 
+CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr "
+
+EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb"
 EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)}"
 
+do_patch_extra() {
+    cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/
+}
+
+addtask do_patch_extra before do_configure after do_patch
+
 do_compile_append() {
     # default background configured not available / no password field available / no default screensaver
     sed -i     -e 's,bg=,# bg=,g' \
Signature · 1 line
1.8.5.3
#1 lore raw

Okay, apparently git-send-email doesn't suck any from info from the file in outgoing/. Good to know...

Quoted 52 lines · On Sun, Mar 16, 2014 at 3:58 PM, stephen.arnold42 <…
---
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

lxdm_git.bb
index c12eddf..6ef014f 100644

meta-oe/recipes-graphics/lxdm/lxdm_git.bb +0 -1
@@ -16,18 +16,27 @@ SRCREV = "07fb151a99ef99318b71f3de0afbba977b1e6267"
 PV = "0.5.0+git${SRCPV}"
 PE = "1"
 
-DEPENDS = "cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb

pango"
+DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango iso-codes"
DEPENDS += "${@base_contains("DISTRO_FEATURES", "systemd", "",
"consolekit", d)}"

 # combine oe-core way with angstrom DISTRO_TYPE
 DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks",
"debug", "",d)}"
meta-oe/recipes-graphics/lxdm/lxdm_git.bb +4 -3
-inherit autotools gettext systemd
+inherit autotools pkgconfig gettext systemd
 
 S = "${WORKDIR}/git"
 
+CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset
-fno-builtin-strstr "
+
+EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x
-with-xconn=xcb"
 EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd',

'--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)}"

meta-oe/recipes-graphics/lxdm/lxdm_git.bb +6 -0
+do_patch_extra() {
+    cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/
+}
+
+addtask do_patch_extra before do_configure after do_patch
+
 do_compile_append() {
     # default background configured not available / no password field

available / no default screensaver

     sed -i     -e 's,bg=,# bg=,g' \

--
1.8.5.3

#2 lore raw
Quoted 3 lines · Stephen Arnold

Okay, apparently git-send-email doesn't suck any from info from the file in outgoing/. Good to know...

'git send-email outgoing/*' is probably what you want. If you pass file names as arguments, it should send those files pretty much as they are.

Thanks,

Signature · 4 lines
Paul Barker

Email: [email protected]
http://www.paulbarker.me.uk
#3 lore raw
In reply to stephen.arnold42

meta-oe/recipes-graphics/lxdm/lxdm_git.bb SRCREV = "07fb151a99ef99318b71f3de0afbba977b1e6267" · line 39

Quoted 11 lines · On Sun, Mar 16, 2014 at 3:58 PM, stephen.arnold42 <[email protected]>…
meta-oe/recipes-graphics/lxdm/lxdm_git.bb +9 -0
+CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr "
+
+EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb"
 EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)}"
 
+do_patch_extra() {
+    cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/
+}
+
+addtask do_patch_extra before do_configure after do_patch
+

Please describe why these changes are needed in your commit message. -Khem