Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice

2010-08-19 Thread Mick
On Thursday 19 August 2010 05:01:45 Frank Steinmetzger wrote:
 Am Mittwoch, 18. August 2010 schrieb Mick:
  On Wednesday 18 August 2010 19:58:14 Frank Steinmetzger wrote:
Just adding to this, the £ sign works fine on the console.  It is the
X applications (including terminals) that seem to have the problem
with the '£' sign.
   
   I assume you use KDE because you mention KMail. What have you set in
   KDE’s keyboard layout (Personal - Regional Settings)? (Or if not KDE,
   then in $your_DE’s settingss)
  
  Yes, this box is running KDE.
  
  The regional settings show United Kingdom.
 
 Hm.. either here’s a misunderstanding or you looked at the wrong place
 (because in Regional Settings, there is also a tab with Region in its
 name). I meant the active layout in the Keyboard Layout tab, where you
 have dozens of countries to chose from and where you can enable/disable
 the display of a flag in the tray area. Did you mean that one?

Ah! Yes, I have 'United Kingdom' in active keyboard layouts too.  It also 
shows keyboard model: Generic 104-key PC and Command: setxkbmap -model pc104 -
layout gb.

I suspect that this problem is related to the fact that I do not have a 
xorg.conf setting to change the keyboard from the default US to UK and I 
cannot set a hal/fdi file in /etc because I lose the keyboard completely in 
kdm and cannot login (the infamous 'Dale' bug ...!)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] networkmanager cannot connect to wireless network.

2010-08-19 Thread liu shukui
Hi, all

after I upgraded net-misc/networkmanager-0.8.1-r3, I cannot connect to
my wireless ap.  here is some debug infomation.

How can I fix it?
tux ~ # /usr/sbin/NetworkManager  --no-daemon
NetworkManager[6653]: info NetworkManager (version 0.8.1) is starting...
NetworkManager[6653]: info Read config file
/etc/NetworkManager/nm-system-settings.conf
NetworkManager[6653]: info modem-manager is now available
NetworkManager[6653]:SCPlugin-Ifnet: Initializing!
NetworkManager[6653]:SCPlugin-Ifnet: management mode: managed
NetworkManager[6653]:SCPlugin-Ifnet: Monitoring /etc/conf.d/hostname
NetworkManager[6653]:SCPlugin-Ifnet: Monitoring /etc/conf.d/net
NetworkManager[6653]:SCPlugin-Ifnet: Can't open
/etc/wpa_supplicant/wpa_supplicant.conf for wireless security
NetworkManager[6653]:SCPlugin-Ifnet: Loading connections
NetworkManager[6653]:SCPlugin-Ifnet: guessed connection type
(wlan0) = 802-11-wireless
NetworkManager[6653]:SCPlugin-Ifnet:
update_connection_setting_from_config_block: name:wlan0, id:System
(wlan0), uuid: bc78c09a-4c5c-6789-0a97-7566d33b64fe
NetworkManager[6653]:SCPlugin-Ifnet: wireless_setting added for wlan0
NetworkManager[6653]:SCPlugin-Ifnet: Using DHCP for wlan0
NetworkManager[6653]:SCPlugin-Ifnet: Connection verified wlan0:1
NetworkManager[6653]:SCPlugin-Ifnet: Initialzation complete!
NetworkManager[6653]: info Loaded plugin ifnet: (C) 1999-2010 Gentoo
Foundation, Inc. To report bugs please use bugs.gentoo.org with
[networkmanager] or [dagger] prefix.
NetworkManager[6653]: info Loaded plugin keyfile: (c) 2007 - 2008
Red Hat, Inc.  To report bugs please use the NetworkManager mailing
list.
NetworkManager[6653]:SCPlugin-Ifnet: getting unmanaged specs...
NetworkManager[6653]:SCPlugin-Ifnet: (135164856) ... get_connections.
NetworkManager[6653]:SCPlugin-Ifnet: (135164856) connections count: 1
NetworkManager[6653]: Ignoring insecure configuration file
'/etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0'
NetworkManager[6653]:SCPlugin-Ifnet: getting unmanaged specs...
NetworkManager[6653]: info WiFi enabled by radio killswitch; enabled
by state file
NetworkManager[6653]: info WWAN enabled by radio killswitch; enabled
by state file
NetworkManager[6653]: info WiMAX enabled by radio killswitch;
enabled by state file
NetworkManager[6653]: info Networking is enabled by state file
NetworkManager[6653]: info (eth0): carrier is OFF
NetworkManager[6653]: info (eth0): new Ethernet device (driver:
'e1000e' ifindex: 2)
NetworkManager[6653]: info (eth0): exported as
/org/freedesktop/NetworkManager/Devices/0
NetworkManager[6653]: info (eth0): now managed
NetworkManager[6653]: info (eth0): device state change: 1 - 2 (reason 2)
NetworkManager[6653]: info (eth0): bringing up device.
NetworkManager[6653]: info (eth0): preparing device.
NetworkManager[6653]: info (eth0): deactivating device (reason: 2).
NetworkManager[6653]: info Added default wired connection 'Auto
eth0' for /sys/devices/pci:00/:00:19.0/net/eth0
NetworkManager[6653]: info (wlan0): driver supports SSID scans
(scan_capa 0x01).
NetworkManager[6653]: info (wlan0): new 802.11 WiFi device (driver:
'iwlagn' ifindex: 3)
NetworkManager[6653]: info (wlan0): exported as
/org/freedesktop/NetworkManager/Devices/1
NetworkManager[6653]: info (wlan0): now managed
NetworkManager[6653]: info (wlan0): device state change: 1 - 2 (reason 2)
NetworkManager[6653]: info (wlan0): bringing up device.
NetworkManager[6653]: info (wlan0): preparing device.
NetworkManager[6653]: info (wlan0): deactivating device (reason: 2).
NetworkManager[6653]: warn /sys/devices/virtual/net/vboxnet0:
couldn't determine device driver; ignoring...
 * status:  started
NetworkManager[6653]: info (wlan0): supplicant interface state:
starting - ready
NetworkManager[6653]: info (wlan0): device state change: 2 - 3 (reason 42)
NetworkManager[6653]: info Activation (wlan0) starting connection
'Auto NETGEAR007'
NetworkManager[6653]: info (wlan0): device state change: 3 - 4 (reason 0)
NetworkManager[6653]: info Activation (wlan0) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager[6653]: info Activation (wlan0) Stage 1 of 5 (Device
Prepare) started...
NetworkManager[6653]: info Activation (wlan0) Stage 2 of 5 (Device
Configure) scheduled...
NetworkManager[6653]: info Activation (wlan0) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager[6653]: info Activation (wlan0) Stage 2 of 5 (Device
Configure) starting...
NetworkManager[6653]: info (wlan0): device state change: 4 - 5 (reason 0)
NetworkManager[6653]: info Activation (wlan0/wireless): connection
'Auto NETGEAR007' requires no security.  No secrets needed.
NetworkManager[6653]: info Config: added 'ssid' value 'NETGEAR007'
NetworkManager[6653]: info Config: added 'scan_ssid' value '1'
NetworkManager[6653]: info Config: added 'key_mgmt' value 'NONE'
NetworkManager[6653]: info Activation (wlan0) Stage 2 of 5 (Device
Configure) complete.

Re: [gentoo-user] emerge xchat fails

2010-08-19 Thread liu shukui
I faced the same problem, thank you.

On Mon, Aug 16, 2010 at 10:19 AM, Gregory Shearman zek...@gmail.com wrote:
 In linux.gentoo.user, you wrote:
 I have xchat installed.  An update is failing to install with error:

 libtool: link: cannot find the library `/usr/lib/libpng12.la' or unhandled
 argument `/usr/lib/libpng12.la'

 libpng is installed:

 /usr/lib$eix libpng
 [I] media-libs/libpng
      Available versions:
         (1.2)   1.2.44
         (0)     1.4.3
      Installed versions:  1.2.44(1.2)(06:16:49 PM 07/01/2010) 1.4.3(06:15:21
 PM 07/01/2010)

 Checking the lib directory, I find:

 /usr/lib/$ls libpng*
 libpng12.so.0  libpng14.a  libpng14.la  libpng14.so  libpng14.so.14
 libpng14.so.14.3.0  libpng.a  libpng.la  libpng.so

 Any suggestions on how I go about fixing this?

 Have you run:

 # lafilefixer --justfixit

 It looks like the libpng update has removed /usr/lib/libpng12.la and
 /usr/lib/libpng.la is probably referencing this file. lafilefixer should
 fix this.

 You're running with both libpng 1.2 and libpng 1.4 installed. May I
 suggest you read:

 http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update

 Do you keep a log of emerge messages so that you can fix these issues
 as they arise?

 The file /usr/share/portage/config/make.conf.example gives examples of
 how to store all messages generated during an emerge update. These
 messages can save you a lot of grief later on.

 --
 Regards,

 Gregory.





Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-19 Thread Joerg Schilling
Let me add some text I wrote for another place but that explains how things 
would work:

1) The OpenSource definition http://www.opensource.org/docs/definition.php 
section 9 makes it very clear that an OSS license must not restrict other 
software and must not prevent to bundle different works under different 
licenses on one medium.

2) given the fact that the GPL is an aproved OSS licensse, it obviously 
complies with the OSS definition.

3) as a result, any GPL interpretation that is based on the assumption that a 
separate distribution would fix problems is wrong.

There is a simple rule:

-   If you modify a GPLd work by your own, so that all you add was written
by you for this modification only, then you created a derivative work
and you need to put your modifications under GPL.

-   If you add another independent work to a GPLd work, you create a so 
called collective work. This is permitted by the GPL. In this case,
the GPL only applies to the GPLd part and the license for the other 
work applies to the other work. You need to respect the sum of all
claims from all licenses in this case. Such a collective work can only
be distributed if the claims from the licenses are not contradicting.
If one license e.g. permits redistribution on Mondays only and the
other permits redistribution on Wednesdays only, you cannot publish
the collective work.

ZFS is an independent work with respect to the Linx kernel. It was not
written for or with the Linux kernel.

-   If like to you add ZFS to the Linux kernel, you first need to create a
derivative work from ZFS and another derivative work from the Linux 
kernel in order to allow both to work together. You later create a
collective work from the combination of the derivative works mentioned
before. The modification in the ZFS code (in case they appear in 
files that come with ZFS) need to be put under CDDL, the modifications
in the Linux kernel need to be put under GPL.

Note: the GPLv3 tries to disallow most collective works, so be careful with 
GPLv3.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] how to remove HAL

2010-08-19 Thread Neil Bothwick
On Tue, 17 Aug 2010 21:49:22 +0200, Enrico Weigelt wrote:

 I've just experimented a bit with that and it turned out that 
 --depclean doesn't clean up the buildtime-only deps. But if I
 remove one of them (eg. cabextract), they don't get pulled in again
 (that's indicating the depending ebuilds are written properly).

Emerge defaults to --with-bdeps=n except when using --depclean, when it
uses --with-bdeps=y. man emerge explains.


-- 
Neil Bothwick

Apple I (c) Copyright 1767, Sir Isaac Newton.


signature.asc
Description: PGP signature


Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-19 Thread Walter Dnes
On Mon, Aug 16, 2010 at 05:55:04PM -0500, Paul Hartman wrote
 
 I had a similar message, it was there because of the fact that i
 specified the wrong (or failed to specify?) mtrr method in my kernel
 boot parameters for the framebuffer. I'm using uvesafb and in kernel
 documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
 explains the values and even gives an example of this error and what
 to do about it:

  I'm using the Intel driver, which doesn't have those settings.  And
no, I do not want to drop down to a generic VESA driver with no hardware
acceleration.  Some more Google searching has turned up a lead.
Apparently, it's possible to manually set the mtrr's, using cat and echo
with /proc/mtrr

  According to lspci -v, my integrated graphics chip has

Memory at fb80 (64-bit, non-prefetchable) [size=4M]
Memory at d000 (64-bit, prefetchable) [size=256M]

  My mtrr setup, however, shows up like so...

waltd...@i3 ~ $ cat /proc/mtrr
reg00: base=0x0 (0MB), size= 8192MB, count=1: write-back
reg01: base=0x2 ( 8192MB), size= 1024MB, count=1: write-back
reg02: base=0x0c000 ( 3072MB), size= 1024MB, count=1: uncachable
reg03: base=0x0b400 ( 2880MB), size=   64MB, count=1: uncachable
reg04: base=0x0b800 ( 2944MB), size=  128MB, count=1: uncachable
reg05: base=0x1fc00 ( 8128MB), size=   64MB, count=1: uncachable

  I'll read up more on how to set it up manually.  One thing that has my
curiousity right now... how come there's a gig of ram in write-back mode
*STARTING* at 8 gigs, and ending at 9 gigs minus 1 byte, when I only
have 8 gigs of ram in total?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Elmar Hinz
2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar Hinz
 did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.

 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.


 It has nothing to do with make. It has everything to do with portage.


Even than, LINGUAS has rather to do with OpenOffice.

Has it anything to do with portage at all?



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Alan McKinnon
Apparently, though unproven, at 13:48 on Thursday 19 August 2010, Elmar Hinz 
did opine thusly:

 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
  Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar
  Hinz
  
  did opine thusly:
  The gentoo wiki suggests in different places to set the LINGUAS
  environment variable in make.conf.
  
  What has LINGUAS todo with make? I would expect it in rc.conf near the
  UNICODE setting.
  
  It has nothing to do with make. It has everything to do with portage.
 
 Even than, LINGUAS has rather to do with OpenOffice.
 
 Has it anything to do with portage at all?

It's in make.conf isn't it?

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: Kernel questions

2010-08-19 Thread Elmar Hinz
Thank you all.



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Nganon
On 19 August 2010 14:48, Elmar Hinz oss.el...@googlemail.com wrote:

 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
  Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar
 Hinz
  did opine thusly:
 
  The gentoo wiki suggests in different places to set the LINGUAS
  environment variable in make.conf.
 
  What has LINGUAS todo with make? I would expect it in rc.conf near the
  UNICODE setting.
 
 
  It has nothing to do with make. It has everything to do with portage.
 

 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?


It has something to with packages that has localization support,
thus everything to with portage.

Global linguas flags are set in make.conf as
LINGUAS=en de ru

and application specific ones can be set in package.use as
www-client/firefox linguas_en_GB
app-office/openoffice-bin linguas_en_GB linguas_de


Re: [gentoo-user] LINGUAS

2010-08-19 Thread Graham Murray
Elmar Hinz oss.el...@googlemail.com writes:

 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar Hinz
 did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.

 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.


 It has nothing to do with make. It has everything to do with portage.


 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

Several packages, not just OpenOffice, can include/support different
languages. Portage uses the value of LINGUAS to tell these packages
which languages to include/support.



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Florian CROUZAT

On 19 août 2010, at 14:27, Graham Murray wrote:

 Elmar Hinz oss.el...@googlemail.com writes:
 
 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar 
 Hinz
 did opine thusly:
 
 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.
 
 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.
 
 
 It has nothing to do with make. It has everything to do with portage.
 
 
 Even than, LINGUAS has rather to do with OpenOffice.
 
 Has it anything to do with portage at all?
 
 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.

I have access to this box where linguas=fr is set.
Check this output:
 $ type -a [
[ est une primitive du shell
[ est /usr/bin/[

[ is a shell built-in becomes est une primitive du shell
I can't see any use flags in coreutils/bash that informs me it will be emerged 
with the linguas support.
How do I know which package will be localized then ? Just curious, I don't 
tweak my linguas.


-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] glibc-2.12.1

2010-08-19 Thread Neil Bothwick
On Wed, 18 Aug 2010 16:05:05 +0200, Alan McKinnon wrote:

 But for critical production machines? Not a flying chance in hell :-)
 Too many times I've had to sort out the carnage from idiotic juniors
 who blindly run emerge -uND world and walk away thinking Unix always
 works like RedHat.

Why do you give these idiotic juniors the root password/sudo emerge rights?


-- 
Neil Bothwick

Top Oxymorons Number 28: Butt Head


signature.asc
Description: PGP signature


Re: [gentoo-user] LINGUAS

2010-08-19 Thread Elmar Hinz
 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.


When  Portage evaluates this variable it makes some sense.

On the other hand LINGUAS is still a general variable AFAIK and not
portage specific.

So shouldn't it be set in a general location like time and locales?

Al



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Arttu V.
On 8/19/10, Elmar Hinz oss.el...@googlemail.com wrote:
 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.


 When  Portage evaluates this variable it makes some sense.

 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.

 So shouldn't it be set in a general location like time and locales?

No, I think you're mixing up compile-time and run-time values -- and
also reading too much into the file names. make.conf should really
rather be called portage.conf. That would make much more sense IMHO.
:)

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Arttu V.
On 8/19/10, Florian CROUZAT gen...@floriancrouzat.net wrote:

 On 19 août 2010, at 14:27, Graham Murray wrote:

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.

 I have access to this box where linguas=fr is set.
 Check this output:
  $ type -a [
 [ est une primitive du shell
 [ est /usr/bin/[

 [ is a shell built-in becomes est une primitive du shell
 I can't see any use flags in coreutils/bash that informs me it will be
 emerged with the linguas support.
 How do I know which package will be localized then ? Just curious, I don't
 tweak my linguas.

Check for the tell-tale USE=nls flag in the ebuilds.

Not all ebuild's bother listing explicitly out all of the LINGUAS
their sources actually support. coreutils is one of the lazy ones.

Just look at its sources: 39 different .po files, that's 39
localizations available. No point printing out such monstrous long
lists -- your localization is in there, period! ;)  But coreutils does
obey LINGUAS anyway. It only installs what you have in your LINGUAS
(check, e.g., with equery files coreutils).

Openoffice is a special case (surprise!). Its ebuild depends
dynamically on spell-check packages depending on the value of LINGUAS
-- so the poor Gentoo OOo maintainers must list out every supported
lingua in the ebuild. :)

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] LINGUAS

2010-08-19 Thread David W Noon
On Thu, 19 Aug 2010 13:50:02 +0200, Elmar Hinz wrote about Re:
[gentoo-user] LINGUAS:

2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010,
 Elmar Hinz did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.

 What has LINGUAS todo with make? I would expect it in rc.conf near
 the UNICODE setting.


 It has nothing to do with make. It has everything to do with portage.


Even than, LINGUAS has rather to do with OpenOffice.

Not really.

Has it anything to do with portage at all?

The LINGUAS variable is used by many packages that use
internationalization (i18n) or localization (l10n).  It is the standard
place for an ebuild to check what National Language Support (NLS) is
required for a package.  Check which packages you have installed that
have the nls USE flag.
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] LINGUAS

2010-08-19 Thread Andrea Conti
 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.

LINGUAS is strictly portage-specific. It's used to control the
compile-time inclusion of languages and/or locales for packages which
have that kind of option (i.e. OpenOffice, KDE, Firefox and many
others); as such it is generally set in make.conf, although it can be
controlled on a per-package basis as others have said.

On the other hand, things like bash and coreutils usually have a nls
USE flag which controls the compile-time inclusion of *all* supported
localizations.

Packages built with support for multiple locales will usually pick the
right one at run-time by looking at the LANG and LC_* environment variables.
(See http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 for
more details)

andrea



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Elmar Hinz

 No, I think you're mixing up compile-time and run-time values -- and
 also reading too much into the file names. make.conf should really
 rather be called portage.conf. That would make much more sense IMHO.
 :)


As long as the source is the documentation, it should be possible by
concept to read in filenames.

I think you are right, that portage.conf would be the natural name.

Al



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Elmar Hinz
2010/8/19 Andrea Conti a...@alyf.net:
 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.

 LINGUAS is strictly portage-specific.

Really?

Researching the web I understand it origins from gettext and portage
has implemented it. If I understand right, it would still matter if
you compile something without portage.

But is the following generalization correct?

* LINGUAS is the compile time setting (for multiple languages)
* LANG is the runtime setting (for the current language).

Al



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Bill Longman
On 08/19/2010 05:37 AM, Florian CROUZAT wrote:
 
 On 19 août 2010, at 14:27, Graham Murray wrote:
 
 Elmar Hinz oss.el...@googlemail.com writes:

 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar 
 Hinz
 did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.

 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.


 It has nothing to do with make. It has everything to do with portage.


 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.
 
 I have access to this box where linguas=fr is set.
 Check this output:
  $ type -a [
 [ est une primitive du shell
 [ est /usr/bin/[
 
 [ is a shell built-in becomes est une primitive du shell
 I can't see any use flags in coreutils/bash that informs me it will be 
 emerged with the linguas support.
 How do I know which package will be localized then ? Just curious, I don't 
 tweak my linguas.

As others have said, it's the nls setting that does this. Specifically,
the string est une primitive du shell is part of the i18n that's in
the bash binary. When you set LANG or LC_MESSAGES to something
different, i.e., el_GR, you'll get the Greek translation. The man page
for locale has lots of info about this.




Re: [gentoo-user] LINGUAS

2010-08-19 Thread Bill Longman
On 08/19/2010 06:53 AM, Elmar Hinz wrote:
 2010/8/19 Andrea Conti a...@alyf.net:
 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.

 LINGUAS is strictly portage-specific.
 
 Really?
 
 Researching the web I understand it origins from gettext and portage
 has implemented it. If I understand right, it would still matter if
 you compile something without portage.
 
 But is the following generalization correct?
 
 * LINGUAS is the compile time setting (for multiple languages)
 * LANG is the runtime setting (for the current language).

Yeah, but with the caveat that LANG is the generalization for all the
LC_* variables.



Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-19 Thread Bill Longman
On 08/19/2010 04:37 AM, Walter Dnes wrote:
 On Mon, Aug 16, 2010 at 05:55:04PM -0500, Paul Hartman wrote

 I had a similar message, it was there because of the fact that i
 specified the wrong (or failed to specify?) mtrr method in my kernel
 boot parameters for the framebuffer. I'm using uvesafb and in kernel
 documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
 explains the values and even gives an example of this error and what
 to do about it:
 
   I'm using the Intel driver, which doesn't have those settings.  And
 no, I do not want to drop down to a generic VESA driver with no hardware
 acceleration.  Some more Google searching has turned up a lead.
 Apparently, it's possible to manually set the mtrr's, using cat and echo
 with /proc/mtrr
 
   According to lspci -v, my integrated graphics chip has
 
 Memory at fb80 (64-bit, non-prefetchable) [size=4M]
 Memory at d000 (64-bit, prefetchable) [size=256M]
 
   My mtrr setup, however, shows up like so...
 
 waltd...@i3 ~ $ cat /proc/mtrr
 reg00: base=0x0 (0MB), size= 8192MB, count=1: write-back
 reg01: base=0x2 ( 8192MB), size= 1024MB, count=1: write-back
 reg02: base=0x0c000 ( 3072MB), size= 1024MB, count=1: uncachable
 reg03: base=0x0b400 ( 2880MB), size=   64MB, count=1: uncachable
 reg04: base=0x0b800 ( 2944MB), size=  128MB, count=1: uncachable
 reg05: base=0x1fc00 ( 8128MB), size=   64MB, count=1: uncachable
 
   I'll read up more on how to set it up manually.  One thing that has my
 curiousity right now... how come there's a gig of ram in write-back mode
 *STARTING* at 8 gigs, and ending at 9 gigs minus 1 byte, when I only
 have 8 gigs of ram in total?

You might want to have a look in your kernel Documentation directory.
There's a file x86/mtrr.txt that gives you some info. And lots in the fb
subdirectory. You can probably find some other info there, too. There's
lots of the dreaded MTRR info in the kernel_parameters.txt file, so you
can setup the MTRRs at boot time.



Re: [gentoo-user] Kernel questions

2010-08-19 Thread Florian Philipp
Am 18.08.2010 21:30, schrieb Elmar Hinz:
 1.) Is there a Map: modules to configration parameters?
 
 lspci -k lists me all modules of the running genkernel.
 Unfortunately the configuration parameters of the kernel have
 different names.
 
 
 2.) Which approach would you recommend?
 

With new enough kernel sources (gentoo-sources in stable are good
enough), there is `make localmodconfig` which removes all mods from your
current .config which are not loaded.
There is also `make localyesconfig` which does the same but doesn't
create modules.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] /etc/portage/package.use for LINGUAS?

2010-08-19 Thread Florian Philipp
Hi list!

I'd like to change the LINGUAS setting for a single package. Is there a
config file for stuff like this?

The thing is: I want to prevent the installation of German man-pages
because they are generally inferior to the English originals and while I
appreciate the work done to translate them, I don't really need them.

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] glibc-2.12.1

2010-08-19 Thread Alan McKinnon
Apparently, though unproven, at 14:49 on Thursday 19 August 2010, Neil 
Bothwick did opine thusly:

 On Wed, 18 Aug 2010 16:05:05 +0200, Alan McKinnon wrote:
  But for critical production machines? Not a flying chance in hell :-)
  Too many times I've had to sort out the carnage from idiotic juniors
  who blindly run emerge -uND world and walk away thinking Unix always
  works like RedHat.
 
 Why do you give these idiotic juniors the root password/sudo emerge rights?


Because I have better things to do than log into 137 machines and do what it 
takes to update world on each one? Remember this ain't a cluster - only about 
20 of them share any kind of common usage.

Besides, if I don't give them some form of responsibility they will never 
become responsible.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] /etc/portage/package.use for LINGUAS?

2010-08-19 Thread Mirek Dvořák
try in package.use something like
app-office/openoffice-bin linguas_en_GB linguas_de
Mirek

2010/8/19 Florian Philipp li...@f_philipp.fastmail.net

 Hi list!

 I'd like to change the LINGUAS setting for a single package. Is there a
 config file for stuff like this?

 The thing is: I want to prevent the installation of German man-pages
 because they are generally inferior to the English originals and while I
 appreciate the work done to translate them, I don't really need them.

 Thanks in advance!
 Florian Philipp




Re: [gentoo-user] /etc/portage/package.use for LINGUAS?

2010-08-19 Thread Andrea Conti
On 19/08/2010 17:49, Florian Philipp wrote:
 Hi list!
 
 I'd like to change the LINGUAS setting for a single package. Is there a
 config file for stuff like this?

LINGUAS (like VIDEO_CARDS, INPUT_DEVICES and similar stuff) is declared
as an USE_EXPAND variable, so that its contents get automatically
translated in a set of USE flags. For example, having LINGUAS=de en
results in the USE flags linguas_de and linguas_en being set for
ebuilds.

User-specified settings take precedence over expanded USE flags, so you
can simply set/unset the flags as needed through package.use (e.g. if
you have a global LINGUAS=de, sys-apps/man-pages -linguas_de in
package.use would do the trick)

andrea





Re: [gentoo-user] glibc-2.12.1

2010-08-19 Thread Neil Bothwick
On Thu, 19 Aug 2010 17:55:02 +0200, Alan McKinnon wrote:

 Besides, if I don't give them some form of responsibility they will
 never become responsible.

Unfortunately, the converse is not necessarily true :(


-- 
Neil Bothwick

We have a equal opportunity Calculus class -- it's fully integrated.


signature.asc
Description: PGP signature


[gentoo-user] Firefox Flash 10

2010-08-19 Thread Hilco Wijbenga
Hi all,

I'm trying to get Flash (10.1.82.76) installed (and working) on
Firefox (3.6.8). I installed adobe-flash and, for good measure,
libflash and libflashsupport:

media-libs/libflash-0.4.10-r1
www-plugins/libflashsupport-1.2  USE=esd gnutls oss pulseaudio -ssl
www-plugins/adobe-flash-10.1.82.76-r1  USE=(-multilib) (-nspluginwrapper)

When I go to the Adobe test page
(http://www.adobe.com/software/flash/about/) it says: You have
version 9,0,115,0 installed. (After closing Firefox and even a full
reboot.)

I uninstalled adobe-flash and checked again: still You have version
9,0,115,0 installed. So it looks like just emerge-ing adobe-flash is
not enough? Do I need to configure something? Install something else?
Remove something?

Cheers,
Hilco



Re: [gentoo-user] Firefox Flash 10

2010-08-19 Thread Zhu Sha Zang
 Em 19-08-2010 14:34, Hilco Wijbenga escreveu:
 Hi all,

 I'm trying to get Flash (10.1.82.76) installed (and working) on
 Firefox (3.6.8). I installed adobe-flash and, for good measure,
 libflash and libflashsupport:

 media-libs/libflash-0.4.10-r1
 www-plugins/libflashsupport-1.2  USE=esd gnutls oss pulseaudio -ssl
 www-plugins/adobe-flash-10.1.82.76-r1  USE=(-multilib) (-nspluginwrapper)

 When I go to the Adobe test page
 (http://www.adobe.com/software/flash/about/) it says: You have
 version 9,0,115,0 installed. (After closing Firefox and even a full
 reboot.)

 I uninstalled adobe-flash and checked again: still You have version
 9,0,115,0 installed. So it looks like just emerge-ing adobe-flash is
 not enough? Do I need to configure something? Install something else?
 Remove something?

 Cheers,
 Hilco





I don't have neither

media-libs/libflash or
www-plugins/libflashsupport

installed here, only the same version of adobe-flash in x86_64
enviroment. In adobe site above i receive this answer:

You have version 10,1,82,76 installed

Of course i'm using firefox-bin.

Att


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Firefox Flash 10

2010-08-19 Thread Hilco Wijbenga
On 19 August 2010 11:00, Zhu Sha Zang zhushaz...@yahoo.com.br wrote:
 I don't have neither

 media-libs/libflash or
 www-plugins/libflashsupport

 installed here, only the same version of adobe-flash in x86_64 enviroment.
 In adobe site above i receive this answer:

 You have version 10,1,82,76 installed

 Of course i'm using firefox-bin.

Thanks for the info.

I killed all Firefox instances that were running. I then uninstalled
firefox and replaced it with firefox-bin (3.6.8). Next I uninstalled
libflash and libflashsupport. Finally, just to be safe, I reinstalled
adobe-flash.

The result is exactly the same. Adobe says I have 9,0,115,0 installed.



[gentoo-user] Re: Firefox Flash 10

2010-08-19 Thread Nikos Chantziaras

On 08/19/2010 08:34 PM, Hilco Wijbenga wrote:

Hi all,

I'm trying to get Flash (10.1.82.76) installed (and working) on
Firefox (3.6.8). I installed adobe-flash and, for good measure,
libflash and libflashsupport:

media-libs/libflash-0.4.10-r1
www-plugins/libflashsupport-1.2  USE=esd gnutls oss pulseaudio -ssl
www-plugins/adobe-flash-10.1.82.76-r1  USE=(-multilib) (-nspluginwrapper)

When I go to the Adobe test page
(http://www.adobe.com/software/flash/about/) it says: You have
version 9,0,115,0 installed. (After closing Firefox and even a full
reboot.)

I uninstalled adobe-flash and checked again: still You have version
9,0,115,0 installed. So it looks like just emerge-ing adobe-flash is
not enough? Do I need to configure something? Install something else?
Remove something?


It seems like you have installed it locally.  To find out where it is, 
execute this (as normal user):


  lsof | grep flash

Firefox must be running and flash loaded (opening a YouTube video should 
do it.)


On my system, lsof finds that my Firefox is using:

  /opt/Adobe/flash-player32/libflashplayer.so

which is the latest 10.x version.




Re: [gentoo-user] Re: Firefox Flash 10

2010-08-19 Thread Zhu Sha Zang
 Em 19-08-2010 15:49, Nikos Chantziaras escreveu:
 On 08/19/2010 08:34 PM, Hilco Wijbenga wrote:
 Hi all,

 I'm trying to get Flash (10.1.82.76) installed (and working) on
 Firefox (3.6.8). I installed adobe-flash and, for good measure,
 libflash and libflashsupport:

 media-libs/libflash-0.4.10-r1
 www-plugins/libflashsupport-1.2  USE=esd gnutls oss pulseaudio -ssl
 www-plugins/adobe-flash-10.1.82.76-r1  USE=(-multilib)
 (-nspluginwrapper)

 When I go to the Adobe test page
 (http://www.adobe.com/software/flash/about/) it says: You have
 version 9,0,115,0 installed. (After closing Firefox and even a full
 reboot.)

 I uninstalled adobe-flash and checked again: still You have version
 9,0,115,0 installed. So it looks like just emerge-ing adobe-flash is
 not enough? Do I need to configure something? Install something else?
 Remove something?

 It seems like you have installed it locally.  To find out where it is,
 execute this (as normal user):

   lsof | grep flash

 Firefox must be running and flash loaded (opening a YouTube video
 should do it.)

 On my system, lsof finds that my Firefox is using:

   /opt/Adobe/flash-player32/libflashplayer.so

 which is the latest 10.x version.



Did you erased ~/.mozilla directory?

Calm down first, but think thirst in mv .mozilla MOZILLA-BCK, then try
use firefox again.

Att


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Firefox Flash 10

2010-08-19 Thread Hilco Wijbenga
On 19 August 2010 11:49, Nikos Chantziaras rea...@arcor.de wrote:
 It seems like you have installed it locally.  To find out where it is,
 execute this (as normal user):

  lsof | grep flash

 Firefox must be running and flash loaded (opening a YouTube video should do
 it.)

Brilliant! That was the problem. I don't remember installing it
locally but, after removing the Flash library from .mozilla/plugins,
Adobe now tells me it sees 10,1,82,76.



[gentoo-user] [OT] Incomplete mysql backup

2010-08-19 Thread Mick
I use mysqldump to back up a database from a development environment and 
upload it to a production environment.

A couple of days ago I was surprised to see that I was getting errors as soon 
as I uploaded the backed up database to the production machine!  I repeated 
the backup (more in disbelief than anything else) but the error remained.

I spent a few minutes looking around and scratching my head as to what was 
amiss with it, until eventually I noticed that the recent backup was smaller 
than the previous version (it should have been bigger due to extra data that 
has accumulated in the database).  I had another final go in running the same 
good ol' mysqldump command and this time it worked.  The backup was a 
reasonable size and the upload restored the application in the production 
environment in a good working order.

Is there a right and a wrong way of backing up mysql?  Did I do something 
wrong?  How should one verify that a back up is sound?  (Imagine trying to 
restore from that incomplete backup!)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Firefox Flash 10

2010-08-19 Thread Hilco Wijbenga
On 19 August 2010 11:59, Zhu Sha Zang zhushaz...@yahoo.com.br wrote:
 Did you erased ~/.mozilla directory?

 Calm down first, but think thirst in mv .mozilla MOZILLA-BCK, then try use
 firefox again.

:-) I'm quite calm. :-) I didn't erase the whole directory just the
lib for the plugin in .mozilla/plugins. That did the trick.



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Mike Edenfield
On 8/19/2010 9:33 AM, Andrea Conti wrote:
 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.
 
 LINGUAS is strictly portage-specific. It's used to control the
 compile-time inclusion of languages and/or locales for packages which
 have that kind of option (i.e. OpenOffice, KDE, Firefox and many
 others); as such it is generally set in make.conf, although it can be
 controlled on a per-package basis as others have said.

It's more accurate to say LINGUAS is build-time specific.  Portage is
not the only build process/package manager/configuration system/coffee
maker that knows what LINGUAS means.  It's the official (as far as
there is such a thing) place to store the list of gettext translations
you want on your system, and most autotools-based builds and binary
package managers also recognize it.

--Mike



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Mike Edenfield
On 8/19/2010 9:53 AM, Elmar Hinz wrote:

 But is the following generalization correct?
 
 * LINGUAS is the compile time setting (for multiple languages)
 * LANG is the runtime setting (for the current language).

Yes, as long as you're aware that LINGUAS support is recommended, but
optional.  A package that simply installs every .po file it has will
still operate in the correct locale based on your LANG setting, it will
just waste a lot of space.

--Mike



[gentoo-user] I can RTFM, but can I understand it: re elog messages

2010-08-19 Thread Kevin O'Gorman
I just got this elog from updating my gentoo system.  It's from
freetype-2.4.2:
 begin --
LOG (postinst)

The TrueType bytecode interpreter is no longer patented and thus no
longer controlled by the bindist USE flag.  Enable the auto-hinter
USE flag if you want the old USE=bindist hinting behavior.
- end  ---

So I looked up auto-hinter in the flagedit(1) program. It says:
   auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the
(recommended) TrueType bytecode interpreter (media-libs/freetype)

The placement of the (recommended) is just a bit ambiguous.  Is it
recommenting the unpatented  auto-hinter, or making a recommendation of the
TrueType bytecode interpreter?  I'm guessing the former, but not with
complete confidence.

I want clear font rendering, which I guess means using hints, and I've added
the auto-hinter use-flag in package.use.

I hope I guessed right.
-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Kernel questions

2010-08-19 Thread Elmar Hinz

 With new enough kernel sources (gentoo-sources in stable are good
 enough), there is `make localmodconfig` which removes all mods from your
 current .config which are not loaded.
 There is also `make localyesconfig` which does the same but doesn't
 create modules.

 Hope this helps,

Yes. Sounds good. I will do some experiments with it and maybe fresh
up some wiki pages.

Can you combine it with genkernel?

genkernel --localmodconfig all ?

Al



[gentoo-user] Re: Firefox Flash 10

2010-08-19 Thread Nikos Chantziaras

On 08/19/2010 10:03 PM, Hilco Wijbenga wrote:

On 19 August 2010 11:49, Nikos Chantziarasrea...@arcor.de  wrote:

It seems like you have installed it locally.  To find out where it is,
execute this (as normal user):

  lsof | grep flash

Firefox must be running and flash loaded (opening a YouTube video should do
it.)


Brilliant! That was the problem. I don't remember installing it
locally but, after removing the Flash library from .mozilla/plugins,
Adobe now tells me it sees 10,1,82,76.


Note that Firefox now also has a plugins tab in Tools-Add-ons where 
you can see the version of each plugin.





Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-19 Thread Mick
On Thursday 19 August 2010 15:47:46 Bill Longman wrote:
 On 08/19/2010 04:37 AM, Walter Dnes wrote:
  On Mon, Aug 16, 2010 at 05:55:04PM -0500, Paul Hartman wrote
  
  I had a similar message, it was there because of the fact that i
  specified the wrong (or failed to specify?) mtrr method in my kernel
  boot parameters for the framebuffer. I'm using uvesafb and in kernel
  documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
  explains the values and even gives an example of this error and what
  
  to do about it:
I'm using the Intel driver, which doesn't have those settings.  And
  
  no, I do not want to drop down to a generic VESA driver with no hardware
  acceleration.  Some more Google searching has turned up a lead.
  Apparently, it's possible to manually set the mtrr's, using cat and echo
  with /proc/mtrr
  
According to lspci -v, my integrated graphics chip has

  Memory at fb80 (64-bit, non-prefetchable) [size=4M]
  Memory at d000 (64-bit, prefetchable) [size=256M]

My mtrr setup, however, shows up like so...
  
  waltd...@i3 ~ $ cat /proc/mtrr
  reg00: base=0x0 (0MB), size= 8192MB, count=1: write-back
  reg01: base=0x2 ( 8192MB), size= 1024MB, count=1: write-back
  reg02: base=0x0c000 ( 3072MB), size= 1024MB, count=1: uncachable
  reg03: base=0x0b400 ( 2880MB), size=   64MB, count=1: uncachable
  reg04: base=0x0b800 ( 2944MB), size=  128MB, count=1: uncachable
  reg05: base=0x1fc00 ( 8128MB), size=   64MB, count=1: uncachable
  
I'll read up more on how to set it up manually.  One thing that has my
  
  curiousity right now... how come there's a gig of ram in write-back mode
  *STARTING* at 8 gigs, and ending at 9 gigs minus 1 byte, when I only
  have 8 gigs of ram in total?
 
 You might want to have a look in your kernel Documentation directory.
 There's a file x86/mtrr.txt that gives you some info. And lots in the fb
 subdirectory. You can probably find some other info there, too. There's
 lots of the dreaded MTRR info in the kernel_parameters.txt file, so you
 can setup the MTRRs at boot time.

I've read as much as I could find, but the whole hexadecimal thing has me 
overwhelmed  O_O

I think my mtrr is OK, but I do not understand this enough to know if it would 
benefit from manual configuration.

Walter please break it into small change for me when you sort out yours - you 
could contact me off list if this is getting too O/T.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-19 Thread Paul Hartman
On Thu, Aug 19, 2010 at 4:32 PM, Mick michaelkintz...@gmail.com wrote:
 I think my mtrr is OK, but I do not understand this enough to know if it would
 benefit from manual configuration.

I think, from the error you posted about originally, it's just letting
you know: Hey, your MTRR was set wrong and we've changed it for you.
So changing it would simply make the message go away but not actually
perform any differently because you'd be setting it to the same value
it is auto-correcting it to anyway. Or that's how I understand it, at
least.



Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages

2010-08-19 Thread Neil Bothwick
On Thu, 19 Aug 2010 13:21:20 -0700, Kevin O'Gorman wrote:

 So I looked up auto-hinter in the flagedit(1) program. It says:
auto-hinter: Local Flag: Use the unpatented auto-hinter instead of
  the  
 (recommended) TrueType bytecode interpreter (media-libs/freetype)
 
 The placement of the (recommended) is just a bit ambiguous.  Is it
 recommenting the unpatented  auto-hinter, or making a recommendation of
 the TrueType bytecode interpreter?  I'm guessing the former, but not
 with complete confidence.

I'm confident it means the latter.


-- 
Neil Bothwick

If at first you do succeed, try to hide your astonishment.


signature.asc
Description: PGP signature


Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-19 Thread Peter Humphrey
On Thursday 19 August 2010 22:43:19 Paul Hartman wrote:

 I think, from the error you posted about originally, it's just
 letting you know: Hey, your MTRR was set wrong and we've changed it
 for you. So changing it would simply make the message go away but
 not actually perform any differently because you'd be setting it to
 the same value it is auto-correcting it to anyway. Or that's how I
 understand it, at least.

I thought that too, until I looked a bit more closely and saw this:

[0.608643] mtrr: type mismatch for d000,1000 old: write-back 
new: write-combining
[0.608725] [drm] MTRR allocation failed.  Graphics performance may 
suffer.

failed seems ominous. No wonder Walter asked advice.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages

2010-08-19 Thread Peter Humphrey
On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote:

 So I looked up auto-hinter in the flagedit(1) program. It says:
 auto-hinter: Local Flag: Use the unpatented auto-hinter instead
 of the (recommended) TrueType bytecode interpreter (media-
 libs/freetype)
 
 The placement of the (recommended) is just a bit ambiguous.

No, it isn't. You may be being confused by the unnecessary inclusion of 
brackets (parentheses if you're American); remove them and you see that 
the TrueType byte-code interpreter is recommended. Or, just consider the 
phrase the recommended TrueType bytecode interpreter, with or without 
brackets. I can't see how that could be thought ambiguous.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



[gentoo-user] removing an overlay

2010-08-19 Thread Alan Warren
Hello,

I've just sync'd my machine, and realized I'm pulling in a few packages from
the devnull overlay that I would rather not. freetype / fontconfig / cairo
for example and it's causing
some conflicts when I try to update (-auvND world). I mainly use devnull for
uzbl, dmenu, and my window manger awesome, as they tend to have the latest
versions.

If I remove devnull, will these packages continue being maintained by
portage? I don't mind getting these packages from portage if it means less
hassle when I update, but the docs
suggest that I remove every package that I've installed from devnull before
moving forward. This seems like a tremendous hassle, but perhaps there's a
one-shot command for doing this?

I'm surprised packages in overlays take precedence over portage. Is there
any way to get a single package from an overlay without taking everything
?

Kind regards,
-Alan


Re: [gentoo-user] [OT] Incomplete mysql backup

2010-08-19 Thread kashani

On 8/19/2010 12:03 PM, Mick wrote:

I use mysqldump to back up a database from a development environment and
upload it to a production environment.

A couple of days ago I was surprised to see that I was getting errors as soon
as I uploaded the backed up database to the production machine!  I repeated
the backup (more in disbelief than anything else) but the error remained.

I spent a few minutes looking around and scratching my head as to what was
amiss with it, until eventually I noticed that the recent backup was smaller
than the previous version (it should have been bigger due to extra data that
has accumulated in the database).  I had another final go in running the same
good ol' mysqldump command and this time it worked.  The backup was a
reasonable size and the upload restored the application in the production
environment in a good working order.

Is there a right and a wrong way of backing up mysql?  Did I do something
wrong?  How should one verify that a back up is sound?  (Imagine trying to
restore from that incomplete backup!)


mysqldump -A --single-transaction

That's usually the best way to backup if you have a single machine. 
Without --single-transaction you may or may not get a proper backup when 
using Innodb tables on a busy server.


	However in a busy production environment it's usually best to use a 
slave to do backups. Bringing LVM snapshots into the mix is also useful, 
but you must lock and flush Mysql in order to get a correct snapshot 
which makes it only an option on the slave.


kashani