Skip to contentSkip to conversation

guile: added runtime dependency on glibc-gconv-iso8859-1

PATCH Superseded Bogdan Marinescu 3 participants 3 messages May 29, 2013 – May 30, 2013

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 guile: added runtime dependency on glibc-gconv-iso8859-1

guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package, but only when glibc is used. The fix for uClibc depends on another bug (#4530).

[YOCTO #4019]

---
 meta/recipes-devtools/guile/guile_2.0.9.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-devtools/guile/guile_2.0.9.bb +4 -1
index 617f7ce..8ba7afc 100644
@@ -27,7 +27,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
 SRC_URI[md5sum] = "a69b575d4a633bdd9118f3a4a1e97766"
 SRC_URI[sha256sum] = "f70a38c8d9751f442679bfe61852bba8545af4d4355d037630997c2f37f2895b"
 
-PR = "r0"
+PR = "r1"
 
 inherit autotools gettext
 BBCLASSEXTEND = "native"
@@ -36,6 +36,9 @@ DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
 DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) != 'guile']}"
 
+RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
+RDEPENDS_${PN}_class-native = ""
+
 EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix', ''][bb.data.inherits_class('native',d)]}"
 
 do_configure_prepend() {
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 31 lines · On Wednesday 29 May 2013 16:40:10 Bogdan Marinescu wrote:

guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package, but only when glibc is used. The fix for uClibc depends on another bug (#4530).

[YOCTO #4019]

---
 meta/recipes-devtools/guile/guile_2.0.9.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/guile/guile_2.0.9.bb index 617f7ce..8ba7afc 100644

meta/recipes-devtools/guile/guile_2.0.9.bb +0 -0
@@ -27,7 +27,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
 SRC_URI[md5sum] = "a69b575d4a633bdd9118f3a4a1e97766"
 SRC_URI[sha256sum] =

"f70a38c8d9751f442679bfe61852bba8545af4d4355d037630997c2f37f2895b"

meta/recipes-devtools/guile/guile_2.0.9.bb +1 -1
-PR = "r0"
+PR = "r1"
 
 inherit autotools gettext
 BBCLASSEXTEND = "native"
@@ -36,6 +36,9 @@ DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
 DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) !=

'guile']}"

meta/recipes-devtools/guile/guile_2.0.9.bb DEPENDS = "libunistring bdwgc gmp libtool libffi" · line 40

Quoted 2 lines
meta/recipes-devtools/guile/guile_2.0.9.bb +2 -0
+RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
+RDEPENDS_${PN}_class-native = ""

The second line is erroneous, surely we only need the first to solve this issue?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 32 lines · Paul Eggleton
Quoted 31 lines · On Wednesday 29 May 2013 16:40:10 Bogdan Marinescu wrote:

guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package, but only when glibc is used. The fix for uClibc depends on another bug (#4530).

[YOCTO #4019]

---
 meta/recipes-devtools/guile/guile_2.0.9.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/guile/guile_2.0.9.bb index 617f7ce..8ba7afc 100644

meta/recipes-devtools/guile/guile_2.0.9.bb +0 -0
@@ -27,7 +27,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
 SRC_URI[md5sum] = "a69b575d4a633bdd9118f3a4a1e97766"
 SRC_URI[sha256sum] =

"f70a38c8d9751f442679bfe61852bba8545af4d4355d037630997c2f37f2895b"

meta/recipes-devtools/guile/guile_2.0.9.bb +1 -1
-PR = "r0"
+PR = "r1"
 
 inherit autotools gettext
 BBCLASSEXTEND = "native"
@@ -36,6 +36,9 @@ DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
 DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) !=

'guile']}"

Quoted 5 lines

meta/recipes-devtools/guile/guile_2.0.9.bb DEPENDS = "libunistring bdwgc gmp libtool libffi" · line 40

Quoted 2 lines
meta/recipes-devtools/guile/guile_2.0.9.bb +2 -0
+RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
+RDEPENDS_${PN}_class-native = ""

The second line is erroneous, surely we only need the first to solve this issue?

I merged this with the second line removed since it isn't needed afaict.

Cheers,

Richard