View previous topic :: View next topic |
Author |
Message |
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Aug 25, 2014 8:33 am Post subject: are all these linguas going to be merged in chrome ? |
|
|
Code: | Calculating dependencies... done!
[ebuild N ~] www-client/google-chrome-36.0.1985.143_p1 USE="plugins" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" 47,290 kB
Total: 1 package (1 new), Size of downloads: 47,290 kB
Would you like to merge these packages? [Yes/No] |
i don't want any of the linguas shown
how do i set only en_US only ?
Code: | # /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# <locale> <charmap>
#
# Where <locale> is a locale located in /usr/share/i18n/locales/ and
# where <charmap> is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you. After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.
en_US ISO-8859-1
en_US.UTF-8 UTF-8
|
this is my locale.gen _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Aug 25, 2014 8:58 am Post subject: |
|
|
Did you set LINGUAS in make.conf? If so, what is the output of Code: | $ portageq envvar LINGUAS | ? |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Aug 25, 2014 9:05 am Post subject: |
|
|
Code: | tux ramaswamy # portageq envvar LINGUAS
tux ramaswamy #
|
Code: |
# profile used for building.
USE=" gtk multilib networkmanager xgnome qt4 -kde dvd alsa cdr mmx sse sse2"
MAKEOPTS="-j3"
VIDEO_CARDS="radeon vmware fglrx vesa"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_ELOG_CLASSES="warn error info log qa"
PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5"
# ACCEPT_KEYWORDS="~amd64 ~x86"
FEATURES="-userfetch"
# Set PORTDIR for backward compatibility with various tools:
# gentoo-bashcomp - bug #478444
# euse - bug #474574
# euses and ufed - bug #478318
PORTDIR="/usr/portage"
#PORTDIR_OVERLAY="/usr/local/portage"
#source /var/lib/layman/make.conf
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
|
that is all in my make.conf
there is no linguas line
how should i incorporate it ? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Aug 25, 2014 10:02 am Post subject: |
|
|
Adding /etc/portage/make.conf wrote: | LINGUAS="en" | should be enough. |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Tue Aug 26, 2014 2:37 am Post subject: |
|
|
I dunno. Awhile ago, LINGUAS="en" was commented out in my make.confs. I forget now and why I didn't document that decision. In part because I got tired of sifting through many ebuilds messages complaining about no such LINGUAS 'en' being available.
This topic and its confusion and ambiguity came up in the past. My experience has been the same as the OP in that past post.
Instead I just have
Code: | LANG="en_US.UTF-8"
LC_COLLATE="C" |
In my /etc/env.d/02locale
I believe in the case of chromium, all the languages are bundled with by default (and therefore the USE variables forced on by default). The unmatched/unwanted languages are/were stripped out via a specialized eclass function just for this purpose (re: _chromium_set_linguas_IUSE()), presuming that is still used that unbundles whatever doesn't match your LINGUAS setting.
Doing a quick # LINGUAS="en" emerge -pv chromium confirm test does strip out the extra languages, but you may run into the annoyances with other packages with warning messages. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Aug 26, 2014 7:06 am Post subject: |
|
|
I don't know if in your case it would help, but LINGUAS can have as many values as you wish, which in case you are proficient with more than one language can help mitigate that problem.
I agree however that the behavior of the whole LINGUAS thing is a bit annoying at times. It should just silently default to a sane default if no matching LINGUAS is available for that package.
Code: |
# grep LINGUAS /etc/portage/make.conf
LINGUAS="en en_GB en_US es es_ES"
|
|
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Tue Aug 26, 2014 7:16 am Post subject: |
|
|
Code: | tux ramaswamy # LINGUAS="en" emerge -pv chromium
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-libs/re2-0_p20130115 998 kB
[ebuild N ] dev-libs/jsoncpp-0.5.0-r1 USE="-doc" 105 kB
[ebuild N ] dev-util/re2c-0.13.5-r1 765 kB
[ebuild N ] media-sound/gsm-1.0.13-r1 ABI_X86="(64) (-32) (-x32)" 64 kB
[ebuild N ] dev-util/ninja-1.4.0 USE="-doc -emacs {-test} -vim-syntax -zsh-completion" 149 kB
[ebuild N ] dev-python/simplejson-3.3.0 PYTHON_TARGETS="python2_7 (-pypy) -python3_3" 66 kB
[ebuild N ] dev-perl/JSON-2.590.0-r1 83 kB
[ebuild N ] dev-libs/dotconf-1.3 326 kB
[ebuild R ] dev-libs/libxml2-2.9.1-r4:2 USE="icu* ipv6 python readline -debug -examples -lzma -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7 python3_2 -python3_3 (-python3_4) (-python2_6%)" 0 kB
[ebuild N ] app-arch/snappy-1.1.1 USE="-static-libs" 1,737 kB
[ebuild N ] media-sound/sox-14.4.1 USE="alsa openmp -amr -ao -debug -encode -ffmpeg -flac -id3tag -ladspa -mad -ogg -oss -png -pulseaudio -sndfile -static-libs -twolame -wavpack" 1,086 kB
[ebuild N ] app-accessibility/espeak-1.47.11-r1 USE="-portaudio -pulseaudio" 2,748 kB
[ebuild N ] app-accessibility/speech-dispatcher-0.8-r2 USE="alsa espeak -ao -flite -nas -pulseaudio -python -static-libs" PYTHON_TARGETS="python3_2 -python3_3" 1,201 kB
[ebuild N ] www-client/chromium-36.0.1985.143 USE="tcmalloc -bindist -cups -custom-cflags -gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) {-test}" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 200,642 kB
Total: 14 packages (13 new, 1 reinstall), Size of downloads: 209,964 kB
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by www-client/chromium-36.0.1985.143
# required by chromium (argument)
>=dev-libs/libxml2-2.9.1-r4 icu
!!! The following installed packages are masked:
- gnome-extra/gucharmap-3.0.1-r200::gentoo (masked by: package.mask)
/etc/portage/package.mask:
# x11-drivers/ati-drivers
# =net-libs/webkit-gtk-2.2.5-r200
# =sys-devel/gcc-4.8.2
# Core Applications
# Extra Applications
- gnome-base/gsettings-desktop-schemas-3.8.2::gentoo (masked by: package.mask)
/etc/portage/package.mask:
# x11-drivers/ati-drivers
# =net-libs/webkit-gtk-2.2.5-r200
- sys-power/gtk-cpuspeedy-0.3.0-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (27 Jul 2014)
# Dead for ages, segfaults at start (#486458).
# Removal in a month.
- net-libs/webkit-gtk-2.2.6-r200::gentoo (masked by: package.mask)
- dev-libs/totem-pl-parser-3.4.5::gentoo (masked by: package.mask)
/etc/portage/package.mask:
# x11-drivers/ati-drivers
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
tux ramaswamy #
|
Code: | tux ramaswamy # LINGUAS="en" emerge -pv google-chrome
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ~] www-client/google-chrome-36.0.1985.143_p1 USE="plugins" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 47,290 kB
Total: 1 package (1 new), Size of downloads: 47,290 kB
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
tux ramaswamy #
|
now i am more confused.
are these two different packages ? google-crome chromium
what about the plugins ? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Aug 26, 2014 7:17 am Post subject: |
|
|
Navar wrote: | ... but you may run into the annoyances with other packages with warning messages. | You could check by running Code: | $ equery h linguas_en_GB
$ equery h linguas_en_US
$ equery h linguas_en
$ equery h linguas_en_ZA | Thunderbird and Firefox are not having linguas_en but only linguas_en_GB. Nevertheless LINGUAS="en" in make.conf is enough for them unless you definitely want en_GB. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Aug 26, 2014 7:18 am Post subject: |
|
|
Chromium is the development open source branch.
Chrome is the binary-distributed package, as Google releases it, and might include privative software embedded. Did you wander sometime why you don't need the flash plugin or the pdf plugin to see those contents in Chrome? That's why. |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Tue Aug 26, 2014 7:43 am Post subject: |
|
|
Code: | >>> Installing (1 of 1) www-client/google-chrome-36.0.1985.143_p1
* >>> SetUID: [chmod go-r] /opt/google/chrome/chrome-sandbox ... [ ok ]
* Updating desktop mime database ...
* Updating icons cache ... [ ok ]
*
* Some web pages may require additional fonts to display properly.
* Try installing some of the following packages if some characters
* are not displayed properly:
* - media-fonts/arphicfonts
* - media-fonts/bitstream-cyberbit
* - media-fonts/droid
* - media-fonts/ipamonafont
* - media-fonts/ja-ipafonts
* - media-fonts/takao-fonts
* - media-fonts/wqy-microhei
* - media-fonts/wqy-zenhei
*
* Depending on your desktop environment, you may need
* to install additional packages to get icons on the Downloads page.
*
* For KDE, the required package is kde-base/oxygen-icons.
*
* For other desktop environments, try one of the following:
* - x11-themes/gnome-icon-theme
* - x11-themes/tango-icon-theme
*
* Please notice the bundled flash player (PepperFlash).
* You can (de)activate all flash plugins via chrome://plugins
*
* (Note: Above message is only printed the first time package is
* installed. Please look at /usr/share/doc/google-chrome-36.0.1985.143_p1/README.gentoo*
* for future reference)
>>> Recording www-client/google-chrome in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
tux ramaswamy #
|
it merged with the above message. i was going for this browser for the built n flash player as i get shockwave crashes in browsers..
the change in make.conf may bring lot of reinstalls perhaps.
i will check todays update.
thanks for all replies and pointers. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Sat Sep 06, 2014 2:17 am Post subject: |
|
|
@OP, Whoops. Sorry my mistake (typo) regarding the google-chrome vs chromium confusion. i92guboj summed up the differences for you. They are essentially the same browser, without the Google specific flourishes in Chromium. |
|
Back to top |
|
|
cjubon Guru
Joined: 03 Jul 2007 Posts: 450 Location: Vienna/Europe
|
Posted: Sun Nov 30, 2014 9:35 am Post subject: |
|
|
@ i92guboj: you can also emerge chromium (the source code ebuild) and additionally install www-plugins/chrome-binary-plugins in order to get flash support.
@i92guboj and padoor: as for other packages where a binary equivalent exists (libreoffice, libreoffice-bin, firefox, firefox-bin ...), when you install chromium instead of google-chrome you'll have more choice (USE-flags), but compiling is not a snap. Calculate 3 hours on a quad-core @ 3 GHz, 10 hours on a dual core @ 1,9 GHz .
@padoor: locale.gen & Co. are for the localization of your shell; the LINGUAS variable determines which additional localization packages will be pulled in or activated when you install a certain application. E.g. localized help for kde or libreoffice, localized man-pages, etc. You usually don't need to specify linguas_en, because it's the default (US-english), but there are exceptions (e.g. texlive).
Further, you can specify LINGUAS in /etc/portage/make.conf as pointed out by charles17, or instead on a per package basis in /etc/portage/package.use/my_package, e.g.: Code: | app-text/texlive-2014 linguas_en linguas_en_GB linguas_de linguas_fa linguas_sa_IN | because I want to typeset sanskrit and farsi poems along with a german translation (or whatever a philologist would like to do), but I do not want to read my man-pages in sanskrit or farsi or even german ).
As to chromium, the additional linguas variables add spell checking and possibly hyphenation for typing text in web forms, but don't affect desktop integration (menus etc.).
@padoor:
Quote: | the change in make.conf may bring lot of reinstalls perhaps |
After adding a LINGUAS variable into /etc/portage/make.conf, I'd emerge -uDNpv world and see what would happen. However, this is exactly the reason why you would put your linguas into a /etc/portage/package.use file.
@padoor again:
recommended reading: https://wiki.gentoo.org/wiki/Localization/HOWTO#LINGUAS
regards,
cjubon _________________ Mandrake Dec 2001 · Debian "Woody" Aug 2002 · Gentoo Jan 2004 · Funtoo Oct 2009 |
|
Back to top |
|
|
|