From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 07/46] libiconv: update from 1.9.2 -> 1.11.1
Date: Mon, 04 Apr 2011 12:45:30 +0100 [thread overview]
Message-ID: <1301917530.24596.336.camel@rex> (raw)
In-Reply-To: <b99cebc92f8dcab7c4a0128bb5a266672c0bd33d.1301631488.git.raj.khem@gmail.com>
On Thu, 2011-03-31 at 21:28 -0700, Khem Raj wrote:
> 1.11.1 was the last LGPLv2 release
> shared_preloadable_libiconv_linux.patch is needed to make libtool 2.4
> happy
>
> Autoconf patch is similarly made to point m4 directory and update to
> newer autoconf
There is no header on these patches saying where the patches came from
and what they're for :(
Cheers,
Richard
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../libiconv/libiconv-1.11.1/autoconf.patch | 42 ++++++++++++++++++++
> .../shared_preloadable_libiconv_linux.patch | 16 +++++++
> meta/recipes-support/libiconv/libiconv_1.11.1.bb | 30 ++++++++++++++
> meta/recipes-support/libiconv/libiconv_1.9.2.bb | 21 ----------
> 4 files changed, 88 insertions(+), 21 deletions(-)
> create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch
> create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch
> create mode 100644 meta/recipes-support/libiconv/libiconv_1.11.1.bb
> delete mode 100644 meta/recipes-support/libiconv/libiconv_1.9.2.bb
>
> diff --git a/meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch b/meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch
> new file mode 100644
> index 0000000..377521b
> --- /dev/null
> +++ b/meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch
> @@ -0,0 +1,42 @@
> +Index: libiconv-1.11.1/configure.ac
> +===================================================================
> +--- libiconv-1.11.1.orig/configure.ac
> ++++ libiconv-1.11.1/configure.ac
> +@@ -23,7 +23,7 @@ AC_CONFIG_AUX_DIR(build-aux)
> + AM_INIT_AUTOMAKE(libiconv, 1.11)
> + AC_CONFIG_HEADERS(config.h lib/config.h)
> + AC_PROG_MAKE_SET
> +-
> ++AC_CONFIG_MACRO_DIR([m4])
> + dnl checks for basic programs
> +
> + AC_PROG_CC
> +Index: libiconv-1.11.1/libcharset/configure.ac
> +===================================================================
> +--- libiconv-1.11.1.orig/libcharset/configure.ac
> ++++ libiconv-1.11.1/libcharset/configure.ac
> +@@ -16,17 +16,17 @@ dnl along with the GNU CHARSET Library;
> + dnl write to the Free Software Foundation, Inc., 51 Franklin Street,
> + dnl Fifth Floor, Boston, MA 02110-1301, USA.
> +
> +-AC_PREREQ(2.13)
> ++AC_PREREQ(2.61)
> ++AC_INIT([libcharset],[1.4] )
> ++AC_CONFIG_SRCDIR([lib/localcharset.c])
> +
> +-PACKAGE=libcharset
> +-VERSION=1.4
> +-
> +-AC_INIT(lib/localcharset.c)
> + AC_CONFIG_AUX_DIR(build-aux)
> + AC_CONFIG_HEADER(config.h)
> + AC_PROG_MAKE_SET
> +-AC_SUBST(PACKAGE)
> +-AC_SUBST(VERSION)
> ++dnl AC_SUBST(PACKAGE)
> ++dnl AC_SUBST(VERSION)
> ++
> ++AC_CONFIG_MACRO_DIR([m4])
> +
> + dnl checks for basic programs
> +
> diff --git a/meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch b/meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch
> new file mode 100644
> index 0000000..9f978c3
> --- /dev/null
> +++ b/meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch
> @@ -0,0 +1,16 @@
> +Index: libiconv-1.11.1/lib/Makefile.in
> +===================================================================
> +--- libiconv-1.11.1.orig/lib/Makefile.in
> ++++ libiconv-1.11.1/lib/Makefile.in
> +@@ -70,9 +70,9 @@ preloadable_libiconv.so : preloadable_li
> +
> + preloadable_libiconv_linux.so : $(SOURCES)
> + if test -n "@GCC@"; then \
> +- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
> ++ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \
> + else \
> +- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
> ++ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \
> + fi
> +
> + preloadable_libiconv_solaris.so : $(SOURCES)
> diff --git a/meta/recipes-support/libiconv/libiconv_1.11.1.bb b/meta/recipes-support/libiconv/libiconv_1.11.1.bb
> new file mode 100644
> index 0000000..28c70c8
> --- /dev/null
> +++ b/meta/recipes-support/libiconv/libiconv_1.11.1.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \
> +multiple character encodings, but that support lacks from your system."
> +HOMEPAGE = "http://www.gnu.org/software/libiconv"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8"
> +PROVIDES = "virtual/libiconv"
> +PR = "r0"
> +LICENSE = "LGPL"
> +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
> + file://libcharset/COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
> +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
> + file://autoconf.patch \
> + file://shared_preloadable_libiconv_linux.patch \
> + "
> +
> +SRC_URI[md5sum] = "d42b97f6ef5dd0ba4469d520ed732fed"
> +SRC_URI[sha256sum] = "e78c347a1a0cb15f2648519e9799151f4b4a934b61ad9ee7424478efe2b8257f"
> +
> +S = "${WORKDIR}/libiconv-${PV}"
> +
> +inherit autotools pkgconfig gettext
> +
> +EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable"
> +
> +LEAD_SONAME = "libiconv.so"
> +
> +do_configure_prepend () {
> + rm -f m4/libtool.m4 libcharset/m4/libtool.m4
> +}
> diff --git a/meta/recipes-support/libiconv/libiconv_1.9.2.bb b/meta/recipes-support/libiconv/libiconv_1.9.2.bb
> deleted file mode 100644
> index dac9e3c..0000000
> --- a/meta/recipes-support/libiconv/libiconv_1.9.2.bb
> +++ /dev/null
> @@ -1,21 +0,0 @@
> -DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \
> -multiple character encodings, but that support lacks from your system."
> -HOMEPAGE = "http://www.gnu.org/software/libiconv"
> -SECTION = "libs"
> -PRIORITY = "optional"
> -NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8"
> -PROVIDES = "virtual/libiconv"
> -PR = "r4"
> -LICENSE = "LGPL"
> -SRC_URI = "${GNU_MIRROR}/libiconv/libiconv-${PV}.tar.gz"
> -
> -S = "${WORKDIR}/libiconv-${PV}"
> -
> -inherit autotools pkgconfig
> -
> -EXTRA_OECONF += "--enable-shared --enable-static"
> -
> -do_configure () {
> - rm -f m4/libtool.m4 libcharset/m4/libtool.m4
> - autotools_do_configure
> -}
next prev parent reply other threads:[~2011-04-04 11:47 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 4:28 [PATCH 00/46] Enhance uclibc support Khem Raj
2011-04-01 4:28 ` [PATCH 01/46] sanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control Khem Raj
2011-04-04 11:45 ` Richard Purdie
2011-04-01 4:28 ` [PATCH 02/46] classes: Use virtual/libintl instead of gettext Khem Raj
2011-04-04 11:43 ` Richard Purdie
2011-04-05 2:38 ` Tom Rini
2011-04-01 4:28 ` [PATCH 03/46] classes: Use linux-uclibceabi instead of linux-uclibgnuceabi for os portion of triplet Khem Raj
2011-04-01 4:28 ` [PATCH 04/46] site: Add mips-linux-uclibc site file and add to x86_64-linux-uclibc Khem Raj
2011-04-01 4:28 ` [PATCH 05/46] conf/distro/poky.conf: Use -uclibceabi instead of -uclibgnuceabi Khem Raj
2011-04-01 4:28 ` [PATCH 06/46] recipes: Use -uclibceabi instead of -uclibcgnueabi Khem Raj
2011-04-04 11:46 ` Richard Purdie
2011-04-01 4:28 ` [PATCH 07/46] libiconv: update from 1.9.2 -> 1.11.1 Khem Raj
2011-04-04 11:45 ` Richard Purdie [this message]
2011-04-01 4:28 ` [PATCH 08/46] avahi.inc: Conditionalize RECOMMENDS by using overrides Khem Raj
2011-04-01 4:28 ` [PATCH 09/46] galago: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-01 4:28 ` [PATCH 10/46] telepathy-glib_0.13.6.bb: " Khem Raj
2011-04-01 4:28 ` [PATCH 11/46] console-tools_0.3.2.bb: inherit gettext Khem Raj
2011-04-01 4:28 ` [PATCH 12/46] coreutils_6.9.bb: Remove gettext from DEPENDS Khem Raj
2011-04-01 4:28 ` [PATCH 13/46] gettext_0.17.bb: Use linux-uclibceabi instead of linux-uclibcgnueabi Khem Raj
2011-04-04 11:50 ` Richard Purdie
2011-04-01 4:28 ` [PATCH 14/46] glib-2.0: Inherit gettext should provide right libintl so remove from DEPENDS Khem Raj
2011-04-04 11:52 ` Richard Purdie
2011-04-01 4:28 ` [PATCH 15/46] util-linux.inc: remove virtual/libintl " Khem Raj
2011-04-04 11:57 ` Richard Purdie
2011-04-01 4:28 ` [PATCH 16/46] binutils: Use arm*-*-linux-uclibceabi instead of arm*-*-linux-uclibcgnueabi Khem Raj
2011-04-01 4:29 ` [PATCH 17/46] bison: Make compilable on uclibc Khem Raj
2011-04-01 4:29 ` [PATCH 18/46] diffstat_1.54.bb: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-01 4:29 ` [PATCH 19/46] libpam_1.1.3.bb: Fix compilation on uclibc when innetgr is absent Khem Raj
2011-04-04 11:58 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 20/46] alsa-utils_1.0.23.bb: Remove xmlto requirement Khem Raj
2011-04-04 11:59 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 21/46] liboil_0.3.17.bb: Enable x86_64 unaligned memory access Khem Raj
2011-04-01 4:29 ` [PATCH 22/46] e2fsprogs.inc: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-01 4:29 ` [PATCH 23/46] flex.inc: " Khem Raj
2011-04-04 12:30 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 24/46] elfutils_0.148.bb: Fix compilation issues on uclibc Khem Raj
2011-04-04 12:30 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 25/46] gcc-runtime_4.5.1.bb: Do not filter out -feliminate-dwarf2-dups Khem Raj
2011-04-04 12:36 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 26/46] perl_5.12.2.bb: By defualt undefine features not found in uclibc Khem Raj
2011-04-04 12:36 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 27/46] xorg-proto: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-04 12:36 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 28/46] xorg-lib: " Khem Raj
2011-04-04 12:00 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 29/46] attr: Fix compilation on uclibc Khem Raj
2011-04-04 12:38 ` Richard Purdie
2011-04-01 4:29 ` [PATCH 30/46] sed: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-01 4:29 ` [PATCH 31/46] chkconfig_1.3.49.bb: " Khem Raj
2011-04-01 4:29 ` [PATCH 32/46] libuser_0.57.1.bb: " Khem Raj
2011-04-01 4:29 ` [PATCH 33/46] libzypp_git.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 34/46] xz_5.0.0.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 35/46] gdk-pixbuf_2.22.1.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 36/46] libgdata_0.7.1.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 37/46] popt_1.16.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 38/46] libgpg-error: " Khem Raj
2011-04-01 4:30 ` [PATCH 39/46] clutter.inc: " Khem Raj
2011-04-01 4:30 ` [PATCH 40/46] libxcb.inc: Replace XCBPROTO_XCBPYTHONDIR to point to staging area Khem Raj
2011-04-01 4:30 ` [PATCH 41/46] util-macros_1.11.0.bb: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-01 4:30 ` [PATCH 42/46] gstreamer_0.10.31.bb: " Khem Raj
2011-04-01 4:30 ` [PATCH 43/46] gnutls.inc: " Khem Raj
2011-04-01 4:30 ` [PATCH 44/46] libcap.inc: Pass SYSTEM_HEADERS to make Khem Raj
2011-04-01 4:30 ` [PATCH 45/46] libexif_0.6.16.bb: inherit gettext class instead of adding gettext to DEPENDS directly Khem Raj
2011-04-04 12:43 ` Richard Purdie
2011-04-01 4:30 ` [PATCH 46/46] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc Khem Raj
2011-04-03 23:46 ` Khem Raj
2011-04-04 12:49 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301917530.24596.336.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox