Skip to contentSkip to conversation

encodings: rdepends on mkfontscale

PATCH In review kai 2 participants 3 messages Jun 7, 2020 – Jun 9, 2020

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 encodings: rdepends on mkfontscale

From: Kai Kang <[email protected]>

It runs mkfontdir and mkfontdir during postinst script which are from package mkfontscale. So make encodings rdepends on mkfontscale.

---
 meta/recipes-graphics/xorg-font/encodings_1.0.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/encodings_1.0.5.bb +1 -1
index 4d61aed183..a299bf2fb2 100644
@@ -10,7 +10,7 @@ PE = "1"
 PR = "r3"
 
 DEPENDS = "mkfontscale-native mkfontdir-native font-util-native"
-RDEPENDS_${PN} = ""
+RDEPENDS_${PN} = "mkfontscale"
 
 SRC_URI += "file://nocompiler.patch"
 SRC_URI[md5sum] = "bbae4f247b88ccde0e85ed6a403da22a"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 16 lines · kai

From: Kai Kang <[email protected]>

It runs mkfontdir and mkfontdir during postinst script which are from package mkfontscale. So make encodings rdepends on mkfontscale.

---
 meta/recipes-graphics/xorg-font/encodings_1.0.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/encodings_1.0.5.bb +0 -0
index 4d61aed183..a299bf2fb2 100644

meta/recipes-graphics/xorg-font/encodings_1.0.5.bb PE = "1" · line 13

Quoted 5 lines
meta/recipes-graphics/xorg-font/encodings_1.0.5.bb +1 -1
@@ -10,7 +10,7 @@ PE = "1"
 PR = "r3"
 
 DEPENDS = "mkfontscale-native mkfontdir-native font-util-native"
-RDEPENDS_${PN} = ""
+RDEPENDS_${PN} = "mkfontscale"

I suspect the correct fix is that it shouldn't have these postinsts?

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b8f089512f65a4a131c8096c281c4f3d9cf23718

Cheers,

Richard

author
#2 lore raw
Quoted 19 lines · Richard Purdie
Quoted 18 lines · kai

From: Kai Kang <[email protected]>

It runs mkfontdir and mkfontdir during postinst script which are from package mkfontscale. So make encodings rdepends on mkfontscale.

---
  meta/recipes-graphics/xorg-font/encodings_1.0.5.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/encodings_1.0.5.bb +0 -0
index 4d61aed183..a299bf2fb2 100644
@@ -10,7 +10,7 @@ PE = "1"
  PR = "r3"
 
Quoted 6 lines

meta/recipes-graphics/xorg-font/encodings_1.0.5.bb PE = "1" · line 13

Quoted 3 lines
meta/recipes-graphics/xorg-font/encodings_1.0.5.bb +1 -1
  DEPENDS = "mkfontscale-native mkfontdir-native font-util-native"
-RDEPENDS_${PN} = ""
+RDEPENDS_${PN} = "mkfontscale"

I suspect the correct fix is that it shouldn't have these postinsts?

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b8f089512f65a4a131c8096c281c4f3d9cf23718

OK. I'll send V2 to remove the postinsts.

Regards,
Kai

Quoted 5 lines

Cheers,

Richard

Signature · 2 lines
Kai Kang
Wind River Linux