Skip to contentSkip to conversation

uml-utilities: fix installed-vs-shipped with usrmerge

PATCH New Martin Jansa 1 participant 3 messages Apr 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 uml-utilities: fix installed-vs-shipped with usrmerge

* fixes:
ERROR: uml-utilities-20040406-r1 do_package: QA Issue: uml-utilities: Files/directories were installed but not shipped in any package:
/usr/lib/uml/port-helper
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
uml-utilities: 1 installed and not shipped files. [installed-vs-shipped]

* pass LIB_DIR instead of using default value from Makefile:

  $ grep LIB_DIR.*= tools/port-helper/Makefile
  LIB_DIR ?= /usr/lib/uml
---
 .../recipes-extended/uml-utilities/uml-utilities_20040406.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb +2 -3
index 8e00cb3ea4..f86b2b912e 100644
@@ -18,15 +18,14 @@ S = "${WORKDIR}/tools"
 inherit update-alternatives
 
 do_compile() {
-    oe_runmake
+    oe_runmake LIB_DIR=${libdir}/uml
 }
 
 do_install() {
     oe_runmake install DESTDIR=${D}
 }
 
-FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}"
-FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug"
+FILES_${PN} += "${libdir}/uml"
 
 ALTERNATIVE_${PN} = "tunctl"
 ALTERNATIVE_LINK_NAME[tunctl] = "${bindir}/tunctl"
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/3 telepathy-glib: respect GI_DATA_ENABLED when enabling vala-bindings

---
 .../recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb +3 -1
index 2b05c61a0d..4d4e841f62 100644
@@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
 inherit autotools pkgconfig gettext gobject-introspection vala
 
-EXTRA_OECONF = "--enable-vala-bindings"
+# Respect GI_DATA_ENABLED value when enabling vala-bindings:
+# configure: error: GObject-Introspection must be enabled for Vala bindings
+EXTRA_OECONF = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-vala-bindings', '--disable-vala-bindings', d)}"
 
 FILES_${PN} += "${datadir}/telepathy \
                 ${datadir}/dbus-1"
Signature · 1 line
2.30.2
#2 lore raw

PATCH 3/3 libyui: switch to libyui-old repo which still has this SRCREV

In reply to Martin Jansa

* de9134007d2d029fe5809ce48f57fe218e6ffe16 doesn't exist in current repo:
libyui$ git branch -a --contains de9134007d2d029fe5809ce48f57fe218e6ffe16
error: no such commit de9134007d2d029fe5809ce48f57fe218e6ffe16

* there are no common commits in the new libyui repo, but luckily old repo is kept as
https://github.com/libyui/libyui-old
similarly libyui-ncurses now contains only README about being obsolete in:
https://github.com/libyui/libyui-ncurses
but at least it wasn't rewritten to have the new content

---
 meta-oe/recipes-graphics/libyui/libyui_3.10.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libyui/libyui_3.10.0.bb +1 -1
index d7f529e313..286d3ac911 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \
                     file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
                    "
 
-SRC_URI = "git://github.com/libyui/libyui.git \
+SRC_URI = "git://github.com/libyui/libyui-old.git \
            file://0001-Fix-build-with-clang.patch \
            file://0001-Use-relative-install-paths-for-CMake.patch \
            "
Signature · 1 line
2.30.2