mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
This patch is to solve the following circular dependency problem.
systemd -> dbus -> libsm -> e2fsprogs -> util-linux -> systemd
libsm doesn't have any dependency on e2fsprogs. It might be some dependency
on util-linux's libuuid, controlled by configure options. So e2fsprogs should
be removed from the DEPENDS variable.
Ideally, we should add a PACKAGECONFIG for 'libuuid' for libsm. However, if
libsm depends on util-linux, we would have the circular dependency described
above. That's why this patch explicitly set '--without-libuuid' in EXTRA_OECONF.
libsm would still be working well because it would fall back to an internal
algorithm to do the uuid stuff.
(From OE-Core rev: 5e7d6f40149be69a3e3b17b28ce3f687a93b40fa)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
966 B
BlitzBasic
29 lines
966 B
BlitzBasic
SUMMARY = "SM: Session Management library"
|
|
|
|
DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
|
|
language interface to XSMP. The purpose of the X Session Management \
|
|
Protocol (XSMP) is to provide a uniform mechanism for users to save and \
|
|
restore their sessions. A session is a group of clients, each of which \
|
|
has a particular state."
|
|
|
|
require xorg-lib-common.inc
|
|
|
|
LICENSE = "MIT-style"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d"
|
|
|
|
DEPENDS += "libice xproto xtrans"
|
|
|
|
# libSM can work without libuuid, we explicitly disable it to break the following circular dependency
|
|
# when DISTRO_FEATURES contains 'systemd' and 'x11'.
|
|
# systemd -> dbus -> libsm -> util-linux -> systemd
|
|
EXTRA_OECONF += "--without-libuuid"
|
|
|
|
PE = "1"
|
|
|
|
XORG_PN = "libSM"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
SRC_URI[md5sum] = "499a7773c65aba513609fe651853c5f3"
|
|
SRC_URI[sha256sum] = "0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd"
|