Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] mtools: keep v3.9.9 recipe in sync with the v4.0.18 version
@ 2016-01-26 19:14 Andre McCurdy
  2016-01-27  6:10 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 2016-01-26 19:14 UTC (permalink / raw)
  To: openembedded-core

Changes are mostly cosmetic, but also include one important fix
to support builds using musl libc.

  http://git.openembedded.org/openembedded-core/commit/?id=9f5eb272784d3be17e7fe8e7cab511bd4086ba1e

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 meta/recipes-devtools/mtools/mtools_3.9.9.bb | 36 +++++++++++++++-------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
index c284a71..26d52a9 100644
--- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb
+++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
@@ -1,16 +1,15 @@
-# mtools OE build file
-# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
-
 SUMMARY = "Utilities to access MS-DOS disks without mounting them"
-DESCRIPTION = "Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them."
+DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
 HOMEPAGE = "http://www.gnu.org/software/mtools/"
+SECTION = "optional"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3"
 PR = "r6"
 
-RDEPENDS_${PN} = "glibc-gconv-ibm850"
-RRECOMMENDS_${PN} = "\
+DEPENDS += "virtual/libiconv"
+
+RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
+RRECOMMENDS_${PN}_libc-glibc = "\
 	glibc-gconv-ibm437 \
 	glibc-gconv-ibm737 \
 	glibc-gconv-ibm775 \
@@ -26,24 +25,22 @@ RRECOMMENDS_${PN} = "\
 	glibc-gconv-ibm866 \
 	glibc-gconv-ibm869 \
 	"
-
-#http://mtools.linux.lu/mtools-${PV}.tar.gz 
-SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \
-	file://mtools-makeinfo.patch \
-	file://mtools.patch \
-	file://no-x11.patch \
-	file://fix-broken-lz.patch \
-"
-
 SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36"
 SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e"
 
-S = "${WORKDIR}/mtools-${PV}"
+#http://mtools.linux.lu/mtools-${PV}.tar.gz 
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \
+           file://mtools-makeinfo.patch \
+           file://mtools.patch \
+           file://no-x11.patch \
+           file://fix-broken-lz.patch"
 
 inherit autotools texinfo
 
 EXTRA_OECONF = "--without-x"
 
+LDFLAGS_append_libc-uclibc = " -liconv "
+
 BBCLASSEXTEND = "native nativesdk"
 
 PACKAGECONFIG ??= ""
@@ -54,3 +51,8 @@ do_install_prepend () {
     mkdir -p ${D}/${bindir}
     mkdir -p ${D}/${datadir}
 }
+
+do_install_append_class-native () {
+    create_wrapper ${D}${bindir}/mcopy \
+        GCONV_PATH=${libdir}/gconv
+}
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtools: keep v3.9.9 recipe in sync with the v4.0.18 version
  2016-01-26 19:14 [PATCH] mtools: keep v3.9.9 recipe in sync with the v4.0.18 version Andre McCurdy
@ 2016-01-27  6:10 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-01-27  6:10 UTC (permalink / raw)
  To: Andre McCurdy; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3290 bytes --]


> On Jan 26, 2016, at 2:14 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> 
> Changes are mostly cosmetic, but also include one important fix
> to support builds using musl libc.

Looks ok. I haven’t fixed the GPL2-only recipes yet.

> 
>  http://git.openembedded.org/openembedded-core/commit/?id=9f5eb272784d3be17e7fe8e7cab511bd4086ba1e
> 
> Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
> ---
> meta/recipes-devtools/mtools/mtools_3.9.9.bb | 36 +++++++++++++++-------------
> 1 file changed, 19 insertions(+), 17 deletions(-)
> 
> diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
> index c284a71..26d52a9 100644
> --- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb
> +++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
> @@ -1,16 +1,15 @@
> -# mtools OE build file
> -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
> -# Released under the MIT license (see packages/COPYING)
> -
> SUMMARY = "Utilities to access MS-DOS disks without mounting them"
> -DESCRIPTION = "Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them."
> +DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
> HOMEPAGE = "http://www.gnu.org/software/mtools/"
> +SECTION = "optional"
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3"
> PR = "r6"
> 
> -RDEPENDS_${PN} = "glibc-gconv-ibm850"
> -RRECOMMENDS_${PN} = "\
> +DEPENDS += "virtual/libiconv"
> +
> +RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
> +RRECOMMENDS_${PN}_libc-glibc = "\
> 	glibc-gconv-ibm437 \
> 	glibc-gconv-ibm737 \
> 	glibc-gconv-ibm775 \
> @@ -26,24 +25,22 @@ RRECOMMENDS_${PN} = "\
> 	glibc-gconv-ibm866 \
> 	glibc-gconv-ibm869 \
> 	"
> -
> -#http://mtools.linux.lu/mtools-${PV}.tar.gz
> -SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \
> -	file://mtools-makeinfo.patch \
> -	file://mtools.patch \
> -	file://no-x11.patch \
> -	file://fix-broken-lz.patch \
> -"
> -
> SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36"
> SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e"
> 
> -S = "${WORKDIR}/mtools-${PV}"
> +#http://mtools.linux.lu/mtools-${PV}.tar.gz
> +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \
> +           file://mtools-makeinfo.patch \
> +           file://mtools.patch \
> +           file://no-x11.patch \
> +           file://fix-broken-lz.patch"
> 
> inherit autotools texinfo
> 
> EXTRA_OECONF = "--without-x"
> 
> +LDFLAGS_append_libc-uclibc = " -liconv "
> +
> BBCLASSEXTEND = "native nativesdk"
> 
> PACKAGECONFIG ??= ""
> @@ -54,3 +51,8 @@ do_install_prepend () {
>     mkdir -p ${D}/${bindir}
>     mkdir -p ${D}/${datadir}
> }
> +
> +do_install_append_class-native () {
> +    create_wrapper ${D}${bindir}/mcopy \
> +        GCONV_PATH=${libdir}/gconv
> +}
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-27  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26 19:14 [PATCH] mtools: keep v3.9.9 recipe in sync with the v4.0.18 version Andre McCurdy
2016-01-27  6:10 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox