Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 266588

Summary: New ebuild for mini-iconv
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: bertrand, chewi, dev-embedded+disabled, embedded, gentoo
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 266591    
Attachments: dev-libs/mini-iconv-0.ebuild
dev-libs/mini-iconv-0.ebuild

Description Bertrand Jacquin 2009-04-17 22:26:53 UTC
mini-iconv is a tiny iconv library that handle "UTF-8", "ASCII", "ISO-8859-1". Coulld be used for embedded devices for example. It's only 5K for shared and 2K for static.

Usefull in cross-compile device using uclibc and software dependant on it (exim for example).

Reproducible: Always
Comment 1 Bertrand Jacquin 2009-04-17 22:28:50 UTC
Created attachment 188740 [details]
dev-libs/mini-iconv-0.ebuild
Comment 2 Ed Wildgoose 2010-06-21 11:41:13 UTC
This looks quite useful, but I think the URLs need updating now?  Just trying to figure out the changes required right now?
Comment 3 Piotr Curious Slawinski 2011-03-11 01:15:10 UTC
http://bugs.gentoo.org/attachment.cgi?id=145927

this patch also has few defunct url's but some of them still work.

perhaps mirroring those links would be good idea? it seems quite rarely used stuff and it's not huge...
Comment 4 Bertrand Jacquin 2011-07-28 19:23:45 UTC
Created attachment 281331 [details]
dev-libs/mini-iconv-0.ebuild

Here is a refreshed ebuild
Comment 5 Ed Wildgoose 2011-07-28 19:43:49 UTC
Thanks

Note also that uclibc latest (.32?) seems to have working iconv support builtin, although it requires some patch that you can find on the uclibc mailing list in order to build locales *under* uclibc build root (rather than using a glibc build root)

I tried a minimal build using a single locale and I think it added something like 50KB to the build (which is ok for *my* needs)

Worth a look perhaps?  

I am not sure if it's possible to say build uclibc with iconv, but no locale (for smaller size)?
Comment 6 Bertrand Jacquin 2011-07-28 20:06:10 UTC
Yes it provide iconv as a binary, not a lib or I mischeck ? Is that patch needed to build libiconv.so ?