libmtp: fix paths for packages
PATCH 1/2 libmtp: fix paths for packages
Upstream has moved udev-rules/mtp-probe. That was not detected on previous update commit so this is a follow-up.
--- meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb +2 -2
@@ -38,10 +38,10 @@ PACKAGES =+ "${BPN}-common ${BPN}-runtime" RDEPENDS_${BPN} += "libmtp-common" RRECOMMENDS_${BPN} += "libmtp-runtime ${PN}-bin" -FILES_${BPN}-common = "${nonarch_base_libdir}/udev/rules.d/*" +FILES_${BPN}-common = "${nonarch_libdir}/udev/rules.d/*" SUMMARY_${BPN}-common = "The udev rules file for MTP devices" -FILES_${BPN}-runtime = "${nonarch_base_libdir}/udev/mtp-probe" +FILES_${BPN}-runtime = "${nonarch_libdir}/udev/mtp-probe" RDEPENDS_${BPN}-runtime = "libmtp-common" SUMMARY_${BPN}-runtime = "mtp-probe, used for the MTP udev rules" DESCRIPTION_${BPN}-runtime = "This package provides mtp-probe, a program to probe newly connected device interfaces from userspace to determine if they are MTP devices, used for udev rules."
Signature · 1 line
2.14.5
PATCH 2/2 libxklavier: Fix keyboard layout bug for xfce4-settings
* This was one the longest lasting and most annoying bug
* While we are at it: rename path files -> libxklavier
---
...nfig_xkb.c-Fix-keyboard-layout-settings-f.patch | 39 ++++++++++++++++++++++
.../fix-do_installe-failure.patch | 0
.../recipes-gnome/libxklavier/libxklavier_5.4.bb | 1 +
3 files changed, 40 insertions(+)
create mode 100644 meta-gnome/recipes-gnome/libxklavier/libxklavier/0001-xklavier_config_xkb.c-Fix-keyboard-layout-settings-f.patch
rename meta-gnome/recipes-gnome/libxklavier/{files => libxklavier}/fix-do_installe-failure.patch (100%)meta-gnome/recipes-gnome/libxklavier/libxklavier/0001-xklavier_config_xkb.c-Fix-keyboard-layout-settings-f.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 1a75ebdde705ab2a4f9459a60ab824d9f770bba4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Wed, 28 Nov 2018 18:03:31 +0100 +Subject: [PATCH] xklavier_config_xkb.c: Fix keyboard layout settings for xfce +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +* Got helping hint at [1] +* Patch stolen from [2] + +[1] https://bugzilla.xfce.org/show_bug.cgi?id=14185 +[2] https://launchpadlibrarian.net/399410035/revert-default-group-change.patch + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <[email protected]> +--- + libxklavier/xklavier_config_xkb.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/libxklavier/xklavier_config_xkb.c b/libxklavier/xklavier_config_xkb.c +index baec569..c823e5b 100644 +--- a/libxklavier/xklavier_config_xkb.c ++++ b/libxklavier/xklavier_config_xkb.c +@@ -403,10 +403,6 @@ xkl_config_get_keyboard(XklEngine * engine, + /* Return to normal X error processing */ + xkl_engine_priv(engine, critical_section) = FALSE; + +- if (activate) +- xkl_config_set_group_by_description(engine, +- preactivation_group_description); +- + xkl_debug(160, + "Unlinking the temporary xkb file %s\n", + xkb_fn); +-- +2.14.5 +
meta-gnome/recipes-gnome/libxklavier/libxklavier/fix-do_installe-failure.patch renamed from meta-gnome/recipes-gnome/libxklavier/files/fix-do_installe-failure.patch +0 -0
meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb +1 -0
@@ -13,6 +13,7 @@ RDEPENDS_${PN} += "iso-codes xkbcomp" SRC_URI = " \ http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-${PV}.tar.bz2/13af74dcb6011ecedf1e3ed122bd31fa/${BPN}-${PV}.tar.bz2 \ file://fix-do_installe-failure.patch \ + file://0001-xklavier_config_xkb.c-Fix-keyboard-layout-settings-f.patch \ " SRC_URI[md5sum] = "13af74dcb6011ecedf1e3ed122bd31fa" SRC_URI[sha256sum] = "17a34194df5cbcd3b7bfd0f561d95d1f723aa1c87fca56bc2c209514460a9320"
Signature · 1 line
2.14.5
Quoted 27 lines · Andreas Müller
Upstream has moved udev-rules/mtp-probe. That was not detected on previous update commit so this is a follow-up.
Signed-off-by Andreas Müller <[email protected]>--- meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb +2
-3@@ -38,10 +38,10 @@ PACKAGES =+ "${BPN}-common ${BPN}-runtime" RDEPENDS_${BPN} += "libmtp-common" RRECOMMENDS_${BPN} += "libmtp-runtime ${PN}-bin" -FILES_${BPN}-common = "${nonarch_base_libdir}/udev/rules.d/*" +FILES_${BPN}-common = "${nonarch_libdir}/udev/rules.d/*" SUMMARY_${BPN}-common = "The udev rules file for MTP devices" -FILES_${BPN}-runtime = "${nonarch_base_libdir}/udev/mtp-probe" +FILES_${BPN}-runtime = "${nonarch_libdir}/udev/mtp-probe" RDEPENDS_${BPN}-runtime = "libmtp-common" SUMMARY_${BPN}-runtime = "mtp-probe, used for the MTP udev rules" DESCRIPTION_${BPN}-runtime = "This package provides mtp-probe, a program to probe newly connected device interfaces from userspace to determine if they are MTP devices, used for udev rules." --
Quoted 2 lines
2.14.5
Seems we do not follow freedesktop docs on where udev rules are expected. Just changed another recipe: Moved udev-rules from /lib/udev/rules.d to /usr/lib/udev/rules.d. - now the rules are ignored :(
So this patch is wrong and we have to use the configure option to install rules to /lib/udev/rules.d (there they were before). I suggest to ignore the libmtp update patch I sent which is already in master-next. I send one patch with update and corrected path.
Andreas