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: binDDeI3r8aBW.bin
Description: application/applefile

Attachment: gen_wc8bit.patch
Description: Binary data

Attachment: binP9cPAZnJmd.bin
Description: application/applefile

Attachment: uclibc-0.9.33_pre20110617-clean.patch
Description: 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: binlV8j4FemDF.bin
Description: application/applefile

Attachment: gen_wctype.patch
Description: Binary data

Reply via email to