[02/16] libidn2: add new version

Message ID 20180727153248.22838-2-ross.burton@intel.com
State Accepted
Commit 2a747138a2945dc12e6f35b2cf64d0e2aad7094f
Headers show
Series
  • [01/16] oeqa/sdk: add test that CMake works
Related show

Commit Message

Ross Burton July 27, 2018, 3:32 p.m.
libidn 1.x is deprecated, add the parallel-installable libidn2.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/libidn/libidn2_2.0.5.bb | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta/recipes-extended/libidn/libidn2_2.0.5.bb

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Khem Raj Aug. 2, 2018, 6:50 p.m. | #1
On musl

ERROR: libidn2-2.0.5-r0 do_package: QA Issue: libidn2:
Files/directories were installed but not shipped in any package:
  /usr/lib/charset.alias
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within
do_install.
libidn2: 1 installed and not shipped files. [installed-vs-shipped]
On Fri, Jul 27, 2018 at 8:33 AM Ross Burton <ross.burton@intel.com> wrote:
>

> libidn 1.x is deprecated, add the parallel-installable libidn2.

>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>  meta/recipes-extended/libidn/libidn2_2.0.5.bb | 23 +++++++++++++++++++++++

>  1 file changed, 23 insertions(+)

>  create mode 100644 meta/recipes-extended/libidn/libidn2_2.0.5.bb

>

> diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb

> new file mode 100644

> index 00000000000..aaf9ecd7e78

> --- /dev/null

> +++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb

> @@ -0,0 +1,23 @@

> +SUMMARY = "Internationalized Domain Name support library"

> +DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group."

> +HOMEPAGE = "http://www.gnu.org/software/libidn/"

> +SECTION = "libs"

> +LICENSE = "(GPLv2+ | LGPLv3) & GPLv3+"

> +LIC_FILES_CHKSUM = "file://COPYING;md5=ab90e75ef97cc6318ce4f2fbda62fe4d \

> +                    file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \

> +                    file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \

> +                    file://src/idn2.c;endline=16;md5=0283aec28e049f5bcaaeee52aa865874 \

> +                    file://lib/idn2.h.in;endline=27;md5=c2cd28d3f87260f157f022eabb83714f"

> +

> +SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"

> +SRC_URI[md5sum] = "eaf9a5b9d03b0cce3760f34b3124eb36"

> +SRC_URI[sha256sum] = "53f69170886f1fa6fa5b332439c7a77a7d22626a82ef17e2c1224858bb4ca2b8"

> +

> +DEPENDS = "virtual/libiconv libunistring"

> +

> +inherit pkgconfig autotools gettext texinfo gtk-doc lib_package

> +

> +LICENSE_${PN} = "(GPLv2+ | LGPLv3)"

> +LICENSE_${PN}-bin = "GPLv3+"

> +

> +BBCLASSEXTEND = "native nativesdk"

> --

> 2.11.0

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
new file mode 100644
index 00000000000..aaf9ecd7e78
--- /dev/null
+++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "Internationalized Domain Name support library"
+DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group."
+HOMEPAGE = "http://www.gnu.org/software/libidn/"
+SECTION = "libs"
+LICENSE = "(GPLv2+ | LGPLv3) & GPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab90e75ef97cc6318ce4f2fbda62fe4d \
+                    file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
+                    file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://src/idn2.c;endline=16;md5=0283aec28e049f5bcaaeee52aa865874 \
+                    file://lib/idn2.h.in;endline=27;md5=c2cd28d3f87260f157f022eabb83714f"
+
+SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "eaf9a5b9d03b0cce3760f34b3124eb36"
+SRC_URI[sha256sum] = "53f69170886f1fa6fa5b332439c7a77a7d22626a82ef17e2c1224858bb4ca2b8"
+
+DEPENDS = "virtual/libiconv libunistring"
+
+inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
+
+LICENSE_${PN} = "(GPLv2+ | LGPLv3)"
+LICENSE_${PN}-bin = "GPLv3+"
+
+BBCLASSEXTEND = "native nativesdk"