[gentoo-user] Re: MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Harry Putnam
Neil Bothwick  writes:

> On Sun, 14 Mar 2010 18:19:03 -0500, Harry Putnam wrote:
>
>> Ok, fine but first I want to find out what the unexplained tilde
>> means. There are only a handfull of packagew with that notation in the
>> masked file... where do look to find out its meaning?
>
> Try man 5 ebuild.
>
> "~ means match any revision of the base version specified."

Thanks... now I can go ahead and trash my system... hehe.

Seriously, Do you know why emacs-24 is masked like that?

What little I know of Ulrich Mueller is that he is quite a stalwart
fellow and not much would get by him.  I guess its just that its the
cvs version eh?




Re: [gentoo-user] what's wrong with rsync 3.0.6?

2010-03-14 Thread fire-eyes

Jarry wrote:

Hi, I noticed this error when I try to sync my portage tree:

---
obelix ~ # emerge --sync
 >>> Starting rsync with rsync://134.68.220.73/gentoo-portage...
 >>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at 
rsync.c(544) [receiver=3.0.6]

 >>> Retrying...

 >>> Starting retry 1 of 3 with rsync://134.68.220.74/gentoo-portage
 >>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at 
rsync.c(544) [receiver=3.0.6]

 >>> Retrying...
---

It started about month ago and it happens quite frequently, I'd say
there is ~30% chance I get this message when I try "emerge --sync".
What could be the reason for this, and how could I fix it?

Jarry




It's not rsync it's the servers. Are you using the EU pool? I am, and I 
have that problem frequently. In my opinion, the EU pool is of rather 
poor quality.




Re: [gentoo-user] Re: Compiz effects vs kwin

2010-03-14 Thread ubiquitous1980
Kacper Kopczyński wrote:
> Dnia 2010-03-14, o godz. 05:34:04
> Nikos Chantziaras  napisał(a):
>
>   
>> On 03/14/2010 04:57 AM, ubiquitous1980 wrote:
>> 
>>> Nikos Chantziaras wrote:
>>>   
 On 03/14/2010 02:53 AM, ubiquitous1980 wrote:
 
> The effects in kwin (such as window wobble) are vastly less
> smooth than that in compiz.  I have noticed that compiz is faster
> in both kde4 and in gnome (with slight preference to gnome in
> speed) and wondering if this is normal, or something to do with
> my kwin setup.  Running on GM 965
>   
 kwin got crappy animation speed in KDE 4.4.  It was as smooth as
 compiz in 4.3.  I asked about it in the KDE mailing list, but there
 was zero interest in this regression.  So you either have to live
 with it, or switch to compiz.


 
>>> Thanks for your reply.  I am currently using kde 4.3 because I try
>>> only to update to downstream-stable.  Is there another explanation?
>>>   
>> Too old drivers and X maybe.  Since you're using downstream-stable,
>> but the cool DRM/GL/KMS stuff is only in the latest upstream
>> versions, this might be the problem.
>>
>>
>> 
>
> kwin is slower on intel cards. Kwin with gnome or xfce is much
> faster... Intel video cards are very slow...
>
> From my experience every version of kde above 3.0 is slower than any
> other window manager (gnome (sawfish, metacity, enlightenment),
> xfce(xfwm), compiz, lxde,...), on every machine I've had. It needs more
> memory, faster hard disks, stable filesystem (ext4::delalloc?), better
> video card... and so on. Even Qt seems to be slower than GTK+ if you
> launch application that does similar thing.
>
> ...or it's just my imagination :)
>
> If you want smooth kde get a nvidia or ati card, at least 256MB, 2GB
> ram, 1.6GHz.
>
> You could also try nice/renice
>
>   
Thanks for your advice.  It seems that this is the way of things: compiz
is very efficient but slightly incompatible with kde 4.x and kwin is
highly compatible and integrated but uses a lot of horse power.

Thanks,

Damien



[gentoo-user] Re: MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread »Q«
On Sun, 14 Mar 2010 18:19:03 -0500
Harry Putnam  wrote:
 
> Ok, fine but first I want to find out what the unexplained tilde
> means. There are only a handfull of packagew with that notation in the
> masked file... where do look to find out its meaning?

~category/package-version denotes all revision ebuilds of that
version, e.g. category/package-version-r2.

I don't recall whether or where it's documented.

-- 
»Q«
 Kleeneness is next to Gödelness.




Re: [gentoo-user] MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Paul Hartman
On Sun, Mar 14, 2010 at 5:19 PM, Harry Putnam  wrote:
> Trying to emerge emacs-24, testing with:
>
> emerge -vp =emacs-vcs-24.0.
>
> I'm told its masked in /usr/portage/profiles/package.mask
>
> But when I look there, I see:
>  # Ulrich Mueller  (10 Mar 2010)
>  # Emacs live ebuilds. Use at your own risk.
>  ~app-editors/emacs-vcs-23.1.
>  ~app-editors/emacs-vcs-24.0.
>  ~virtual/emacs-24
>
> With no explanation of what the Tilde means.
>
> Looking thru man emerge in the MASKED section there is only one mention of
> tilde and its in relation to notating architecture like ~x86.
>
> All Ulrich M. says is `use at your own risk'
>
> Ok, fine but first I want to find out what the unexplained tilde
> means. There are only a handfull of packagew with that notation in the
> masked file... where do look to find out its meaning?
>
> PS- and by the way, there is no mention what so ever of `tilde' in
> man portage.

I think generally in portage tilde means "about". For example if you
want to mask ~foo-1.00 it will also cover foo-1.00-r1 etc. rather than
mask >=foo-1.0.0 and 

Re: [gentoo-user] MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Neil Bothwick
On Sun, 14 Mar 2010 18:19:03 -0500, Harry Putnam wrote:

> Ok, fine but first I want to find out what the unexplained tilde
> means. There are only a handfull of packagew with that notation in the
> masked file... where do look to find out its meaning?

Try man 5 ebuild.

"~ means match any revision of the base version specified."


-- 
Neil Bothwick

It's the year 2000. Where are all the flying cars? I was promised flying
cars!


signature.asc
Description: PGP signature


[gentoo-user] MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Harry Putnam
Trying to emerge emacs-24, testing with:

emerge -vp =emacs-vcs-24.0.

I'm told its masked in /usr/portage/profiles/package.mask

But when I look there, I see:
  # Ulrich Mueller  (10 Mar 2010)
  # Emacs live ebuilds. Use at your own risk.
  ~app-editors/emacs-vcs-23.1.
  ~app-editors/emacs-vcs-24.0.
  ~virtual/emacs-24

With no explanation of what the Tilde means.

Looking thru man emerge in the MASKED section there is only one mention of
tilde and its in relation to notating architecture like ~x86.

All Ulrich M. says is `use at your own risk'

Ok, fine but first I want to find out what the unexplained tilde
means. There are only a handfull of packagew with that notation in the
masked file... where do look to find out its meaning?

PS- and by the way, there is no mention what so ever of `tilde' in 
man portage.  




Re: [gentoo-user] Re: Compiz effects vs kwin

2010-03-14 Thread Kacper Kopczyński
Dnia 2010-03-14, o godz. 05:34:04
Nikos Chantziaras  napisał(a):

> On 03/14/2010 04:57 AM, ubiquitous1980 wrote:
> > Nikos Chantziaras wrote:
> >> On 03/14/2010 02:53 AM, ubiquitous1980 wrote:
> >>> The effects in kwin (such as window wobble) are vastly less
> >>> smooth than that in compiz.  I have noticed that compiz is faster
> >>> in both kde4 and in gnome (with slight preference to gnome in
> >>> speed) and wondering if this is normal, or something to do with
> >>> my kwin setup.  Running on GM 965
> >>
> >> kwin got crappy animation speed in KDE 4.4.  It was as smooth as
> >> compiz in 4.3.  I asked about it in the KDE mailing list, but there
> >> was zero interest in this regression.  So you either have to live
> >> with it, or switch to compiz.
> >>
> >>
> > Thanks for your reply.  I am currently using kde 4.3 because I try
> > only to update to downstream-stable.  Is there another explanation?
> 
> Too old drivers and X maybe.  Since you're using downstream-stable,
> but the cool DRM/GL/KMS stuff is only in the latest upstream
> versions, this might be the problem.
> 
> 

kwin is slower on intel cards. Kwin with gnome or xfce is much
faster... Intel video cards are very slow...

From my experience every version of kde above 3.0 is slower than any
other window manager (gnome (sawfish, metacity, enlightenment),
xfce(xfwm), compiz, lxde,...), on every machine I've had. It needs more
memory, faster hard disks, stable filesystem (ext4::delalloc?), better
video card... and so on. Even Qt seems to be slower than GTK+ if you
launch application that does similar thing.

...or it's just my imagination :)

If you want smooth kde get a nvidia or ati card, at least 256MB, 2GB
ram, 1.6GHz.

You could also try nice/renice

-- 
Kacper Kopczyński



Re: [gentoo-user] Starting up gpg-agent script

2010-03-14 Thread Neil Bothwick
On Sun, 14 Mar 2010 20:23:40 +, Mick wrote:

> I am trying this script in /etc/env.d/90gpg-agent:
> 
> if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 
> $HOME/.gpg-agent-info` 2>/dev/null; then
> GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info`
> export GPG_AGENT_INFO
> else
> eval `/usr/bin/gpg-agent --daemon`
> echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info
> fi
> 
> 
> But when I emerged kgpg I got this error:
> 
> !!! 'ParseError: Invalid token 'test' (not '='): 
> /etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent'
> 
> 
> Can you please help me correct the above script, I'm not sure 
> what's wrong with it.

env-update doesn't evaluate scripts. It expects only variable assignments.

You mention kgpg, are you using KDE? If so, it takes care of this
automatically, you only need to uncomment the relevant lines in the agent
startup and shutdown scripts in /etc/kde. Otherwise, put the script in a
file in /etc/profile.d.


-- 
Neil Bothwick

Top Oxymorons Number 17: Clearly misunderstood


signature.asc
Description: PGP signature


[gentoo-user] Starting up gpg-agent script

2010-03-14 Thread Mick
Hi All,

I am trying this script in /etc/env.d/90gpg-agent:

if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 
$HOME/.gpg-agent-info` 2>/dev/null; then
GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info`
export GPG_AGENT_INFO
else
eval `/usr/bin/gpg-agent --daemon`
echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info
fi


But when I emerged kgpg I got this error:

!!! 'ParseError: Invalid token 'test' (not '='): 
/etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent'


Can you please help me correct the above script, I'm not sure 
what's wrong with it.
-- 
Regards,
Mick



[gentoo-user] Re: about sys-fs/zfs-fuse and qmerge

2010-03-14 Thread Harry Putnam
William Kenworthy  writes:

[...]

> qmerge is an argument to ebuild:

Neil Bothwick  writes:

[...]

> Actually, you don't need all of this as ebuild will perform all
> uncompleted previous stages, so you only need
>
> ebuild unpack
> edit file
> ebuild qmerge

Nice... thanks... I got confused with the qmerge in portage utils.




Re: [gentoo-user] bluez

2010-03-14 Thread Stroller


On 13 Mar 2010, at 21:15, dhk wrote:


The Gentoo Linux Bluetooth Guide says to ...


According to the last person who posted on this list on this subject,  
that guide is obsolete & incorrect.


See: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg97261.html
http://tinyurl.com/yfobgoo

Stroller



Re: [gentoo-user] what's wrong with rsync 3.0.6?

2010-03-14 Thread Florian Philipp
Am 14.03.2010 00:42, schrieb pk:
> On 2010-03-13 20:15, Jarry wrote:
> 
>> obelix ~ # emerge --sync
> Starting rsync with rsync://134.68.220.73/gentoo-portage...
> Checking server timestamp ...
>> timed out
>> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
>> rsync.c(544) [receiver=3.0.6]
> Retrying...
> 
> It's the server, not rsync that's at fault. rsync is merely telling you
> that it cannot connect and is retrying to connect. Just choose another
> mirror (emerge mirrorselect if you haven't already and then do
> 'mirrorselect -i' - of course without the '').
> 
> Best regards
> 
> Peter K
> 

It can also happen if you are one a slow or lossy connection or have
other network problems. I, for example, experienced similar problems
when reverse DNS lookups did not work.

In this case, you can try to set a longer timeout. For this, add
PORTAGE_RSYNC_INITIAL_TIMEOUT=60
or something similar to /etc/make.conf

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] about sys-fs/zfs-fuse and qmerge

2010-03-14 Thread Neil Bothwick
On Sun, 14 Mar 2010 00:43:09 -0600, Harry Putnam wrote:

> In the comments... (#3) someone has asked to make the emerge once a
> specific file is edited to remove Werror calls.
> 
> Someone replies with these few lines:
>   ebuild /path/to/ebuild unpack
>   edit the file
>   ebuild /path/to/ebuild compile then install then qmerge
> 
> I did `ebuild unpack'
> Found the file and made the necessary edits.
> 
> Then ebuild install.
> 
> But now looking a t man qmerge... its not at all clear how to install
> this compiled package with qmerge
> 
>   qmerge  

It means ebuild compile, then ebuild install then ebuild qmerge. qmerge
is an action for ebuild, although there is an unreleated qmerge commands
in portage-utils.

Actually, you don't need all of this as ebuild will perform all
uncompleted previous stages, so you only need

ebuild unpack
edit file
ebuild qmerge


-- 
Neil Bothwick

I am in total control, but don't tell my wife.


signature.asc
Description: PGP signature


Re: [gentoo-user] about sys-fs/zfs-fuse and qmerge

2010-03-14 Thread William Kenworthy
On Sun, 2010-03-14 at 00:43 -0600, Harry Putnam wrote:
> I need a little coaching on qmerge usage.
> 

qmerge is an argument to ebuild:

"ebuild file.ebuild compile install qmerge"

documented in "man ebuild"

BillK



-- 
William Kenworthy 
Home in Perth!