[gentoo-user] ATI-drivers versioning system - I'm confused

2010-03-25 Thread Helmut Jarausch
Hi,

would anybody please to kind to explain the x11-drivers/ati-driver
versioning system to me? I'm waiting for a version that supports
Xorg-7.x .

From the bug report
http://bugs.gentoo.org/show_bug.cgi?id=290739
it looks like version 8.721 supports Xorg-7.x
and would thus be more recent than say 10.2

What's the difference between the 8.x and the 10.x
series?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] ATI-drivers versioning system - I'm confused

2010-03-25 Thread Helmut Jarausch
On 25 Mar, ich bins wrote:
 Am 25.03.2010 10:45, schrieb Helmut Jarausch:
 Hi,

 would anybody please to kind to explain the x11-drivers/ati-driver
 versioning system to me? I'm waiting for a version that supports
 Xorg-7.x .

 From the bug report
 http://bugs.gentoo.org/show_bug.cgi?id=290739
 it looks like version 8.721 supports Xorg-7.x
 and would thus be more recent than say 10.2

 What's the difference between the 8.x and the 10.x
 series?

 Many thanks for a hint,
 Helmut.

   
 
  8.721 represents the ubuntu prebeta 10.4 ati-driver. 
 
 xorg 7.X support will be in ati-driver-10.4 (or the beta 8.721)
 

Many thanks, do you have an estimate when 10.4 appears in the tree?
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] ATI-drivers versioning system - I'm confused

2010-03-26 Thread Helmut Jarausch
On 26 Mar, Alex Schuster wrote:
 Mick writes:
 
 On 25 March 2010 11:50, Helmut Jarausch jarau...@igpm.rwth-aachen.de
 wrote:
 
  Many thanks, do you have an estimate when 10.4 appears in the tree?
  Helmut.
 
 I can't answer that (as far as I know the devs will only say that it
 will appear when it is ready) but I got myself into a pickle with
 trying to switch from radeon to fglrx driver, running xorg-server
 1.7.6.  
 
 I think you have to wait for ati-drivers-10.4 to work with xorg-1.7.
 

I just want to report back, that xorg-server-1.7.6 (+ friends) is running
just fine with  x11-drivers/ati-drivers-8.721 .
The only minor problem was that one has to re-emerge all other installed
x11-drivers/* packages.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] ghostscript / a2ps Courier invalidfont

2010-03-29 Thread Helmut Jarausch
Hi,

having emerged app-text/ghostscript-gpl-8.71-r2

ghostscript bails out for a postscript file
which was generated by a2ps containing

  /fCourier ISO-8859-1Encoding /Courier reencode_font

which causes a ghostscript error:
Error: /invalidfont in /findfont
Operand stack:
   iso1dict   fCourier   --nostringval--   Courier
Execution stack:
   %interp_exit   .runexec2   --nostringval-GPL Ghostscript 8.71: Unrecoverable 
error, exit code 1
-   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   
%oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   1739 
  1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--   --nostringval--   1820   4   5   %oparray_pop
Dictionary stack:
   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   
--dict:56/200(L)--   --dict:0/8(L)--
Current allocation mode is local
Last OS error: 2

Has anybody experienced such an error?
Which fonts should be installed with ghostscript?
The ebuild requires media-fonts/urw-fonts which is blocking 
media-fonts/gnu-gs-fonts-std

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] X11 keyboard permanent mode switch ?

2010-03-30 Thread Helmut Jarausch
Hi,

I've set up the 'menu key' (left to the right control key on an US
keyboard) as 'mode switch' (to enable entering non-ASCII characters).
By (bad) chance I discovered that entering this menu-key together with
the right control-key seems to lock the mode switch (so I have to press
it again (each time) to enter normal ASCII characters).
If I'm lucky I can revert this to normal if I press the menu-key and the
right control-key 'at the right timing'.
Is this a bug or a feature (xorg-server-1.7.6)

Many thanks for a comment,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] Xauthority and su

2010-04-06 Thread Helmut Jarausch
Hi,

when maintaining a machine from remote I sometimes have to switch to
a non-root user (whose password I don't want to know) to try something
out.

For that, I log into that machine by  ssh -Y r...@
Now, how can I switch to user USER such that the X credentials
are copied.
Unfortunately, sux (from X11-misc/sux) doesn't work in that case.
I always get
X11 connection rejected because of wrong authentication.

Are there any means to achieve this?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Helmut Jarausch
On  7 Apr, Jonas de Buhr wrote:
 
Are there any means to achieve this?

Hi Helmut,

you need to read man xauth :)
 
 or maybe this:
 http://www.xs4all.nl/~zweije/xauth-6.html#ss6.3
 
 skip the DISPLAY-part if you're using ssh -Y.
 

Hi Jonas,
unfortunately, I don't understand your advice.

I do have X11 forwarding configured and I don't have any problems
when working as the same user for which I logged in via ssh -Y.
But if I change the user by using su (doesn't work) or sux (works on
a local machine), Xauthorization fails.

Thanks,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Xauthority and su

2010-04-07 Thread Helmut Jarausch
On  7 Apr, Jonas de Buhr wrote:
 
I do have X11 forwarding configured and I don't have any problems
when working as the same user for which I logged in via ssh -Y.
But if I change the user by using su (doesn't work) or sux (works on
a local machine), Xauthorization fails.
 
 oh wait... maybe the problem is something different? after the su -
 you also lose the DISPLAY setting which was set after logging in with
 ssh -Y. you should check the DISPLAY variable before and after the su
 on the remote machine. 
 
That's the reason why I tried  sux  from x11-misc/sux .
Helmut.




[gentoo-user] ati-driver for xorg-1.8.0 ?

2010-04-13 Thread Helmut Jarausch
Hi,

while ati-drivers-8.721 is working just fine with xorg-server-1.7.6
it is blocked by the recent xorg-server-1.8.0 .
Is there a more recent version of the ati-drivers, already?

Many thank for some info,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Switching to unstable

2010-04-13 Thread Helmut Jarausch
On 13 Apr, Peter Humphrey wrote:
 On Monday 12 April 2010 16:55:38 Paul Hartman wrote:
 
 I've been using portage unmasked for a very long time and don't
 remember having any portage-related problems. I'm sure there must be
 some (or else why is it still RC?) but for me the new features are
 worth the potential risk of using less-tested code.
 
 There was a problem with its preserved-rebuild feature for a while; 
 several people reported here that they were running it and being told 
 they still needed to run it again.
 
 As far as I know, that's the only thing preventing release of v2, and I 
 think it's been fixed anyway.
 

No, I don't think so.
Just recently, I had to unmerge then emerge wxpython since
emerge @preserved-rebuild
couldn't solve it itself.

One more buglet.
When doing  emerge -j no of simultaneous processes
- which is a very useful feature on a multicore machine -
sometime a package just stops to build (which is reported
as failing package).
Just emerge it again.
So, I'd say some new features are not ready, yet, but still
very useful as they are.
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] USe rsync to backup RAID0 to RAID1?

2010-04-16 Thread Helmut Jarausch
On 16 Apr, Neil Bothwick wrote:
 On Thu, 15 Apr 2010 14:30:04 -0700, Mark Knecht wrote:
 
I would like to back up a mounted RAID0 to a mounted RAID1.
 
 The RAID makes no difference, because rsync works at the filesystem level.
 
Would the following command be appropriate to backup /virdata on
 RAID0 to /backups on RAID1?
 
 rsync -avx /virdata/. /backups/.
 
 Yes, although the use of -v makes it harder to see any errors that may
 occur.
  
It appears that maybe the -a option wouldn't copy the links?
 
 It does.

I don't think it copies hard links, as well.
Therefore I prefer the additional option -H 
Furthermore I add the -u option for not overriding files on the
destination which are newer.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] installation aborted due to poor programming practices

2010-04-19 Thread Helmut Jarausch
Hi,

the installation of a package (unofficial gimp-gap) is 'aborted due to
poor programming practices' probably since there have been lots of
dereferencing type-punned pointers and similar warnings.

How can I forced portage to install it anyway?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] installation aborted due to poor programming practices

2010-04-19 Thread Helmut Jarausch
On 19 Apr, Neil Bothwick wrote:
 On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
 
 the installation of a package (unofficial gimp-gap) is 'aborted due to
 poor programming practices' probably since there have been lots of
 dereferencing type-punned pointers and similar warnings.
 
 How can I forced portage to install it anyway?
 
 Possibly FEATURES=-strict emerge --opts blah
 

Unfortunately this didn't help.

Helmut.




Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Helmut Jarausch
On 20 Apr, Justin wrote:
 On 20/04/10 09:47, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.
 
 
 http://www.linux-magazin.de/NEWS/Con-Kolivas-meldet-sich-mit-neuem-Scheduler-zurueck
 
 http://translate.google.com/translate?js=yprev=_thl=deie=UTF-8layout=1eotf=1u=http%3A%2F%2Fwww.linux-magazin.de%2FNEWS%2FCon-Kolivas-meldet-sich-mit-neuem-Scheduler-zuruecksl=detl=en
 

Many thanks, that's very interesting. I'll try this patchset.
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Helmut Jarausch
On 20 Apr, Volker Armin Hemmann wrote:
 On Dienstag 20 April 2010, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.
 
 if you have more than 2 cores, you shouldn't use them ;)

Why, it's said to scale well up to 16 cores (at least)?

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] CUPS-1.5 (SVN) anybody/anywhere

2010-04-21 Thread Helmut Jarausch
Hi,

has anybody experience with CUPS-1.5 (i.e. the svn version)?
Does anybody know where to find an ebuild for net-print/cups- ?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] /dev/.udev - safe to remove ?

2010-04-22 Thread Helmut Jarausch
Hi

rkhunter showed a warning because there is a 
/dev/.udev
directory on my machine. qfile didn't find any 'owner'.
Is it safe to remove that directory?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] mixing python-2 and python-3 howto

2010-04-22 Thread Helmut Jarausch
Here,

several month ago I had problems since I had Python-2.x and Python-3.x
installed. Therefore I have masked Python-3.x since then.
Meanwhile there are packages (like portpeek-2.0.1) which require
Python-3.x .  Is it safe to have both Python-2 and Python-3 installed.
I know they are slotted and I know about eselect python but do I have to
switch Python (by using eselect) before emerge a given packages.
And does this work at all (a Gentoo system where different parts use
different versions of Python)?

Many thanks for sharing your experience,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] kernel: conftest segfault error 4 in libc-2.11.1.so

2010-04-28 Thread Helmut Jarausch
Hi,

after upgrading to glibc-1.22.1 I get this strange (non-fatal)
error message in my /var/log/messages.
Has anybody seen this as well or does anybody know where this
comes from?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] bypassing CUPS - howto

2010-04-28 Thread Helmut Jarausch
Hi,

I'd like to bypass processing by CUPS and send some postscript/pdf file
directly to a USB / network printer.
Does anybody know how this can be achieved?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] bypassing CUPS - howto

2010-04-28 Thread Helmut Jarausch
On 28 Apr, David W Noon wrote:
 On Wed, 28 Apr 2010 13:10:02 +0200, Helmut Jarausch wrote about
 [gentoo-user] bypassing CUPS - howto:
 
I'd like to bypass processing by CUPS and send some postscript/pdf file
directly to a USB / network printer.
Does anybody know how this can be achieved?
 
 Why do you need to bypass CUPS?

Thanks, it's just for debugging.

Printing some pdf files with acroread makes some printers
hang here.
To locate the problem source, I'd like to check if the printer
works if it gets the postscript or pdf-file (there printer is assumed
to accept postscript level 3).

I hope to use pyusb to print to a USB printer. There is a new version
1.0.0a0 on sourceforge. 

Some of my network printers accept file submission via ftp.
But what for the other ones?

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] bypassing CUPS - howto

2010-04-29 Thread Helmut Jarausch
On 29 Apr, Stroller wrote:
 
 On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
 ...
 Why do you need to bypass CUPS?

 Thanks, it's just for debugging.

 Printing some pdf files with acroread makes some printers
 hang here.
 To locate the problem source, I'd like to check if the printer
 works if it gets the postscript or pdf-file (there printer is assumed
 to accept postscript level 3).
 
 Have you tried using `lpr` at the command line?
 
 I *believe* something like `lpr /path/to/file.pdf` should work.
 

Thanks, but lpr is just a front-end for cups.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] acroread-9.3.2 produces invalid postscript?

2010-04-29 Thread Helmut Jarausch
Hi,

I have very bad experience with acroread-9.3.2.
Some printers (claiming to support postscript level 3) just hang.
When I first 'print' to a file,
gv only shows some part of each page and evince just hangs.

Has anybody similar experience?

(Yes, I can use xpdf, but acroread has the nice feature of printing
several pages on a sheet of paper which is very handy when printing
slides of a presentation)

Thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] RFC ebuild for a non-standard Python package

2010-05-03 Thread Helmut Jarausch
Hi,

I'd like to install the new package expy on sourceforge
http://expy.sourceforge.net/

Unfortunately, the contents of it are a bit non-standard.
First, the tarball has the unusual name  expy.6.6.tgz.

Second, it untars in to the current directory (no subdirectory
expy-6.6)

Third, it has setup.py and some helper modules in a subdirectory
'src'.

My current (working) ebuild is a litte bit brute force.
I'd appreciate any comments on streamlining and standardizing it.
Many thanks,
Helmut.

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=2
SUPPORT_PYTHON_ABIS=1

inherit distutils flag-o-matic

DESCRIPTION=USB support for Python.
HOMEPAGE=http://expy.sourceforge.net/;
MY_P=${P/-/.}
SRC_URI=mirror://sourceforge/${PN}/${MY_P}.tgz

S=${WORKDIR}/${P}
LICENSE=BSD
SLOT=0
KEYWORDS=~amd64 ~ppc ~x86
IUSE=examples

RESTRICT_PYTHON_ABIS=3*

src_unpack() {
mkdir -p ${S}
cd ${S}
unpack ${A}
ln src/* .
}

src_install() {
distutils_src_install
if use examples; then
insinto /usr/share/doc/${PF}
fi
}




[gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread Helmut Jarausch
Hi,
the following situation puzzles me a lot.

My 'standard' way of updating is
emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree @system @world

but it didn't update anything.

Still, eix confirmed there were quite a lot of kde packages which have
newer versions, and indeed,
emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
upgraded 24 packages.

Where does this discrepancy come from?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread Helmut Jarausch
On  4 May, Bert Swart wrote:
 On Tue, May 04, 2010 at 10:57:10AM +0200, Helmut Jarausch wrote:
 Hi,
 the following situation puzzles me a lot.
 
 My 'standard' way of updating is
 emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree @system 
 @world
 
 but it didn't update anything.
 
 Still, eix confirmed there were quite a lot of kde packages which have
 newer versions, and indeed,
 emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
 upgraded 24 packages.
 
 Where does this discrepancy come from?
 Do you  have --with-bdep set in /etc/make.conf?

No. Are you saying that
emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree  --with-bdeps 
y @system @world
would have updated my kde packages, as well?

Thanks,
Helmut.




-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] libdb no longer slotted?

2010-05-04 Thread Helmut Jarausch
On  4 May, Grant Edwards wrote:
 It seems that sys-libs/db used to be slotted (I previously had 3 or 4
 versions installed). But todays update is failing becuase Python wants
 libdb-4.7 and Perl wants libdb-4.3. They won't both install because of
 file collisions.
 
 Is libdb no longer slotted?
 
 How does one deal with applications that require different versions of
 libdb?
 

First, sys-libs/db is still slotted, of course
eix -n sys-libs/db 
gives
[I] sys-libs/db
 Available versions:  
(1) 1.85-r3
(3) 3.2.9-r11 3.2.9_p2
(4.2)   4.2.52_p4-r2 (~)4.2.52_p5 4.2.52_p5-r1
(4.3)   4.3.29-r2 (~)4.3.29_p1 4.3.29_p1-r1
(4.4)   (~)4.4.20_p4 (~)4.4.20_p4-r1
(4.5)   4.5.20_p2 4.5.20_p2-r1{tbz2}
(4.6)   4.6.21_p4{tbz2}
(4.7)   (~)4.7.25_p3 4.7.25_p4{tbz2}
(4.8)   (~)4.8.24 (~)4.8.26 (~)4.8.30{tbz2}
{doc elibc_FreeBSD examples java nocxx tcl test}
 Installed versions:  1.85-r3(1)(12:35:43 PM 07/16/2008) 
4.5.20_p2-r1(4.5){tbz2}(05:36:16 PM 04/01/2009)(tcl -doc -elibc_FreeBSD -java 
-nocxx -test) 4.6.21_p4(4.6){tbz2}(04:06:48 PM 03/23/2009)(tcl -doc 
-elibc_FreeBSD -java -nocxx -test) 4.7.25_p4(4.7){tbz2}(02:58:36 PM 
06/22/2009)(tcl -doc -elibc_FreeBSD -java -nocxx -test) 
4.8.30(4.8){tbz2}(09:52:24 AM 05/04/2010)(tcl -doc -elibc_FreeBSD -examples 
-java -nocxx -test)

Trying
for S in 1 4.5 4.6 4.7 4.8; do
  emerge -vpc sys-libs/db:$S
done

shows that here python-2.6.5-r2 uses 4.7  while perl-5.10.1 uses 4.8
and my system is running quite happily (at least, I think so)

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] two glibcs with different version

2010-05-04 Thread Helmut Jarausch
On  4 May, Kraus Philipp wrote:
 
 Am 04.05.2010 um 13:09 schrieb Neil Bothwick:
 
 On Sat, 1 May 2010 12:58:34 +0200, Kraus Philipp wrote:

 I would suggest dual-booting...

 Sorry, that's no solution, because it is only one network service,  
 that
 need's a older glibc. I can't reboot a server at any time or create a
 new
 physical server

 Have you considered virtualisation?
 
 That's a problem, because I need the older glib for running VMware  
 Server.
 Hen or Egg Problem :-P

Then try VirtualBox.
Helmut.





Re: [gentoo-user] kernel notification of file system changes

2010-05-05 Thread Helmut Jarausch
On  5 May, Iain Buchanan wrote:
 Hi,
 
 I'm looking for some kernel-based notification of changes to my file
 system.  I've been looking at inotify, but it's not exactly what I want.
 
 Basically I want to know if _any_ write occurs anywhere.  I don't want
 to register a whole bunch of files to watch, I just want to watch an
 entire mount.  When a file is changed (ie. a write operation occurs), I
 then want to add that file or fd to a list in RAM.  That's all.
 
 I know this may be a lot of data, considering streams and devices, but I
 can filter out /dev, /proc, etc. and just focus on real files.
 
 Is there anything that can do this?
 

Might be I've just asked a similar question on the ZSH mailing list.
Please have a look at inotifywatch from the sys-fs/inotify-tools
package. It can watch a directory tree recursively.

I hope this helps,
Helmut.




Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Helmut Jarausch
On  6 May, Roger Mason wrote:
 Stroller strol...@stellar.eclipse.co.uk writes:
 
 On 6 May 2010, at 09:37, Roger Mason wrote:
 ...
 I just built a new machine (celeron 3 GHz) using a script that builds
 the kernel using genkernel and a config that is copied from that of
 the
 kernel on the install cd.

 Are you sure ext[234] is compiled statically into the kernel in this
 .config?
 
 Yes.
 
 Also the drivers for the EIDE / SATA controller.

 The liveCD configs I've seen generally store these as modules. I, too,
 usually take a copy of the config from a working LiveCD when I compile
 a kernel, but I *always* have to change something.
 
 This what grep SATA kernel-config says:
 
 # CONFIG_BLK_DEV_IDE_SATA is not set
 CONFIG_SATA_PMP=y
 CONFIG_SATA_AHCI=m
 CONFIG_SATA_SIL24=m
 CONFIG_SATA_SVW=m
 CONFIG_SATA_MV=m
 CONFIG_SATA_NV=m
 CONFIG_SATA_QSTOR=m
 CONFIG_SATA_PROMISE=m
 CONFIG_SATA_SX4=m
 CONFIG_SATA_SIL=m
 CONFIG_SATA_SIS=m
 CONFIG_SATA_ULI=m
 CONFIG_SATA_VIA=m
 CONFIG_SATA_VITESSE=m
 CONFIG_SATA_INIC162X=m
 
 lspci says:
 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
 
 So, what must I set?
 
 Thanks for the help.
 

Check the BIOS if it supports AHCI SATA. Select it if possible.
Then set  CONFIG_SATA_AHCI=y (not m, since the kernel must be
able to access the disk to load any module).

Helmut.




Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Helmut Jarausch
On  7 May, Roger Mason wrote:
 Hello Andrea,
 
 Andrea Conti a...@alyf.net writes:
 
 I would check the processor type setting (A 3GHz Celeron should be
 P4-based) and/or muck around with ACPI. Also try disabling framebuffer
 drivers and using a plain VGA console.

 Leave all advanced settings in your bios to their defaults.

 And no, EM64T just means it *can* run amd64 -- i686 is fine and IMO a
 lot better for that kind of hardware if you do not absolutely need to
 run 64-bit code for some reason.
 
 That is what I thought.
 
 I looked into the BIOS: no AHCI support.  I edited the genkernel .config
 and set the various SATA drivers as built-in.  There seemed to be
 nothing wrong with grub or its configuration (I rebuilt it anyway, just
 in case).  In the end I gave up and installed the machine as an amd64.
 I may know today how that turned out: my install script shuts the
 machine down at the end and I'll need to get someone to re-boot it for
 me as I'm not in the office.
 
 I'll let you know what happened.
 
 Thanks Andrea and everyone else for your help.
 

One more hint (that I've got earlier on this list)

Boot from a rescue CD  (preferably
http://www.sysresccd.org/
)

then execute
lspci -k

it shows you all drivers that have been selected during boot.

Good luck,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Open Source DSP tools for learning?

2010-05-10 Thread Helmut Jarausch
On  6 May, Mark Knecht wrote:
 Hi,
Does anyone possibly know of any tools in Open Source for exploring
 DSP filter design? Something that might allow me to write equations,
 stimulate the filter, see the results in a GUI?
 

Have a look at Scilab and Xcos (www.scilab.org)

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] logrotate - strange error message

2010-05-10 Thread Helmut Jarausch
Hi,
I have the following file as /etc/logrotate.d/denyhosts
/var/log/denyhosts {
missingok
notifempty
create 0640 root root
sharedscripts
prerotate
/etc/init.d/denyhosts stop
endscript
postrotate
/etc/init.d/denyhosts start
endscript
}

But this causes errors
reading config info for /var/log/denyhosts 
error: denyhosts:1 lines must begin with a keyword or a filename (possibly in 
double quotes)
error: denyhosts:2 unexpected text
error: denyhosts:3 unexpected text
error: denyhosts:4 unexpected text
error: denyhosts:5 unexpected text
error: denyhosts:prerotate or postrotate without endscript

I appreciate any help on this.
Many thanks,
Helmut.





Re: [gentoo-user] logrotate - strange error message

2010-05-10 Thread Helmut Jarausch
On 10 May, Alan McKinnon wrote:
 On Monday 10 May 2010 09:46:11 Helmut Jarausch wrote:
 Hi,
 I have the following file as /etc/logrotate.d/denyhosts
 /var/log/denyhosts {
  missingok
  notifempty
  create 0640 root root
  sharedscripts
  prerotate
  /etc/init.d/denyhosts stop
  endscript
  postrotate
  /etc/init.d/denyhosts start
  endscript
 }
 
 But this causes errors
 reading config info for /var/log/denyhosts
 error: denyhosts:1 lines must begin with a keyword or a filename (possibly
 in double quotes) error: denyhosts:2 unexpected text
 error: denyhosts:3 unexpected text
 error: denyhosts:4 unexpected text
 error: denyhosts:5 unexpected text
 error: denyhosts:prerotate or postrotate without endscript
 
 
 That file is correct, so I'd first check the file that is read *before* that 
 one, looking for things like missing end braces etc etc
 
 logrotate -d /etc/logrotate.conf will show the read order
 
 

Thanks, Alan,

the file before is indeed a bit different

# $Header: 
/var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 1.2 
2004/07/18 02:25:02 dragonheart Exp $
#
# cups logrotate snippet for Gentoo Linux
#


/var/log/cups/error_log /var/log/cups/access_log /var/log/cups/page_log {
sharedscripts
postrotate
/etc/init.d/syslog-ng reload  /dev/null 21 || true
endscript
}

It has multiple file names in the first line.
Is this OK?

Helmut.




Re: [gentoo-user] Re: libpng12 is missing

2010-05-11 Thread Helmut Jarausch
On 11 May, Neil Bothwick wrote:
 On Tue, 11 May 2010 10:47:35 +0200, Alan McKinnon wrote:
 
 I still have huge breakage with gnomecanvas and other things, meaning
 that lots of gtk apps are broken right now for me.
 
 This worked for me
 
 lafilefixer --justfixit
 emerge --oneshot --jobs 1 --keep-going $(qfile -qC $(find /usr/lib64 \
 -name '*.la' | xargs grep -- -lpng12 | awk -F: '{print $1}'))
 
 You may need to run it more than once before it completes without errors.
 

Please, see also the last comment on
http://bugs.gentoo.org/show_bug.cgi?id=319061
which seems to work.

Helmut.




Re: [gentoo-user] OT: DVD-Container ?

2010-06-09 Thread Helmut Jarausch
On  8 Jun, meino.cra...@gmx.de wrote:
 
 Hi,
 
 I am using k3b to burn dvds/cds.
 As most programs of this kind, k3b can /copy/ but not
 /move/ data to a DVD.
 Therefore, when trying to find tose files, which exactly
 sum up to the size of a DVD (by the way: I know DVD-
 sizes from a little below 4.3 GB to over 4.7GB...what is
 the truth?) I end up with a selected file here and another
 one there. After the DVD is finished it is --hrmm-- not
 efficient to find those in the related directories to
 remove them after a successful copy.
 Now I am looking of something like a virtual DVD to
 which I can /move/ and move back files. The DVD
 should report no space left on device exactly at
 the same point when a real DVD is filled.
 
 I thought of one extra partition of the same size a DVD
 but since the filesystems will occupy different amount
 of space...
 
 On the other hand: A iso-image-file on the harddisk would
 be nice, but that filesystem isn't made for moving files
 back and forth...
 
 Any ideas to solve this???

Different idea: have a look at
app-cdr/gaffitter
It approximates the so-called knapsack problem of optimal packing.
You can then use this information to burn and afterwards delete the
files.
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] mkfs.btrfs check for bad blocks - howto

2010-06-10 Thread Helmut Jarausch
Hi,

when creating a file system on a partition on a brand new hard disk,
I have always used the '-c' twice to check for bad blocks.
This works for ext3 and ext4.
Now, I'd like to use a btrfs file system on some partitions but the
'-c' option (to mkfs.btrfs or mkbtrfs) seems to have gone.
What can I do about this?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] mkfs.btrfs check for bad blocks - howto

2010-06-10 Thread Helmut Jarausch
On 10 Jun, J. Roeleveld wrote:
 On Thursday 10 June 2010 11:15:17 Helmut Jarausch wrote:
 Hi,
 
 when creating a file system on a partition on a brand new hard disk,
 I have always used the '-c' twice to check for bad blocks.
 This works for ext3 and ext4.
 Now, I'd like to use a btrfs file system on some partitions but the
 '-c' option (to mkfs.btrfs or mkbtrfs) seems to have gone.
 What can I do about this?
 
 Many thanks for a hint,
 Helmut.
 
 
 Hi Helmut,
 
 You could either first use mkfs for ext3 or 4 to check, or you could run 
 badblock manually over the partition first to check.
 
Thanks, Joost,

but I don't know how to feed the output of badblocks to mkbtrfs.
It looks as if btrfs cannot use a bad block list. Is that true?

Helmut.




[gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Helmut Jarausch
Hi,

due to a disk crash I've lost my root partition.
Unfortunately, the backup version is 4 weeks old.
But my /usr partition is up-to-date and I have
binary build-pkgs.
What's the fastest way to restore the portage-relevant
data on the root partition?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Helmut Jarausch
On 14 Jun, Volker Armin Hemmann wrote:
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
 Hi,
 
 due to a disk crash I've lost my root partition.
 Unfortunately, the backup version is 4 weeks old.
 But my /usr partition is up-to-date and I have
 binary build-pkgs.
 What's the fastest way to restore the portage-relevant
 data on the root partition?
 
 Many thanks for a hint,
 Helmut.
 
 if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and 
 install the packages hit. 

Thanks, but unfortunately /var was on the root partition.

So, I have to  emerge -k --update @world @system . 

Helmut.




Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-15 Thread Helmut Jarausch
On 14 Jun, Dru Kargin wrote:
 On 06/14/10 12:19, Volker Armin Hemmann wrote:
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
   
 On 14 Jun, Volker Armin Hemmann wrote:
 
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
   
 Hi,

 due to a disk crash I've lost my root partition.
 Unfortunately, the backup version is 4 weeks old.
 But my /usr partition is up-to-date and I have
 binary build-pkgs.
 What's the fastest way to restore the portage-relevant
 data on the root partition?

 Many thanks for a hint,
 Helmut.
 
 if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and
 install the packages hit.
   
 Thanks, but unfortunately /var was on the root partition.

 So, I have to  emerge -k --update @world @system .

 Helmut.
 
 except that without /var portage does now know what @system or @world is 
 made 
 off.

   
 If you have a 4-week old version of /var/db, you can probably use that
 for the sake of rebuilding/unpackaging system and world.  Hopefully,
 system and world won't have changed so much in four weeks that a
 ground-up rebuild will be more efficient.

Yes, I'm trying that. Though I've encountered some difficulties.
E.g. the 'old' system had gcc-4.4.3-r2 in slot (4.4) while the /usr
partition contained  gcc-4.4.4. Trying to emerge gcc-4.4.4 (binary)
portage went into a loop (at least it would have taken more than an hour
on a fast machine). I had to fetch /etc/env.d/gcc from a similar machine
here. The problem seems to be that during installation portage tries to
remove a version which isn't installed anymore.
Meanwhile I could reinstall gcc-4.4.4 which was the biggest corner
(hopefully).

Thanks,
Helmut.




[gentoo-user] annoying message - /usr/lib/libpng12.so.0 is not a symbolic link

2010-06-18 Thread Helmut Jarausch
Hi,

since a few weeks I always get the annoying message
/usr/lib/libpng12.so.0 is not a symbolic link
whenever an 'ldconfig' is run, e.g. while postprocessing
after a package's install.

Does anybody know how to get rid of it.
Unfortunately,
net-misc/nxclient-3.4.0.7 depends on libpng:1.2

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] gnome applications die when run as root

2010-06-18 Thread Helmut Jarausch
Hi,

after the recent upgrade to Gnome 2.30 libraries
gconf-editor or meld  die of
Could not send message to GConf daemon: Process /usr/libexec/gconfd-2 
received signal 6
when run as root.

Strangely, it works on a different machine which is thought to be
identically configured.

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Helmut Jarausch
Hi,

this one is puzzling me.
I have gcc-4.4.4-r1 installed here.
emerge -vp sys-devel/gcc:4.4 would re-install this.
But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Helmut Jarausch
On 24 Jun, Neil Bothwick wrote:
 On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:
 
  But,
  an emerge --update --newuse --deep --tree  --with-bdeps y @system
  @world wants to downgrade it to gcc-4.4.3-r3
  
  How can I find out, why?  
 
 What does `equery d gcc` say?
 
 What does emerge --update --newuse --deep --tree  --with-bdeps y @world
 
 actually say?
 

Among many other things
[ebuild UD]sys-devel/gcc-4.4.3-r3 [4.4.4-r1]

I think Thomas' hint helped a bit
equery d gcc shows one suspicious line
dev-java/gcj-jdk-4.4.3-r1 (~sys-devel/gcc-4.4.3[gcj])

where dev-java/gcj-jdk-4.4.3-r1 comes from the java-overlay.
This, in turn, has been pulled in by dev-java/icedtea-6.1.8.0

This dev-java/icedtea-6.1.8.0 from the java-overlay.
There seems to be no dev-java/gcj-jdk for gcc(gcj) 4.4.4

I have removed java-overlay from /etc/make.conf and rebuilt icedtea.
It's still compiling but I think this solves it.

Many thanks for all who helped me,
Helmut.


Thanks for solving that mystery,
Helmut.




[gentoo-user] VFAQ mirroring a live root FS

2010-07-01 Thread Helmut Jarausch
Hi,

would anybody please explain to me what difficulties
might occur if I mirror a live root file system
and use that for booting (in an emergency case).

I know that for proper mirroring I may mirror a live
root file system but I have to rsync it after booting from a 
different device (USB,...)

But what happens if I have to boot a system from a backup
which has been mirrored from a live root file system.

Many thanks for sharing your experience,
Helmut.





[gentoo-user] (gnome) default pdf viewer

2010-07-05 Thread Helmut Jarausch
Hi,

I've discovered balsa , a great mail client, btw.
How can I configure the application which is called for a pdf 
attachment.

I cannot see any configuration item for balsa itself, so I suppose
it must be a Gnome setting.

Currently it's set to acroread, but I'd like to set it evince.
I've checked ~/.mime.types and several files in /usr/share/mime*

The only file I've found is 
/usr/share/mime-info/gnome-vfs.keys

Is that the right place? How should I edit it (with a standard text 
editor?)

Many thanks for your help,
Helmut.




[gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Helmut Jarausch

Hi,

this errors baffles me.

Emerging media-gfx/exact-image works just fine on one machine
but fails on a very similar (Gentoo) machine with
install: target `/var/tmp/portage/media-gfx/exact-image-0.8.1/image//
usr/lib64/python2.6/site-packages/' is not a directory: No such file or 
directory

Has anybody an idea where this strange install path might come from?

Many thanks,
Helmut.




Re: [gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Helmut Jarausch
On 07/05/10 17:39:36, Arttu V. wrote:
 On 7/5/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 
  Hi,
 
  this errors baffles me.
 
  Emerging media-gfx/exact-image works just fine on one machine
  but fails on a very similar (Gentoo) machine with
  install: target `/var/tmp/portage/media-gfx/exact-image-0.8.1/
 image//
  usr/lib64/python2.6/site-packages/' is not a directory: No such 
 file
 or
  directory
 
  Has anybody an idea where this strange install path might come 
 from?
 
 Can you be more specific on the 'strangeness'? Which part looks odd?
 
 For a quick glimpse it would seem to be a regular temporary 'image'
 directory which is part of every package's install phase. Only once
 files have been successfully installed under this temporary 'image'
 (directory) will portage merge that directory's contents to 
 respective
 real directories.
 
 As for the error itself, it could be a parallel make problem (goes
 temporarily away with MAKE_OPTS=-j1, but should still be reported 
 at
 bugs.gentoo.org) or a lazy installer script which isn't properly
 creating the directories to which it will try to install files (which
 should also be reported at b.g.o, as it might be a gentoo-only
 problem).
 
 -- 
 Arttu V. -- Running Gentoo is like running with scissors
 

Thanks!
MAKEOPTS=-j1 didn't help

instead of 
/var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/
python2.6/site-packages

there is a file
/var/tmp/portage/media-gfx/exact-image-0.8.1/image
/usr/lib/python2.5/site-packages

note  lib not lib64
  python2.5  not python2.6

eselect python list gives
Available Python interpreters:
  [1]   python2.6 *
  [2]   python3.1

So, where does this come from?

Many thanks for a hint,
Helmut.






Re: [gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Helmut Jarausch
On 07/05/10 21:55:10, Neil Bothwick wrote:
 On Mon, 05 Jul 2010 18:35:41 +0200, Helmut Jarausch wrote:
 
  instead of 
  /var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/
  python2.6/site-packages
  
  there is a file
  /var/tmp/portage/media-gfx/exact-image-0.8.1/image
  /usr/lib/python2.5/site-packages
  
  note  lib not lib64
 
 /lib is usually symlinked to /lib64 on amd6 systems.

Yes, /lib is symlinked to /lib64  but
/var/tmp/portage/media-gfx/exact-image-0.8.1/image/usr/lib is not a 
symlink. Thus, 
cd /var/tmp/portage/media-gfx/exact-image-0.8.1/image/usr/lib64/
just fails.
 
python2.5  not python2.6
 
 Have you tried running python-updater?
Yes, and I have run just once more but it doesn't help.
Furthermore I've run lafilefixer and 
symlinks -dr /usr/lib64 /usr/include

Many thanks, Neil,
Helmut.






Re: [gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Helmut Jarausch
On 07/05/10 22:09:09, Arttu V. wrote:
 On 7/5/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
  MAKEOPTS=-j1 didn't help
 
  instead of
  /var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/
  python2.6/site-packages
 
  there is a file
  /var/tmp/portage/media-gfx/exact-image-0.8.1/image
  /usr/lib/python2.5/site-packages
 
  note  lib not lib64
python2.5  not python2.6
 
  eselect python list gives
  Available Python interpreters:
[1]   python2.6 *
[2]   python3.1
 
  So, where does this come from?
 
 Unfortunately I have no more theories, short of broken python on
 Gentoo (not just on your box). I can reproduce the problem in a test
 environment I keep using, so it's probably not something due to, 
 e.g.,
 a need for revdep-rebuild or python-updater (although running them
 rarely hurts).
 
 But could tell us a bit more about the system on which this does 
 *not*
 happen? How is it different? Is it an x86 or amd64? multilib? Is it a
 more recent install than the other one (so that there should be no
 left-over cruft from, e.g., old python versions)?

Sorry to say, but I don't know the difference.
Both have nearly identical hardware (AMD Phenom II, same chipset)
Both are updated each day (~amd64) and both have nearly the same set
of packages installed.

This raises the question on how to compare two different Gentoo 
installations?

Many thanks Arttu,
I'm glad you see the problem, as well.

I have many, many packages of dev-python/ installed.
Up to now media-gfx/exact-image is the only one which
causes trouble.

So, I'm lost right now.
(though exact-image is not an essential package for me at the moment)

Helmut.





[gentoo-user] configure error - how to debug

2010-07-06 Thread Helmut Jarausch
Hi,

I'm trying to find out why I get a configure error (on one machine)

./configure: line 14859: test: too many arguments

Looking at this line it shows
 if test $ax_python_header != no; then

So, how can I find out the value of $ax_python_header.

Putting some echo statements into configure doesn't work,
it seems to regenerated on each  'ebuild  compile'

Many thanks for a hint,
Helmut.
















Re: [gentoo-user] configure error - how to debug

2010-07-06 Thread Helmut Jarausch
On 07/06/10 19:34:29, Alex Schuster wrote:
 Helmut Jarausch writes:
 
  I'm trying to find out why I get a configure error (on one machine)
  
  ./configure: line 14859: test: too many arguments
  
  Looking at this line it shows
   if test $ax_python_header != no; then
  
  So, how can I find out the value of $ax_python_header.
  
  Putting some echo statements into configure doesn't work,
  it seems to regenerated on each  'ebuild  compile'
 
 I'd call the configure script by hand, search for it in
 /var/tmp/portage. 
 If it gives the same error (which may not be the case because you do
 not 
 give it the same arguments as portage does), add the echo statement,
 and 
 try again to see the value of $ax_python_header. I guess it has
 whitespace 
 in it, so the test fails. This would be solved by quoting the
 variable.
 The configure script is created from something like configure.ac, you
 will 
 probably find the test statement there, too. You could change it
 (adding 
 quotes), and use ebuild ... compile to build.
 
 Please file a bug for the package.
 
Many thanks, Alex.

It turned out that pythonmagick's configure contains
  ax_python_header=\
  `locate python$python_version/Python.h | sed -e s,/Python.h,,`

which I regard as very strange style.

Since I have a mirror /Store1/usr_mirror
locate locates both 
/usr/include/python2.6
and
/Store1/usr_mirror/include/python2.6

I'm going to file a bug report.
Helmut.







Re: [gentoo-user] (gnome) default pdf viewer

2010-07-07 Thread Helmut Jarausch
On 07/07/10 12:45:05, App Deb wrote:
 Right click on a pdf file, select properties - open with - and
 select
 evince instead of acroread.
 
 That it the way to easily change default applications for gnome.

Unfortunately, not for me (Gnome 2.30)
Before and after the above procedure I have

gnomevfs-info MyFile.pdf
still shows
MIME type : application/pdf
Default app   : wine-extension-pdf.desktop

I wonder where this 'wine-extension-pdf.desktop' is coming from.

And Balsa tries to use this when viewing a pdf attachment.
I'm lost,
Helmut.



 On Mon, Jul 5, 2010 at 11:53 AM, Helmut Jarausch 
 jarau...@igpm.rwth-aachen.de wrote:
 
  Hi,
 
  I've discovered balsa , a great mail client, btw.
  How can I configure the application which is called for a pdf
  attachment.
 
  I cannot see any configuration item for balsa itself, so I suppose
  it must be a Gnome setting.
 
  Currently it's set to acroread, but I'd like to set it evince.
  I've checked ~/.mime.types and several files in /usr/share/mime*
 
  The only file I've found is
  /usr/share/mime-info/gnome-vfs.keys
 
  Is that the right place? How should I edit it (with a standard text
  editor?)
 
  Many thanks for your help,
  Helmut.
 
 
 
 






Re: [gentoo-user] Strange install path but only on one machine

2010-07-09 Thread Helmut Jarausch
On 07/09/10 14:02:39, Arttu V. wrote:
 On 7/6/10, Arttu V. arttu...@gmail.com wrote:
  I filed a bug (#327171).
 
 The bug is marked fixed, and at least on my testing system emerge
 exact-image is successful.
 
Yes, it installs just fine now (unfortunately no revision bump, so I 
didn't notice myself).
Helmut.




[gentoo-user] logrotate fails since a few days

2010-07-12 Thread Helmut Jarausch
Hi,

since a few days logrotate is failing due to
error: stat of /var/account/pacct failed: No such file or directory

What has changed, what am I missing?

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




Re: [gentoo-user] logrotate fails since a few days

2010-07-12 Thread Helmut Jarausch
On 07/12/10 11:00:00, Enrico Weigelt wrote:
 * Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
  Hi,
  
  since a few days logrotate is failing due to
  error: stat of /var/account/pacct failed: No such file or directory
 
 do you have the process accounting deamon running ? 

No, and I've never done so.

 
 did you instruct logrotate to create this logfile if missing ?
 
No, but how to do that? I have'ne found anything in the man file?

Thanks,
Helmut.





[gentoo-user] [OT] how to extract a GIT repository

2010-07-21 Thread Helmut Jarausch
Hi,

when I use a - type ebuild which accesses the source from a GIT 
repository this is stored under /usr/portage/distfiles/git-src/$PN
where $PN is the package name.

But one cannot look at the source files since these are in compressed 
form.
How can I setup a directory with the uncompressed sources.

I could use

ebuild PATH TO ebuild file unpack
and then look at /var/tmp/portage//work/

but is there a direct way (or how does portage do this)?

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




[gentoo-user] firefox-3.6.7 any flash player on 64bit

2010-07-21 Thread Helmut Jarausch
Hi,

does anybody have more luck with firefox-3.6.7 playing flash videos?
I've tried libflashplayer.so (64 bit)
/usr/lib64/nsbrowser/plugins/libgnashplugin.so (64 bit)

nothing works or even crash firefox.

Since there are the well-known printing problem for CUPS-1.4.x
it's one of the worst version of Firefox ever.

Or am I the only one with problems?

Thanks for some comments,
Helmut.

-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




[gentoo-user] Access to an embedded microSDHC card?

2010-07-30 Thread Helmut Jarausch
Hi,

when I attach my Garmin GPSmap 62s with an installed microSDHC card to 
a USB port, I only see one device which is the internal storage of 
the Garmin. On Windows I see a second mass storage device (the microSD 
card) in addition.
How to access this internal SD card or how to debug the problem.

Many thanks for a hint,
Helmut.




Re: [gentoo-user] Access to an embedded microSDHC card?

2010-07-30 Thread Helmut Jarausch
On 07/30/10 10:25:07, Dan Johansson wrote:
 On Friday 30 July 2010 10.03:11 Helmut Jarausch wrote:
  Hi,
  
  when I attach my Garmin GPSmap 62s with an installed microSDHC card
 to
  a USB port, I only see one device which is the internal storage of
  the Garmin. On Windows I see a second mass storage device (the
 microSD
  card) in addition.
  How to access this internal SD card or how to debug the problem.
  
  Many thanks for a hint,
  Helmut.
 
 Do you have the  Probe all LUNs on each SCSI device 
 (CONFIG_SCSI_MULTI_LUN=y) kernel parameter set?
 

Thanks, Dan, I've never heard of that.
I'll try ASAP.

Helmut.


-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




[gentoo-user] CANNOT IMPORT HTTP.CLIENT

2010-08-20 Thread Helmut Jarausch
Hi,

today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed for 
nxssh, I've got the message
!!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection

Does anybody have an idea what that means?

Thanks for a hint,
Helmut.




Re: [gentoo-user] CANNOT IMPORT HTTP.CLIENT

2010-08-20 Thread Helmut Jarausch
On 08/20/10 09:35:06, Helmut Jarausch wrote:
 Hi,
 
 today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed for 
 nxssh, I've got the message
 !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection
 
 Does anybody have an idea what that means?
 
 Thanks for a hint,
 Helmut.

It seems something is broken in Python and or bzr, e.g.
in an overlay build for cuneiform I get


 Unpacking source...
 * bzr update start --
 *repository: lp:cuneiform-linux
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 
'HTTPSConnection'

Re-emering dev-vcs/bzr didn't help.

Thanks for any hint,
Helmut.




Re: [gentoo-user] Re: CANNOT IMPORT HTTP.CLIENT

2010-08-20 Thread Helmut Jarausch
On 08/20/10 15:43:20, walt wrote:
 On 08/20/2010 12:35 AM, Helmut Jarausch wrote:
  Hi,
 
  today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed
 for
  nxssh, I've got the message
  !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection
 
 The class HTTPSConnection is defined in httplib.py, which is part of
Thanks, it turned out to be an openssl problem introduced by the recent
dev-libs/openss-1.0.0a-r2 which disables ssl support in Python itself.

Helmut.




[gentoo-user] ebuild with local source?

2010-08-24 Thread Helmut Jarausch
Hi,

I'd like to create an ebuild (in my local overlay) which refers to a 
local distribution file.

I've tried

SRC_URI=file::///usr/local/Src/MyPack.tar.bz2

but file:// doesn't seem to be supported.

Is there any alternative?

Thanks for a hint,
Helmut.

(I'm using portage-2.2._rc68)




Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Helmut Jarausch
On 08/24/10 13:45:05, Robin Atwood wrote:
 On Tuesday 24 August 2010, Helmut Jarausch wrote:
  Hi,
  
  I'd like to create an ebuild (in my local overlay) which refers to 
 a
  local distribution file.
  
  I've tried
  
  SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
  
  but file:// doesn't seem to be supported.
  
  Is there any alternative?
  
  Thanks for a hint,
  Helmut.
  
  (I'm using portage-2.2._rc68)
 
 ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles maybe?

Thanks, but isn't that erased when I resync next time?

Helmut.




Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Helmut Jarausch
Thanks, Mick, Robin and Alan!

Helmut.




Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Helmut Jarausch
On 08/24/10 13:45:05, Robin Atwood wrote:
 On Tuesday 24 August 2010, Helmut Jarausch wrote:
  Hi,
  
  I'd like to create an ebuild (in my local overlay) which refers to 
 a
  local distribution file.
  
  I've tried
  
  SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
  
  but file:// doesn't seem to be supported.
  
  Is there any alternative?
  
  Thanks for a hint,
  Helmut.
  
  (I'm using portage-2.2._rc68)
 
 ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles maybe?
 
 HTH
 -Robin

Hi, but what do I specify for SRC_URI

I've tried
SRC=MyPack-1.0.7.tar.gz
SLOT=0
KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86
IUSE=
S=$WORKDIR/${P}
src_unpack() {
unpack ${A}
}

But it fails saying nothing specified for unpack
And, indeed,
doing
ebuild --debug PATH_to_EBUILD unpack
shows that ${A} is the empty string.

What am I missing?

Thanks a lot, it drives me nuts,
Helmut.




Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Helmut Jarausch
On 08/24/10 19:17:05, Arttu V. wrote:
 On 8/24/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
  On 08/24/10 13:45:05, Robin Atwood wrote:
  On Tuesday 24 August 2010, Helmut Jarausch wrote:
   Hi,
  
   I'd like to create an ebuild (in my local overlay) which refers
 to
  a
   local distribution file.
  
   I've tried
  
   SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
  
   but file:// doesn't seem to be supported.
  
   Is there any alternative?
  
   Thanks for a hint,
   Helmut.
  
   (I'm using portage-2.2._rc68)
 
  ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles 
 maybe?
 
  HTH
  -Robin
 
  Hi, but what do I specify for SRC_URI
 
  I've tried
  SRC=MyPack-1.0.7.tar.gz
  SLOT=0
  KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc
 x86
  IUSE=
  S=$WORKDIR/${P}
  src_unpack() {
  unpack ${A}
  }
 
  But it fails saying nothing specified for unpack
  And, indeed,
  doing
  ebuild --debug PATH_to_EBUILD unpack
  shows that ${A} is the empty string.
 
  What am I missing?
 
  Thanks a lot, it drives me nuts,
  Helmut.
 
 Place a RESTRICT=fetch in the ebuild, and copy the tarball manually
 to distfiles dir.

Unfortunately, now I get MyPack-1.0.7.tar.gz does not exist (though it 
is in /usr/portage/distfiles)

Thanks,
Helmut.




[gentoo-user] Portage internals : shadow root

2010-09-23 Thread Helmut Jarausch
Hi,

when portage installs a package, it first installs it into some shadow 
root. Then it records all files installed before it moves the files to 
the real root.

I have to do some installations on SUSE systems (which are not 
administered by me) and I'd like to imitate that procedure there.

Can anybody tell me if it's not too complicated and if yes, how to 
achieve this (on a foreign system like SUSE).

Many thanks for your help,
Helmut.





Re: [gentoo-user] Portage internals : shadow root

2010-09-23 Thread Helmut Jarausch
On 09/23/10 11:50:19, Alan McKinnon wrote:
 Apparently, though unproven, at 10:55 on Thursday 23 September 2010,
 Helmut 
 Jarausch did opine thusly:
 
  Hi,
  
  when portage installs a package, it first installs it into some
 shadow
  root. Then it records all files installed before it moves the 
 files
 to
  the real root.
  
  I have to do some installations on SUSE systems (which are not
  administered by me) and I'd like to imitate that procedure there.
  
  Can anybody tell me if it's not too complicated and if yes, how to
  achieve this (on a foreign system like SUSE).
  
  Many thanks for your help,
  Helmut.
 
 
 1. Remove all traces of yast and it's bastard brethren from the SuSE
 box.
 2. Have three qualified sysadmins double check that you have indeed
 removed 
 every last trace of it.
 3. PREFIX=/some/stage/dir/
 4. ./configure  make  make install
 5. find /some/stage/dir/  some_file
 6. move everything in stage dir to real dir
 
 Why remove yast?
 Because it's a sneaky P.O.S. and goes to extraordinary lengths to 
 nuke
 all 
 your hard work done without it.
 
 And how you deal with file collisions is up to you. Yast really won't
 like you 
 if you overwrite some config file with your own testing version.

Thanks Alan!
Unfortunately, I don't understand how this can work.
Simplify using PREFIX failed for me since many packages record the 
full path for configuration/data/help files etc. in the generated 
binaries or libraries.
When moving such an application/library it will still search for 
those files in the build directory.
I would image Portage uses some sort of chroot (then the pathes are 
identical)

Furthermore, I cannot remove yast since I'm only a guest on such 
boxes.
Normally I'd use a PREIFX=/usr/local/MYAPP but some application 
still install something into  /etc/ or similar and I'd like to catch 
these cases.

Helmut.





Re: [gentoo-user] Re: X programs as root

2010-09-27 Thread Helmut Jarausch
On 09/25/10 01:35:16, Nikos Chantziaras wrote:
...
 
 But if some reason you want sudo, /etc/sudoers has some info:
 
## Run X applications through sudo
 
 Read the comments there and uncomment what suits you.  Did I mention 
 that you should use kdesu instead of sudo? :-P

Which version of sudo are you talking about?
I have sudo-1.7.4p4 installed here but I don't see any mentioning of 
X11 in sample.sudoers

Thanks for a pointer,
Helmut.




Re: [gentoo-user] Which Comes First, the Unmask or the Mask?

2010-10-20 Thread Helmut Jarausch
On 10/20/10 04:06:52, Andy Wilkinson wrote:
  I believe I know the answer to the question... the real question is,
 how can I work around it? ;)
 
 I am running the development branch of www-client/chromium (currently
 8.0.552.0).  As a result, I like the latest builds to always be
 unmasked
 when they are available.  However, once in a while there is a bad
 apple
 in the bunch and I'd like to mask that atom specifically.  8.0.552.0
 is
 one of those that I would like masked.
 
 What I'd like to do is:
 
 /etc/portage/package.unmask:
 www-client/chromium
 
 /etc/portage/package.mask:
 =www-client/chromium-8.0.552.0
 
 This case shows that, in fact, the mask comes first, as the atom in
 question is definitely unmasked in that scenario.  I have tried
 putting
 either line into /etc/portage/profile/package.mask or .unmask, to no
 effect.
 
 I know I could do this by putting noninclusive comparative statements
 in
 .unmask, ala:
 
 www-client/chromium-8.0.552.0
 www-client/chromium-8.0.552.0
 
 But this seems somewhat clumsy to me.  Does anyone know a trick to do
 what I'm looking for?
 

I usually comment out the line in package.unmask if I want the mask 
to be effective.  A line in /etc/portage/package.unmask overrules a 
line in /etc/portage/package.mask .

Helmut.




[gentoo-user] Problems with ancient ATI graphics card

2010-10-22 Thread Helmut Jarausch
Hi,

this is a bit off topic, since it primarily concerns a laptop running 
OpenSuSe 11.3, but I do need your help and I known there are experts 
here.

This old laptop has a
radeon RV350 (mobility Radeon 9600 M10)  graphics card.

There is an xf86-video-ati driver installed.

Now, when booting with the (default) radeon.modeset=1
the graphics is dead slow (not only for glxgears : 200 frame/s but for 
my OpenGL application (Impressive), as well).

Now, when I replace the option on the kernel command line to
radeon.modeset=0
glxgears is much faster ( about 1800 frames/s )
BUT my OpenGL application (python gtk + opengl)
now freezes the whole machine - only power on/off can revive
it.

Hopefully, someone has an idea on what is going wrong here.

(The hardware is too old for a recent ATI closed source driver 
supporting a recent kernel 2.6.34.x)

Many thanks for your help which is very much appreciated.
Helmut.






Re: [gentoo-user] Problems with ancient ATI graphics card

2010-10-25 Thread Helmut Jarausch
Hi Paul,

it turned out there is a bug in the linux kernel up to and including
2.6.36 concerning
drivers/gpu/drm/radeon
when it comes to all graphics chips like RV350.

Does anybody know about a patch for gentoo-sources-2.6.36 ?

Many thanks for a hint,
Helmut.


On 10/22/10 17:04:24, Paul Hartman wrote:
 On Fri, Oct 22, 2010 at 4:41 AM, Helmut Jarausch
 jarau...@igpm.rwth-aachen.de wrote:
  Hi,
 
  this is a bit off topic, since it primarily concerns a laptop
 running
  OpenSuSe 11.3, but I do need your help and I known there are 
 experts
  here.
 
  This old laptop has a
  radeon RV350 (mobility Radeon 9600 M10)  graphics card.
 
  There is an xf86-video-ati driver installed.
 
  Now, when booting with the (default) radeon.modeset=1
  the graphics is dead slow (not only for glxgears : 200 frame/s but
 for
  my OpenGL application (Impressive), as well).
 
  Now, when I replace the option on the kernel command line to
  radeon.modeset=0
  glxgears is much faster ( about 1800 frames/s )
  BUT my OpenGL application (python gtk + opengl)
  now freezes the whole machine - only power on/off can revive
  it.
 
  Hopefully, someone has an idea on what is going wrong here.
 
  (The hardware is too old for a recent ATI closed source driver
  supporting a recent kernel 2.6.34.x)
 
  Many thanks for your help which is very much appreciated.
  Helmut.
 
 I have a very similar card in my Gentoo laptop (Mobility Radeon 9700,
 I think maybe it's the same as 9600 but clocked higher). I tried KMS
 radeon driver but had some issues, maybe it was user-error but when I
 disabled KMS everything went back to normal.
 
 Otherwise if you want to stick with KMS all I can think of is to try
 different AccelMethod settings in your xorg.conf to see if you get
 better performance from one of them. I think maybe you need to 
 disable
 console framebuffer as well, in case you're using one.
 
 
 




Re: [gentoo-user] Problems with ancient ATI graphics card

2010-10-25 Thread Helmut Jarausch
On 10/25/10 10:15:46, Jacques Montier wrote:
  Hi all,
 
 I have an old RV350 9600 ATI graphic card and the open source radeon
 driver works fine with 2.6.36 kernel.
 


That depends on the application. e.g. glxgears runs fine while a
PyOpenGL application crashes the whole machine.

See
https://bugs.freedesktop.org/show_bug.cgi?id=28402

You might try
http://impressive.sourceforge.net/

(it needs PIL, PyGames and PyOpenGL)

Helmut.

 
 Le 25/10/2010 09:50, Helmut Jarausch a gentiment tapote:
 
  Hi Paul,
 
  it turned out there is a bug in the linux kernel up to and 
 including
  2.6.36 concerning
  drivers/gpu/drm/radeon
  when it comes to all graphics chips like RV350.
 
  Does anybody know about a patch for gentoo-sources-2.6.36 ?
 
  Many thanks for a hint,
  Helmut.
 
 
  On 10/22/10 17:04:24, Paul Hartman wrote:
  On Fri, Oct 22, 2010 at 4:41 AM, Helmut Jarausch
  jarau...@igpm.rwth-aachen.de wrote:
  Hi,
 
  this is a bit off topic, since it primarily concerns a laptop
  running
  OpenSuSe 11.3, but I do need your help and I known there are 
  experts
  here.
 
  This old laptop has a
  radeon RV350 (mobility Radeon 9600 M10)  graphics card.
 
  There is an xf86-video-ati driver installed.
 
  Now, when booting with the (default) radeon.modeset=1
  the graphics is dead slow (not only for glxgears : 200 frame/s 
 but
  for
  my OpenGL application (Impressive), as well).
 
  Now, when I replace the option on the kernel command line to
  radeon.modeset=0
  glxgears is much faster ( about 1800 frames/s )
  BUT my OpenGL application (python gtk + opengl)
  now freezes the whole machine - only power on/off can revive
  it.
 
  Hopefully, someone has an idea on what is going wrong here.
 
  (The hardware is too old for a recent ATI closed source driver
  supporting a recent kernel 2.6.34.x)
 
  Many thanks for your help which is very much appreciated.
  Helmut.
  I have a very similar card in my Gentoo laptop (Mobility Radeon
 9700,
  I think maybe it's the same as 9600 but clocked higher). I tried
 KMS
  radeon driver but had some issues, maybe it was user-error but 
 when
 I
  disabled KMS everything went back to normal.
 
  Otherwise if you want to stick with KMS all I can think of is to
 try
  different AccelMethod settings in your xorg.conf to see if you get
  better performance from one of them. I think maybe you need to 
  disable
  console framebuffer as well, in case you're using one.
 
 
 
 
 
 
 
 



-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




[gentoo-user] Tracing use flags - how to?

2010-10-28 Thread Helmut Jarausch
Hi,

this might well we a FAQ but I couldn't find it.

In the process of upgrading to xorg-server-1.8.2 I'd like to remove
the 'hal' use flag.
I have removed it in /etc/make.conf and added 'udev' instead.
The xorg-server definitely doesn't have this use flag set in 
/etc/portage/package.use

Still, emerge -vp x11-base/xorg-server shows that it is going to use 
the 'hal' but not the 'udev' flag.

How to find out where this comes from.

I haven't found anything in 'use.mask' in my profile
default/linux/amd64/10.0/desktop

Many thanks for a hint,
Helmut.




Re: [gentoo-user] Tracing use flags - how to?

2010-10-28 Thread Helmut Jarausch
On 10/28/10 10:22:42, Alan McKinnon wrote:
 Apparently, though unproven, at 09:18 on Thursday 28 October 2010,
 Helmut 
 Jarausch did opine thusly:
 
  Hi,
  
  this might well we a FAQ but I couldn't find it.
  
  In the process of upgrading to xorg-server-1.8.2 I'd like to remove
  the 'hal' use flag.
  I have removed it in /etc/make.conf and added 'udev' instead.
 
 That will remove it globally from the entire system, which might not
 be what 
 you want. IIRC k3b needs hal for instance to work correctly.

Thanks, I've added it again.

 
  The xorg-server definitely doesn't have this use flag set in
  /etc/portage/package.use
  
  Still, emerge -vp x11-base/xorg-server shows that it is going to 
 use
  the 'hal' but not the 'udev' flag.
  
  How to find out where this comes from.
 
 I usually read the ebuilds and grep directly through files to find
 this kind 
 of stuff :-) I find it easier than remembering commands.
 
 The xorg-server ebuild says:
 IUSE_SERVERS=dmx kdrive xorg
 IUSE=${IUSE_SERVERS} doc hal ipv6 minimal nptl tslib +udev
 
 So it uses all those flags, and udev is on by default unless you
 explicitly 
 say otherwise somewhere.
 
 
  I haven't found anything in 'use.mask' in my profile
  default/linux/amd64/10.0/desktop
 
 Post the USE section from emerge --info, the output from 
 emerge -vp x11-base/xorg-server.

Unfortunately, that's too late now.
Meanwhile I have add 
x11-base/xorg-server -hal
to /etc/portage/package.use


 the output from 
 grep -r udev /etc/portage/*
 grep -r hal /etc/portage/*

That didn't show any hal entries.
 
 and let's take it from there.
 
 Finding stuff in profiles is tricky, you have to search upwards
 through the 
 directories, not downwards.

Many thanks, Alan.
Meanwhile, upgrading to xorg-server-1.8.2 went smoothly and 
I've removed  /etc/hal/fdi/policy/x11-input.fdi
where I had some settings for the keyboard and the mouse.

Helmut.




[gentoo-user] HP625 anybody?

2010-11-03 Thread Helmut Jarausch
Hi,

I've just bought an HP625 notebook with a pre-installed SuSE system.
Of course, I'd like to replace this with GenToo.

The problems concern the broadcom WLAN driver, the bluetooth driver and 
the keyboard layout (including special keys).

The graphics works just fine with 2.6.36 / xorg-server-1.9.2 and
ati-drivers-10.10 (to be).

I've found http://en.gentoo-wiki.com/wiki/HP_Elitebook_8530w

which shows some similarity, but perhaps someone knows a dedicated
URL / document.

Many thanks for your help,
Helmut.



Re: [gentoo-user] HP625 anybody?

2010-11-03 Thread Helmut Jarausch
On 11/03/10 13:13:28, Dale wrote:
 As far as drivers go, this should help you find the right one.
 
 http://kmuto.jp/debian/hcl/
 
Many thanks, Dale, a very interesting page.

Helmut.



[gentoo-user] [OT] rsync question

2010-11-10 Thread Helmut Jarausch
Hi,

the following behaviour of rsync puzzles me.

I have the following situation

Source/Athis is a symlink !

Dest/A  this is a real directory


now
cd Dest/A
rsync -auHz -ni --rsh=ssh --delete --exclude='/A/' source
machine:Source/ .

shows that it's going to delete the folder Dest/A

Can anybody please explain me why?

Thanks a lot,
Helmut.

(P.S. : I did google for it but couldn't find an explanation)



[gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
Hi,

I have cloned the root fs and /usr onto a new machine (as I have done 
many times before)

I boot SystemRescueCD and mount the new root on, say,  /nroot
Then my standard procedure is as follows

mount -o bind /proc /nroot/proc
mount -o bind /dev /nroot/proc

chroot /nroot /bin/bash

cp /proc/mounts /etc/mtab
mount /usr

env-update

and finally

source /etc/profile

BUT, this time, env-update fails because it cannot
import site

the error being

TypeError  stat() argument 1 must be an encoded string without NULL 
bytes.

Has anybody an explanation for this failure?

(the system is bleeding edge ~amd64, eselected python-2.6 
(python-2.6.6-r1)

Many thanks for a hint,
Helmut.



Re: [gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
On 11/12/10 15:24:44, Fatih Tümen wrote:
 On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch
 jarau...@igpm.rwth-aachen.de wrote:
  mount -o bind /proc /nroot/proc
  mount -o bind /dev /nroot/proc
 
 That looks a bit strange to me, doesnt it to you? :) I would retype
 that as follow:
 
 mount -t proc none /nroot/proc
 mount -o bind /dev/ /nroot/dev
 

Thanks Faith,

unfortunately this doesn't solve the problem.
(My version has been working for years, and
I can mount /usr in the chrooted system.)

Helmut.




Re: [gentoo-user] import site fails - why

2010-11-12 Thread Helmut Jarausch
On 11/12/10 15:58:27, Fatih Tümen wrote:
 On Fri, Nov 12, 2010 at 16:32, Helmut Jarausch
 jarau...@igpm.rwth-aachen.de wrote:
  On 11/12/10 15:24:44, Fatih Tümen wrote:
  On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch
  jarau...@igpm.rwth-aachen.de wrote:
   mount -o bind /proc /nroot/proc
   mount -o bind /dev /nroot/proc
 
  That looks a bit strange to me, doesnt it to you? :) I would 
 retype
  that as follow:
 
  mount -t proc none /nroot/proc
  mount -o bind /dev/ /nroot/dev
 
 
  Thanks Faith,
 
  unfortunately this doesn't solve the problem.
  (My version has been working for years, and
  I can mount /usr in the chrooted system.)
 
  Helmut.
 
 
 
 
 Ok so I learn one more thing, thanks.
 
 I think its better if you post the exact error message.
 

Meanwhile, I have run python-updater on the master machine and I have 
re-install portage.
Then I resync'ed the new machine against this master.

Still, env-update fails after chroot
Here is the output

Python 2.6.6 (r266:84292, Oct 13 2010, 09:06:24)
[GCC 4.4.4] on linux2
Type help, copyright, credits or license for more information.
dlopen(/usr/lib64/python2.6/lib-dynload/readline.so, 2);
import readline # dynamically loaded from /usr/lib64/python2.6/lib-
dynload/readline.so
 import site
# /usr/lib64/python2.6/site.pyc matches /usr/lib64/python2.6/site.py
import site # precompiled from /usr/lib64/python2.6/site.pyc
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib64/python2.6/site.py, line 526, in module
main()
  File /usr/lib64/python2.6/site.py, line 509, in main
known_paths = addsitepackages(known_paths)
  File /usr/lib64/python2.6/site.py, line 289, in addsitepackages
addsitedir(sitedir, known_paths)
  File /usr/lib64/python2.6/site.py, line 185, in addsitedir
addpackage(sitedir, name, known_paths)
  File /usr/lib64/python2.6/site.py, line 159, in addpackage
if not dircase in known_paths and os.path.exists(dir):
  File /usr/lib64/python2.6/genericpath.py, line 18, in exists
st = os.stat(path)
TypeError: stat() argument 1 must be encoded string without NULL bytes, 
not str


This is with portage-2.2.0-alpha4 which works flawlessly on the master 
machine.

I'm puzzled!

Helmut.



[gentoo-user] how to rebuild gentoo on a somewhat different hardware

2010-11-16 Thread Helmut Jarausch
Hi,

I have an up-to-date ~amd64 GenToo installation with has been
built on a current AMD64 (Phenom II) machine where I used 
-mtune=native in etc/make.conf since I didn't think of the case
that I would need to port this system to a somewhat older Opteron
based machine (still AMD64)

But after cloning the system, some fundamental utilities die of
an illegal instruction. So I have to rebuild GenToo nearly
from scratch. emerge -e world doesn't work.

So, what is a reasonably fast method?

I'd like to keep
/etc
/usr/portage   except /usr/portage/packages
/var/lib/portage

Is there a fast method e.g. by using the Gentoo based
SystemRescueCD to reinstall a very basic system, such that
I can do  emerge -e world.
It looks as if the gcc tool-chain is intact since I could
compile a kernel without any problem.
But some utilities, e.g. find, die of an illegal instruction.

Many thanks for any hints saving me a couple of hours work,

Helmut.



Re: [gentoo-user] how to rebuild gentoo on a somewhat different hardware

2010-11-16 Thread Helmut Jarausch
On 11/16/10 10:56:29, Alan McKinnon wrote:
 
 Backup your portage related data and re-install.
 
 Seriously - you know you are looking at doing emerge -e world and 
 will
 need to 
 fiddle stuff to make it complete successfully.
 
 If you just reinstall, put your old world file and /etc/portage/ back
 then let 
 portage have at it, that is exactly what will happen. You'll have
 30-45 
 minutes of setup work and a high level of confidence it will complete 
 successfully.
 
 Trying to fix the existing installation is potentially many hours of
 poking 
 around to see what changed, potentially several goes at running 
 emerge
 -e 
 world, hair pulling, and you will probably give up and just reinstall
 anyway.
 
 I'm assuming you are looking for the easiest, fastest route to 
 success
 with 
 the least pain, and that your days of poking into portage to see how
 things 
 work for fun are long over.
 

Thanks Alan,

just one more question: where are information like the
current eselect(ions) stored?

Helmut.



Re: [gentoo-user] how to rebuild gentoo on a somewhat different hardware

2010-11-17 Thread Helmut Jarausch
On 11/17/10 00:01:15, Adam Carter wrote:
  I have an up-to-date ~amd64 GenToo installation with has been
  built on a current AMD64 (Phenom II) machine where I used
  -mtune=native in etc/make.conf since I didn't think of the case
  that I would need to port this system to a somewhat older Opteron
  based machine (still AMD64)
 
  But after cloning the system, some fundamental utilities die of
  an illegal instruction.
 
 
 Did you have -march set? If so, what to?
 
 If -march is unset, then AFAIK your binaries should run on any amd64
 machine. If you have it set to native, then your binaries will only
 run on
 equal or greater hardware than what it was built on.

Thanks Alan. I knew that, but then I inherited an somewhat older 
Opteron machine and I wasn't aware that this one had a different 
instruction set then current Opterons.

Helmut.




-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] [OT] some two more rsync questions

2010-11-17 Thread Helmut Jarausch
Hi,

I have two problems with rsync

1st) if I give both commandline options  -u and -c
 it looks as if a file which is more recent but different
 on the destination is not updated, i.e. -u overrules -c
 Is that true?

2nd) There is a symlink A on SourceDir which refers to a directory
 On the other hand, A is the name of a (real) subdirectory of 
 DestDir

 Now doing
 rsync -auHz --delete --exclude=/A SourceDir/  DestDir/
 does remove A on DestDir - why ?

I'm using rsync-3.0.7 .

Many thanks for a hint,
Helmut.




Re: [gentoo-user] [OT] some two more rsync questions

2010-11-24 Thread Helmut Jarausch
On 11/19/10 00:08:06, Mick wrote:
 On Wednesday 17 November 2010 12:16:48 Helmut Jarausch wrote:
  Hi,
  
  I have two problems with rsync
  
  1st) if I give both commandline options  -u and -c
   it looks as if a file which is more recent but different
   on the destination is not updated, i.e. -u overrules -c
   Is that true?
  
  2nd) There is a symlink A on SourceDir which refers to a 
 directory
   On the other hand, A is the name of a (real) subdirectory of
   DestDir
  
   Now doing
   rsync -auHz --delete --exclude=/A SourceDir/  DestDir/
   does remove A on DestDir - why ?
 
 I don't know the answer to your 1st question, but I think that the
 answer to 
 your 2nd question is that A on the DestDir is removed because of 
 the
 --
 delete option.  According to the man page:
 
 --delete   delete extraneous files from dest dirs.
 

Thanks Mick, but --exclude protects against deletion. My problem was
that I did use
rsync -auHz --delete --exclude=/A/SourceDir/  DestDir/
.^

because A is a directory on DestDir. But it turned out that this
does delete A on DestDir since A is a symlink on SourceDir and the
include/exclude pattern is applied to the SourceDir only.

Helmut.



-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] time for an emerge -e world?

2010-11-24 Thread Helmut Jarausch
On 11/24/10 17:03:34, Alan McKinnon wrote:
 Apparently, though unproven, at 17:48 on Wednesday 24 November 2010,
 Kevin 
 O'Gorman did opine thusly:
 
  On Fri, Nov 19, 2010 at 12:17 PM, Alan McKinnon 
 alan.mckin...@gmail.comwrote:
   Apparently, though unproven, at 20:54 on Friday 19 November 2010,
 Allan
   
   Gottlieb did opine thusly:
It seems, however, that you're still going down the path 
 of
 emerge
 
 -e @world. Why is that? If it's just to be confident that
 everything
 is back to the way it should be then I understand that. I've
 done it
 myself many times in the last 12 years.

Yes that is the reason.
   
   Sounds like the big guns approach, can be valid at times.
   
   I'm usually the first one to chip in about emerge -e world being
 stupid
   when
   someone reads the gcc upgrade guide, but sometimes you have a box
 that
   just will not fix itself despite hours of troubleshooting. In a
 case
   like this a full remerge often fixes mysterious but actual real
   problems.
  
  I've had pretty much the same thing happen.  In my case, 'eix'
 showed that
  I had 0.9.8p and 1.0.0 installed
  in two different slots.   However the 3 files that belong to 0.9.8
 were
  missing.  Fortunately, I run with --buildpkg
  so I had a binary package lying around.  Emerging it with -gK
 restored the
  files, and everything was okay.
  
  OTOH, a couple of years ago I did an emerge -e and regretted it.  
 It
 kept
  stopping because something wasn't
  configured right, and I had to go through dispatch-conf on
 everything up to
  that point before I could get it to
  proceed.  Good luck with your few days.  Mine was more like 2
 weeks of
  stop-and-go.
 
 
 Ah, the joys of source-based distros :-)
 
 If you break it, you get to keep all 47,392 pieces!
 I keep promising to leave gentoo behind and find something less
 thrilling. 
 Then I use by Ubuntu netbook for a few days and come right back.
 
 It's like a heroin junkie needing his fix...
 

I have been doing  emerge -e world just recently.
The first few days I felt like a disc jockey, here a use flag in
there out.
But then the real problem was that Gentoo is changing quite fast.
All packages which failed to rebuild couldn't be rebuilt on an up-to-
date machine either, since meanwhile I have installed a newer version 
sys-devel/autoconf and friends and some packages cannot be rebuilt with
a recent version of these tools. I just didn't notice it on my master
machine since there was no need to rebuild these packages. But trying 
to do so now revealed the true cause of the error - some bug reports.

Helmut.



Re: [gentoo-user] On what to base a custom live CD?

2010-11-25 Thread Helmut Jarausch
I'd suggest SystemRescueCD.
It's upgraded quite often (currently using kernel 2.6.35-x)
has a ready to go X11 environment and most useful,
it's an up-to-date Gentoo system, so one immediately knows
where to look if there are any problems.
And it has a well documented (easy) procedure for extending it.

Helmut.


On 11/24/10 23:02:10, Grant Edwards wrote:
 I need to build a liveCD that boots on as wide a variety of hardware
 as is practical.  It needs to load one custom kernel module and then
 run one console-mode application.  Instead of building something from
 scratch, I was hoping I might be able to modify an existing liveCD.
 
 There's no need for support for networking, graphics, or even access
 to optical or hard drives.
 
 The current version of this CD is built sort of from scrach using a
 labor-intensive and error-prone process. However, it does produce
 something that's small (less that 10MB), and boots fast (around 10
 seconds). But, updating the existing CD with a newer kernel (to gain
 support for newer hardware) is difficult.
 
 I thought about using a customized systemrescuecd, but that takes 
 ages
 to boot (almost 5 minutes).  This CD is intended as something a
 customer can run to do a quick hardware test, and making them sit
 there for 5 minutes to see a 5-second test just isn't going to fly.
 
 I also looked at the gentoo minimal install CD, but that's still
 pretty slow (3-4 minutes), and it's not at all obvious how to add a
 kernel module to it.
 
 Does anybody have an recommendations for a good way to build a small
 liveCD with a custom kernel module?
 



-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] How to exclude a directory from rsync

2010-11-26 Thread Helmut Jarausch
On 11/25/10 22:51:36, Renat Golubchyk wrote:
 On Tue, 16 Nov 2010 23:01:51 + Mick michaelkintz...@gmail.com
 wrote:
  On Tuesday 16 November 2010 22:26:28 Stefan G. Weichinger wrote:
   Am 2010-11-16 22:24, schrieb Alan McKinnon:
Apparently, though unproven, at 23:12 on Tuesday 16 November
2010, Mick did

opine thusly:
Excellent, it worked!  :-)

Glad to hear it.

I could help because part of my job is running a rather big
public ftp mirror that management graciously pay for. And I 
 went
down this rsync road a long time ago myself.

You have no idea how many brain cells died in agony to figure
 out
this specific piece of rsync behaviour :-)
   
   ;-)
   
   I would like to know if my suggestion also works ;-)
   
   Yeah, include/exclude-patterns are rather hard to figure out
   sometimes ... nearly like regexes - write once, read never 
  
  Ha, ha!  True!
  
  Stefan, I tried escaping the spaces (even tried \\ double and \\\
  triple escapes in case it makes a difference because of using ssh)
  but still did not work.  In my head I couldn't see how the full 
 path
  would not work, but the relative path would, but I tried it out all
  the same.
  
  I still don't understand why Alan's recommendation works   ;-)
 
 I'm probably late with my reply, but I'll post it so it will be in 
 the
 archives for future reference.
 
 The man page is actually pretty clear on this issue. Quote:
 
   if the pattern starts with a / then it is anchored to a particular
   spot in the hierarchy of files, otherwise it  is  matched  against
 the
   end of the pathname.  This is similar to a leading ^ in regular
   expressions.  Thus /foo would match a name of foo at either the
   root of the transfer (for a global rule) or in the merge-file’s
   directory (for a per-directory  rule).   An  unqualified  foo
 would
   match  a  name  of foo anywhere in the tree because the algorithm
 is
   applied recursively from the top down; it behaves as if each path
   component gets a turn at being the end of the filename.  Even the
   unanchored sub/foo would match  at  any  point  in  the hierarchy
   where  a foo was found within a directory named sub.
 
 Root of the transfer is the directory you want to sync. Thus, if 
 you
 run e.g. rsync /var/log/ /mnt/backups/ --exclude=/portage/ then 
 root
 of the transfer is /var/log, and therefore the directory
 /var/log/portage will be excluded. If on the other hand you write
 --exclude=portage/ then a directory named portage anywhere in the 
 tree
 under /var/log will be excluded. Without the trailing slash, i.e. 
 just
 --exclude=portage any file (regular file, directory, link, whatever)
 named portage anywhere in the tree gets excluded. And finally
 --exclude=/portage would exclude a file only at the top of the tree
 that
 is going to be synchronsed.
 

Let me add some caveat which has trapped me recently.

I had (in your terms)
rsync /var/log/ /mnt/backups/ --delete --exclude=/portage/

and /var/log/portage was just a symlink to some other directory
while  /mnt/backups/portage was a real directory.
In that case rsync deletes /mnt/backups/portage !
It looks as if the directory property is check in the source tree
only. Quite an unpleasant surprise.

Helmut.




[gentoo-user] A desparate needs advice!

2010-12-07 Thread Helmut Jarausch
Hi,

I have cloned an ~amd64 system which is running happily on a modern 
Opteron machine to an old Opteron machine. Unfortunately, I've built
that system with CFLAGS  -msse3 and msse4a and USE-flags sse3 sse4a .
Since these instructions are not available on an old Opteron I had
to emerge -e world which was (is) a real mess and which has taken 3 
weeks now (not full time, of course)
I've rebuilt the kernel (several times) but I cannot boot the machine.
When I boot with SystemRescueCD and change root, the machine runs 
perfectly.
The boot process stops after displaying the messages
Freeing unused kernel memory: 356 k freed
init-early.sh used greatest stack depth: 4376 bytes left

I have looked at dozens of places which Google returns but I couldn't
find a reason. E.g. the kernel is built with amd-64-generic.
I've re-emerged sys-apps/sysvinit several times but nothing helps.

So, has anybody a suggestion on what to try out or how to locate the 
problem?

I'm more than grateful for any hints since it could save me another 
three weeks work.

Helmut.



[gentoo-user] Python:2.7 - Save to use as default?

2010-12-08 Thread Helmut Jarausch
Hi,

dev-lang/python-2.7.1 has been unmasked and with the recent autgen from 
today it builds cleanly.
Is it safe to use this version as standard Python (via eselect)
when running python-updater afterwards, of course?

Many thanks for sharing your experience,
Helmut.



[gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
Hi,

does anybody know about an easy method to remove all entries from
/var/lib/portage/world
which would have been pulled in anyway
even if they were not contained in world.

My current attempt would be to write a script
which executes emerge -vpc on each entry in world.
If it wouldn't be removed it's obsolete in world.

Unfortunately this has to be done in several rounds.

Many thanks for a hint,
Helmut.



Re: [gentoo-user] Which architecture ???

2010-12-08 Thread Helmut Jarausch
On 12/08/10 12:25:23, dhk wrote:
 I have a laptop which has an AMD Athlon Neo X2 L335 2.2GHz Dual Core
 processor on it and I'd like to know which architecture (handbook and
 livecd) to use.
 
 The handbook choices are:  x86, sparc, amd64, ppc, ppc64, alpha, 
 hppa,
 mips, ia64, arm.  I'm guessing the x86, but I's like to be sure.
 

x86 will do for sure.
But you can check

cat /proc/cpuinfo | grep address sizes 

If it shows more than 32 bits (e.g. 48 bits)
then you could use amd64, as well.
AFAIK, 64 is mean stream today.
How much memory do you have installed?
If more than 4G you have to use adm64 to fully use it.
I'd prefer amd64 if possible,

Helmut.




Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
On 12/08/10 14:40:56, Matthew Summers wrote:
 On Wed, Dec 8, 2010 at 5:23 AM, Helmut Jarausch
 jarau...@igpm.rwth-aachen.de wrote:
  Hi,
 
  does anybody know about an easy method to remove all entries from
  /var/lib/portage/world
  which would have been pulled in anyway
  even if they were not contained in world.
 
  My current attempt would be to write a script
  which executes emerge -vpc on each entry in world.
  If it wouldn't be removed it's obsolete in world.
 
  Unfortunately this has to be done in several rounds.
 
  Many thanks for a hint,
  Helmut.
 
 
 
 You may find that using 'emerge --deselect some-package' to be what
 you need. It removeds the file from your world file, but does not
 unmerge the package. That command switch is the functional opposite 
 of
 --noreplace.
 
 I think you will find a wealth of information in the manpage for
 emerge. Happy reading!

Sorry, but I still don't see it.
The main question is which packages might be removed
from 'world'?

Helmut.



Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
On 12/08/10 17:11:58, Albert Hopkins wrote:
 I have a script I used to locate redudancies in the world file.  It
 requires gentoolkit.  It basically looks at packages in world that
 have
 reverse dependencies also in world (but only goes one level deep). 
 Just
 
 # auditworld  /var/lib/portage/world
 
 http://paste.pocoo.org/show/302273/

Many thanks, I've updated it a bit to generate a new world
file (using python3)
http://paste.pocoo.org/show/302337/
One should have a look at the diffs (e.g. meld) before replacing
the old world file.

Helmut.



[gentoo-user] Kernel doesn't use all of the available memory

2010-12-09 Thread Helmut Jarausch
Hi,

I see a strange effect which puzzles me.
I have two AMD64 (~amd64) Systems. Both have 8Gb memory installed
as reported by their BIOS as well as by lshw.
One is a somewhat older Opteron, the other one a recent Phenom II.
But the output of 'free -m' differs significantly

On the Phenom II   there a total of 7738 Mb
but on the old Opteron there a total of 6477 Mb only.

The 2.6.36 kernel is configured nearly identical (just a different SATA 
driver).

Has anybody an idea where this comes from?

Many thanks for a hint,
Helmut.



[gentoo-user] ebuild creation (python-2.7) - please help

2010-12-12 Thread Helmut Jarausch
Hi,

after switching to Python-2.7 an ebuild of myself fails.
I'm trying to write an ebuild for  dev-python/pyparsing-

My attemp fails with 'setup.py' not found.
The package is unpacked into
/var/tmp/portage/dev-python/pyparsing-/work/pyparsing-

This contains the subdirectories doc examples and src.
And the setup.py files is in src.

Many thanks for a hint,
Helmut.

Here my attempt:

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/
pyparsing-1.4.10.ebuild,v 1.1 2008/01/25 05:06:52 hawking Exp $

EAPI=3
SUPPORT_PYTHON_ABIS=1
inherit distutils eutils subversion

DESCRIPTION=pyparsing is an easy-to-use Python module for text 
parsing
HOMEPAGE=http://pyparsing.wikispaces.com/;

ESVN_REPO_URI=https://pyparsing.svn.sourceforge.net/svnroot/
pyparsing/
ESVN_PROJECT=${PN}


LICENSE=MIT
SLOT=0
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86
IUSE=doc examples

S=${WORKDIR}/pyparsing-


src-compile() {
  cd ${WORKDIR}/pyparsing-/src
  distutils_src_compile
}

src_install() {
cd ${WORKDIR}/pyparsing-/src
distutils_src_install

dohtml HowToUsePyparsing.html
dodoc CHANGES

if use doc; then
dohtml -r htmldoc/*
insinto /usr/share/doc/${PF}
doins docs/*.pdf
fi

if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}




<    1   2   3   4   5   6   7   8   9   10   >