Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] virtual/libintl and virtual/iconv
Date: Fri, 06 May 2005 22:35:09
Message-Id: 200505070032.42058@enterprise.flameeyes.is-a-geek.org
1 That's another discussion birth from G/FreeBSD problems :)
2
3 First of all, a bit of introduction on what libintl and iconv are supposed to
4 mean:
5
6 - libintl is a library which takes care of providing i18n support at runtime
7 in applications. This is provided by glibc and probably uclibc on Linux
8 systems.
9 - iconv() is a system function which provides charset conversions to programs.
10 This is provided by glibc and uclibc probably, and by other libcs in other
11 systems (aix?). *BSD libcs doesn't provide it directly, and some programs
12 depends on GNU's implementation. For that, libiconv package was created and
13 currently is used by G/FBSD systems.
14
15 Now, many ebuilds needs to add to their dependency libiconv and gettext (to
16 RDEPEND not just DEPEND) when they aren't used in glibc/uclibc systems.
17 As this is nasty to add, a solution could be to create two more virtuals,
18 provided by glibc and uclibc on Linux systems and by profile on OSX (at least
19 for libiconv I think it's already in place), and provided also by gettext and
20 libiconv in G/Fbsd (for example).
21
22 How good this solution can be?
23
24 --
25 Diego "Flameeyes" Pettenò
26 Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
27
28 http://dev.gentoo.org/~flameeyes/

Replies

Subject Author
Re: [gentoo-dev] virtual/libintl and virtual/iconv Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] virtual/libintl and virtual/iconv Ciaran McCreesh <ciaranm@g.o>