Gentoo Archives: gentoo-embedded

From: Ed W <lists@××××××××××.com>
To: gentoo-embedded@l.g.o
Cc: judebpereira@×××××.com
Subject: Re: [gentoo-embedded] stages for x86 uclibc
Date: Wed, 31 Aug 2011 15:20:13
Message-Id: 4E5E5103.9060206@wildgooses.com
In Reply to: Re: [gentoo-embedded] stages for x86 uclibc by Jude Pereira
On 31/08/2011 13:16, Jude Pereira wrote:
> I do have the time to give the uclibc profile in portage a good kick. > I'm very much into this as I'm working with uclibc toolchains under > the x86 mainly. > > I'll make an ebuild for the new one, and test it out.
I didn't need to do much more than trim out all the old patches and bump the ebuild. Just to give a heads up, here are my main changes for iconv/locales: --- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild 2011-04-20 19:31:26.000000000 +0100 +++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild 2011-06-23 19:43:24.000000000 +0100 @@ -170,6 +173,10 @@ epatch "${WORKDIR}"/patch fi + epatch "${FILESDIR}"/${PN}-${PV}-clean.patch + epatch "${FILESDIR}"/gen_wc8bit.patch + epatch "${FILESDIR}"/gen_wctype.patch + sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186 ########## CPU SELECTION ########## @@ -305,6 +312,14 @@ cp .config myconfig emake -s clean > /dev/null || die "could not clean" + + # TODO: These should depend on some useflag, eg iconv + # Run after make clean, otherwise files removed + find ./extra/locale/charmaps -name "*.pairs" > extra/locale/codesets.txt + #cp ./extra/locale/LOCALES ./extra/locale/locales.txt + cp "${FILESDIR}"/locales.txt ./extra/locale/locales.txt + # TODO: Now edit locales as appropriate... + # FIXME: ... } Also, not sure I remember why, but I have this change... -IUSE="build uclibc-compat debug hardened ssp ipv6 minimal wordexp crosscompile_opts_headers-only" +IUSE="build elibc_uclibc uclibc-compat debug hardened ssp ipv6 minimal wordexp crosscompile_opts_headers-only" The missing patch files are attached (note the _clean_ is not needed on recent git). Note the gen_wc patches should be credited/copyrighted to the chap whos name I forget on the uclibc list who posted them about Feb this year? Bit of a mess, but hopefully helpful? Ed W

Attachments

File name MIME type
gen_wc8bit.patch application/octet-stream
uclibc-0.9.33_pre20110617-clean.patch application/octet-stream
locales.txt text/plain
gen_wctype.patch application/octet-stream

Replies

Subject Author
Re: [gentoo-embedded] stages for x86 uclibc Jude Pereira <judebpereira@×××××.com>