Skip to contentSkip to conversation

Remove dependency libidn from wget gs and msmtp

PATCH New Kang Kai 1 participant 4 messages Sep 4, 2012

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

v2 cover Remove dependency libidn from wget gs and msmtp

The following changes since commit 37c8597e7600385367257e8a513e003947ebef5b:

distro-tracking: remove xserver-kdrive (2012-09-02 05:52:16 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/deps
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/deps

Kang Kai (3):
wget: disable iri/idn support
msmtp: disable libidn support
ghostscript: disable libidn support

 .../ghostscript/ghostscript_9.05.bb                |    4 ++--
 meta/recipes-extended/msmtp/msmtp_1.4.24.bb        |    4 ++--
 meta/recipes-extended/wget/wget.inc                |    5 +++--
 3 files changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH v2 1/3 wget: disable iri/idn support

There is a build issue with wget idn support. When libidn has been populated to sysroot but rpm packages are not created, wget checks libidn support automatically and then depends on libidn. But package libidn doesn't exist, build image which includes wget will fail with:

| error: Failed dependencies:
|   libidn.so.11 is needed by wget-1.13.4-r14.3.core2
|   libidn.so.11(LIBIDN_1.0) is needed by wget-1.13.4-r14.3.core2

Disable iri/idn support to fix it.

---
 meta/recipes-extended/wget/wget.inc |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-extended/wget/wget.inc +3 -2
index 3575c87..2787068 100644
@@ -4,11 +4,12 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "openssl"
 
-INC_PR = "r15"
+INC_PR = "r16"
 
 inherit autotools gettext update-alternatives
 
-EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath"
+EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} \
+                --with-ssl=openssl --disable-rpath --disable-iri"
 
 ALTERNATIVE_${PN} = "wget"
 ALTERNATIVE_PRIORITY = "100"
Signature · 1 line
1.7.5.4
author
#2 lore raw

PATCH v2 2/3 msmtp: disable libidn support

In reply to Kang Kai

When libidn has been populated to sysroot but rpm packages are not created, build msmtp will check libidn support automatically and then depends on libidn. But package libidn doesn't exist, build image which includes msmtp will fail with:

| error: Failed dependencies:
| 	libidn11 >= 1.25 is needed by msmtp-1.4.24-r3.i586
| 	libidn.so.11(LIBIDN_1.0) is needed by msmtp-1.4.24-r3.i586
| 	libidn.so.11 is needed by msmtp-1.4.24-r3.i586

Disable libidn support to fix this issue.

---
 meta/recipes-extended/msmtp/msmtp_1.4.24.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/msmtp/msmtp_1.4.24.bb +2 -2
index 08566ca..13de167 100644
@@ -5,7 +5,7 @@ SECTION = "console/network"
 
 LICENSE = "GPLv3"
 DEPENDS = "zlib gnutls"
-PR = "r3"
+PR = "r4"
 
 
 #COPYING or Licence
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "f19f3fcc67da448420b3adbd5add09f8fe110664dd64f3c2cd693ef0cb
 
 inherit gettext autotools update-alternatives
 
-EXTRA_OECONF += "--without-gnome-keyring"
+EXTRA_OECONF += "--without-gnome-keyring --without-libidn"
 
 ALTERNATIVE_${PN} = "sendmail"
 ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
Signature · 1 line
1.7.5.4
author
#3 lore raw

PATCH v2 3/3 ghostscript: disable libidn support

In reply to Kang Kai

If libidn is just populated to sysroot but rpm packages are not created, build ghostscript will check libidn automatically and then depends on libidn. But package libidn doesn't exist, so build image which contains ghostscript will fail with:

| error: Failed dependencies:
| 	libidn11 >= 1.25 is needed by ghostscript-9.05-r2.i586
| 	libidn.so.11(LIBIDN_1.0) is needed by ghostscript-9.05-r2.i586
| 	libidn.so.11 is needed by ghostscript-9.05-r2.i586

Disable libidn support to fix this issue.

---
 .../ghostscript/ghostscript_9.05.bb                |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.05.bb +2 -2
index dc6e481..1c18b21 100644
@@ -15,7 +15,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8"
 
-PR = "r2"
+PR = "r3"
 
 DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
 DEPENDS_virtclass-native = ""
@@ -36,7 +36,7 @@ SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1"
 SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207"
 
 EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper \
-                --with-fontpath=${datadir}/fonts --with-install-cups"
+                --with-fontpath=${datadir}/fonts --with-install-cups --without-libidn"
 
 # This has been fixed upstream but for now we need to subvert the check for time.h
 # http://bugs.ghostscript.com/show_bug.cgi?id=692443
Signature · 1 line
1.7.5.4