[gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"

2011-05-14 Thread Felix Miata
Googling above or similar is getting me nothing useful: 70% non-English 
pages, and of the remainder, 90% questions without answers (from 
forums.gentoo.org), and of those with answers, answers specific to packages 
bearing no apparent relationship to those failing to emerge for me. There are 
plenty hits for 'die "econf failed"' and 'ERROR:...failed (compile phase)', 
just nothing useful.


How can my attempts to follow the Handbook instructions have failed so 
miserably that I can't even emerge such a basic package as Grub Legacy?


http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and 
eclass-debug.log files from 6 different emerge failures, plus output of 
emerge --info. Is there something akin to a Handbook page that describes 
similar failures and how to fix them? Is my problem not a common blocker for 
new users? How can I make any progress with everything hitting this 
apparently same or similar problem? Since I got a working kernel and mc, I've 
not managed to get anything else to emerge. :-(


As an aside, pages like http://www.gentoo.org/proj/en/qa/asneeded.xml don't 
fit. My browser viewport can be up to 1392px wide, and yet there's a 
horizontal scroll of 50% or so, making it really difficult to use such pages. 
I can dezoom to make the scollbar go away, but of course that restores the 
original illegibility for the pages' CSS.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



RE: [gentoo-user] One-time boot from alternate kernel?

2011-05-14 Thread Pandu Poluan
Turn on the grub menu?

Rgds,

-original message-
Subject: [gentoo-user] One-time boot from alternate kernel?
From: "Walter Dnes" 
Date: 2011-05-15 10:46

  Is it possible to pass a  to do a one-time reboot to other than the default
kernel?


-- 
Walter Dnes 





Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-14 Thread Pandu Poluan
Hmmm... that would be a nice start, thanks!

Now to figure out how to carry out RAID 0 Striping and Replication.

Do you think this 'GentooFiler' thingy I'm planning is worth it to be
suggested in [gentoo-project] ?

Rgds,

On 2011-05-15, Florian Philipp  wrote:
> Am 14.05.2011 21:31, schrieb Pandu Poluan:
>> Hello list!
>>
>> Is there a how-to on how to create a 'filer' (kind of like OpenFiler)
>> using Gentoo?
>>
>> I really don't need many things OpenFiler provided, so I think I want
>> to roll-out my own 'GentooFiler'.
>>
>> Here's what I need:
>>   * iSCSI target
>>   * Replication
>>   * RAID 0 striping (redundancy will be handled by RAID 1 hardware)
>>
>> Here's what I don't want:
>>   * Web-based GUI
>>   * LDAP and/or AD integration
>>   * NAS ability (CIFS/SAMBA, NFS, etc)
>>
>> Can you point me to a how-to? Or if such howto doesn't exist yet, can
>> you provide me pointers on how to realize the GentooFiler?
>>
>> (If there's no howto on making a GentooFiler, I'll be glad to make one
>> -- but do point me to the necessary resources, please.)
>>
>> Thanks in advance!
>>
>> Rgds,
>>
>>
>  Gentoo wiki has something on this:
> http://en.gentoo-wiki.com/wiki/ISCSI
>
> Hope this helps,
> Florian Philipp
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



[gentoo-user] One-time boot from alternate kernel?

2011-05-14 Thread Walter Dnes
  Is it possible to pass a  to do a one-time reboot to other than the default
kernel?


-- 
Walter Dnes 



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Mike Edenfield

On 5/14/2011 12:01 PM, Indi wrote:

On Sat, May 14, 2011 at 05:53:56PM +0200, Alan McKinnon wrote:

Apparently, though unproven, at 16:37 on Saturday 14 May 2011, Indi did opine
thusly:



True, just be aware that if you enable gtk *globally* you will end up
building the gtk interface for absolutely everything which has that
option.
Far better (IMO, YMMV) is to use /etc/portage/package.use specify such
things per package. Unless, of course, you like having a gtk GUI for
everything.

:)


No, it is much better to enable such a flag globally and *disable* it using
package.use where you do *not* want it.

Personally, I have better things to do than examine every new or changed
package that shows up after avuND world and edit package.us for every single
flag in that huge list.



Sounds like the old "6 of one, a half-dozen of the other" to me...
What makes the subtractive method better?


Actually its more like the old "use whichever way makes 
sense for the situation." :)


Its mostly a matter of probability. If I'm using a GNOME 
desktop then I probably *do* want the GTK+ for any packages 
that support it; the same argument goes for KDE and Qt. 
Similarly, if my system is on a Windows AD domain, I 
probably want samba, ldap, and kerberos support for any 
utilities that have it.  If I'm using bash completion 
packages, I don't want to worry about which packages 
do/don't have one, I just want them installed. These type of 
flags have essentially the same effect on every package, and 
as Alan said, there's no need to waste time checking if each 
package does or doesn't support GTK individually if you're 
always going to enable it anyway.


OTOH, I probably don't want to set a USE flag like 'extras' 
or 'doc' globally. In those cases I'll turn it on when 
needed. Similarly, USE flags that only applies to one 
package (like "net-print/hplip snmp scanner hpcups 
new-hpcups hpijs") don't make sense globally, so they are 
best left to package.use.


--Mike



Re: [gentoo-user] Two portage questions

2011-05-14 Thread Mike Edenfield

On 5/14/2011 11:38 AM, Kevin O'Gorman wrote:

On Sat, May 14, 2011 at 3:51 AM, Alan McKinnon



/etc/make.profile is a symlink to something in
$PORTDIR/profiles/ and that



Odd.  Not on my system, it's not.


I bet it is:

kutulu@basement ~ $ ls -l /etc/make.profile
lrwxrwxrwx 1 root root 44 Nov 25 12:21 /etc/make.profile -> 
../usr/portage/profiles/hardened/linux/amd64




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sun, May 15, 2011 at 12:10:01AM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 23:09 on Saturday 14 May 2011, Indi did opine 
> thusly:
> 
> > No, I do not propose that one never use global use flags. I just employ
> > them very selectively, which is best for my needs.
> 
> OK. 
> 
> I'll take that as clarifying what you said earlier. Thanks for that.
> 
> 

Sorry, maybe I could have been more clear.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 23:21 on Saturday 14 May 2011, William Hubbs 
did opine thusly:

> On Sat, May 14, 2011 at 11:36:29AM -0400, Willie Wong wrote:
> > There's no big harm, except that you may end up rebuilding a bunch of
> > packages. One way to get a lot of hands-on control on precisely what
> > USE you want it via the "-*" flag. But be VERY careful if you are
> > going to use it. A USE variable set in /etc/make.conf starting with it
> > 
> >   USE="-* X vim ..."
> > 
> > will use nothing but those variables (plus the package specific ones
> > specified in /etc/portage). There are certain flags that you most
> > likely don't want to turn off: cxx, posix, and threads for example.
> > 
> > It is a powerful tool; which means you can also seriously hurt
> > yourself from it.
> 
> PLEASE PLEASE PLEASE DO NOT DO THIS.
> 
> It turns off all use flags set in profiles as well as use flag defaults
> set in ebuilds.
> 
> The safer way, and the way I would recommend, is to use something like
> euse from gentoolkit to figure out which flags are on and turn off the
> ones you do not want in make.conf instead of turning off everything and
> trying to turn back on the ones you do want.


Agreed.

"emerge --info | grep USE" reveals what an enormous task it is to fix USE=-*. 
Not only an enormous task but a fruitless one too - most of the flags will 
just get re-enabled!

Most people advocating this on list threads and forums, want a minimal system 
without all the KDE/Gnome/etc bloat. The correct way to do that is to use a 
minimal profile then examine the now much smaller emerge --info and disabled 
the few remiaining USE flags one does not want.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 23:09 on Saturday 14 May 2011, Indi did opine 
thusly:

> No, I do not propose that one never use global use flags. I just employ
> them very selectively, which is best for my needs.

OK. 

I'll take that as clarifying what you said earlier. Thanks for that.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread William Hubbs
On Sat, May 14, 2011 at 11:36:29AM -0400, Willie Wong wrote:
> There's no big harm, except that you may end up rebuilding a bunch of
> packages. One way to get a lot of hands-on control on precisely what
> USE you want it via the "-*" flag. But be VERY careful if you are
> going to use it. A USE variable set in /etc/make.conf starting with it
> 
>   USE="-* X vim ..."
> 
> will use nothing but those variables (plus the package specific ones
> specified in /etc/portage). There are certain flags that you most
> likely don't want to turn off: cxx, posix, and threads for example. 
> 
> It is a powerful tool; which means you can also seriously hurt
> yourself from it. 

PLEASE PLEASE PLEASE DO NOT DO THIS.

It turns off all use flags set in profiles as well as use flag defaults
set in ebuilds.

The safer way, and the way I would recommend, is to use something like
euse from gentoolkit to figure out which flags are on and turn off the
ones you do not want in make.conf instead of turning off everything and
trying to turn back on the ones you do want.

William



pgpw6XR1WqPAd.pgp
Description: PGP signature


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 11:00:02PM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 18:01 on Saturday 14 May 2011, Indi did opine 
> thusly:
> 
> > 
> > Sounds like the old "6 of one, a half-dozen of the other" to me...
> > What makes the subtractive method better?
> 
> It's not subtractive as disabling a flag globally and enabling it when needed 
> is the same thing negated.
> 
> I'm pointing out that by their nature, most global USE flags are exactly that 
> - intended to be global, especially those in use.desc. For the most part the 
> user will want the support they provide to be global. When that is not the 
> case (the lesser case), an option exists to override the global setting in 
> package.use
> 
> What you proposed is that one never use global flags and always 
> enable/disable 
> them package by package. That gets really tedious with flags used in many 
> ebuilds, such as USE=gtk.
> 
> Abstaction is good, leverage it to gain the benefits when it works in your 
> favour.
> 

No, I do not propose that one never use global use flags. I just employ
them very selectively, which is best for my needs.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 21:51 on Saturday 14 May 2011, Mick did opine 
thusly:

> > Well perhaps it's nitpicking, but I like my systems as lean as possible.
> > I almost never emerge anything without -av options, just so I can say
> > "no" and edit package.use if need be. It rarely causes more than a few
> > extra seconds to be consumed, since my needs don't change terribly often.
> > Depends on how one uses the system, I suppose...
> 
> Except when 260+ packages need updating as it happened with the last KDE 
> upgrade.  I had a cursory look, but I missed some USE flag changes
> (scanner,  rdesktop and vnc I think) which started removing packages and
> libraries. Other flag changes may well have added packages that I didn't
> need, but didn't have the time to go through the lot at the time.

Is your emerge output colorized?

USE flag changes show up in green and the status indicators inside [ebuild   ] 
at the start of lines are in yellow. It's a huge gain being able to pick out 
the few new things that really stand out that way.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 18:01 on Saturday 14 May 2011, Indi did opine 
thusly:

> On Sat, May 14, 2011 at 05:53:56PM +0200, Alan McKinnon wrote:
> > Apparently, though unproven, at 16:37 on Saturday 14 May 2011, Indi did
> > opine
> > 
> > thusly:
> > > True, just be aware that if you enable gtk *globally* you will end up
> > > building the gtk interface for absolutely everything which has that
> > > option.
> > > Far better (IMO, YMMV) is to use /etc/portage/package.use specify such
> > > things per package. Unless, of course, you like having a gtk GUI for
> > > everything.
> > > 
> > > :)
> > 
> > No, it is much better to enable such a flag globally and *disable* it
> > using package.use where you do *not* want it.
> > 
> > Personally, I have better things to do than examine every new or changed
> > package that shows up after avuND world and edit package.us for every
> > single flag in that huge list.
> 
> Sounds like the old "6 of one, a half-dozen of the other" to me...
> What makes the subtractive method better?

It's not subtractive as disabling a flag globally and enabling it when needed 
is the same thing negated.

I'm pointing out that by their nature, most global USE flags are exactly that 
- intended to be global, especially those in use.desc. For the most part the 
user will want the support they provide to be global. When that is not the 
case (the lesser case), an option exists to override the global setting in 
package.use

What you proposed is that one never use global flags and always enable/disable 
them package by package. That gets really tedious with flags used in many 
ebuilds, such as USE=gtk.

Abstaction is good, leverage it to gain the benefits when it works in your 
favour.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-14 Thread Florian Philipp
Am 14.05.2011 21:31, schrieb Pandu Poluan:
> Hello list!
> 
> Is there a how-to on how to create a 'filer' (kind of like OpenFiler)
> using Gentoo?
> 
> I really don't need many things OpenFiler provided, so I think I want
> to roll-out my own 'GentooFiler'.
> 
> Here's what I need:
>   * iSCSI target
>   * Replication
>   * RAID 0 striping (redundancy will be handled by RAID 1 hardware)
> 
> Here's what I don't want:
>   * Web-based GUI
>   * LDAP and/or AD integration
>   * NAS ability (CIFS/SAMBA, NFS, etc)
> 
> Can you point me to a how-to? Or if such howto doesn't exist yet, can
> you provide me pointers on how to realize the GentooFiler?
> 
> (If there's no howto on making a GentooFiler, I'll be glad to make one
> -- but do point me to the necessary resources, please.)
> 
> Thanks in advance!
> 
> Rgds,
> 
> 
 Gentoo wiki has something on this:
http://en.gentoo-wiki.com/wiki/ISCSI

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 10:00:03PM +0200, Mick wrote:
> 
> Except when 260+ packages need updating as it happened with the last KDE 
> upgrade.  I had a cursory look, but I missed some USE flag changes (scanner, 
> rdesktop and vnc I think) which started removing packages and libraries.  
> Other flag changes may well have added packages that I didn't need, but 
> didn't 
> have the time to go through the lot at the time.
>

You have a point; my systems are probably far leaner than the average 
desktop user's since I don't really use a full-blown DE and tend to 
use the CLI versions of many things. 
I do like a bit of eyecandy though, as you can see:
http://openbox.org/wiki/Image:Screenshot-dual-ob-20110513a-sm.jpg
:)

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Mick
On Saturday 14 May 2011 20:06:18 Indi wrote:
> On Sat, May 14, 2011 at 09:00:02PM +0200, Willie Wong wrote:
> > On Sat, May 14, 2011 at 12:01:20PM -0400, Indi wrote:
> > > Sounds like the old "6 of one, a half-dozen of the other" to me...
> > > What makes the subtractive method better?
> > 
> > This is how I interpret Alan's message:
> > 
> > For certain flags when you enable it for a package you will have to
> > also enable it for its dependencies. So you'll have to chase down the
> > dependency tree if you enable a flag for a user package and several of
> > the libraries it uses need the flag too, which may end up requiring
> > doing several emerge --pretend cycles to sort out.
> > 
> > Whereas if you subtract functionality, you usually won't have to
> > change the libraries. (The corollary being that if you are going to
> > remove functionality from the libraries, you should do so by globally
> > removing the use flag, rather than on the package level.)
> 
> Well perhaps it's nitpicking, but I like my systems as lean as possible.
> I almost never emerge anything without -av options, just so I can say
> "no" and edit package.use if need be. It rarely causes more than a few
> extra seconds to be consumed, since my needs don't change terribly often.
> Depends on how one uses the system, I suppose...

Except when 260+ packages need updating as it happened with the last KDE 
upgrade.  I had a cursory look, but I missed some USE flag changes (scanner, 
rdesktop and vnc I think) which started removing packages and libraries.  
Other flag changes may well have added packages that I didn't need, but didn't 
have the time to go through the lot at the time.
-- 
Regards,
Mick


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


[gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-14 Thread Pandu Poluan
Hello list!

Is there a how-to on how to create a 'filer' (kind of like OpenFiler)
using Gentoo?

I really don't need many things OpenFiler provided, so I think I want
to roll-out my own 'GentooFiler'.

Here's what I need:
  * iSCSI target
  * Replication
  * RAID 0 striping (redundancy will be handled by RAID 1 hardware)

Here's what I don't want:
  * Web-based GUI
  * LDAP and/or AD integration
  * NAS ability (CIFS/SAMBA, NFS, etc)

Can you point me to a how-to? Or if such howto doesn't exist yet, can
you provide me pointers on how to realize the GentooFiler?

(If there's no howto on making a GentooFiler, I'll be glad to make one
-- but do point me to the necessary resources, please.)

Thanks in advance!

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 09:00:02PM +0200, Willie Wong wrote:
> On Sat, May 14, 2011 at 12:01:20PM -0400, Indi wrote:
> > Sounds like the old "6 of one, a half-dozen of the other" to me...
> > What makes the subtractive method better?
> > 
> 
> This is how I interpret Alan's message:
> 
> For certain flags when you enable it for a package you will have to
> also enable it for its dependencies. So you'll have to chase down the
> dependency tree if you enable a flag for a user package and several of
> the libraries it uses need the flag too, which may end up requiring
> doing several emerge --pretend cycles to sort out.
> 
> Whereas if you subtract functionality, you usually won't have to
> change the libraries. (The corollary being that if you are going to
> remove functionality from the libraries, you should do so by globally
> removing the use flag, rather than on the package level.)
> 

Well perhaps it's nitpicking, but I like my systems as lean as possible.
I almost never emerge anything without -av options, just so I can say
"no" and edit package.use if need be. It rarely causes more than a few 
extra seconds to be consumed, since my needs don't change terribly often.
Depends on how one uses the system, I suppose...

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] openrc update : locale variables are gone

2011-05-14 Thread Mick
On Saturday 14 May 2011 15:26:38 Florian Philipp wrote:
> Am 14.05.2011 16:09, schrieb Willie Wong:
> > On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
> >> As the subject line says, all variables pertaining to locale are gone
> >> (LANG & LINGUAS not set, LC_* set to POSIX"). In which file are they
> >> supposed to be set these days ?
> > 
> > /etc/env.d/02locale
> > 
> > W
> 
> Don't forget to run `env-update && source /etc/profile`.

Hmm ... not sure if the Window Manager/Display Environment sticks its finger 
in my locale!

On a console logged in as a plain user I get exactly what I have in my 
/etc/env.d/02locale.  The story is the same when I su to root in a terminal 
within X.  However, when I am in a terminal in X as a plain user I get *every* 
locale variable as  en_GB.UTF-8.

My /etc/env.d/02locale shows:

LANG="en_GB.UTF-8"
LC_TIME="POSIX"
LC_COLLATE="C"

Why would this be so?  The Language setting in my WM (e17) is set as 'System 
Default' and at the bottom is shows "System Locale: Locale".
-- 
Regards,
Mick


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


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Willie Wong
On Sat, May 14, 2011 at 12:01:20PM -0400, Indi wrote:
> Sounds like the old "6 of one, a half-dozen of the other" to me...
> What makes the subtractive method better?
> 

This is how I interpret Alan's message:

For certain flags when you enable it for a package you will have to
also enable it for its dependencies. So you'll have to chase down the
dependency tree if you enable a flag for a user package and several of
the libraries it uses need the flag too, which may end up requiring
doing several emerge --pretend cycles to sort out.

Whereas if you subtract functionality, you usually won't have to
change the libraries. (The corollary being that if you are going to
remove functionality from the libraries, you should do so by globally
removing the use flag, rather than on the package level.)

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 05:53:56PM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 16:37 on Saturday 14 May 2011, Indi did opine 
> thusly:
> 
> > 
> > True, just be aware that if you enable gtk *globally* you will end up
> > building the gtk interface for absolutely everything which has that
> > option.
> > Far better (IMO, YMMV) is to use /etc/portage/package.use specify such
> > things per package. Unless, of course, you like having a gtk GUI for
> > everything.
> > 
> > :) 
> 
> No, it is much better to enable such a flag globally and *disable* it using 
> package.use where you do *not* want it.
> 
> Personally, I have better things to do than examine every new or changed 
> package that shows up after avuND world and edit package.us for every single 
> flag in that huge list.
>

Sounds like the old "6 of one, a half-dozen of the other" to me...
What makes the subtractive method better?

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] Two portage questions

2011-05-14 Thread Neil Bothwick
On Sat, 14 May 2011 08:38:04 -0700, Kevin O'Gorman wrote:

> > /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and
> > that 
> 
> Odd.  Not on my system, it's not.  It's a directory with two  entries:
>   eapi: a text file, length 2, with contents "2\n".
>   parent: a text file with two lines:
>  ..
>  ../../../../../../targets/desktop/kde
> The parent is obviously not relative to the /etc/make.profile directory.

No, it's relative to the real file.


-- 
Neil Bothwick

"There are two ways to live: you can live as if nothing is a miracle;
 you can live as if everything is a miracle."
 (Albert Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] Two portage questions

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 17:38 on Saturday 14 May 2011, Kevin O'Gorman 
did opine thusly:

> > /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and
> > that
> 
> Odd.  Not on my system, it's not.  It's a directory with two  entries:
>   eapi: a text file, length 2, with contents "2\n".
>   parent: a text file with two lines:
>  ..
>  ../../../../../../targets/desktop/kde
> The parent is obviously not relative to the /etc/make.profile directory.
> Portage works,
> pretty much, although I have an unbuildable essential package at the moment
> with a bug just filed.  Eix says my portage is 2.1.9.42.


You ls'ed the target of the symlink, not the symlink itself. Omit the trailing 
slash in the argument to ls and you'll see it.

Either that, or your system is busted.




-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How's the openrc update going for everyone?

2011-05-14 Thread Stroller

On 13/5/2011, at 8:32pm, Mick wrote:
>>> ...
>>> $ date +"%l:%M%P"
>>> 8:39
>>> 
>>> That's the wall-clock time (p.m.) in my local time-zone. What Americans
>>> call daylight savings time, though how they imagine any time is saved I
>>> don't know.
>> 
>> From `man date`:
>> 
>>   %l hour ( 1..12)
>> 
>> ...
>>   %M minute (00..59)
>> ...
>> 
>>   %p locale's equivalent of either AM or PM; blank if not known
>> 
>>   %P like %p, but lower case
>> 
>> I'd be curious to compare with the output of `date +"%r"` on your system,
>> but you probably actually want to set:
>> 
>>  LANG="en_GB.UTF-8"
>>  LC_TIME="POSIX"
>> 
>> in order to get the correct results.
> 
> Hmm ... I've just set my locale as you suggest and get:
> 
> $ date +"%l:%M%P"
> 8:29
> 
> (it's 20:29 right now)
> 
> and 
> 
> $ date +"%r"
> 08:31:28

Sorry, didn't see this message before sending my reply to your previous one. 

Yes, it should say "pm" at the end, but did you reboot before checking?

I believe these are sourced at startup in a way that renders this necessary.

You *may* be able to `export LC_TIME="POSIX"` in a shell, but I won't swear to 
it.

Stroller.




Re: [gentoo-user] Two portage questions

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 16:12 on Saturday 14 May 2011, Alan Mackenzie 
did opine thusly:

> > The specific files that define the system set are called "packages"
> 
> OK.  Some of these directories have got three parents.  ;-)  The people
> deciding what goes into the "packages"es must have very steady hands.


hehehe :-)


That just means that that part of the profile has three completely different 
aspects to it. Think of it this way (sucked out of my thumb, too lazy to cat 
through files right now):

A desktop profile might want to inherit it's config from the

amd64
testing
kde

profiles. This make sense, all three are completely different things and by 
and large won't have conflicting things in them. This saves the devs having to 
maintain 9 different profiles (all combinations of the above) and keep 
everything in sync. With cascading profiles they maintain three simple, easy 
to understand things that (seldom) go fubar


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How's the openrc update going for everyone?

2011-05-14 Thread Stroller

On 13/5/2011, at 8:27pm, Mick wrote:
> ...
> Here's mine if you want to compare with my previously sent output:
> 
> $ cat /etc/env.d/02locale 
> LANG="en_GB.UTF-8"
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="C"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"

If you have LANG set, then there's no need to set any of the others to the same 
locale.

If you set LC_TIME="POSIX" then am / pm will display correctly. 

I.E.:

$ cat /etc/env.d/02locale 
LANG="en_GB.UTF-8"
LC_TIME="POSIX"
$  

The necessity for this is a glibc bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=3768
This does, however, show the value of setting LANG over LC_ALL (it being 
impossible, as discussed, to override the latter).

Stroller.




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 16:37 on Saturday 14 May 2011, Indi did opine 
thusly:

> On Sat, May 14, 2011 at 08:30:02AM +0200, Alan McKinnon wrote:
> > Apparently, though unproven, at 05:28 on Saturday 14 May 2011, Felix
> > Miata did
> > 
> > opine thusly:
> > > Is it telling me I have to change my USE from -gtk to +gtk, or can
> > > emerging one of those 8 packages listed satisfy the dep? IOW, it's
> > > unclear to me what "One of the following packages" actually refers to.
> > 
> > It's telling you that you must enable USE=gtk for libcanberra for that
> > build to succeed. The chain of packages listed won't solve the problem,
> > they are causing it.
> > 
> > Easiest is to list gtk in USE in make.conf, then everything that uses gtk
> > will link against it. If you are worried about Gnome, this wil not cause
> > gnome to be installed, just gtk+
> 
> True, just be aware that if you enable gtk *globally* you will end up
> building the gtk interface for absolutely everything which has that
> option.
> Far better (IMO, YMMV) is to use /etc/portage/package.use specify such
> things per package. Unless, of course, you like having a gtk GUI for
> everything.
> 
> :) 

No, it is much better to enable such a flag globally and *disable* it using 
package.use where you do *not* want it.

Personally, I have better things to do than examine every new or changed 
package that shows up after avuND world and edit package.us for every single 
flag in that huge list.

If a user has gtk+ installed, the common case is that they will want to use it 
globally due to gnome being present. Or they have a different WM but need gtk 
for something (eg wicd, whose kde interface sucks) and then they might as well 
just build gtk support for everything. It's not that much extra time or 
resources.

There are always exceptions of course. Such as USE=ldap. It's widely used, but 
you might not want it globally enabled as USE=ldap translates to many 
different kinds of support in many different ebuilds (think of all the wildly 
varied things you could do with ldap). Dealing with each case on it's own 
merits in package.use make sense here, it's what I do.

Whereas USE=gtk pretty much always translates to muchly the same thing 
everywhere - build the package so that it's gui uses that toolkit. For most 
folk, globally in make.conf makes sense.

One size fits all does not work with advice on USE flags. The only thing that 
works is this:

Make up your own damn mind. Your stuff is different to my stuff.

;-)



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 05:20:01PM +0200, Felix Miata wrote:
> On 2011/05/14 10:06 (GMT-0400) Willie Wong composed:
> 
> > The above listing shows that phonon will be built with the "vlc" use
> > flag, so clearly you haven't trimmed USE down to "just"
> > bash-completion, ncurses, samba, slang, xattr. In fact, if you had
> > done so you would've also trimmed out cxx, posix, and threads, which
> > would probably not be the best idea.
> 
> The timestamp on my make.conf(.07) file on display at 
> http://fm.no-ip.com/Tmp/Linux/G/ shows a last written considerably earlier 
> than I last wrote, but ...
> 
> > So for concreteness, can you post the complete USE list, _not_ the
> > list in /etc/make.conf, since that does not show you the USE enabled
> > *by default* on whichever profile you have chosen to use. To get the
> 
> Of this I was totally unaware. So now I know I probably should not have 
> selected the kde profile on first try, but instead selected a minimal and 
> only after being happy with the basics changing to kde.
> 
> Does [1] default/linux/x86/10.0 from 'eselect profile list' amount to a 
> "minimal" install (no X)? If so, is there any reason not to switch to it 
> instead of setting -vlc, and then later when actually ready to enable X, 
> switching back to kde?
> 
> What is the [7] hardened/linux/x86 profile, or better yet, the incantation to 
> get descriptions descriptions of all the available targets?
> 

Use eselect for that, try "eselect profile help" for more info.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Mick
On Saturday 14 May 2011 16:07:33 Felix Miata wrote:

> Does [1] default/linux/x86/10.0 from 'eselect profile list' amount to a
> "minimal" install (no X)? If so, is there any reason not to switch to it
> instead of setting -vlc, and then later when actually ready to enable X,
> switching back to kde?

If you want the full KDE then select the kde desktop profile.  If you instead 
want a slimmer, generic desktop you can consider:

$ ls -la /etc/make.profile
lrwxrwxrwx 1 root root 56 Dec 16 15:00 /etc/make.profile -> 
../usr/portage/profiles/default/linux/amd64/10.0/desktop

This is what I use and the vlc USE flag is not set by it as a default:

$ euse -i vlc
global use flags (searching: vlc)

no matching entries found

local use flags (searching: vlc)

[-] vlc (media-libs/phonon):
Install VLC Phonon backend


> What is the [7] hardened/linux/x86 profile, or better yet, the incantation
> to get descriptions descriptions of all the available targets?

Have a look under /usr/portage/profiles/targets/*

You want to look at the make.default files in there for each respective 
profile.

-- 
Regards,
Mick


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


Re: [gentoo-user] Two portage questions

2011-05-14 Thread Kevin O'Gorman
On Sat, May 14, 2011 at 3:51 AM, Alan McKinnon wrote:

> Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan
> Mackenzie
> did opine thusly:
>
> > Hi, Gentoo.
> >
> > Two questions about Portage whose ansers I haven't found in the fine
> > manuals:
> >
> > 1. Where is it specified what is in "system" in the same way that
> > "world" is in the file /var/lib/portage/world?
>
> That is defined in your system profile, not by you.
>
> /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that
>

Odd.  Not on my system, it's not.  It's a directory with two  entries:
  eapi: a text file, length 2, with contents "2\n".
  parent: a text file with two lines:
 ..
 ../../../../../../targets/desktop/kde
The parent is obviously not relative to the /etc/make.profile directory.
Portage works,
pretty much, although I have an unbuildable essential package at the moment
with a bug just filed.  Eix says my portage is 2.1.9.42.

defines the profile you are using. A profile is nothing more than a bunch of
> files that define what your basic system consists of - things like minimum
> packages to install, things that must not be installed, starting point for
> USE
> flags, etc etc.
>
[snippage]

> --
> alan dot mckinnon at gmail dot com
>
> --
Kevin O'Gorman, PhD


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Willie Wong
On Sat, May 14, 2011 at 11:07:33AM -0400, Felix Miata wrote:
> Does [1] default/linux/x86/10.0 from 'eselect profile list' amount
> to a "minimal" install (no X)? If so, is there any reason not to
> switch to it instead of setting -vlc, and then later when actually
> ready to enable X, switching back to kde?

There's no big harm, except that you may end up rebuilding a bunch of
packages. One way to get a lot of hands-on control on precisely what
USE you want it via the "-*" flag. But be VERY careful if you are
going to use it. A USE variable set in /etc/make.conf starting with it

  USE="-* X vim ..."

will use nothing but those variables (plus the package specific ones
specified in /etc/portage). There are certain flags that you most
likely don't want to turn off: cxx, posix, and threads for example. 

It is a powerful tool; which means you can also seriously hurt
yourself from it. 

Note that the profiles are not "only if" things. You can still run
the KDE desktop without being on the KDE profile. You should think of
the profile as a default bundle that the developers think you may like
if you want to use KDE. You can of course completely customise it just
from the default/linux/x86/10.0 profile. So if you start your system
on this profile, and build it up to your liking, there's no need to
switch over to the KDE profile. 

> 
> What is the [7] hardened/linux/x86 profile, or better yet, the
> incantation to get descriptions descriptions of all the available
> targets?

hardened is maintained by the gentoo hardened project
  http://www.gentoo.org/proj/en/hardened/

If this is a desktop you probably don't want to use it. And SELinux
you can just google to find out. 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Felix Miata

On 2011/05/14 11:04 (GMT-0400) Indi composed:


Felix Miata wrote:



 On 2011/05/14 10:37 (GMT-0400) Indi composed:



 >  Far better (IMO, YMMV) is to use /etc/portage/package.use specify such 
things
 >  per package. Unless, of course, you like having a gtk GUI for everything.
 >  :)



 Yes, for sure. :-)



Also, have you seen this page?
http://en.gentoo-wiki.com/wiki/Kernel_Mode_Setting#Forcing_a_Resolution


I hadn't. That and its referenced commit message are good resources. :-)

I'd already tried various video= incantations based upon something I read 
elsewhere. With this GeForce2 MX400 video card, video=1152x864-24@60 
discombobulates the ttys, while both video=1152x864-32@60 and (plain) 
video=1152x864 apparently work fine.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Felix Miata

On 2011/05/14 10:06 (GMT-0400) Willie Wong composed:


The above listing shows that phonon will be built with the "vlc" use
flag, so clearly you haven't trimmed USE down to "just"
bash-completion, ncurses, samba, slang, xattr. In fact, if you had
done so you would've also trimmed out cxx, posix, and threads, which
would probably not be the best idea.


The timestamp on my make.conf(.07) file on display at 
http://fm.no-ip.com/Tmp/Linux/G/ shows a last written considerably earlier 
than I last wrote, but ...



So for concreteness, can you post the complete USE list, _not_ the
list in /etc/make.conf, since that does not show you the USE enabled
*by default* on whichever profile you have chosen to use. To get the


Of this I was totally unaware. So now I know I probably should not have 
selected the kde profile on first try, but instead selected a minimal and 
only after being happy with the basics changing to kde.


Does [1] default/linux/x86/10.0 from 'eselect profile list' amount to a 
"minimal" install (no X)? If so, is there any reason not to switch to it 
instead of setting -vlc, and then later when actually ready to enable X, 
switching back to kde?


What is the [7] hardened/linux/x86 profile, or better yet, the incantation to 
get descriptions descriptions of all the available targets?



list of all USE flags, try
   emerge --info


About 1.6 screens full, including what looks like a bazillion things in USE=. 
It looks like USE= ends with zlib, and then until the appearance of Unset:, 
everything in between is appended without any newlines, among them, 
PHP_TARGETS, GPSD_PROTOCOLS & APACHE2. Yikes! 
http://fm.no-ip.com/Tmp/Linux/G/emergeinfo1.txt



In this particular case, you can consider adding "-vlc" to your USE
and try again.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 05:00:03PM +0200, Felix Miata wrote:
> On 2011/05/14 10:37 (GMT-0400) Indi composed:
> 
> > Far better (IMO, YMMV) is to use /etc/portage/package.use specify such 
> > things
> > per package. Unless, of course, you like having a gtk GUI for everything.
> > :)
> 
> Yes, for sure. :-)
>

Also, have you seen this page?
http://en.gentoo-wiki.com/wiki/Kernel_Mode_Setting#Forcing_a_Resolution

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Felix Miata

On 2011/05/14 10:37 (GMT-0400) Indi composed:


On Sat, May 14, 2011 at 08:30:02 +0200, Alan McKinnon wrote:



 It's telling you that you must enable USE=gtk for libcanberra for that build
 to succeed. The chain of packages listed won't solve the problem, they are
 causing it.



 Easiest is to list gtk in USE in make.conf, then everything that uses gtk will
 link against it. If you are worried about Gnome, this wil not cause gnome to
 be installed, just gtk+



True, just be aware that if you enable gtk *globally* you will end up
building the gtk interface for absolutely everything which has that
option.



Far better (IMO, YMMV) is to use /etc/portage/package.use specify such things
per package. Unless, of course, you like having a gtk GUI for everything.
:)


Yes, for sure. :-)
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] Re: media center with gentoo

2011-05-14 Thread James
Coert Waagmeester  waagmeester.co.za> writes:


> How can I get X to start up without login straight into XBMC?

There are a multitude of approaches to this sort of functionality.

Searching out keywords, such as "kiosk", "gentoo"  and other relevant
strings will yield some interesting reading and approaches.

Here's one I intend to experiment with, but, it
is KDE4 centric

http://techbase.kde.org/Projects/Plasma/Kiosk


hth,
James





Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Indi
On Sat, May 14, 2011 at 08:30:02AM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 05:28 on Saturday 14 May 2011, Felix Miata 
> did 
> opine thusly:
> 
> > 
> > Is it telling me I have to change my USE from -gtk to +gtk, or can emerging
> > one of those 8 packages listed satisfy the dep? IOW, it's unclear to me
> > what "One of the following packages" actually refers to.
> 
> It's telling you that you must enable USE=gtk for libcanberra for that build 
> to succeed. The chain of packages listed won't solve the problem, they are 
> causing it.
> 
> Easiest is to list gtk in USE in make.conf, then everything that uses gtk 
> will 
> link against it. If you are worried about Gnome, this wil not cause gnome to 
> be installed, just gtk+
> 

True, just be aware that if you enable gtk *globally* you will end up 
building the gtk interface for absolutely everything which has that
option.
Far better (IMO, YMMV) is to use /etc/portage/package.use specify such things 
per package. Unless, of course, you like having a gtk GUI for everything.
:)

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] openrc update : locale variables are gone

2011-05-14 Thread Florian Philipp
Am 14.05.2011 16:09, schrieb Willie Wong:
> On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
>> As the subject line says, all variables pertaining to locale are gone (LANG 
>> & LINGUAS not set, LC_* set to POSIX").
>> In which file are they supposed to be set these days ?
>>
> 
> /etc/env.d/02locale
> 
> W

Don't forget to run `env-update && source /etc/profile`.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Florian Philipp
Am 14.05.2011 16:09, schrieb Hartmut Figge:
> Florian Philipp:
>> Am 14.05.2011 07:39, schrieb Hartmut Figge:
> 
>>> i am always booting to a console and switch later to X using startx. Now
>>> i have noticed a message appearing after typing the password:
>>>
>>> i5 login: 
>>> Password:
>>> Last login: Sat May 14 06:58:55 CEST 2011 on tty1
>>>  * WARNING: you are stopping a boot service
>>
>> I guess there is something odd either in
>>  - /etc/pam.d
>>  - /etc/profile*
>>  - /etc/bash/bashrc
>>  - ~/.bashrc
> 
> :)
> 
>>  - ~/.bash_profile
>>
>>> Same thing happens after switching from X to a console with e.g.
>>> ctrl-altl-F2. Hm? :)
>>
>> Do you mean, every time you switch? Even if you do not log in?
> 
> Only after typing the password during login on a console. But that is
> solved now thanks to your hint. :)
> 
> In the past there must have been a reason why i had added these lines to
> my ~/.bashrc which i have now commented out:
> 
> - .bashrc -
> #if [ $TERM = "linux" ]
> #then
> # sudo /etc/init.d/consolefont restart > /dev/null
> #fi
> ---
> 
> Hartmut

Glad I could help. It could have been worse, though. I once had a user
who wrote `exit 0` at the end of his ~/.bashrc file in order to
"properly finish that script". It took a while to figure out why he
couldn't log in. ;-)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Two portage questions

2011-05-14 Thread Alan Mackenzie
Hi, Alan.

On Sat, May 14, 2011 at 12:51:14PM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan Mackenzie 
> did opine thusly:

> > 1. Where is it specified what is in "system" in the same way that
> > "world" is in the file /var/lib/portage/world?

> That is defined in your system profile, not by you.

> /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that 
> defines the profile you are using. A profile is nothing more than a bunch of 
> files that define what your basic system consists of - things like minimum 
> packages to install, things that must not be installed, starting point for 
> USE 
> flags, etc etc.

> Profiles are cascading, meaning that more specific profiles can include other 
> more general ones, defined in files called "parent". These contain paths to 
> other directories (which themselves can have parents), and the whole lots os 
> recursively traversed from the bottom up till all the branches dead-end. The 
> full complete set of data you get out of all that is your complete profile.

> The specific files that define the system set are called "packages"

OK.  Some of these directories have got three parents.  ;-)  The people
deciding what goes into the "packages"es must have very steady hands.

> > 2. How does emerge know which mutt to build when I do "emerge mutt"?
> > There are three candidate files in /usr/portage/mail-client/mutt, e.g.
> > mutt-1.5.21-r1.ebuild.

> It will pick the ebuild with the highest version number, modified by your 
> rules concerning ACCEPT_KEYWORDS=, unmasked and masked packages.

> If your system is set to stable (ACCEPT_KEYOWRDS=amd64 for example), it will 
> pick between mutt-1.5.20-r18 and mutt-1.5.21-r1 as those are both stable. 
> Usually it will be 1.5.21-r1 as that is the most recent version. Normally you 
> will find two or more stable versions for most packages. This is by design so 
> that if an update on a stable system by chance breaks something, you still 
> have an earlier version to fall back on should the need arise.

OK, I get it.

> If your system is set to unstable (ACCEPT_KEYOWRDS=~amd64 for example), it 
> will pick mutt-1.5.21-r2 as that version is unstable (displayed with a 
> ~ symbol next to it in output).

I think I'll leave the unstable stuff alone.

> Sometimes you get packages that are masked, indicated with [m] or [M]. These 
> are for lunatics to test, and there are rules concerning masking that you can 
> use to free these up for use (it's all in the man pages). Mutt does not have 
> any such packages but nvidia-drivers for example does. You must take explicit 
> steps to obtain the latest version. This is so that the odds of validly being 
> able to blame anyone at all when nvidia trashes your system are reduced to 
> exactly zero.

> Do you have eix installed? You should, great tool, and makes figuring all 
> this 
> out a whole lot easier.

I've got it now.  I'll go and have a look at it's /usr/share/doc / man
page.

Thanks!

> -- 
> alan dot mckinnon at gmail dot com

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Hartmut Figge
Florian Philipp:
> Am 14.05.2011 07:39, schrieb Hartmut Figge:

>> i am always booting to a console and switch later to X using startx. Now
>> i have noticed a message appearing after typing the password:
>> 
>> i5 login: 
>> Password:
>> Last login: Sat May 14 06:58:55 CEST 2011 on tty1
>>  * WARNING: you are stopping a boot service
> 
> I guess there is something odd either in
>  - /etc/pam.d
>  - /etc/profile*
>  - /etc/bash/bashrc
>  - ~/.bashrc

:)

>  - ~/.bash_profile
> 
>> Same thing happens after switching from X to a console with e.g.
>> ctrl-altl-F2. Hm? :)
> 
> Do you mean, every time you switch? Even if you do not log in?

Only after typing the password during login on a console. But that is
solved now thanks to your hint. :)

In the past there must have been a reason why i had added these lines to
my ~/.bashrc which i have now commented out:

- .bashrc -
#if [ $TERM = "linux" ]
#then
# sudo /etc/init.d/consolefont restart > /dev/null
#fi
---

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] openrc update : locale variables are gone

2011-05-14 Thread Willie Wong
On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
> As the subject line says, all variables pertaining to locale are gone (LANG & 
> LINGUAS not set, LC_* set to POSIX").
> In which file are they supposed to be set these days ?
> 

/etc/env.d/02locale

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Willie Wong
On Sat, May 14, 2011 at 05:38:04AM -0400, Felix Miata wrote:
> >Felix Miata composed:
> 
> >> emerge: there are no ebuilds built with USE flags to satisfy
> >> ">=media-libs/libcanberra-0.4[gtk]".
> >> !!! One of the following packages is required to complete your request:
> >> - media-libs/libcanberra-0.26 (Change USE: +gtk)
> >> (dependency required by "x11-misc/notification-daemon-0.5.0" [ebuild])
> >> (dependency required by "virtual/notification-daemon-0[gnome]" [ebuild])
> >> (dependency required by "x11-libs/libnotify-0.7.2" [ebuild])
> >> (dependency required by "media-video/vlc-1.1.9[libnotify]" [ebuild])
> >> (dependency required by "media-libs/phonon-vlc-0.3.2" [ebuild])
> >> (dependency required by "media-libs/phonon-4.5.0[vlc]" [ebuild])
> >> (dependency required by "kde-base/kdelibs-4.6.2-r3" [ebuild])
> >> (dependency required by "kde-misc/polkit-kde-kcmodules-0.98_pre20101127"
> >> [ebuild])
> >> 
> 
> >> Is it telling me I have to change my USE from -gtk to +gtk, or can emerging
> >> one of those 8 packages listed satisfy the dep? IOW, it's unclear to me
> >> what "One of the following packages" actually refers to.
> 
> >It's telling you that you must enable USE=gtk for libcanberra for that build
> >to succeed. The chain of packages listed won't solve the problem, they are
> >causing it.
> 
> That's what I was afraid of, a "list" of one followed by a genuine list. :-(
> 
> >Easiest is to list gtk in USE in make.conf, then everything that uses gtk 
> >will
> >link against it. If you are worried about Gnome, this wil not cause gnome to
> >be installed, just gtk+
> 
> Maybe someone can humor me and not go with the "easiest" route.
> Let's assume I could live without any Mozilla products or Gimp, and
> want a system free not just of Gnome but also of GTK. Let's say I'm
> deaf, and no speakers will ever be attached to the system, which has
> an onboard sound chip rather than a PCI sound card I could simply
> remove. What would it take to eliminate this apparent KDE dependence
> on GTK (and sound support)? How "portable" is a sound event library
> that makes KDE depend on GTK? For now, I've cut USE down to only
> "bash-completion ncurses samba slang xattr", but it hasn't helped me
> to get everything I need to work outside of X. 

The above listing shows that phonon will be built with the "vlc" use
flag, so clearly you haven't trimmed USE down to "just"
bash-completion, ncurses, samba, slang, xattr. In fact, if you had
done so you would've also trimmed out cxx, posix, and threads, which
would probably not be the best idea. 

So for concreteness, can you post the complete USE list, _not_ the
list in /etc/make.conf, since that does not show you the USE enabled
*by default* on whichever profile you have chosen to use. To get the
list of all USE flags, try 
  emerge --info

In this particular case, you can consider adding "-vlc" to your USE
and try again. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] openrc update : locale variables are gone

2011-05-14 Thread Alain DIDIERJEAN
As the subject line says, all variables pertaining to locale are gone (LANG & 
LINGUAS not set, LC_* set to POSIX").
In which file are they supposed to be set these days ?

-- 

Alain DIDIERJEAN  Puisque ces mystères nous dépassent
   Feignons d'en être l'organisateur




Re: [gentoo-user] you are stopping a boot service

2011-05-14 Thread Florian Philipp
Am 14.05.2011 07:39, schrieb Hartmut Figge:
> Greetings,
> 
> i am always booting to a console and switch later to X using startx. Now
> i have noticed a message appearing after typing the password:
> 
> i5 login: 
> Password:
> Last login: Sat May 14 06:58:55 CEST 2011 on tty1
>  * WARNING: you are stopping a boot service
>

I guess there is something odd either in
 - /etc/pam.d
 - /etc/profile*
 - /etc/bash/bashrc
 - ~/.bashrc
 - ~/.bash_profile

> Same thing happens after switching from X to a console with e.g.
> ctrl-altl-F2. Hm? :)
> 

Do you mean, every time you switch? Even if you do not log in?

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Felix Miata

On 2011/05/14 12:52 (GMT+0100) Mick composed:


 >  BTW, my 3rd kernel did solve my video on ttys problem, and get me access
 >  to my EXT2 partition. :-)



Have you read and applied http://www.gentoo.org/doc/en/xorg-config.xml to find
out how to configure your card and xorg?


Reading section 2.2 there is how I realized what it was that I had 
misconfigured previously to cause my video on ttys problem. ;-)


My #1 problem to solve is NFS not working yet (nfs-utils aka libevent, 
portmap, rpc emerge failures), but it would also be very nice to get Grub to 
emerge. Logs: http://fm.no-ip.com/Tmp/Linux/G/

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Hartmut Figge
Nicolas Sebrecht:
> On Sat, May 14, 2011 at 07:39:03AM +0200, Hartmut Figge wrote:

>> Same thing happens after switching from X to a console with e.g.
>> ctrl-altl-F2. Hm? :)
> 
> You may have a service in the wrong runlevel called "boot".

Mhm, i do not see how the runlevel 'boot' can be involved by switching
to a console and a login there.

> What do you have in it? ( 'ls /etc/runlevels/boot' )

hafi@i5 ~ $ ls /etc/runlevels/boot
alsasoundfsck  keymaps mtabroottermencoding
bootmisc hostname  localmount  net.lo  swapurandom
consolefont  hwclock   modules procfs  sysctl

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




[gentoo-user] openrc/baselayout and console service messages

2011-05-14 Thread Dale

Howdy,

After the recent openrc/baselayout upgrade, I notice something missing.  
Sometimes after a update I switch to single user then switch back to the 
default runlevel.  I notice when I switch to single user mode, I can see 
the services stopping like usual.  However, when I switch back to the 
default runlevel, there are no messages at all.  The way I usually 
switch back is with this command:


rc default & exit

That worked fine with the old way but not with the new way.  Is this 
normal?  Did I miss a config somewhere?  Is this something I should file 
so it can be changed?


Dale

:-)  :-)



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Mick
On Saturday 14 May 2011 11:21:51 Alan McKinnon wrote:
> Apparently, though unproven, at 11:38 on Saturday 14 May 2011, Felix Miata
> did
> 
> opine thusly:
> > On 2011/05/14 08:25 (GMT+0200) Alan McKinnon composed:
> > > Felix Miata composed:
 
> > >>  Is it telling me I have to change my USE from -gtk to +gtk, or can
> > >>  emerging one of those 8 packages listed satisfy the dep? IOW, it's
> > >>  unclear to me what "One of the following packages" actually refers
> > >>  to.
> > > 
> > > It's telling you that you must enable USE=gtk for libcanberra for that
> > > build to succeed. The chain of packages listed won't solve the problem,
> > > they are causing it.
[snip... wise advice from Alan ...]

> Do keep in mind that I can't tell you what to do because you haven't really
> defined what you want yet. I could tell you to add
> "-gnome -gtk -vlc -libnotify"
> to USE in /etc/make.conf and that would certainly obliterate gnome for
> sure. But it might also be overreaching.

If you want libcanberra and therefore you must have USE="gtk", but you do not 
want to have any other packages compiled with the gtk USE flag, you can define 
it only for the package in question by adding a line in 
/etc/portage/package.use like so:

media-libs/libcanberra gtk -oss

to e.g. enable the gtk and disable the oss flags.

To see whether a flag has been set or not and relevant information about it, 
run:

euse -i 

For libcanberra it shows:

[- cD ] gtk (media-libs/libcanberra):
Enables building of gtk+ helper library, gtk+ runtime sound effects and the 
canberra-gtk-play utility. To enable the gtk+ sound effects add canberra-gtk-
module to the colon separated list of modules in the GTK_MODULES environment 
variable.

Use option -I to see which packages have been installed using a particular 
flag.  Have a look in man euse to decipher the symbols.


To see all the flags for a particular package after it has been installed run:

equery uses libcanberra
[ Searching for packages matching libcanberra... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf  ]
[: Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-libs/libcanberra-0.26 ]
 U I
 + + alsa   : Adds support for media-libs/alsa-lib (Advanced Linux Sound 
Architecture)
 - - gstreamer  : Adds support for media-libs/gstreamer (Streaming media)
 + + gtk: Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 - - oss: Adds support for OSS (Open Sound System)
 - - pulseaudio : Adds support for PulseAudio sound server
 - + sound  : Enable sound support
 - - tdb: Enables Trivial Database support for caching purposes.


You can also check flags and (r)dependencies on line:

http://gentoo-portage.com/Browse


> > BTW, my 3rd kernel did solve my video on ttys problem, and get me access
> > to my EXT2 partition. :-)

Have you read and applied http://www.gentoo.org/doc/en/xorg-config.xml to find 
out how to configure your card and xorg?
-- 
Regards,
Mick


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


[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Nicolas Sebrecht
On Sat, May 14, 2011 at 07:39:03AM +0200, Hartmut Figge wrote:
> 
> Greetings,
> 
> i am always booting to a console and switch later to X using startx. Now
> i have noticed a message appearing after typing the password:
> 
> i5 login: 
> Password:
> Last login: Sat May 14 06:58:55 CEST 2011 on tty1
>  * WARNING: you are stopping a boot service
> 
> Same thing happens after switching from X to a console with e.g.
> ctrl-altl-F2. Hm? :)

You may have a service in the wrong runlevel called "boot". What do you
have in it? ( 'ls /etc/runlevels/boot' )

-- 
Nicolas Sebrecht



Re: [gentoo-user] consolefont do not start after migration to openrc

2011-05-14 Thread Alexander Tiurin
On Tue, 10 May 2011 16:48:15 -0500
Paul Hartman  wrote:

PH> On Tue, May 10, 2011 at 12:38 PM, Alexander Tiurin
PH>  wrote:
PH> > I tried add consolefont to boot or default runlevel, but
PH> > consolefont is not start
PH> 
PH> consolefont is in openrc, did you recently upgrade baselayout and
PH> friends? Maybe there's some config updates needed.
PH> 



I changed rc_sys="uml" to rc_sys="" and consolefont starting perfectly. 
Thanks!



Re: [gentoo-user] Two portage questions

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan Mackenzie 
did opine thusly:

> Hi, Gentoo.
> 
> Two questions about Portage whose ansers I haven't found in the fine
> manuals:
> 
> 1. Where is it specified what is in "system" in the same way that
> "world" is in the file /var/lib/portage/world?

That is defined in your system profile, not by you.

/etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that 
defines the profile you are using. A profile is nothing more than a bunch of 
files that define what your basic system consists of - things like minimum 
packages to install, things that must not be installed, starting point for USE 
flags, etc etc.

Profiles are cascading, meaning that more specific profiles can include other 
more general ones, defined in files called "parent". These contain paths to 
other directories (which themselves can have parents), and the whole lots os 
recursively traversed from the bottom up till all the branches dead-end. The 
full complete set of data you get out of all that is your complete profile.

The specific files that define the system set are called "packages"

> 2. How does emerge know which mutt to build when I do "emerge mutt"?
> There are three candidate files in /usr/portage/mail-client/mutt, e.g.
> mutt-1.5.21-r1.ebuild.

It will pick the ebuild with the highest version number, modified by your 
rules concerning ACCEPT_KEYWORDS=, unmasked and masked packages.

If your system is set to stable (ACCEPT_KEYOWRDS=amd64 for example), it ill 
pick between mutt-1.5.20-r18 and mutt-1.5.21-r1 as those are both stable. 
Usually it will be 1.5.21-r1 as that is the most recent version. Normally you 
will find two or more stable versions for most packages. This is by design so 
that if an update on a stable system by chance breaks something, you still 
have an earlier version to fall back on should the need arise.

If your system is set to unstable (ACCEPT_KEYOWRDS=~amd64 for example), it 
will pick mutt-1.5.21-r2 as that version is unstable (displayed with a 
~ symbol next to it in output).

Sometimes you get packages that are masked, indicated with [m] or [M]. These 
are for lunatics to test, and there are rules concerning masking that you can 
use to free these up for use (it's all in the man pages). Mutt does not have 
any such packages but nvidia-drivers for example does. You must take explicit 
steps to obtain the latest version. This is so that the odds of validly being 
able to blame anyone at all when nvidia trashes your system are reduced to 
exactly zero.

Do you have eix installed? You should, great tool, and makes figuring all this 
out a whole lot easier.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Two portage questions

2011-05-14 Thread Alan Mackenzie
Hi, Gentoo.

Two questions about Portage whose ansers I haven't found in the fine
manuals:

1. Where is it specified what is in "system" in the same way that
"world" is in the file /var/lib/portage/world?

2. How does emerge know which mutt to build when I do "emerge mutt"?
There are three candidate files in /usr/portage/mail-client/mutt, e.g.
mutt-1.5.21-r1.ebuild.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 11:38 on Saturday 14 May 2011, Felix Miata did 
opine thusly:

> On 2011/05/14 08:25 (GMT+0200) Alan McKinnon composed:
> > Felix Miata composed:
> >>  emerge: there are no ebuilds built with USE flags to satisfy
> >>  ">=media-libs/libcanberra-0.4[gtk]".
> >>  !!! One of the following packages is required to complete your request:
> >>  - media-libs/libcanberra-0.26 (Change USE: +gtk)
> >>  (dependency required by "x11-misc/notification-daemon-0.5.0" [ebuild])
> >>  (dependency required by "virtual/notification-daemon-0[gnome]"
> >>  [ebuild]) (dependency required by "x11-libs/libnotify-0.7.2" [ebuild])
> >>  (dependency required by "media-video/vlc-1.1.9[libnotify]" [ebuild])
> >>  (dependency required by "media-libs/phonon-vlc-0.3.2" [ebuild])
> >>  (dependency required by "media-libs/phonon-4.5.0[vlc]" [ebuild])
> >>  (dependency required by "kde-base/kdelibs-4.6.2-r3" [ebuild])
> >>  (dependency required by
> >>  "kde-misc/polkit-kde-kcmodules-0.98_pre20101127" [ebuild])
> >>  
> >>  
> >>  Is it telling me I have to change my USE from -gtk to +gtk, or can
> >>  emerging one of those 8 packages listed satisfy the dep? IOW, it's
> >>  unclear to me what "One of the following packages" actually refers to.
> > 
> > It's telling you that you must enable USE=gtk for libcanberra for that
> > build to succeed. The chain of packages listed won't solve the problem,
> > they are causing it.
> 
> That's what I was afraid of, a "list" of one followed by a genuine list.
> :-(

What's hard about it?

You have a failed dependency. The next logical question to ask is "what is the 
dependency? What other package requires this package?"

The only way to answer that is to list them all recursively, all the way back 
to the root of the tree. 

In this case you need libcanberra built with USE=gtk
That depends on x11-misc/notification-daemon-0.5.0
Pulled in by virtual/notification-daemon-0 built with USE=gnome

and so on and so on. It's a simple graph actually.

> 
> > Easiest is to list gtk in USE in make.conf, then everything that uses gtk
> > will link against it. If you are worried about Gnome, this wil not cause
> > gnome to be installed, just gtk+
> 
> Maybe someone can humor me and not go with the "easiest" route. Let's
> assume I could live without any Mozilla products or Gimp, and want a
> system free not just of Gnome but also of GTK. Let's say I'm deaf, and no
> speakers will ever be attached to the system, which has an onboard sound
> chip rather than a PCI sound card I could simply remove. What would it
> take to eliminate this apparent KDE dependence on GTK (and sound support)?
> How "portable" is a sound event library that makes KDE depend on GTK? For
> now, I've cut USE down to only "bash-completion ncurses samba slang
> xattr", but it hasn't helped me to get everything I need to work outside
> of X. Until I have working NFS and NUM state obeying the BIOS, I have
> little interest in what's required to make X functional, and no interest
> in audible notifications.

First of all, I don't know what you want. Only you know what you want.

KDE does not depend on GTK here. Reading the above list from the bottom up:

You want KDE, so you get kdelibs. That gives you phonon with vlc support. vlc 
(not a KDE package) is configured to use libnotify, which is a gnome package 
and needs notification-daemon. THAT requires gtk.


Lets back up a bit. With something like Ubuntu, someone (the package 
maintainer) went through a insanely gigantic amount of ball-ache to figure out 
the dependencies and switch stuff on and off so that you never have to deal 
with this. The downside is that you get whatever the maintainer felt you 
should have.

gentoo is different - you are in complete control. This means that you have to 
go through the insanely gigantic ball-ache work yourself. The ebuilds help 
somewhat with USE flags, so with "USE=-gnome -gtk" you could disable all 
optional gnome and gtk dependencies. Sometimes you get a hard dependency that 
isn't optional, in that case you are SOL and must make a decision whether to 
have gnome or not. Either way, you get to choose, and you also get to have to 
think long and hard first.

Back to your list.

The little fucker that is causing your issue is vlc support and libnotify.

Do you want these? Define what you want exactly, and enable or disable USE 
flags to suit your choices.

Do keep in mind that I can't tell you what to do because you haven't really 
defined what you want yet. I could tell you to add 
"-gnome -gtk -vlc -libnotify" 
to USE in /etc/make.conf and that would certainly obliterate gnome for sure. 
But it might also be overreaching.






> 
> BTW, my 3rd kernel did solve my video on ttys problem, and get me access to
> my EXT2 partition. :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Pre OpenRC update question...

2011-05-14 Thread Neil Bothwick
On Fri, 13 May 2011 22:47:43 -0400, Andrey Moshbear wrote:

> > Is the bs=2M important?  Should one use the block size of the drive?  
> Speed improvement.
> If you're doing a backup of a rather large disk, I duggest piping to
> bzip2 or gzip. Unless the free space is random padding, even the
> slightest
> compression will be more efficient, space-wise, than the raw file.

You could also do

dd if=/dev/zero of=somefile bs=1G
rm somefile

to zero the unused blocks, which should both speed up and increase
compression of those areas.

-- 
Neil Bothwick

Copper wire was invented by two Scotsmen fighting over a penny!


signature.asc
Description: PGP signature


Re: [gentoo-user] media center with gentoo

2011-05-14 Thread Neil Bothwick
On Sat, 14 May 2011 08:42:38 +0200, Coert Waagmeester wrote:

> How can I get X to start up without login straight into XBMC?
> Which (xdm,kdm,etc) should I use for this?
> Or should I just start an xsession with xbmc out of some sort of init
> script?
> 
> On the XBMC forum I have found this link, and will try to get that going
> in the meantime.
> http://forum.xbmc.org/showthread.php?t=41739

The way I do it on my mythtv frontend is to have this
in /etc/local.d/mythtv.start

/bin/su - mythtv -c "/usr/bin/startx &>/dev/null" &

Then start mythfrontend from ~mythtv/.xinitrc

That way there's no display manager or window manager getting in the way.


-- 
Neil Bothwick

Isn't 'Criminal Lawyer' rather redundant?


signature.asc
Description: PGP signature


Re: [gentoo-user] chicken <--> egg (NFS & tty video)

2011-05-14 Thread Felix Miata

On 2011/05/14 08:25 (GMT+0200) Alan McKinnon composed:


Felix Miata composed:



 emerge: there are no ebuilds built with USE flags to satisfy
 ">=media-libs/libcanberra-0.4[gtk]".
 !!! One of the following packages is required to complete your request:
 - media-libs/libcanberra-0.26 (Change USE: +gtk)
 (dependency required by "x11-misc/notification-daemon-0.5.0" [ebuild])
 (dependency required by "virtual/notification-daemon-0[gnome]" [ebuild])
 (dependency required by "x11-libs/libnotify-0.7.2" [ebuild])
 (dependency required by "media-video/vlc-1.1.9[libnotify]" [ebuild])
 (dependency required by "media-libs/phonon-vlc-0.3.2" [ebuild])
 (dependency required by "media-libs/phonon-4.5.0[vlc]" [ebuild])
 (dependency required by "kde-base/kdelibs-4.6.2-r3" [ebuild])
 (dependency required by "kde-misc/polkit-kde-kcmodules-0.98_pre20101127"
 [ebuild])
 



 Is it telling me I have to change my USE from -gtk to +gtk, or can emerging
 one of those 8 packages listed satisfy the dep? IOW, it's unclear to me
 what "One of the following packages" actually refers to.



It's telling you that you must enable USE=gtk for libcanberra for that build
to succeed. The chain of packages listed won't solve the problem, they are
causing it.


That's what I was afraid of, a "list" of one followed by a genuine list. :-(


Easiest is to list gtk in USE in make.conf, then everything that uses gtk will
link against it. If you are worried about Gnome, this wil not cause gnome to
be installed, just gtk+


Maybe someone can humor me and not go with the "easiest" route. Let's assume 
I could live without any Mozilla products or Gimp, and want a system free not 
just of Gnome but also of GTK. Let's say I'm deaf, and no speakers will ever 
be attached to the system, which has an onboard sound chip rather than a PCI 
sound card I could simply remove. What would it take to eliminate this 
apparent KDE dependence on GTK (and sound support)? How "portable" is a sound 
event library that makes KDE depend on GTK? For now, I've cut USE down to 
only "bash-completion ncurses samba slang xattr", but it hasn't helped me to 
get everything I need to work outside of X. Until I have working NFS and NUM 
state obeying the BIOS, I have little interest in what's required to make X 
functional, and no interest in audible notifications.


BTW, my 3rd kernel did solve my video on ttys problem, and get me access to 
my EXT2 partition. :-)

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] Re: How's the openrc update going for everyone?

2011-05-14 Thread Neil Bothwick
On Fri, 13 May 2011 07:19:35 -0700 (PDT), BRM wrote:

> KDE did seem to drop the ball a bit with their management of the
> transition from KDE3 to KDE4.

There's no doubt it could have been a lot better. The problem was that it
was based on their prediction that 4.0 would be a dev release while 4.1
would be usable, it wasn't.

> Okay - that's not entirely KDE's problem; though it would have helped a
> long way with the KDE4 transition if they kept a few people working on
> those issues.

How would you feel if you were a KDE dev told "we're all going to play
with the cool new toys now, but we want you to stay here and look
after the boring musty old stuff."? It would be bad enough if you were
being paid for it.

> The big issue is that in moving to sole development of KDE4, distros
> started to drop KDE3 and replace it with KDE4. For example, Kubuntu
> 8.04 TLS dropped KDE3 and used KDE4 long before KDE4 was really user
> worthy - long before KDE was calling it user worthy.

I think that says more about Ubuntu than KDE, after all ,they'd done a
similar thing with GNOME/Unity now.

> But KDEs actions
> of moving sole development to KDE4 prompted most distributions to do
> likewise.

Many distros, especially the enterprise focussed ones like SUSE, kept 3.5
around for quite a while.

> Had they kept a small team working on at least the build issues until
> KDE4 reached 4.3 then the transition would have likely gone a lot
> smoother.

True, but no one expected it to take that long to get ready, and
diverting resources to look after 3.5 would have meant it taking even
longer.

> > So install a distro that still supports KDE3 if that's what you  want
> > or need. KDE 3.5.10 is still there, it hasn't been withdrawn from  the
> > shelves. You're hardly likely to use Gentoo for such users, so lack
> > of core support for 3.5 in Gentoo is not an issue either.
> > 
> 
> While I am not personally interested in it, please name one.
> 
> Gentoo doesn't support KDE3 any more. You have to go to Trinity to get
> the newer, forked KDE3 series. Last I heard they were equivalent to a
> 3.5.12 or so; but I haven't seen anything on the Desktop list for a
> while about Trinity.
> 
> Needless to say, you may be very hard pressed to find a modern,
> up-to-date distribution that offers KDE3 support.

If it defaulted to KDE 3.5, it would be neither modern nor up to date.
But at the time of the transition, when KDE4 was still too flakey for
many, there were several - openSUSE for one.


-- 
Neil Bothwick

Can vegetarians eat animal crackers?


signature.asc
Description: PGP signature


Re: [gentoo-user] media center with gentoo

2011-05-14 Thread Alan McKinnon
Apparently, though unproven, at 08:42 on Saturday 14 May 2011, Coert 
Waagmeester did opine thusly:

> Hello all,
> 
> Building myself a new media center setup.
> I used to have an old xbox with xbmc. But the CPU is to slow for hi-def
> video.
> 
> Now I have a normal PC with keyboard and mouse in its place.
> Normal Gentoo install.
> 
> How can I get X to start up without login straight into XBMC?
> Which (xdm,kdm,etc) should I use for this?
> Or should I just start an xsession with xbmc out of some sort of init
> script?
> 
> On the XBMC forum I have found this link, and will try to get that going
> in the meantime.
> http://forum.xbmc.org/showthread.php?t=41739
> 
> Any other media center tips would be appreciated!
> Also going to try and put a normal USB plug on one of the old xbox
> controllers.


Inspect /etc/inittab, especially the last section relating to xdm, this refers 
you to /etc/init.d/xdm which uses DISPLAYMANAGER in /etc/conf.d/xdm

Setting DISPLAYMANAGER to a script of your own should work. 
Perhaps /usr/bin/xbmc-standalone could be useful here.

The point being, the xdm function in the init scripts does not have to start a 
full display manager, it can launch anything of your choice

-- 
alan dot mckinnon at gmail dot com