* [PATCH 1/6] systemd: build with compatibility libraries
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
@ 2015-10-16 15:51 ` Joshua Lock
2015-10-19 12:57 ` Anders Darander
2015-10-20 3:23 ` Khem Raj
2015-10-16 15:51 ` [PATCH 2/6] weston: add PACKAGECONFIG to build with systemd-login support Joshua Lock
` (4 subsequent siblings)
5 siblings, 2 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
There are recipes in the Core metadata that have optional systemd
support but expect the old, separate, libsystemd-foo pkg-config files
(not the newer unified libsystemd).
Add a PACKAGECONFIG option to build systemd with the compatibility
pc files and default to enabling this option so that we can make use of
them in the weston recipe.
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-core/systemd/systemd_225.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index c2dad58..594c5aa 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -58,7 +58,7 @@ LDFLAGS_append_libc-uclibc = " -lrt"
GTKDOC_DOCDIR = "${S}/docs/"
-PACKAGECONFIG ??= "xz ldconfig \
+PACKAGECONFIG ??= "xz ldconfig compat \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
@@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
+PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs"
CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 1/6] systemd: build with compatibility libraries
2015-10-16 15:51 ` [PATCH 1/6] systemd: build with compatibility libraries Joshua Lock
@ 2015-10-19 12:57 ` Anders Darander
2015-10-19 19:52 ` Joshua Lock
2015-10-20 3:23 ` Khem Raj
1 sibling, 1 reply; 12+ messages in thread
From: Anders Darander @ 2015-10-19 12:57 UTC (permalink / raw)
To: openembedded-core
* Joshua Lock <joshua.lock@collabora.co.uk> [151016 17:52]:
> There are recipes in the Core metadata that have optional systemd
> support but expect the old, separate, libsystemd-foo pkg-config files
> (not the newer unified libsystemd).
Any size impact? Just wondering as you're changing the default.
(Assuming that it was off by default previously?)
Cheers,
Anders
> -PACKAGECONFIG ??= "xz ldconfig \
> +PACKAGECONFIG ??= "xz ldconfig compat \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
> @@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
> PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
> PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
> +PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs"
> CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
> CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
--
Anders Darander
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH 1/6] systemd: build with compatibility libraries
2015-10-19 12:57 ` Anders Darander
@ 2015-10-19 19:52 ` Joshua Lock
2015-10-20 4:48 ` Anders Darander
0 siblings, 1 reply; 12+ messages in thread
From: Joshua Lock @ 2015-10-19 19:52 UTC (permalink / raw)
To: openembedded-core
On 19/10/15 13:57, Anders Darander wrote:
> * Joshua Lock <joshua.lock@collabora.co.uk> [151016 17:52]:
>
>> There are recipes in the Core metadata that have optional systemd
>> support but expect the old, separate, libsystemd-foo pkg-config files
>> (not the newer unified libsystemd).
>
> Any size impact? Just wondering as you're changing the default.
> (Assuming that it was off by default previously?)
The compat-libs (libsystemd-daemon libsystemd-login libsystemd-journal
libsystemd-id128) are packaged separately, so you only see an increase
in image size if something pulls them in to your image.
The -dev, -dbg and -ptest package sizes all increase slightly:
joshuagl@owlbear:/srv/build/systemd-size$ buildhistory-diff -a | grep
PKGSIZE
packages/i586-poky-linux/systemd/systemd-dbg: PKGSIZE changed from
54364265 to 55148696 (+1%)
packages/i586-poky-linux/systemd/systemd-dev: PKGSIZE changed from 98921
to 105487 (+6%)
packages/i586-poky-linux/systemd/systemd-ptest: PKGSIZE changed from
3156181 to 3156103 (0%)
Regards,
Joshua
>
> Cheers,
> Anders
>
>
>> -PACKAGECONFIG ??= "xz ldconfig \
>> +PACKAGECONFIG ??= "xz ldconfig compat \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
>> @@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
>> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
>> PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
>> PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
>> +PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs"
>
>> CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
>> CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH 1/6] systemd: build with compatibility libraries
2015-10-19 19:52 ` Joshua Lock
@ 2015-10-20 4:48 ` Anders Darander
0 siblings, 0 replies; 12+ messages in thread
From: Anders Darander @ 2015-10-20 4:48 UTC (permalink / raw)
To: openembedded-core
* Joshua Lock <joshua.lock@collabora.co.uk> [151019 21:53]:
> On 19/10/15 13:57, Anders Darander wrote:
> >* Joshua Lock <joshua.lock@collabora.co.uk> [151016 17:52]:
> >>There are recipes in the Core metadata that have optional systemd
> >>support but expect the old, separate, libsystemd-foo pkg-config files
> >>(not the newer unified libsystemd).
> >Any size impact? Just wondering as you're changing the default.
> >(Assuming that it was off by default previously?)
> The compat-libs (libsystemd-daemon libsystemd-login libsystemd-journal
> libsystemd-id128) are packaged separately, so you only see an increase in
> image size if something pulls them in to your image.
Thanks!
> The -dev, -dbg and -ptest package sizes all increase slightly:
Ok. I'm personally less worried about those.
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/6] systemd: build with compatibility libraries
2015-10-16 15:51 ` [PATCH 1/6] systemd: build with compatibility libraries Joshua Lock
2015-10-19 12:57 ` Anders Darander
@ 2015-10-20 3:23 ` Khem Raj
2015-10-20 9:40 ` Joshua Lock
1 sibling, 1 reply; 12+ messages in thread
From: Khem Raj @ 2015-10-20 3:23 UTC (permalink / raw)
To: Joshua Lock; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]
> On Oct 16, 2015, at 8:51 AM, Joshua Lock <joshua.lock@collabora.co.uk> wrote:
>
> There are recipes in the Core metadata that have optional systemd
> support but expect the old, separate, libsystemd-foo pkg-config files
> (not the newer unified libsystemd).
>
> Add a PACKAGECONFIG option to build systemd with the compatibility
> pc files and default to enabling this option so that we can make use of
> them in the weston recipe.
>
> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
> ---
> meta/recipes-core/systemd/systemd_225.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
> index c2dad58..594c5aa 100644
> --- a/meta/recipes-core/systemd/systemd_225.bb
> +++ b/meta/recipes-core/systemd/systemd_225.bb
> @@ -58,7 +58,7 @@ LDFLAGS_append_libc-uclibc = " -lrt"
>
> GTKDOC_DOCDIR = "${S}/docs/"
>
> -PACKAGECONFIG ??= "xz ldconfig \
> +PACKAGECONFIG ??= "xz ldconfig compat \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
> @@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
> PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
> PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
> +PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs”
I would rather expect this to not be there in first place, if its needed for some, then lets not enable it by default
what would it take to fix weston ?
>
> CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
> CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH 1/6] systemd: build with compatibility libraries
2015-10-20 3:23 ` Khem Raj
@ 2015-10-20 9:40 ` Joshua Lock
0 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-20 9:40 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On 20/10/15 04:23, Khem Raj wrote:
>
>> On Oct 16, 2015, at 8:51 AM, Joshua Lock <joshua.lock@collabora.co.uk> wrote:
>>
>> There are recipes in the Core metadata that have optional systemd
>> support but expect the old, separate, libsystemd-foo pkg-config files
>> (not the newer unified libsystemd).
>>
>> Add a PACKAGECONFIG option to build systemd with the compatibility
>> pc files and default to enabling this option so that we can make use of
>> them in the weston recipe.
>>
>> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
>> ---
>> meta/recipes-core/systemd/systemd_225.bb | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
>> index c2dad58..594c5aa 100644
>> --- a/meta/recipes-core/systemd/systemd_225.bb
>> +++ b/meta/recipes-core/systemd/systemd_225.bb
>> @@ -58,7 +58,7 @@ LDFLAGS_append_libc-uclibc = " -lrt"
>>
>> GTKDOC_DOCDIR = "${S}/docs/"
>>
>> -PACKAGECONFIG ??= "xz ldconfig \
>> +PACKAGECONFIG ??= "xz ldconfig compat \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
>> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
>> @@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
>> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
>> PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
>> PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
>> +PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs”
>
> I would rather expect this to not be there in first place, if its needed for some, then lets not enable it by default
> what would it take to fix weston ?
Very little effort, it seems - the backport for Weston is trivial.
I'll prepare a v2 series where this PACKAGECONFIG is added but not
enabled by default and add an extra change to backport the weston
configure.ac update for the new libsystemd pkg-config.
Regards,
Joshua
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/6] weston: add PACKAGECONFIG to build with systemd-login support
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
2015-10-16 15:51 ` [PATCH 1/6] systemd: build with compatibility libraries Joshua Lock
@ 2015-10-16 15:51 ` Joshua Lock
2015-10-16 15:51 ` [PATCH 3/6] systemd: make dbus an optional build time dependency Joshua Lock
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
Automatically enable this support for distributions which have
systemd in DISTRO_FEATURES.
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-graphics/wayland/weston_1.8.0.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-graphics/wayland/weston_1.8.0.bb b/meta/recipes-graphics/wayland/weston_1.8.0.bb
index 342c604..9e057c5 100644
--- a/meta/recipes-graphics/wayland/weston_1.8.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.8.0.bb
@@ -39,6 +39,7 @@ EXTRA_OECONF_append_qemux86-64 = "\
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
"
#
# Compositor choices
@@ -67,6 +68,8 @@ PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
# Weston with unwinding support
PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
+# Weston with systemd-login support
+PACKAGECONFIG[systemd] = ",,systemd dbus"
do_install_append() {
# Weston doesn't need the .la files to load modules, so wipe them
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 3/6] systemd: make dbus an optional build time dependency
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
2015-10-16 15:51 ` [PATCH 1/6] systemd: build with compatibility libraries Joshua Lock
2015-10-16 15:51 ` [PATCH 2/6] weston: add PACKAGECONFIG to build with systemd-login support Joshua Lock
@ 2015-10-16 15:51 ` Joshua Lock
2015-10-16 15:51 ` [PATCH 4/6] weston: add a PACKAGECONFIG option for xwayland support Joshua Lock
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
The dbus buildtime dependency is only required in order to build
dbus related tests in modern systemd, make this a PACKAGECONFIG
option.
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-core/systemd/systemd_225.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index 594c5aa..74a93a4 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -18,7 +18,7 @@ PROVIDES = "udev"
PE = "1"
-DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup qemu-native util-linux"
+DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux"
SECTION = "base/shell"
@@ -90,6 +90,7 @@ PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs"
+PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 4/6] weston: add a PACKAGECONFIG option for xwayland support
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
` (2 preceding siblings ...)
2015-10-16 15:51 ` [PATCH 3/6] systemd: make dbus an optional build time dependency Joshua Lock
@ 2015-10-16 15:51 ` Joshua Lock
2015-10-16 15:51 ` [PATCH 5/6] xserver-xorg: add Xwayland RRECOMMENDS Joshua Lock
2015-10-16 15:51 ` [PATCH 6/6] xserver-xorg: drop empty ${PN}-security-policy package Joshua Lock
5 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-graphics/wayland/weston_1.8.0.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/wayland/weston_1.8.0.bb b/meta/recipes-graphics/wayland/weston_1.8.0.bb
index 9e057c5..7829c53 100644
--- a/meta/recipes-graphics/wayland/weston_1.8.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.8.0.bb
@@ -22,7 +22,6 @@ DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
DEPENDS += "wayland libinput virtual/egl pango"
EXTRA_OECONF = "--enable-setuid-install \
- --disable-xwayland \
--enable-simple-clients \
--enable-clients \
--enable-demo-clients-install \
@@ -70,6 +69,8 @@ PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
# Weston with systemd-login support
PACKAGECONFIG[systemd] = ",,systemd dbus"
+# Weston with Xwayland support
+PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb libxcursor cairo"
do_install_append() {
# Weston doesn't need the .la files to load modules, so wipe them
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 5/6] xserver-xorg: add Xwayland RRECOMMENDS
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
` (3 preceding siblings ...)
2015-10-16 15:51 ` [PATCH 4/6] weston: add a PACKAGECONFIG option for xwayland support Joshua Lock
@ 2015-10-16 15:51 ` Joshua Lock
2015-10-16 15:51 ` [PATCH 6/6] xserver-xorg: drop empty ${PN}-security-policy package Joshua Lock
5 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
Xwayland has the same runtime dependencies as the standard
xserver so set RRECOMMENDS the same way.
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 9881c94..30b3485 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -72,7 +72,9 @@ PACKAGES =+ "${PN}-security-policy \
SUMMARY_xf86-video-modesetting = "X.Org X server -- modesetting display driver"
INSANE_SKIP_xf86-video-modesetting = "xorg-driver-abi"
-RRECOMMENDS_${PN} += "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config xkbcomp"
+XSERVER_RRECOMMENDS = "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config xkbcomp"
+RRECOMMENDS_${PN} += "${XSERVER_RRECOMMENDS}"
+RRECOMMENDS_${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
RDEPENDS_${PN}-xvfb += "xkeyboard-config"
RDEPENDS_${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 6/6] xserver-xorg: drop empty ${PN}-security-policy package
[not found] ` <cover.1445010543.git.joshua.lock@collabora.co.uk>
` (4 preceding siblings ...)
2015-10-16 15:51 ` [PATCH 5/6] xserver-xorg: add Xwayland RRECOMMENDS Joshua Lock
@ 2015-10-16 15:51 ` Joshua Lock
5 siblings, 0 replies; 12+ messages in thread
From: Joshua Lock @ 2015-10-16 15:51 UTC (permalink / raw)
To: openembedded-core
The SecurityPolicy hasn't been included since 2007[1] and the
last remnants were removed from the code base in 2010[2].
1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03cad1446c27b397c198cf6247e71e46bc9e6d
2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d4f49e08442f58cf02240e3e6bab04633d2
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
---
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 30b3485..91df2b7 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -44,8 +44,7 @@ DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util"
# libextmod.so
# libdbe.so
-PACKAGES =+ "${PN}-security-policy \
- ${PN}-sdl \
+PACKAGES =+ "${PN}-sdl \
${PN}-fbdev \
${PN}-xvfb \
${PN}-utils \
@@ -72,7 +71,7 @@ PACKAGES =+ "${PN}-security-policy \
SUMMARY_xf86-video-modesetting = "X.Org X server -- modesetting display driver"
INSANE_SKIP_xf86-video-modesetting = "xorg-driver-abi"
-XSERVER_RRECOMMENDS = "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config xkbcomp"
+XSERVER_RRECOMMENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp"
RRECOMMENDS_${PN} += "${XSERVER_RRECOMMENDS}"
RRECOMMENDS_${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
RDEPENDS_${PN}-xvfb += "xkeyboard-config"
@@ -85,7 +84,6 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
${libdir}/xorg/modules/*/.debug \
${libdir}/xorg/modules/*/*/.debug \
"
-FILES_${PN}-security-policy += "${libdir}/xserver/SecurityPolicy"
FILES_${PN}-sdl = "${bindir}/Xsdl"
FILES_${PN}-fbdev = "${bindir}/Xfbdev"
FILES_${PN}-xvfb = "${bindir}/Xvfb"
--
2.1.4
^ permalink raw reply related [flat|nested] 12+ messages in thread