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
1 On 31/08/2011 13:16, Jude Pereira wrote:
2 > I do have the time to give the uclibc profile in portage a good kick.
3 > I'm very much into this as I'm working with uclibc toolchains under
4 > the x86 mainly.
5 >
6 > I'll make an ebuild for the new one, and test it out.
7
8 I didn't need to do much more than trim out all the old patches and bump
9 the ebuild. Just to give a heads up, here are my main changes for
10 iconv/locales:
11
12
13 --- /usr/portage/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild
14 2011-04-20 19:31:26.000000000 +0100
15 +++ /usr/local/portage/sys-libs/uclibc/uclibc-0.9.33_pre20110617.ebuild
16 2011-06-23 19:43:24.000000000 +0100
17 @@ -170,6 +173,10 @@
18 epatch "${WORKDIR}"/patch
19 fi
20
21 + epatch "${FILESDIR}"/${PN}-${PV}-clean.patch
22 + epatch "${FILESDIR}"/gen_wc8bit.patch
23 + epatch "${FILESDIR}"/gen_wctype.patch
24 +
25 sed -i 's:getline:get_line:' extra/scripts/unifdef.c #277186
26
27 ########## CPU SELECTION ##########
28 @@ -305,6 +312,14 @@
29 cp .config myconfig
30
31 emake -s clean > /dev/null || die "could not clean"
32 +
33 + # TODO: These should depend on some useflag, eg iconv
34 + # Run after make clean, otherwise files removed
35 + find ./extra/locale/charmaps -name "*.pairs" >
36 extra/locale/codesets.txt
37 + #cp ./extra/locale/LOCALES ./extra/locale/locales.txt
38 + cp "${FILESDIR}"/locales.txt ./extra/locale/locales.txt
39 + # TODO: Now edit locales as appropriate...
40 + # FIXME: ...
41 }
42
43
44 Also, not sure I remember why, but I have this change...
45
46 -IUSE="build uclibc-compat debug hardened ssp ipv6 minimal wordexp
47 crosscompile_opts_headers-only"
48 +IUSE="build elibc_uclibc uclibc-compat debug hardened ssp ipv6 minimal
49 wordexp crosscompile_opts_headers-only"
50
51
52
53 The missing patch files are attached (note the _clean_ is not needed on
54 recent git). Note the gen_wc patches should be credited/copyrighted to
55 the chap whos name I forget on the uclibc list who posted them about Feb
56 this year?
57
58 Bit of a mess, but hopefully helpful?
59
60 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>