Re: [gentoo-user] eBook reader

2006-07-21 Thread Richard Fish

On 7/20/06, Anthony E. Caudel <[EMAIL PROTECTED]> wrote:

Yeah, I'd forgotten about wxWindows.  It's not in portage either.  So I
guess that means I'll have to do 2 ebuilds?? (Nothing is ever simple!)


Technically it is called wxWidgets now (Microsoft paid them to change
the name I think), and it is in portage: x11-libs/wxGTK

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Kde menu

2006-07-21 Thread Leonardo
Hi list,

I'm using gentoo since some months now, and I have to say that I
really start to like it, especially the possibility of
customizing and deciding how to 'create' your system.

On the 'not so happy' side I think I have found only minor
things; the biggest point is I don't have a 'consistent' kde
menu:

some applications with GUI are missing from the menu, some are
present twice; the categorization itself is somehow
dis-organized, with some entries showing an 'other' child menu,
listing applications that could fit also in the parent menu
(things like kde->graphic->other).


Is there a way to reorganize the menu automatically, without
having to go through all the installed packages per hand?
I looked on the net, ant in the wikis, but cannot find
reasonable documentation.
That would be relly nice, because althought I know the stuff I
installed, other people accessing the PC may be happy to use it,
well you know, as it were that other dumb OS where you can use
programs without dealing with that scary 'black window for the
commands'.


Thanks list,
Leodp

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto recreate files in /dev?

2006-07-21 Thread Alexander Skwar
Richard Fish wrote:
> On 7/20/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:


>> How do I recreate all the dev files?
> 
> This should work.  It uses the same mechanism that Gentoo (/sbin/rc)
> uses at system boot time.  /dev should *not* be mounted when this is
> run:

/dev should *NOT* be mounted?

What do you mean? Normally, /dev is a tmpfs and needs to be populated. If
/dev wouldn't be tmpfs, your snippet would overwrite everything in
/dev, no? Or would start_addon udev automatically mount a tmpfs in /dev?

> # (source /sbin/functions.sh ; start_addon udev)

Thanks.

Alexander Skwar
-- 
Injustice anywhere is a threat to justice everywhere.
-- Martin Luther King, Jr.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Philip Webb
060721 Leonardo wrote:
> I'm using gentoo since some months now
> and I have to say that I really start to like it ... ,

Did it take you that long (grin) ?

> esp the possibility of customizing your system.

Yes, that's what Gentoo is largely about & living at the cutting edge.

> On the 'not so happy' side, the biggest point is
> I don't have a 'consistent' kde menu:
> Is there a way to reorganize the menu automatically
> without having to go through all the installed packages per hand?

KDE tries to organise the items in a rational manner,
but it also provides Kmenuedit to allow you to do whatever you want.
After you've designed your menu as you like it best,
you simply have to check that new apps get put where you prefer.

BTW there's a cute little app Apwal (x11-misc), which you can customise
to call up a temporary array of icons on your desktop representing apps.
I have it assigned to L-click & use it for apps I commonly use,
but don't have restarted by KDE when it starts up.
Apwal deserves to be better known.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: grub

2006-07-21 Thread Adrian Frith
On Thu, 2006-07-20 at 20:02 -0700, Richard Fish wrote:

> root (hd0,1)
> title Gentoo Linux 2.6.16-gentoo-r13
> kernel /kernel-2.6.16-gentoo-r13 root=/dev/hda6
> 

> 3. technically it is not "title=foo", but "title foo".

Strange thing is that the Handbook actually has "title=foo" in its GRUB
example at
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 
completely contrary to correct grub syntax.

I guess I should file a bug.

Regards,
Adrian

-- 
Adrian Frith
[EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED]
083 393 1257 | 021 531 8719 | http://frith.co.za/~adrian/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Leonardo
--- Philip Webb <[EMAIL PROTECTED]> wrote:

> 060721 Leonardo wrote:
> > I'm using gentoo since some months now
> > and I have to say that I really start to like it ... ,
> 
> Did it take you that long (grin) ?

Haha.
I think installing Gentoo takes forever. When it looks ok, I
start thinking how to do things differently, and the emerge goes
on, and on...


> > I don't have a 'consistent' kde menu:
> > Is there a way to reorganize the menu automatically
> > without having to go through all the installed packages per
> hand?
> 
> KDE tries to organise the items in a rational manner,
> but it also provides Kmenuedit to allow you to do whatever you
> want.
> After you've designed your menu as you like it best,
> you simply have to check that new apps get put where you
> prefer.
> 
> BTW there's a cute little app Apwal (x11-misc), which you can
> customise
> to call up a temporary array of icons on your desktop
> representing apps.
> I have it assigned to L-click & use it for apps I commonly
> use,
> but don't have restarted by KDE when it starts up.
> Apwal deserves to be better known.
> 

Nice tool Apwal.
I knew Kmenuedit already, but I have way too many apps to loose
time reorganizing the menu going after them one by one.
'Till some months ago at home, and at work I was/am using
Mandriva; when I urpmi a package there, it goes automatically in
the kde menu.
Isn't there a similar way of doing it in Gentoo,
maybe an app that goes through the 'world' and reconstructs with
some decent categorization the menus (kde, gnome...)?

Ciao, Leodp


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: grub

2006-07-21 Thread Neil Bothwick
On Fri, 21 Jul 2006 00:57:31 + (UTC), James wrote:

> Why didn't the old syntax work? (separate partition for /boot)
> kernel /kernel-2.6.16-gentoo-r13 
> When it worked from the command line of grub?

Probably because you had a space after root on the command line, but not
in grub.conf. If you'd told us the error message GRUB gave, it might be
possible to guess the cause more accurately.


-- 
Neil Bothwick

Life is like an analogy.


signature.asc
Description: PGP signature


[gentoo-user] changing user id

2006-07-21 Thread Arnau Bria
Hi,

I'd like to change cyrus id from currently to 120.

I tried usermod, but cyrus files didn't change its owner.

could someone explain which is the way of changing user id and that
user doesn't lose its files? 

many thanks in advance.

-- 
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que 
acabas deseando que se muera Flanders.
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] audio with TV crd

2006-07-21 Thread Raymond Lewis Rebbeck
On Friday, 21 July 2006 19:29, Uwe Thiem wrote:
> Hi folks,
>
> I have got a Hauppauge WinTV-PVR 150. Got video to work and play it from a
> VCR with "mplayer /dev/video0". Please note: This is about saving old video
> tapes to DVDs. I connected "Video OUT" from the VCR to "Comp V" of the TV
> card.
>
> So far so good. How do I get audio as well? I tried to connect "Audio OUT"
> of the VCR to "Line IN" of the TV card. No result.
>
> Any advice?
>
> Uwe

I'd imagine anything audio related would be handled by ALSA, so perhaps there 
is a driver you are missing or you might be able to use the line in on an 
existing sound card instead to record the audio.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing user id

2006-07-21 Thread Etaoin Shrdlu
On Friday 21 July 2006 12:02, Arnau Bria wrote:

> Hi,
>
> I'd like to change cyrus id from currently to 120.
>
> I tried usermod, but cyrus files didn't change its owner.
>
> could someone explain which is the way of changing user id and that
> user doesn't lose its files?

You can use find to chown all files owned by the user to the new uid.

Untested example (suppose old uid is 100):

# usermod -u 120 cyrus
# find / -user 100 -exec chown cyrus \{\} \;

the last line could also have been

# find / -user 100 -exec chown 120 \{\} \;

These examples are untested, but you should get the idea.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing user id

2006-07-21 Thread Hans-Werner Hilse
Hi,

On Fri, 21 Jul 2006 12:02:49 +0200 Arnau Bria <[EMAIL PROTECTED]>
wrote:

> I'd like to change cyrus id from currently to 120.

Why's that? You will at least bork the existing files to a degree that
they can't be automatically uninstalled by emerge anymore.

> I tried usermod, but cyrus files didn't change its owner.

No, usermod & Co only modify the authentication db, i.e. /etc/passwd.

> could someone explain which is the way of changing user id and that
> user doesn't lose its files? 

A subsequent run of 

find / -user  -exec chown cyrus '{}' \;

(as root, of course) should suffice. I don't see a way to do this
atomically with the UID change.

Note that your backups will probably still carry the old UID, keep that
in mind for the case you need to restore them.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing user id

2006-07-21 Thread Arnau Bria
On Fri, 21 Jul 2006 12:54:16 +0200
Etaoin Shrdlu wrote:

> On Friday 21 July 2006 12:02, Arnau Bria wrote:

> > could someone explain which is the way of changing user id and that
> > user doesn't lose its files?
> 
> You can use find to chown all files owned by the user to the new uid.
> 
> Untested example (suppose old uid is 100):
> 
> # usermod -u 120 cyrus
> # find / -user 100 -exec chown cyrus \{\} \;
[...]

I was thinking in something like this, but I supposed there should be a
"better" way...

thanks for the reply.


-- 
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que 
acabas deseando que se muera Flanders.
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Suggested network fs for small lan ?

2006-07-21 Thread Enrico Weigelt

Hi folks,

what network filesystem would you suggest for an small LAN ?

I'm currently running NFS on 2.4 and 2.6, the machines are 
somethimes mounting each other, and that's not really satisfying
(ie. load loops up, locking fails, etc).


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Enrico Weigelt

Hi folks,


what does --deep actually do ?

I've just sync'ed and asked emerge what it would update:

emerge --newuse --update --tree --pretend world

Showed nothing. Okay, evrything up to daet.
But:

emerge --deep --newuse --update --tree --pretend world

showed several packages. 

So what does it actually do ? Rebuild certain packages if others
they depend on had been updated ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Neil Bothwick
On Fri, 21 Jul 2006 13:01:27 +0200, Enrico Weigelt wrote:

> what does --deep actually do ?

man emerge
/deep


-- 
Neil Bothwick

In possession of a mind not merely twisted, but actually sprained.


signature.asc
Description: PGP signature


Re: [gentoo-user] Kde menu

2006-07-21 Thread Philip Webb
060721 Leonardo wrote:
> 'Till some months ago at home, and at work I was/am using Mandriva;
> when I urpmi a package there, it goes automatically in the kde menu.
> Isn't there a similar way of doing it in Gentoo,

That's what should happen with a KDE app on Gentoo.
It should be a function of KDE, not the distro.
Sometimes, KDE puts apps in unexpected places:
perhaps you were just lucky with the apps you installed with Mandriva.
Before Gentoo (2000-3), I used Mandriva & didn't notice any difference.
Another possibility is that you're now using a newer version of KDE,
which may do things differently, though again I haven't noticed it.

You don't have to put everything in the KDE menu:
you can use the miniterminal ( Alt-F2 ), which has a history list.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] march in /etc/make.conf

2006-07-21 Thread Enrico Weigelt
* Alexander Skwar <[EMAIL PROTECTED]> wrote:

Hi,

> Well, depends on how you define "open files are overwritten". On
> Linux, it is like you say. But on Windows and HP-UX, you CANNOT
> replace a file, if it's still opened somewhere. Eg. you cannot
> replace /bin/sh. Instead, a new file will be created and after
> a reboot, the new file will be moved in place (that's how it
> works on HP-UX, on Windows you cannot overwrite opened files.).
> 
> What I mean: On Linux, you can replace /bin/sh even if it used.
> You cannot overwrite the used inodes/blocks, that's absolutely
> correct, but that's not what I meant.

ACK. 

I'll try to explain the logic behind a little bit more detailed:

On Linux (and probably other Unix'ish kernels), files are not 
identified by names, but inode-id's. The name is just an pointer
to the file, just like an DNS-name->IP-addr mapping ;-)
Many such pointers to some file may exist. Only when all pointers
are removed (open fd's also considered as an pointer) the file
gets actually removed. That's why the syscall used for removing
a file is called unlink(): it just removes the given name but
does not actually delete it.

When you intend to replace some file, you've got two choices:
(from the kernel's view)

a) open the existing file, probably truncate it and write new the 
   data. if someone has opened this file, he will see the changes 
   you made. If the file has been mmap'ed to some process, it will
   see the changes immediately in its address space. therefore files 
   should be locked (at least the used regions), so an accidental 
   overwrite (which may cause ugly crashes) can be prevented. AFAIK 
   on Linux, .TEXT segments are always locked when the get mapped in 
   (you you get "busy" when trying to write there)
  
b) create a new file under the old name. either by renaming or 
   unlink'ing the old file. here you've got no problem w/ other
   processes holding the file opened, since you actually have 
   two different files. the new file only gets accessed when 
   you (re)open the file and thus let the kernel do an new 
   name->inode lookup.
   
  
BTW: when coding installers for running systems (which in fact
is the case in >90%). Do not use cp (at least GNU coreutils), 
since it *overwrites* the existing file (case a). This will 
fail on used .TEXT (=executable code) files, since they're locked
and most likely produce problems with other open files. 
If writing the file does not run almost immediately you should 
first write to some temporary file (on the same filesystem!)
and then do a quick rename (unlink(..) ; rename(..)) so nobody 
tries to use unfinished files. 

And be very careful you reinstall you (running) installer !
Several years ago, glibc had a critical problem, which screwed up 
your system on install over the running system: it first removed 
the /lib/ld.so and /lib/libc* symlinks and then recreated them by 
separate calling /bin/rm and /bin/ln binaries. If they weren't
linked statically, it killed itself - /bin/ln coulnd'n be executed
since libc was unusable in this moment. Using -s flag to ln instead
of calling rm did the trick.

I have no idea how careful emerge is here ...


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] march in /etc/make.conf

2006-07-21 Thread Enrico Weigelt
* Janusz Bossy <[EMAIL PROTECTED]> wrote:

Hi,

> There is no problem with that. Yesterday i did an emerge -C xorg-x11
> while xorg was running, then compiled xorg-x11 again and restarted the
> X server. All is working fine, except I couldn't start the
> applications that were built against X when I didn't have it. Don't
> worry Linux isn't Windows :)

yeah, you probably replaced monolithic by modular and forgot to 
emerge several libs. or the ABI has changed.

I'm really glad I got rid of the monolithic monster w/o major
impacts. Yeah, a complete modular build takes a little bit longer
than monolithic due snoozy autofool ... but I can accept this
price for having a smaller and more clear structured installation.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Rafael Fernández López

From "man emerge":

--deep (-D)

	When used in conjunction with --update, this flag forces emerge to 
consider  the entire dependency tree of packages, instead of checking 
only the immediate dependencies of the packages. As an example, this 
catches updates in libraries that are not directly listed in the 
dependencies of a package.


	To sum up, portage will look for updates not only in your world file, 
but on dependencies too.


Bye,
Rafael Fernández López.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] REMOVE

2006-07-21 Thread Thomas Witt
On 7/20/06, Nunya Bidness <[EMAIL PROTECTED]> wrote:
REMOVE

You can check out any time you like, but you can never leave.


Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Enrico Weigelt
* Rafael Fernández López <[EMAIL PROTECTED]> wrote:

>   To sum up, portage will look for updates not only in your world 
>   file, but on dependencies too.

ah, so let's say i've installed package A (in world) which 
required B. if I use --update w/o --deep, only A gets updated,
but not B. 

What happens when a newer version of A requires some newer
version of B than currently installed ? Is B updated automatically ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Janusz Bossy

On 7/21/06, Enrico Weigelt <[EMAIL PROTECTED]> wrote:

ah, so let's say i've installed package A (in world) which
required B. if I use --update w/o --deep, only A gets updated,
but not B.

What happens when a newer version of A requires some newer
version of B than currently installed ? Is B updated automatically ?


If it's explicitly specified in the ebuild then B will get updated. It
won't be updated on any other condition.

In my opinion doing emerge --update world instead of emerge --update
--deep world will break your system fast.
--
Pozdrawiam
Janusz YANOUSHek Bossy
gg# 791964
tlen [EMAIL PROTECTED]
jabber [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] openoffice dies

2006-07-21 Thread Catalin Trifu
Hi,


   After upgrading to ooffice-bin-2.0.3 it simply won't run anymore. The initial
screen with the licence comes up but pressing on next crashes it.
   I've looked on the bugs but there is no such thing there.
   I had a problem before with the freetype lib but downgrading solved it; this 
time it did not.

gdb /usr/lib/openoffice/program/soffice.bin
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/lib/openoffice/program/soffice.bin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1235192144 (LWP 12633)]
[New Thread -1235260512 (LWP 12636)]
[New Thread -1277264992 (LWP 12638)]
[New Thread -1285792864 (LWP 12639)]
[New Thread -1296516192 (LWP 12640)]
[New Thread -1321677920 (LWP 12642)]
[Thread -1321677920 (LWP 12642) exited]
[New Thread -1321677920 (LWP 12644)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1235192144 (LWP 12633)]
0xb79e1f9b in TextEngine::ImpBreakLine () from 
/usr/lib/openoffice/program/libsvt680li.so




Catalin

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] help on partitioning

2006-07-21 Thread Fernando Meira

Hi, I need a quick help for a simple question.

My disk now looks like this:
Filesystem Size   Used  Avail Use% Mounted on
 /dev/hda1   11G   9.2G   1.4G  88% /
 udev   264M   242k   264M   1% /dev
 /dev/hda4  4.9G   4.6G   329M  94% /home
 /dev/hda5   25G21G   3.9G  85% /mnt/share
 none   264M  0   264M   0% /dev/shm

where hda5 is an extended part located after hda1 and before swap. At
the ends is hda4.
 All parts are reiserfs unless hda5 which is FAT and I want to get rid of it.

So what I want to do is to increase the size of hda1 and move some
things around.
I plan to remove the extended partition, thereby creating space right
after hda1 so that this one can be increased. Then I intend to create
a new swap part of 1Gb right after the new hda1 and use the remaining
space for /home.
So my question is, can I do all this using QTParted? And in a normal
session, without unmouting any partitions, or do I need to boot from a
install-cd?

Any comments on the partitioning are also welcome.

Thanks for your time,
Fernando
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openoffice dies

2006-07-21 Thread Fabrice Delliaux
Catalin Trifu a écrit :
>   Hi,
> 

Hi,

> 
>After upgrading to ooffice-bin-2.0.3 it simply won't run anymore. The 
> initial
> screen with the licence comes up but pressing on next crashes it.
>I've looked on the bugs but there is no such thing there.
>I had a problem before with the freetype lib but downgrading solved it; 
> this time it did not.
> 

Did you try :

$ mv ~/.ooo-2.0 ~/.ooo-2.0.old

?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Rafael Fernández López
	Yep. That's a usually newbie error. But I do think that nothing that 
"revdep-rebuild" can't fix.


Bye,
Rafael Fernández López.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Daniel Drake

Enrico Weigelt wrote:

What happens when a newer version of A requires some newer
version of B than currently installed ? Is B updated automatically ?


Yes.

Daniel

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help on partitioning

2006-07-21 Thread Alan McKinnon
On Fri, 2006-07-21 at 14:54 +0200, Fernando Meira wrote:
> Hi, I need a quick help for a simple question.
> 
> My disk now looks like this:
> Filesystem Size   Used  Avail Use% Mounted on
>   /dev/hda1   11G   9.2G   1.4G  88% /
>   udev   264M   242k   264M   1% /dev
>   /dev/hda4  4.9G   4.6G   329M  94% /home
>   /dev/hda5   25G21G   3.9G  85% /mnt/share
>   none   264M  0   264M   0% /dev/shm

Please post the output of 'fdisk -l' run as root. Without this info it's
not really possible to give you a full answer, but I'll still try.

>  where hda5 is an extended part located after hda1 and before swap. At
> the ends is hda4.

H, you want ot re-order those partitions so their number follows the
location on-disk.

>   All parts are reiserfs unless hda5 which is FAT and I want to get rid of it.
> 
>  So what I want to do is to increase the size of hda1 and move some
> things around.
>  I plan to remove the extended partition, thereby creating space right
> after hda1 so that this one can be increased. Then I intend to create
> a new swap part of 1Gb right after the new hda1 and use the remaining
> space for /home.

No no no no no you do not want to do this.

Without an extended partition you will limit yourself to 4 partitions
total and it is a nightmare to get it back to having an extended
partition. Leave it as is, it does no harm and as far as you the user
are concerned you end up with up to 16 (maybe 64) partitions max.

> So my question is, can I do all this using QTParted? And in a normal
> session, without unmouting any partitions, or do I need to boot from a
> install-cd?

You do this on the command line with tools like fdisk. QTParted may or
may not be able to do it, I always had uncertain results and have
learned to not trust such gui tools.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread Janusz Bossy

On 7/21/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:

On Fri, 21 Jul 2006 14:37:45 +0200, Janusz Bossy wrote:

> In my opinion doing emerge --update world instead of emerge --update
> --deep world will break your system fast.

It shouldn't, because if any package explicitly requires a later version
of a library, it will be specified  in the ebuild and therefore updated.


I know that the Gentoo team is pretty well organised but there always
is at least one mistake. I'm not saying that something is wrong but I
like to know that everything will be allright with my system after an
update without checking all the new ebuild files :)

--
Pozdrawiam
Janusz YANOUSHek Bossy
gg# 791964
tlen [EMAIL PROTECTED]
jabber [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Stable kernel and stable ati-drivers don't work together?

2006-07-21 Thread Mark Knecht

It seems that with the current stable kernel, 2.6.16-gentoo-r13, and
stable ati-drivers, 8.21.7-r1, I get warning messages emerging
ati-drivers, which is not good:


WARNING: //lib/modules/2.6.16-gentoo-r13/video/fglrx.ko needs unknown
symbol inter_module_unregister
WARNING: //lib/modules/2.6.16-gentoo-r13/video/fglrx.ko needs unknown
symbol inter_module_get_request
WARNING: //lib/modules/2.6.16-gentoo-r13/video/fglrx.ko needs unknown
symbol inter_module_put
WARNING: //lib/modules/2.6.16-gentoo-r13/video/fglrx.ko needs unknown
symbol inter_module_register
  [ ok ] * Adding module
to moduledb.


Where, if anywhere, can I find an updated and current list of what
ati-driver version works with what Gentoo kernel? If not a list, then
is there a way to query a specific ati-driver package to see what it
is expecting?

Or does this message have something to do with the way I built the kernel?

Thanks,
Mark
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: openoffice dies

2006-07-21 Thread Catalin Trifu
yes! i tried that one!

Fabrice Delliaux wrote:
> Catalin Trifu a écrit :
>>  Hi,
>>
> 
> Hi,
> 
>>After upgrading to ooffice-bin-2.0.3 it simply won't run anymore. The 
>> initial
>> screen with the licence comes up but pressing on next crashes it.
>>I've looked on the bugs but there is no such thing there.
>>I had a problem before with the freetype lib but downgrading solved it; 
>> this time it did not.
>>
> 
> Did you try :
> 
>   $ mv ~/.ooo-2.0 ~/.ooo-2.0.old
> 
> ?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome-terminal

2006-07-21 Thread Bruno Lustosa

Hello.

I noticed that after the last upgrade to gnome-terminal, my TERM
variable is set to 'gnome'. The way it is, it causes all kind of
trouble, when, for example, I ssh into another machine and get my TERM
set to gnome too. Things then don't work correctly, vim doesn't
highlight colors, arrow keys don't work, etc.
I think that's because the remote machines do not understand this kind
of terminal, and so fall back to 'dumb' or something like that.
What's the problem with leaving TERM=xterm when under gnome-terminal?
Isn't this a fine standard for all X terminals? Is there a
gnome-terminal configuration somewhere that lets me set the TERM that
I want? I'll have a look at gconf.

Well, that's it.

--
Bruno Lustosa <[EMAIL PROTECTED]>
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Confused with the --oneshot option of portage.

2006-07-21 Thread Bo Ørsted Andresen
On Friday 21 July 2006 12:50, Enrico Weigelt wrote:
> Is there any quick command for removing packages that are no
> longer in world or one of their dependencies ?

From `man emerge`. Use with care and always investigate with --pretend first.

--depclean
Determines  all packages installed on the system that have no explicit 
reason
for being there.  emerge generates a list of packages which it expects 
to be
installed by checking the system package list and the world file.  It 
then
compares that list to the list of packages which are actually 
installed; the
differences are listed as unnecessary packages and then unmerged after a
short timeout.   WARNING:  Removing  some packages may cause packages 
which
link to the removed package to stop working and complain about missing
libraries.  Re-emerge the complaining package to fix this issue.  Note 
that
changes in USE flags can drastically affect the output of --depclean.

> AFAIK, emerge -C kills the packages, no matter if someone depends
> on it :(

Correct.

-- 
Bo Andresen


pgp41HUdV3R8t.pgp
Description: PGP signature


[gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Grant

Does anyone know what the difference between MythTV and the Gentoo VDR
is?  Gentoo VDR seems to have many more plugins.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Before doing something wrong

2006-07-21 Thread Bo Ørsted Andresen
On Friday 14 July 2006 20:01, Sascha Hlusiak wrote:
> Nope, -C is the short for --unmerge. -c would be --clean.

Correct.

> And --clean cleans a package, that means when you have two versions of a
> non slotted ebuild installed. It automatically happens after you upgrade
> a package, first the new version is installed parallel to the existing
> one, then the old one is "cleaned out".
>
> You should never need a manual --clean :) But it should never break
> anything, which --unmerge can.

This is absolutely false. --clean has no effect on unslotted packages. It is 
equivalent to --prune except that it only removes old slots if nothing 
depends on them. Read `man emerge`.

-- 
Bo Andresen


pgpxDTCvCy3LQ.pgp
Description: PGP signature


Re: [gentoo-user] Suggested network fs for small lan ?

2006-07-21 Thread Alexander Skwar

Enrico Weigelt schrieb:


what network filesystem would you suggest for an small LAN ?


NFS. If Windows systems need to access the resources, I'd think
about installing MS SFU on those boxes.

Alexander Skwar
--
bureaucrat, n:
A politician who has tenure.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: audio with TV crd

2006-07-21 Thread Marco Costa
Hi,

Actually, that is what I _have_ to do with my old TV card.
It doesn't have a input for audio and no internal mixer, so I have to record 
the sound directly from the soundcard.

I use menconder to do just that:


mencoder tv:// -tv 
driver=v4l2:device=/dev/video0:input=3:width=640:height=480:alsa -oac mp3lame 
alsa -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8800:vme=3 -o outfile.avi

The man page for mencoder is quite undertandable, if you want to customize the 
parameters.

Regards,

Marco

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto recreate files in /dev?

2006-07-21 Thread Richard Fish

On 7/21/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:

/dev should *NOT* be mounted?


What I mean is the command I gave you will attempt to mount /dev.  So
if you are in that situation again, don't try to mount /dev yourself,
just run the command.

You can take a look at /lib/rcscripts/addons/udev-start.sh for more details.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: audio with TV crd

2006-07-21 Thread James
Uwe Thiem  iway.na> writes:

>  how would I be able to record video *and* audio from the TV card 
> into an MPEG2 file?

Hello Uwe,

In my experienes, you need to build a 'mixing studio' or at least 
a very simple A/V mixing system. There are too many A/V tools to use.
I'd first look at the MoBo book and see what onboard hardware you have
plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
most straightforward. Also look at what sound cards you have.


Then 'eix ' using mixer, audio, jack, alsa etc to 
discover the various packages and try them out. Also use
google to search for  +  where
audio chips are the actual chips you find on your hardware.

'kmix' is a quick and simple mixer that often provides control
over the various audio chips. You'll also have to rebuild your
kernel many times to find the right combo of drivers to compile
in and/or load as modules. Often the various audio chip drivers
conflict at the kernel, udev or application level. There is
no 'silver bullet' to build a mixer/mux for A/V, in my experience.
It all depends on what you need. Moving over old movies, one
of your greatest challenges will be keeping the audio and
video synchronized over the duration of the recorded stream.


hth,

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: grub

2006-07-21 Thread James
Neil Bothwick  digimed.co.uk> writes:


> > Why didn't the old syntax work? (separate partition for /boot)
> > kernel /kernel-2.6.16-gentoo-r13 
> > When it worked from the command line of grub?

> Probably because you had a space after root on the command line, but not
> in grub.conf. If you'd told us the error message GRUB gave, it might be
> possible to guess the cause more accurately.


Sorry,
It gave no error at all, the screen went black and the system did nothing
(locked-up), like it could not find the bootsector, thus requiring it to need a
manual power-cycle.

The system is busy compling xorg-x11, kde-meta et. al.

When it finishes, I shall test Richard's theory and let you guys know
what I learn, paying attention to the various combinations of spaces
and no spaces.

Thanks for all the help (from everyone),

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-21 Thread Uwe Thiem
On 21 July 2006 16:09, Marco Costa wrote:
> Hi,
>
> Actually, that is what I _have_ to do with my old TV card.
> It doesn't have a input for audio and no internal mixer, so I have to
> record the sound directly from the soundcard.
>
> I use menconder to do just that:
>
>
> mencoder tv:// -tv
> driver=v4l2:device=/dev/video0:input=3:width=640:height=480:alsa -oac
> mp3lame alsa -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8800:vme=3 -o
> outfile.avi

I'll try something like that. What do you think of this error message:

Playing tv://.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[EMAIL PROTECTED]>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV PVR-150
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO LANG2
 Capabilites:  video capture  VBI capture device  tuner  audio  read/write
 supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 
= PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = 
NTSC-M; 11 = NTSC-J; 12 = NTSC-K;
 inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1; 3 = S-Video 2; 4 = 
Composite 2;
 Current input: 2
 Current format: unknown (0x4745504d)
v4l2: current audio mode is : MONO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

That ioctl failure doesn't seem to be a permission problem. The relevant 
devices all have group video rw permissions and I am member of video.

>
> The man page for mencoder is quite undertandable, if you want to customize
> the parameters.

Not really. I think that man page is a big mess. ;-) Though one can find one's 
way around in it with tons of time.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggested network fs for small lan ?

2006-07-21 Thread kashani

Alexander Skwar wrote:

Enrico Weigelt schrieb:


what network filesystem would you suggest for an small LAN ?


NFS. If Windows systems need to access the resources, I'd think
about installing MS SFU on those boxes.



	I spent a week fighting with SFU on 2003 last month. While I'm sure I 
missed a number of things and did a few things wrong it was far simpler 
to run NFS for the Linux boxes and Samba for the Windows boxes on the 
main storage head rather than trying to get Windows to play nicely with 
NFS. YMMV.


	On the original question a dedicated NFS server sounds like a solution 
rather than chaining NFS through multiple machines.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stable kernel and stable ati-drivers don't work together?

2006-07-21 Thread Richard Fish

On 7/21/06, Mark Knecht <[EMAIL PROTECTED]> wrote:

Where, if anywhere, can I find an updated and current list of what
ati-driver version works with what Gentoo kernel?


I'm not aware of any list, but you can certainly check the ati-drivers
ChangeLog in /usr/portage/x11-drivers/ati-drivers/ChangeLog.  There
you will find:

 23 Feb 2006; <[EMAIL PROTECTED]>
 +files/ati-drivers-8.22.5-intermodule.patch, ati-drivers-8.22.5.ebuild:
 intermodule fix for kernel 2.6.16 wrt bug#123643

So you need at least 8.22.5 to run a 2.6.16 kernel.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc -> texinfo dependency

2006-07-21 Thread Richard Fish

On 7/21/06, Enrico Weigelt <[EMAIL PROTECTED]> wrote:

Yes, I can live absolutely w/o any docs.


I find this incredibly ironic, considering that both of the portage
questions you asked here today were answered with pointers to, or
quotations of, the emerge man page :-/

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Missing device files for cdroms

2006-07-21 Thread Richard Fish

On 7/21/06, don <[EMAIL PROTECTED]> wrote:

# cd /dev
# /sbin/MAKEDEV hda hdb
# /sbin/cdrom_id --export /dev/hda
# /sbin/cdrom_id --export /dev/hdb
# /sbin/ata_id --export /dev/hdb
# /sbin/ata_id --export /dev/hda
# ll /dev/hda
brw-rw 1 root disk 3, 0 Jul 21 08:20 /dev/hda
# ll /dev/hdb
brw-rw 1 root disk 3, 64 Jul 21 08:20 /dev/hdb


Well that isn't good!

What you should be seeing is something like this:
~ > /sbin/cdrom_id --export /dev/hdc; echo ; /sbin/ata_id --export /dev/hdc
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_RAM=1

ID_TYPE=cd
ID_MODEL=PIONEER_DVD-RW_DVR-110D
ID_SERIAL=
ID_REVISION=1.17
ID_BUS=ata

Was this done after following my earlier advice to modularize your IDE
system, and if so, did you load the necessary modules (modprobe ide-cd
it821x)?

If so, the kernel should be finding the devices.  What does "find /sys
| grep /ide" report?

Can you send me your full dmesg output?

Can you try removing one of the drives (hdb)?  Maybe this is a hardware issue...

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Alexander Fortwinder
Hi everyone,

I'm downloading a torrent file which created a directory name with spaces, so 
when I try to access it in bash, 
it is reported as not being found. How do I deal with it? For example, 
/home/This  is a   some directory
Thanks for suggestions.
Alex

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's exactly --deep for ?

2006-07-21 Thread PaulNM
Enrico Weigelt wrote:
> * Rafael Fernández López <[EMAIL PROTECTED]> wrote:
> 
>>  To sum up, portage will look for updates not only in your world 
>>  file, but on dependencies too.
> 
> ah, so let's say i've installed package A (in world) which 
> required B. if I use --update w/o --deep, only A gets updated,
> but not B. 
> 
> What happens when a newer version of A requires some newer
> version of B than currently installed ? Is B updated automatically ?
> 
> 
> cu

Slightly more thorough explanation:

You do "emerge packageA" , which emerges packageA and its dependency
packageB.  PackageB also has dependencies PackageC and PackageD.

"emerge --update world" will update PackageA and its direct dependency
PackageB.  Packages C+D would only be updated if PackageB absolutely
required more recent versions then what is already installed, and
specifies that in its ebuild.

"emerge --update --deep world" will update all the packages (A,B,C,D).

Doing a deep update will try to update all packages on the computer
except those that meet both of the following:
1: The package is not in the world file, and
2: the package is not a dependency, direct or indirect, of a package in
the world file.

To see if any meet those, run "emerge -p --depclean", and if necessary,
add them to the world file or remove them.


PaulNM
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Mike Williams
On Friday 21 July 2006 19:34, Alexander Fortwinder wrote:
> I'm downloading a torrent file which created a directory name with spaces,
> so when I try to access it in bash, it is reported as not being found. How
> do I deal with it? For example, /home/This  is a   some directory Thanks
> for suggestions.

/home/This\ \ is\ a\ \ \ some\ directory
"/home/This  is a   some directory"
/home/"This  is a   some directory"
/home/This

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Justin R Findlay
On Fri, Jul 21, 2006 at 09:07:14PM +0200, Etaoin Shrdlu wrote:
> Escape the spaces with backslashes, or put the name inside single quotes 
> or double quotes. Bash auto-completion escapes the spaces for you.

Let's everyone take a moment to reflect upon how much bash means to us.



Thank you.  Now returning to your previously scheduled program already
in progress ...


Justin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread PaulNM
Alexander Fortwinder wrote:
> Hi everyone,
> 
> I'm downloading a torrent file which created a directory name with spaces, so 
> when I try to access it in bash, 
> it is reported as not being found. How do I deal with it? For example, 
> /home/This  is a   some directory
> Thanks for suggestions.
> Alex
> 
 You need to escape the spaces:

cd /home/This\ \ is\ a\ \ \ some\ directory

Put a \ in front of any special characters.  Between This and is there
are 2 spaces, so it's \space\space.
Auto complete should help out here, just hit tab after the first few
letters. If more than one file/directory matches, it'll show you all the
matching examples.

PaulNM
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Alan
On Fri, Jul 21, 2006 at 07:49:59PM +0100, Mike Williams wrote:
> On Friday 21 July 2006 19:34, Alexander Fortwinder wrote:
> > I'm downloading a torrent file which created a directory name with spaces,
> > so when I try to access it in bash, it is reported as not being found. How
> > do I deal with it? For example, /home/This ?is a ? some directory Thanks
> > for suggestions.
> 
> /home/This\ \ is\ a\ \ \ some\ directory
> "/home/This  is a   some directory"
> /home/"This  is a   some directory"
> /home/This

mf /home/This* /home/newdirectoryname/

(assuming that there is only one dir starting with "This")

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"Backups are for people who don't pray." -- big Mike
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread TR3M3R3

type the first letter and press TAB key...

;)

Alexander Fortwinder escribió:

Hi everyone,

I'm downloading a torrent file which created a directory name with spaces, so when I try to access it in bash, 
it is reported as not being found. How do I deal with it? For example, /home/This  is a   some directory

Thanks for suggestions.
Alex

  

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Can not start xorg 7.0 after upgrade from ver 6.8

2006-07-21 Thread Nadav Horesh
After X upgrade I can not start X properly: gnome session falls back to text mode, and xfce ended with an empty nonfunctional desktop.The error message I get:FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixingI tried to re-emerge  media-fonts/font-misc-miscbut without success.Any idea what can I do to fix this font problem?system: Dual P4 (IA32), gcc4.1.1 $uname -aLinux nadav 2.6.15-gentoo-r1 #1 SMP PREEMPT Wed Jun 7 12:54:47 IDT 2006 i686 Intel(R) XEON(TM) CPU 2.20GHz GNU/Linuxvideo card: nvidia 440.gnome: 2.14.2

Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Alexander Skwar

Alexander Fortwinder schrieb:

Hi everyone,

I'm downloading a torrent file which created a directory name with spaces, so when I try to access it in bash, 
it is reported as not being found.


What did you do? What was the *EXACT* command?


How do I deal with it?


Correctly :)



For example, /home/This  is a   some directory


cd /home/This\ \ is\ a\ \ \ some\ directory

As I close to always use tab expansion, I'd type

cd /home/Thisand get what I wrote above.


Alexander Skwar
--
On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS.
-- Tarl Neustaedter
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A directory name with spaces in it?

2006-07-21 Thread Alexander Skwar

Mike Williams schrieb:


/home/"This  is a   some directory"


Now, if you're trying to get funny, this would also work:

/home"/This "\ is' 'a'  'some\ director"y"

;)

Alexander Skwar
--
How long does it take a DEC field service engineer to change a lightbulb?

It depends on how many bad ones he brought with him.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Benno Schulenberg
Leonardo wrote:
> I knew Kmenuedit already, but I have way too many apps to loose
> time reorganizing the menu going after them one by one.

So many apps!?  But you do this only once, you never reinstall KDE 
or Gentoo, the customized menus stay with you forever.

But good apps _do_ add themselves to the menus, if they contain 
a .desktop file that goes into /usr/share/applications/ .  If your 
favourite apps don't do this, report a bug to them, upstream.

Benno

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] redirect

2006-07-21 Thread James Lockie

How do I redirect the error from an emerge?
I did 'emerge system 2>&1 >t' and that does most of it but it misses the 
actual error message.

'gpm -m /dev/psaux' fails to open null or I would copy the output to a file.
I did a new install and it is failing to emerge glibc.
gpm used to work on this computer in the previous installation.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Alexander Skwar

Benno Schulenberg schrieb:

But good apps _do_ add themselves to the menus, if they contain 
a .desktop file that goes into /usr/share/applications/ .  If your 
favourite apps don't do this, report a bug to them, upstream.


IMO that's one of the weakpoints of Gentoo. Other distributions,
like the Debian crowd (Ubuntu) or Mandrivia, make it so, that each
and every "important" application is added to the menu. In Ubuntu
it is so, that in Gnome (and I suppose in KDE as well) there's a
"Debian" menu which holds all the applications.

Something like this should be done as well in Gentoo.

Alexander Skwar
--
Are you mentally here at Pizza Hut??
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Gian Domeni Calgeer
Am Freitag, 21. Juli 2006 22:57 schrieb Benno Schulenberg:
> But good apps _do_ add themselves to the menus, if they contain
> a .desktop file that goes into /usr/share/applications/ .  If your
> favourite apps don't do this, report a bug to them, upstream.

Is this also true for games? I know quite a few games which haven't got their 
own .desktop files, like torcs, ace of penguins and gl-117.

Gian
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] redirect

2006-07-21 Thread Neil Bothwick
On Fri, 21 Jul 2006 17:11:48 -0400, James Lockie wrote:

> How do I redirect the error from an emerge?

Set PORT_LOGDIR in /etc/make.conf. The directory you set it to must exist
and be writable by portage.


-- 
Neil Bothwick

WinErr 01F: Reserved for future mistakes of our developers.


signature.asc
Description: PGP signature


Re: [gentoo-user] Kde menu

2006-07-21 Thread Neil Bothwick
On Sat, 22 Jul 2006 00:17:55 +0200, Gian Domeni Calgeer wrote:

> Is this also true for games? I know quite a few games which haven't got
> their own .desktop files, like torcs, ace of penguins and gl-117.

File bugs for them.


-- 
Neil Bothwick

Gotta run, cat's caught in the printer...


signature.asc
Description: PGP signature


Re: [gentoo-user] Kde menu

2006-07-21 Thread Roy Wright

Benno Schulenberg wrote:
But good apps _do_ add themselves to the menus, if they contain 
a .desktop file that goes into /usr/share/applications/ .  If your 
favourite apps don't do this, report a bug to them, upstream.
  


What I'd really love would be for the ebuild to elog which menu folder 
the application

is installed to!

My standard procedure is:

1. emerge newApp
2. look in the folder(s) I'd expect it to be in
3. look in Lost & Found
4. look in all folders
5. run Menu Updating Tool
6. manually create the menu entry

BTW, anyone know how KDE stores the menu items?  It might be faster to 
search

there with find/grep...

Have fun,
Roy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] redirect

2006-07-21 Thread Richard Fish

On 7/21/06, James Lockie <[EMAIL PROTECTED]> wrote:

How do I redirect the error from an emerge?
I did 'emerge system 2>&1 >t' and that does most of it but it misses the
actual error message.


2>&1 >foo is the wrong syntax for what you want.  This first copies
stderr to stdout, and the second part redirects stdout to a file, but
stderr is still going to the file descriptor that stdout originally
refered to.  It is logically the equivalent of:

stdout=1
stderr=2
stderr=$stdout
stdout=foo
echo $stderr

The correct syntax is ">foo 2>&1", which does the logical equivalent of:

stdout=1
stderr=2
stdout=foo
stderr=$stdout

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde menu

2006-07-21 Thread Richard Fish

On 7/21/06, Leonardo <[EMAIL PROTECTED]> wrote:

On the 'not so happy' side I think I have found only minor
things; the biggest point is I don't have a 'consistent' kde
menu:


I think you will find that Gentoo follows the $upstream releases much
more closely than other distributions...


some applications with GUI are missing from the menu


...so if some GUI application doesn't have a .desktop file provided by
$upstream, Gentoo probably will not have it.

However it is perfectly reasonable to file bugs in bugs.gentoo.org
about this, and request a .desktop file be added.  It is even better
if you can make a .desktop file yourself, and attach it to the bug
report.


some are present twice


Did you preserve your ~/.kde directories from another system?  If so,
you may have .desktop files there that account for the duplicate
entries.


the categorization itself is somehow dis-organized, with some entries showing an
'other' child menu, listing applications that could fit also in the parent menu
(things like kde->graphic->other).


Not sure what you mean by "other".  I have "More Applications"
sub-menus, but no "Other" menus.  But assuming this is what you mean,
this is controlled by the X-KDE-More category in the .desktop file.
Again, this is a case of Gentoo following $upstream more closely.

If you really don't like this, you can:

find /usr/kde/3.5/share/applications -name "*.desktop" -exec \
   sed -i -e "s/X-KDE-More;//g" {} \;

But bewarned, gentoo will then refuse to remove the .desktop files
when you go to a new KDE version, since their mtime and md5sum will no
longer match what gentoo thinks they should be.  So you may have to do
a bit of manual cleanup from time-to-time.  Or you can use quickpkg to
make binary tarballs of the KDE packages, and then re-install from
those, which will fix the mtime/md5 sums in the package database to
match what you changed.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11-7.0 upgrade question

2006-07-21 Thread Ryan Tandy

Mark Knecht wrote:

However, isn't that only part of the required file set?
There are patches and other things generally needed to allow an ebuild
actually install correctly. Where do I get those?


Just direct ${BROWSER} to sources.gentoo.org, and look in the gentoo-x86 
repository.  Anything that could ever at some time have been acquired 
via --sync is in there.  If a file seems to be missing (i.e. has been 
deleted), click "Show x dead files" at the top, e.g.:


http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/mythtv/files/?hideattic=0

where "hideattic=0" is the important part.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with gst-plugins-mad depclean

2006-07-21 Thread Peter Kelly
Holas,

I decided to perform my (semi) monthly `emerge -a --depclean`, and ran into a 
problem.
Part of the cleaning involved 

-- media-plugins/gst-plugins-mad
selected: 0.6.4
   protected: none
 omitted: 0.8.11

Well, doing this bails with 
/var/db/pkg/media-plugins/gst-plugins-mad-0.6.4/gst-plugins-mad-0.6.4.ebuild: 
line 10: unexpected EOF while looking for matching `"'
/var/db/pkg/media-plugins/gst-plugins-mad-0.6.4/gst-plugins-mad-0.6.4.ebuild: 
line 12: syntax error: unexpected end of file

Not too surprising, since the ebuild looks like 
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# 
$Header: 
/home/cvsroot/gentoo-x86/media-plugins/gst-plugins-mad/gst-plugins-mad-0.6.4.ebuild,v
 
1.8 2004/03/07 22:40:56 avenj Exp $

inherit gst-plugins

KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64"

IUSE=""
DEPEND="media-sound/madplay^A

and that's it.  Re-sync'ing didn't help.  Looking at my weekly backups, the 
ebuild looks the same.  Google didn't find any ebuild this old.  gentoo.org 
doesn't have an ebuild this old.  OK.  It's busted.  Furthermore, eix now 
shows 

crichton WORD # eix gst-plugins-mad
Garbage at end of version string: ortage_lockfile
Garbage at end of version string: ortage_lockfile
* media-plugins/gst-plugins-mad
 Available versions:  0.8.8 ~0.8.9 0.8.10 0.8.11 ~0.8.12 0.10.3
 Installed:   0.6.4 0.6.4.portage_lockfile 0.8.11


Accepting that's it broken, how can I fix it?  How can I make portage forget 
that 0.6.4 is installed?

Thanks.

Peter

--
Stupid, n.:
Losing $25 on the game and $25 on the instant replay.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can not start xorg 7.0 after upgrade from ver 6.8

2006-07-21 Thread David Corbin
On Friday 21 July 2006 16:03, Nadav Horesh wrote:
> After X upgrade I can not start X properly: gnome session falls back to
> text mode, and xfce ended with an empty nonfunctional desktop. The error
> message I get:
>
> FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1;
> fixing


I had this problem, too.  In my case, it was misdirection.  look further up in 
the startx output.  I found a bunch of stale 'files' in /etc/X11/Xsession.  I 
cleaned out all the crap from previous KDE versions, etc., and it worked 
fine.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can not start xorg 7.0 after upgrade from ver 6.8

2006-07-21 Thread PaulNM
David Corbin wrote:
> On Friday 21 July 2006 16:03, Nadav Horesh wrote:
>> After X upgrade I can not start X properly: gnome session falls back to
>> text mode, and xfce ended with an empty nonfunctional desktop. The error
>> message I get:
>>
>> FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1;
>> fixing
> 
> 
> I had this problem, too.  In my case, it was misdirection.  look further up 
> in 
> the startx output.  I found a bunch of stale 'files' in /etc/X11/Xsession.  I 
> cleaned out all the crap from previous KDE versions, etc., and it worked 
> fine.

I agree, I had issues with getting X setup on a new machine, and thought
that was the problem (refcount).  The issue was fixed, and X works, but
I still get that error. I even get that message on my Debian Etch machine!

I'd also check to make sure xorg-xserver is installed.

PaulNM
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 08:15:31 -0700
Grant <[EMAIL PROTECTED]> wrote:

> Does anyone know what the difference between MythTV and the Gentoo VDR
> is?  Gentoo VDR seems to have many more plugins.
> 
> - Grant

what is gentoo vdr? can you point to a website or other resource?

> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 16:40:07 + (UTC)
James <[EMAIL PROTECTED]> wrote:

> Uwe Thiem  iway.na> writes:
> 
> >  how would I be able to record video *and* audio from the TV card 
> > into an MPEG2 file?
> 
> Hello Uwe,
> 
> In my experienes, you need to build a 'mixing studio' or at least 
> a very simple A/V mixing system. There are too many A/V tools to use.
> I'd first look at the MoBo book and see what onboard hardware you have
> plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
> most straightforward. Also look at what sound cards you have.
> 
> 
> Then 'eix ' using mixer, audio, jack, alsa etc to 
> discover the various packages and try them out. Also use
> google to search for  +  where
> audio chips are the actual chips you find on your hardware.
> 
> 'kmix' is a quick and simple mixer that often provides control
> over the various audio chips. You'll also have to rebuild your
> kernel many times to find the right combo of drivers to compile
> in and/or load as modules. Often the various audio chip drivers
> conflict at the kernel, udev or application level. There is
> no 'silver bullet' to build a mixer/mux for A/V, in my experience.
> It all depends on what you need. Moving over old movies, one
> of your greatest challenges will be keeping the audio and
> video synchronized over the duration of the recorded stream.
> 
> 
> hth,
> 
> James

this is all completely irrelevant to the question.

The PVR-150 muxes the audio and video into an mpeg stream.

When using "composite in" the sound should be coming in the "line in"

However your driver may need to be switched to the right device, use ivtvctl

ivtvctl -A   - lists the audio inputs
ivtvctl -Q   - tells which one it is switched to now
ivtvctl -qn   - switches to input n



> 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Ted Ozolins
Nick Rout wrote:

>On Fri, 21 Jul 2006 08:15:31 -0700
>Grant <[EMAIL PROTECTED]> wrote:
>
>  
>
>>Does anyone know what the difference between MythTV and the Gentoo VDR
>>is?  Gentoo VDR seems to have many more plugins.
>>
>>- Grant
>>
>>
>
>what is gentoo vdr? can you point to a website or other resource?
>
>  
>
>>-- 
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
http://www.cadsoft.de/vdr/

-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 19:50:24 -0700
Ted Ozolins <[EMAIL PROTECTED]> wrote:

> Nick Rout wrote:
> 
> >On Fri, 21 Jul 2006 08:15:31 -0700
> >Grant <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Does anyone know what the difference between MythTV and the Gentoo VDR
> >>is?  Gentoo VDR seems to have many more plugins.
> >>
> >>- Grant
> >>
> >>
> >
> >what is gentoo vdr? can you point to a website or other resource?
> >
> >  
> >
> >>-- 
> >>gentoo-user@gentoo.org mailing list
> >>
> >>
> >>
> http://www.cadsoft.de/vdr/

Yes but what has that to do with gentoo? Its not a gentoo project! I was 
confused by the OP referring to "gentoo vdr"

differences AFAIK:

1. VDR is for DVB only 

2. VDR is very Euro-centric - thats not a criticism, just worth knowing as 
european tv has many differences to, eg, USA tv in terms of technical format.

3. There is far more documentation around for MythTV, I struggle to find good 
docs for VDR.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suggested network fs for small lan ?

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 10:08:51 -0700
kashani <[EMAIL PROTECTED]> wrote:

> Alexander Skwar wrote:
> > Enrico Weigelt schrieb:
> > 
> >> what network filesystem would you suggest for an small LAN ?
> > 
> > NFS. If Windows systems need to access the resources, I'd think
> > about installing MS SFU on those boxes.
> > 
> 
>   I spent a week fighting with SFU on 2003 last month. While I'm sure I 
> missed a number of things and did a few things wrong it was far simpler 
> to run NFS for the Linux boxes and Samba for the Windows boxes on the 
> main storage head rather than trying to get Windows to play nicely with 
> NFS. YMMV.
> 
>   On the original question a dedicated NFS server sounds like a solution 
> rather than chaining NFS through multiple machines.

I wasted days getting NFS to not work. I switched to CIFS. It is working very 
well.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] libGL.so

2006-07-21 Thread Randy Barlow
Howdy all,

I ran an update deep and such, and things worked nicely.  And after
that I ran a revdep-rebuild, and things didn't go so smoothly.  I'm
running into this error:

/usr/lib/libGL.so: No such file or directory

Now, I do have libGL.so.1, as well as 1.0.7174 (which I think is an
artifact of an nvidia driver I was trying to get to work with no luck).

Actually, those parentheses deserve a bit of splainin'.  I've got an
old nVidia TNT2 card here, and the proprietary nVidia drivers don't seem
to play nice with the newer kernel just yet.  So I switched back to the
regular nv driver for the meantime.  This is why the 1.0.7174 soname is
there I think...

Anyways, anybody know what I need to emerge to get the libGL.so that
revdep-rebuild wants to see to be there?  Thanks!

R
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread PaulNM
Nick Rout wrote:
> On Fri, 21 Jul 2006 19:50:24 -0700
> Ted Ozolins <[EMAIL PROTECTED]> wrote:
> 
>> Nick Rout wrote:
>>
>>> On Fri, 21 Jul 2006 08:15:31 -0700
>>> Grant <[EMAIL PROTECTED]> wrote:
>>>
>>>  
>>>
 Does anyone know what the difference between MythTV and the Gentoo VDR
 is?  Gentoo VDR seems to have many more plugins.

 - Grant


>>> what is gentoo vdr? can you point to a website or other resource?
>>>
>>>  
>>>
 -- 
 gentoo-user@gentoo.org mailing list



>> http://www.cadsoft.de/vdr/
> 
> Yes but what has that to do with gentoo? Its not a gentoo project! I was 
> confused by the OP referring to "gentoo vdr"
> 
> differences AFAIK:
> 
> 1. VDR is for DVB only 
> 
> 2. VDR is very Euro-centric - thats not a criticism, just worth knowing as 
> european tv has many differences to, eg, USA tv in terms of technical format.
> 
> 3. There is far more documentation around for MythTV, I struggle to find good 
> docs for VDR.
> 

Hey all,
The latest Gentoo Weekly Newsletter:
http://www.gentoo.org/news/en/gwn/20060717-newsletter.xml

Has info about "The Gentoo Video Disk Recorder (VDR) project", with a link:
http://www.gentoo.org/proj/en/desktop/video/vdr/

The second link lists an irc channel as well.

HTH,
PaulNM
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Richard Fish

On 7/21/06, Nick Rout <[EMAIL PROTECTED]> wrote:

On Fri, 21 Jul 2006 08:15:31 -0700
Grant <[EMAIL PROTECTED]> wrote:

> Does anyone know what the difference between MythTV and the Gentoo VDR
> is?  Gentoo VDR seems to have many more plugins.
>
> - Grant

what is gentoo vdr? can you point to a website or other resource?


http://www.gentoo.org/proj/en/desktop/video/vdr/

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGL.so

2006-07-21 Thread Richard Fish

On 7/21/06, Randy Barlow <[EMAIL PROTECTED]> wrote:

Anyways, anybody know what I need to emerge to get the libGL.so that
revdep-rebuild wants to see to be there?  Thanks!


"eselect opengl set xorg-x11" should take care of it.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MythTV vs. Gentoo VDR

2006-07-21 Thread Nick Rout
On Fri, 21 Jul 2006 23:32:28 -0400
PaulNM <[EMAIL PROTECTED]> wrote:


> Hey all,
> The latest Gentoo Weekly Newsletter:
> http://www.gentoo.org/news/en/gwn/20060717-newsletter.xml
> 
> Has info about "The Gentoo Video Disk Recorder (VDR) project", with a link:
> http://www.gentoo.org/proj/en/desktop/video/vdr/
> 
> The second link lists an irc channel as well.
> 
> HTH,
>   PaulNM

I take it all back!

thanks for the link!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGL.so

2006-07-21 Thread Randy Barlow
Hey Richard, thanks for the reply, but I've already run that command:

[EMAIL PROTECTED] ~ $ sudo eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

Any other ideas?

R

Richard Fish wrote:
> On 7/21/06, Randy Barlow <[EMAIL PROTECTED]> wrote:
>> Anyways, anybody know what I need to emerge to get the
>> libGL.so that
>> revdep-rebuild wants to see to be there?  Thanks!
> 
> "eselect opengl set xorg-x11" should take care of it.
> 
> -Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGL.so

2006-07-21 Thread Richard Fish

On 7/21/06, Randy Barlow <[EMAIL PROTECTED]> wrote:

Hey Richard, thanks for the reply, but I've already run that command:



That really should work:

carcharias rjf # ll /usr/lib/libGL.so
lrwxrwxrwx 1 root root 37 Jul 21 22:13 /usr/lib/libGL.so ->
/usr/lib/opengl/xorg-x11/lib/libGL.so
carcharias rjf # rm /usr/lib/libGL.so
carcharias rjf # eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done
carcharias rjf # ll /usr/lib/libGL.so
lrwxrwxrwx 1 root root 37 Jul 21 22:13 /usr/lib/libGL.so ->
/usr/lib/opengl/xorg-x11/lib/libGL.so

What does "ls -l /usr/lib/opengl/xorg-x11/lib/libGL*" show?


Any other ideas?


I suppose you can try to recreate the link manually.  It should link
to /usr/lib/opengl/xorg-x11/lib/libGL.so.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge - system error

2006-07-21 Thread James Lockie
checking size of long double... configure: error: cannot compute sizeof 
(long double), 77

See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.6-r4 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 glibc-2.3.6-r4.ebuild, line 1117:   Called src_compile
 glibc-2.3.6-r4.ebuild, line 1128:   Called toolchain-glibc_src_compile
 glibc-2.3.6-r4.ebuild, line 222:   Called glibc_do_configure 'nptl'
 glibc-2.3.6-r4.ebuild, line 905:   Called die

!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call 
stack if relevant.



How do I fix this.
I am trying to upgrade a new install on an AMD64.


--
gentoo-user@gentoo.org mailing list