Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Ed W <lists@...>
Subject: Re: stages for x86 uclibc
Date: Wed, 31 Aug 2011 16:19:31 +0100
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


Attachment:
binS95iIQ0pxD.bin (application/applefile)
Attachment:
gen_wc8bit.patch (Binary data)
Attachment:
binrg1RZ0th6I.bin (application/applefile)
Attachment:
uclibc-0.9.33_pre20110617-clean.patch (Binary data)
# First some @modifier mappings.  Internally, the modifier is signaled by
# replacing '_' in the locale name with a unique identifying character.
# For example, internally we map "ca_ES@euro" to "caeES".  This allows for
# smaller code and easier processing of locale names.

@euro e
@cyrillic c

#---------------------------------------------------------------------------
# Next, set to {y}es to enable and {n}o to disable the UTF-8 and the 8-bit
# codeset locales.  Of course, you must have built the c8tables.h and
# the wctables.h files appropriately.


UTF-8 yes
8-BIT yes

#---------------------------------------------------------------------------
# Now the locales

en_GB ISO-8859-1
en_GB.UTF-8 UTF-8

Attachment:
binPKMWFii3yu.bin (application/applefile)
Attachment:
gen_wctype.patch (Binary data)
Replies:
Re: stages for x86 uclibc
-- Jude Pereira
References:
stages for x86 uclibc
-- Jude Pereira
Re: stages for x86 uclibc
-- Ed W
Re: stages for x86 uclibc
-- Jude Pereira
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: stages for x86 uclibc
Next by thread:
Re: stages for x86 uclibc
Previous by date:
Re: stages for x86 uclibc
Next by date:
Re: ARM summit at Plumbers 2011


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.