diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/libidn | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-extended/libidn')
5 files changed, 140 insertions, 0 deletions
diff --git a/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch b/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch new file mode 100644 index 0000000000..3476bb9596 --- /dev/null +++ b/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Upstream-Status: Inappropriate | ||
2 | |||
3 | automake 1.12.x has deprecated AM_PROG_MKDIR_P , and throws a warning for that, | ||
4 | and the warnings are treated as errors because of the -Werror parameter. | ||
5 | |||
6 | These AM_PROG_MKDIR_P are coming from gettext, and the latest gettext code has not | ||
7 | eliminated these deprecated macros yet. So disable the treatment of warnings | ||
8 | as errors until gettext is updated to remove the deprecated macros. | ||
9 | |||
10 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
11 | 2012/07/10 | ||
12 | |||
13 | Index: libidn-1.24/configure.ac | ||
14 | =================================================================== | ||
15 | --- libidn-1.24.orig/configure.ac | ||
16 | +++ libidn-1.24/configure.ac | ||
17 | @@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 2002-2011 Si | ||
18 | AC_CONFIG_AUX_DIR([build-aux]) | ||
19 | AC_CONFIG_MACRO_DIR([m4]) | ||
20 | AC_CONFIG_HEADERS(config.h) | ||
21 | -AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) | ||
22 | +AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
23 | AM_SILENT_RULES([yes]) | ||
24 | |||
25 | # Library code modified: REVISION++ | ||
diff --git a/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch b/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch new file mode 100644 index 0000000000..0863530f29 --- /dev/null +++ b/meta/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurdd libidn-1.26/doc/Makefile.am libidn-1.26/doc/Makefile.am | ||
5 | --- libidn-1.26/doc/Makefile.am 2012-09-18 11:25:45.000000000 +0300 | ||
6 | +++ libidn-1.26/doc/Makefile.am 2013-02-08 07:41:24.591431462 +0200 | ||
7 | @@ -49,15 +49,9 @@ | ||
8 | |||
9 | # Man pages. | ||
10 | |||
11 | -dist_man_MANS = idn.1 $(gdoc_MANS) | ||
12 | +dist_man_MANS = $(gdoc_MANS) | ||
13 | MAINTAINERCLEANFILES = $(dist_man_MANS) | ||
14 | |||
15 | -idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo \ | ||
16 | - $(top_srcdir)/configure.ac | ||
17 | - $(HELP2MAN) \ | ||
18 | - --name="Internationalized Domain Names command line tool" \ | ||
19 | - --output=$@ $(top_builddir)/src/idn$(EXEEXT) | ||
20 | - | ||
21 | # GDOC | ||
22 | |||
23 | GDOC_BIN = $(srcdir)/gdoc | ||
diff --git a/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch b/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..20afd257be --- /dev/null +++ b/meta/recipes-extended/libidn/libidn/libidn_fix_for_automake-1.12.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | This patch fixes following issue with automake 1.12 | ||
4 | |||
5 | | automake: warnings are treated as errors | ||
6 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libidn.la': linking libtool libraries using a non-POSIX | ||
7 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' | ||
8 | |||
9 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
10 | 2012/05/03 | ||
11 | |||
12 | Index: libidn-1.24/configure.ac | ||
13 | =================================================================== | ||
14 | --- libidn-1.24.orig/configure.ac | ||
15 | +++ libidn-1.24/configure.ac | ||
16 | @@ -34,6 +34,10 @@ AC_SUBST(LT_CURRENT, 17) | ||
17 | AC_SUBST(LT_REVISION, 7) | ||
18 | AC_SUBST(LT_AGE, 6) | ||
19 | |||
20 | +# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it | ||
21 | +m4_pattern_allow([AM_PROG_AR]) | ||
22 | +AM_PROG_AR | ||
23 | + | ||
24 | AC_PROG_CC | ||
25 | gl_EARLY | ||
26 | lgl_EARLY | ||
diff --git a/meta/recipes-extended/libidn/libidn_0.6.14.bb b/meta/recipes-extended/libidn/libidn_0.6.14.bb new file mode 100644 index 0000000000..ff8d345ccb --- /dev/null +++ b/meta/recipes-extended/libidn/libidn_0.6.14.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "Internationalized Domain Name support library" | ||
2 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." | ||
3 | HOMEPAGE = "http://www.gnu.org/software/libidn/" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | ||
7 | file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
8 | file://lib/idna.h;beginline=6;endline=18;md5=1336e848ca7b8e25767c3c7e8fa38a89 \ | ||
9 | file://src/idn.c;beginline=6;endline=18;md5=56c89e359652a71cda128d75f0ffdac4" | ||
10 | PR = "r1" | ||
11 | |||
12 | inherit pkgconfig autotools gettext texinfo | ||
13 | |||
14 | SRC_URI = "http://alpha.gnu.org/gnu/libidn/${BPN}-${PV}.tar.gz" | ||
15 | |||
16 | SRC_URI[md5sum] = "040f012a45feb56168853998bb87ad4d" | ||
17 | SRC_URI[sha256sum] = "98910c2ad664bdf4eed2c2fff88e24f8882636ec9d26669366ff03b469c05ae3" | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | # this version of libidn copies AC_USE_SYSTEM_EXTENSIONS from | ||
21 | # autoconf CVS because atm the autoconf it uses is a bit old | ||
22 | # now with cross autotool, that macro is already there and this | ||
23 | # local definition causes circular dependency. Actually AC_GNU_SOURCE | ||
24 | # is identical to AC_USE_SYSTEM_EXTENSIONS. So remove all local | ||
25 | # references to the latter here. | ||
26 | sed -i -e "/AC_REQUIRE(\[gl_USE_SYSTEM_EXTENSIONS/d" ${S}/lib/gl/m4/gnulib-comp.m4 | ||
27 | rm -f ${S}/lib/gl/m4/extensions.m4 | ||
28 | } | ||
29 | |||
30 | do_install_append() { | ||
31 | rm -rf ${D}${libdir}/Libidn.dll | ||
32 | } | ||
diff --git a/meta/recipes-extended/libidn/libidn_1.29.bb b/meta/recipes-extended/libidn/libidn_1.29.bb new file mode 100644 index 0000000000..04b534474d --- /dev/null +++ b/meta/recipes-extended/libidn/libidn_1.29.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Internationalized Domain Name support library" | ||
2 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." | ||
3 | HOMEPAGE = "http://www.gnu.org/software/libidn/" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "(LGPLv2.1+ | LGPLv3) & GPLv3+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b35f8839295dd730a55f1a19ec086217 \ | ||
7 | file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \ | ||
8 | file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | ||
9 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
10 | file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
11 | file://lib/idna.h;endline=21;md5=61a0e126c0c5552290d9bfa57e407dd6 \ | ||
12 | file://src/idn.c;endline=20;md5=3f55c28bede16bd7b1244be73067d195" | ||
13 | |||
14 | inherit pkgconfig autotools gettext texinfo | ||
15 | |||
16 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ | ||
17 | file://libidn_fix_for_automake-1.12.patch \ | ||
18 | file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \ | ||
19 | file://dont-depend-on-help2man.patch \ | ||
20 | " | ||
21 | |||
22 | SRC_URI[md5sum] = "2b67bb507207af379f9461e1307dc84b" | ||
23 | SRC_URI[sha256sum] = "fb82747dbbf9b36f703ed27293317d818d7e851d4f5773dedf3efa4db32a7c7c" | ||
24 | |||
25 | # command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 | ||
26 | # so package command into a separate package | ||
27 | PACKAGES =+ "idn" | ||
28 | FILES_idn = "${bindir}/*" | ||
29 | |||
30 | EXTRA_OECONF = "--disable-csharp" | ||
31 | |||
32 | do_install_append() { | ||
33 | rm -rf ${D}${datadir}/emacs | ||
34 | } | ||