[gentoo-user] Meta-Offtopic: Dualcore lost

2008-09-28 Thread meino . cramer
Hi,

 I have a meta-offtopic question:
 Usually I get sources for Blender from the SVN, recompile
 it and VOILA!: The newest Blender.

 Then, from one day to another, my blender built lost the abillity 
 to use both cores of my CPU. I posted this on a blender forum and
 others dont have the same problem with the same svn snapshot.

 Now I am searching for a reason, while blender suddenly works without
 problems but only with one core. Everything else (as far as enabled)
 use both cores.

 What can be the reason for such a behaviour?
 I did not change the way of building blender...

 Any suggestions are very appreciated.
 Thank you very much in advance!
 Kdin regards,
 mcc




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.



Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update

2008-09-28 Thread Walter Dnes
On Sat, Sep 27, 2008 at 08:05:06PM -0500, Dale wrote

> This may be waaay off here, do you have that parallel start up thing
> turned on?  You know, where multiple services can be started at
> the same time without waiting for the startup to complete.  I read
> somewhere a while back where some were having various trouble but
> not lately.  If you do, may want to try it with it turned off and
> see if that helps.

  I hadn't thought of that, but my/etc/conf.d/rc has
RC_PARALLEL_STARTUP="no"

  Thanks for the sauggetsion anyways.

-- 
Walter Dnes <[EMAIL PROTECTED]>



RE: [gentoo-user] /etc/init.d/apache2 fails, but apache will run

2008-09-28 Thread Adam Carter

> On Sunday 28 September 2008 09:26:06 pm Adam Carter wrote:
> > rix adam # /etc/init.d/apache2 start
> >  * Starting apache2 ...
> > (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80
> > no listening sockets available, shutting down
> > Unable to open logs
>   [
> > ok ] rix adam #
> >
> > The socket is not in use and log dir perms are ok, and;
> >
> > rix adam # apache2 -f /etc/apache2/httpd.conf
> > rix adam # pgrep -lf apach
> > 17740 apache2 -f /etc/apache2/httpd.conf
> > 17741 apache2 -f /etc/apache2/httpd.conf
> > 17744 apache2 -f /etc/apache2/httpd.conf
> > 17772 apache2 -f /etc/apache2/httpd.conf
> > rix adam #
> >
> > So, how do I troubleshoot this?
>
> I just did a google search
 something else is bound to port 80.

As stated above - socket 80 is not in use (according to netstat). If there was, 
"apache2 -f /etc/apache2/httpd.conf" would also fail, would it not?

> Do a "ps -A | grep apache" and see if a stray daemon is
> running around... I

I did that, there were no apache processes running.

> not then go to /etc/apache2/vhosts.d and make sure both config files
> are "pointing" to the same host that apache is running on...

Again, if the config was broken then I'd expect # apache2 -f 
/etc/apache2/httpd.conf to also fail.

I'd say the problem is related to how the gentoo stuff starts the daemon, or 
maybe conf.d/apache2, but nothing below looks unusual to me;

rix apache2 # grep ^[^#] /etc/conf.d/apache2
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST  
-D PHP5"
CONFIGFILE=/etc/apache2/httpd.conf





Re: [gentoo-user] /etc/init.d/apache2 fails, but apache will run

2008-09-28 Thread Jerry McBride
On Sunday 28 September 2008 09:26:06 pm Adam Carter wrote:
> rix adam # /etc/init.d/apache2 start
>  * Starting apache2 ...
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs   [
> ok ] rix adam #
>
> The socket is not in use and log dir perms are ok, and;
>
> rix adam # apache2 -f /etc/apache2/httpd.conf
> rix adam # pgrep -lf apach
> 17740 apache2 -f /etc/apache2/httpd.conf
> 17741 apache2 -f /etc/apache2/httpd.conf
> 17744 apache2 -f /etc/apache2/httpd.conf
> 17772 apache2 -f /etc/apache2/httpd.conf
> rix adam #
>
> So, how do I troubleshoot this?

I just did a google search on the error "(98)Address already in use: 
make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down" and it turned up so much that 
I just don't even feel like reading it for you...

What I suspect and what's mentioned in the pages that google turned up, 
something else is bound to port 80. 

Do a "ps -A | grep apache" and see if a stray daemon is running around... i 
not then go to /etc/apache2/vhosts.d and make sure both config files 
are "pointing" to the same host that apache is running on...

That's where I would start. 


-- 

*
   
 From the desk of:
 Jerome D. McBride
   
21:56:02 up 1 day,  2:13,  5 users,  load average: 0.14, 0.07, 0.02
 
*



Re: [gentoo-user] SOLVED: Openoffice dies on startup

2008-09-28 Thread Iain Buchanan

Kevin O'Gorman wrote:

BOTTOM LINE (even though it's at the top)
It appears openoffice-bin depends on some things that are not marked
in the ebuild.


please try and remove (one by one) the extra packages that you installed 
for openoffice source.  (It's only 8, so it shouldn't take too long).


In between each "emerge -C" see if openoffice-bin still works.

If you find it stops working at some point, please file a missing 
dependency bug!


If you unmerge all 8 packages, and openoffice-bin still works, then it 
was probably disk space related.


Thanks,
--
Iain Buchanan 

It is far more impressive when others discover your good qualities 
without your help.

-- Miss Manners



[gentoo-user] /etc/init.d/apache2 fails, but apache will run

2008-09-28 Thread Adam Carter
rix adam # /etc/init.d/apache2 start
 * Starting apache2 ...
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs   [ ok ]
rix adam #

The socket is not in use and log dir perms are ok, and;

rix adam # apache2 -f /etc/apache2/httpd.conf
rix adam # pgrep -lf apach
17740 apache2 -f /etc/apache2/httpd.conf
17741 apache2 -f /etc/apache2/httpd.conf
17744 apache2 -f /etc/apache2/httpd.conf
17772 apache2 -f /etc/apache2/httpd.conf
rix adam #

So, how do I troubleshoot this?





Re: [gentoo-user] State of ATi drivers in Linux

2008-09-28 Thread Emil Jensen
On Mon, Sep 29, 2008 at 7:22 AM, Hal Martin <[EMAIL PROTECTED]> wrote:

> So, do any of you have newer (HD series) AMD/ATi graphics cards?
> What drivers (AMD closed source, or open source) are you using?
> Are they stable?
> How is the performance?
> Any noise issues with your card when it's idle? Under load?


I've been following this a little although I do have an nVidia card. You
should check out Phoronix:

http://www.phoronix.com/scan.php?page=category&item=Display%20Drivers

They are probably the top followers of Linux display drivers that I know of.
But off the top of my head I'd say that the ATI Catalyst drivers (closed
source) are really getting pretty good now and almost on par with their
windows equivalent.
The RadeonHD (open source) drivers are also getting pretty good, although it
depends on the chipset you're using (some have better support than others),
and if you're not doing cutting edge gaming, they should perform fine for
you.


Re: [gentoo-user] State of ATi drivers in Linux

2008-09-28 Thread Volker Armin Hemmann
On Sunday 28 September 2008, Hal Martin wrote:
> Hello all,
>
> I am contemplating building a new computer with an AMD/ATi graphics
> card. I've been following the subject of ATi driver quality in linux for
> a while, but I realize that the experiences I read on Google search
> results are, shall we say, biased, as many people who have perfectly
> working cards don't go out and comment on how great their drivers are.
>
> So, do any of you have newer (HD series) AMD/ATi graphics cards?

HD3870

> What drivers (AMD closed source, or open source) are you using?

fglrx - the closed source ones.

> Are they stable?

yes. Switching between vt and X works, and restarting X too - but the ati 
scripts in /etc/acpi have to be removed.
With desktop effects turned off 2d is fast and snappy and video is ok.
With desktop effects turned on 2d is fast except manually resizing windows and 
xv-video sucks. Luckily kde 4.1 makes it easy to switch ;) - and I don't need 
xv ;)

> How is the performance?

very good. I play ut2004 and vegastrike 0.5. With a but. See above.

> Any noise issues with your card when it's idle? Under load?

the fan is very quiet in KDE or playing games. Only in the menus of ut2004 or 
on a vt it turns up - but is still very bearable. 
aticonfig --odgt

Default Adapter - ATI Radeon HD 3870
  Sensor 0: Temperature - 51.00 C





[gentoo-user] State of ATi drivers in Linux

2008-09-28 Thread Hal Martin

Hello all,

I am contemplating building a new computer with an AMD/ATi graphics 
card. I've been following the subject of ATi driver quality in linux for 
a while, but I realize that the experiences I read on Google search 
results are, shall we say, biased, as many people who have perfectly 
working cards don't go out and comment on how great their drivers are.


So, do any of you have newer (HD series) AMD/ATi graphics cards?
What drivers (AMD closed source, or open source) are you using?
Are they stable?
How is the performance?
Any noise issues with your card when it's idle? Under load?

I'd just like to point out that I have an NVidia 7900GTX right now, and 
it's been working well for me, but I'd like to upgrade to something with 
stream processors and little more power. I've heard that NVidia 2D 
performance under linux suffers greatly if you have an 8000, 9000, or GX 
series card. Have any of your experienced poor 2D performance since 
upgrading your NVidia card?


Thanks,
-Hal



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> > cdda2wav writes a single file per track. Why do you like additional splits?
>>
>> I like to end up with a raw/toc pair of files to act as a raw backup
>> of the CD, and a series of individual FLAC files for each track.  For
>> the individual files, would you do that like this:
>>
>> # cdda2wav -B -Oraw
>> # rm audio.cddb
>> # rm audio.cdindex
>> # rm *.inf
>> # flac --best --endian=big --sign=signed --channels=2 --bps=16
>> --sample-rate=44100 --verify CD/audio_*.raw
>>
>> How would you generate a raw/toc(inf?) pair for backup?
>
> The toc information is coded in the adjacent .inf file.

But how do you get cdda2wav to produce a single raw/inf pair instead
of a pair for each track?  I tried removing -B but it then only rips
the first track.

> Try to run an extrat run and ask if there are parts that you do not 
> understand.

What is an extrat run?

Thanks,
Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant <[EMAIL PROTECTED]> wrote:

> > cdda2wav writes a single file per track. Why do you like additional splits?
>
> I like to end up with a raw/toc pair of files to act as a raw backup
> of the CD, and a series of individual FLAC files for each track.  For
> the individual files, would you do that like this:
>
> # cdda2wav -B -Oraw
> # rm audio.cddb
> # rm audio.cdindex
> # rm *.inf
> # flac --best --endian=big --sign=signed --channels=2 --bps=16
> --sample-rate=44100 --verify CD/audio_*.raw
>
> How would you generate a raw/toc(inf?) pair for backup?

The toc information is coded in the adjacent .inf file.

Try to run an extrat run and ask if there are parts that you do not understand.

It should be easy for you to write a transcoder.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> >> > Why do you like to create a cue file anyway?
>> >> >
>> >> > Cdda2wav splits the data at the right location and it icludes the 
>> >> > paranoia code.
>> >>
>> >> I read a comparison where somebody ripped a CD with cdrdao and a
>> >> couple other tools and then burned the images back to CDs and compared
>> >> the CDs, and cdrdao was the only one that ended up with being
>> >> indistinguishable from the original as reported by the tool he used.
>> >
>> > There have been several tests that show up that cdda2wav/cdrecord are
>> > the best choice - even compared with Win32 programs.
>>
>> Can you point me toward any of those?
>
> 2+ Years ago, there have been several long discussions in
> de.comp.hardware.laufwerke.brenner
>
> One is here
> http://groups.google.de/group/de.comp.hardware.laufwerke.brenner/browse_thread/thread/355e88b312c2a2f1/269396c366fe2117?hl=de&lnk=st&q=cdda2wav+eac#269396c366fe2117
> but there have been better ones...
>
> Try to search for cdda2wav and EAC or ALCOHOL in
> de.comp.hardware.laufwerke.brenner
>
>
>> >> I want to create a cue file because it's required for converting the
>> >> CD image to FLAC with the flac command.  I'm actually not interested
>> >> in burning CDs, FLAC files only.
>> >
>> > Mmm I see no reason why there should be a need for a cue sheet just to do a
>> > simple compression.
>>
>> If not the flac command then cuebreakpoints.  Is there a way to split
>> a FLAC file with a toc file?
>
> cdda2wav writes a single file per track. Why do you like additional splits?

I like to end up with a raw/toc pair of files to act as a raw backup
of the CD, and a series of individual FLAC files for each track.  For
the individual files, would you do that like this:

# cdda2wav -B -Oraw
# rm audio.cddb
# rm audio.cdindex
# rm *.inf
# flac --best --endian=big --sign=signed --channels=2 --bps=16
--sample-rate=44100 --verify CD/audio_*.raw

How would you generate a raw/toc(inf?) pair for backup?

- Grant



Re: [gentoo-user] CF and Gentoo

2008-09-28 Thread Simon

4A. Best method to duplicate the CF card live while the system
is running.


Best method I now which is near effort-less, but requires preparation is to 
setup your drive initially as a RAID-1 mirror but force it to have only one 
drive (if you don't want it mirrored all the time).


Then, add a new drive to the RAID-1 and watch the synchronization.  Once 
finished, take the drive out by failing it cleanly then by removing it, and you 
have an integral raid-mirrored copy of your original drive while it was running.


On my own home-gateway, I used this to "burn" the latest state of the system to 
disk, and I used usb keys as main drives.  At boot, it would pick up which ever 
is in most current state and update the other.  And later in my local script, I 
would fail the hard drive so this gateway would become completely silent, except 
for the fan. (Noise was a big factor in my setup as it uses real old hardware)


You could do exactly the same using a device in ram to avoid witting to the 
compact flash.  It would boot from the single-mirror on your drive, sync with a 
device-in-ram (see ramfs and losetup, quite a hack but always worked for me), 
then fail the physical drive and run only on ram.  Then in your local.stop 
script re-sync with the physical drive.


The biggest problem with this method and flash cards is with the write limit. 
The RAID sync will overwrite every single byte on the card, so every physical 
sector will decrease in lifespan.  Where is you used an intelligent copy program 
such as rsync, sector lifespan would increase more randomly and more slowly.


I do not recommend the use of flash cards for anything else than read-only data 
(that you can change sometimes).  I compare it to a better-cd-rw.


Simon



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant <[EMAIL PROTECTED]> wrote:

> >> > Why do you like to create a cue file anyway?
> >> >
> >> > Cdda2wav splits the data at the right location and it icludes the 
> >> > paranoia code.
> >>
> >> I read a comparison where somebody ripped a CD with cdrdao and a
> >> couple other tools and then burned the images back to CDs and compared
> >> the CDs, and cdrdao was the only one that ended up with being
> >> indistinguishable from the original as reported by the tool he used.
> >
> > There have been several tests that show up that cdda2wav/cdrecord are
> > the best choice - even compared with Win32 programs.
>
> Can you point me toward any of those?

2+ Years ago, there have been several long discussions in 
de.comp.hardware.laufwerke.brenner

One is here 
http://groups.google.de/group/de.comp.hardware.laufwerke.brenner/browse_thread/thread/355e88b312c2a2f1/269396c366fe2117?hl=de&lnk=st&q=cdda2wav+eac#269396c366fe2117
but there have been better ones...

Try to search for cdda2wav and EAC or ALCOHOL in 
de.comp.hardware.laufwerke.brenner 


> >> I want to create a cue file because it's required for converting the
> >> CD image to FLAC with the flac command.  I'm actually not interested
> >> in burning CDs, FLAC files only.
> >
> > Mmm I see no reason why there should be a need for a cue sheet just to do a
> > simple compression.
>
> If not the flac command then cuebreakpoints.  Is there a way to split
> a FLAC file with a toc file?

cdda2wav writes a single file per track. Why do you like additional splits?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> > Why do you like to create a cue file anyway?
>> >
>> > Cdda2wav splits the data at the right location and it icludes the paranoia 
>> > code.
>>
>> I read a comparison where somebody ripped a CD with cdrdao and a
>> couple other tools and then burned the images back to CDs and compared
>> the CDs, and cdrdao was the only one that ended up with being
>> indistinguishable from the original as reported by the tool he used.
>
> There have been several tests that show up that cdda2wav/cdrecord are
> the best choice - even compared with Win32 programs.

Can you point me toward any of those?

>> I want to create a cue file because it's required for converting the
>> CD image to FLAC with the flac command.  I'm actually not interested
>> in burning CDs, FLAC files only.
>
> Mmm I see no reason why there should be a need for a cue sheet just to do a
> simple compression.

If not the flac command then cuebreakpoints.  Is there a way to split
a FLAC file with a toc file?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant <[EMAIL PROTECTED]> wrote:

> > Why do you like to create a cue file anyway?
> >
> > Cdda2wav splits the data at the right location and it icludes the paranoia 
> > code.
>
> I read a comparison where somebody ripped a CD with cdrdao and a
> couple other tools and then burned the images back to CDs and compared
> the CDs, and cdrdao was the only one that ended up with being
> indistinguishable from the original as reported by the tool he used.

There have been several tests that show up that cdda2wav/cdrecord are 
the best choice - even compared with Win32 programs.


> I want to create a cue file because it's required for converting the
> CD image to FLAC with the flac command.  I'm actually not interested
> in burning CDs, FLAC files only.

Mmm I see no reason why there should be a need for a cue sheet just to do a 
simple compression.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> > Did you try cdda2wav and cdrecord?
>> >
>> > The CUE format interpreter in cdrdao is known to be incomplete.
>>
>> How would you go about figuring out which file to patch to update toc2cue?
>
> I wrote the parser for cdrecord and it works for all cases I know.
> Make sure to use the offocial cdrtools sources.
>
> You seem to be interested in _creating_ cue sheet files.
>
> Why do you like to create a cue file anyway?
>
> Cdda2wav splits the data at the right location and it icludes the paranoia 
> code.

I read a comparison where somebody ripped a CD with cdrdao and a
couple other tools and then burned the images back to CDs and compared
the CDs, and cdrdao was the only one that ended up with being
indistinguishable from the original as reported by the tool he used.

I want to create a cue file because it's required for converting the
CD image to FLAC with the flac command.  I'm actually not interested
in burning CDs, FLAC files only.

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant <[EMAIL PROTECTED]> wrote:

> > Did you try cdda2wav and cdrecord?
> >
> > The CUE format interpreter in cdrdao is known to be incomplete.
>
> How would you go about figuring out which file to patch to update toc2cue?

I wrote the parser for cdrecord and it works for all cases I know.
Make sure to use the offocial cdrtools sources.

You seem to be interested in _creating_ cue sheet files.

Why do you like to create a cue file anyway?

Cdda2wav splits the data at the right location and it icludes the paranoia code.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant <[EMAIL PROTECTED]> wrote:

> > Did you try cdda2wav and cdrecord?
> >
> > The CUE format interpreter in cdrdao is known to be incomplete.
>
> I'm using a script I wrote to rip a CD twice (each rip creating a
> binary file and toc file), compare the two rips with cmp, convert the
> toc to cue with toc2cue, create a single FLAC file with flac, and
> split the FLAC file into separate track files with cuebreakpoints.
> I'd be happy to post the script if anyone is interested.  It works
> really well.

Just run:

cdda2wav -vall -B -Owav cddb=0 paraopts=minoverlap=10 -paranoia 

then write the files using:

cdrecord -v -dao -useinfo -text  *.wav

This has the advantage that it splits into separate files at the correct
locations. Note that cdda2wav is the only program I know that splits correctly.


The CD-Text is inside the *.inf files. 


> I'm very concerned with having as perfect a copy of the original CD as
> possible.  I read an article once about how cdrdao was the only method
> that seemed to get it right.

This is not correct, cdda2wav is known to be better for DAE.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> I patched cdrdao to recognize certain CD-TEXT types for its toc file
>> creation with the info here:
>>
>> http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/
>>
>> but toc2cue fails to execute on such a toc file with a series of these:
>>
>> ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.
>
> What do you like to do?
>
> Did you try cdda2wav and cdrecord?
>
> The CUE format interpreter in cdrdao is known to be incomplete.

How would you go about figuring out which file to patch to update toc2cue?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
>> I patched cdrdao to recognize certain CD-TEXT types for its toc file
>> creation with the info here:
>>
>> http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/
>>
>> but toc2cue fails to execute on such a toc file with a series of these:
>>
>> ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.
>
> What do you like to do?
>
> Did you try cdda2wav and cdrecord?
>
> The CUE format interpreter in cdrdao is known to be incomplete.

I'm using a script I wrote to rip a CD twice (each rip creating a
binary file and toc file), compare the two rips with cmp, convert the
toc to cue with toc2cue, create a single FLAC file with flac, and
split the FLAC file into separate track files with cuebreakpoints.
I'd be happy to post the script if anyone is interested.  It works
really well.

I'm very concerned with having as perfect a copy of the original CD as
possible.  I read an article once about how cdrdao was the only method
that seemed to get it right.

- Grant



Re: [gentoo-user] Getting python-2.3 back

2008-09-28 Thread Kirk Lowery
On Sun, Sep 28, 2008 at 8:38 AM, David Relson <[EMAIL PROTECTED]> wrote:
> On Sat, 27 Sep 2008 12:58:40 -0400
> Kirk Lowery wrote:
>
>> On Fri, Sep 26, 2008 at 2:47 AM, Neil Bothwick <[EMAIL PROTECTED]>
>> wrote:
>> > On Thu, 25 Sep 2008 17:59:35 -0400, Kirk Lowery wrote:
>> >
>> >> During upgrading today, I inadvertently allowed 2.3 to be deleted.
>> >> I looked in portage, but it is apparently gone.
>> >
>> > Nothing is ever truly gone from portage
>> >
>> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/?hideattic=0
>> >
>> > goes back as far as python-1/5/2
>>
>> Thanks for the answers. I thought I'd report my experience here for
>> the knowledgebase:
>>
>> I went back and downloaded not only the latest 2.3.6 ebuild into my
>> local overlay, and all the attendant files (including important
>> patches) in the "files" directory. In order to be able to emerge the
>> ebuild file, I had to recreate the digest and manifest files. Don't
>> know why the checksums were off, but they were. The solution was
>> simple:
>>
>> # ebuild python-2.3.6-r6.ebuild digest
>>
>> took care of it. When I tried to restart my legacy software I got a
>> python error: "ImportError: No module named thread". Sure enough, the
>> equery use feature told me "-threads". So I overrode that in
>> package.use. Nope, no change. Looking at the compile log, I saw this:
>>
>> ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
>> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
>> --sysconfdir=/etc --localstatedir=/var/lib --with-fpectl
>> --enable-shared --enable-ipv6 --infodir=${prefix}/share/info
>> --mandir=${prefix}/share/man --with-libc= --enable-unicode=ucs4
>> --with-threads --without-threads --with-threads --libdir=/usr/lib64
>> --build=x86_64-pc-linux-gnu
>>
>> Configure has both --with- and --without-threads!!??
>>
>> Nothing I did seemed to make a difference. So I traced where in the
>> ebuild this might be coming from:
>>
>> use threads \
>>   && myconf="${myconf} --with-threads" \
>>   && myconf="${myconf} --without-threads"
>>
>> I still don't know why (and would appreciate any knowledgeable person
>> commenting here), but I simply commented out the third line above,
>> re-emerged, and viola! my legacy software is up and running.
>>
>> Kirk
>
> An interesting defect to find, and a good job of detective work!
>
> Out of curiosity, I looked at the python ebuilds on my workstation.
>
> Up through python-2.4.4-r6, they have:
>
>use nothreads \
>&& myconf="${myconf} --without-threads" \
>|| myconf="${myconf} --with-threads"
>
> From python-2.4.4-r14 onwards they have:
>
>use threads \
>&& myconf="${myconf} --with-threads" \
>|| myconf="${myconf} --without-threads"
>
> Evidently the 2.3.6-r6 ebuild has the newer "use threads" test, but
> with the minor (but fatal) operator flaw you found -- "&&" which
> should be "||".
>
> Hope this is of interest,

Yes, indeed! I need to review my binary operators. ;-)

It's too bad this is legacy stuff. We could file a patch and gain
cyberspace kudo's and good karma! But I did learn a bit about ebuilds.
And -- duh! -- comparing other similar ebuilds is an important
strategy in tracing out these kinds of problems.

Thanks for looking further into this.

Kirk



Re: [gentoo-user] Getting python-2.3 back

2008-09-28 Thread David Relson
On Sat, 27 Sep 2008 12:58:40 -0400
Kirk Lowery wrote:

> On Fri, Sep 26, 2008 at 2:47 AM, Neil Bothwick <[EMAIL PROTECTED]>
> wrote:
> > On Thu, 25 Sep 2008 17:59:35 -0400, Kirk Lowery wrote:
> >
> >> During upgrading today, I inadvertently allowed 2.3 to be deleted.
> >> I looked in portage, but it is apparently gone.
> >
> > Nothing is ever truly gone from portage
> >
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/?hideattic=0
> >
> > goes back as far as python-1/5/2
> 
> Thanks for the answers. I thought I'd report my experience here for
> the knowledgebase:
> 
> I went back and downloaded not only the latest 2.3.6 ebuild into my
> local overlay, and all the attendant files (including important
> patches) in the "files" directory. In order to be able to emerge the
> ebuild file, I had to recreate the digest and manifest files. Don't
> know why the checksums were off, but they were. The solution was
> simple:
> 
> # ebuild python-2.3.6-r6.ebuild digest
> 
> took care of it. When I tried to restart my legacy software I got a
> python error: "ImportError: No module named thread". Sure enough, the
> equery use feature told me "-threads". So I overrode that in
> package.use. Nope, no change. Looking at the compile log, I saw this:
> 
> ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> --sysconfdir=/etc --localstatedir=/var/lib --with-fpectl
> --enable-shared --enable-ipv6 --infodir=${prefix}/share/info
> --mandir=${prefix}/share/man --with-libc= --enable-unicode=ucs4
> --with-threads --without-threads --with-threads --libdir=/usr/lib64
> --build=x86_64-pc-linux-gnu
> 
> Configure has both --with- and --without-threads!!??
> 
> Nothing I did seemed to make a difference. So I traced where in the
> ebuild this might be coming from:
> 
> use threads \
>   && myconf="${myconf} --with-threads" \
>   && myconf="${myconf} --without-threads"
> 
> I still don't know why (and would appreciate any knowledgeable person
> commenting here), but I simply commented out the third line above,
> re-emerged, and viola! my legacy software is up and running.
> 
> Kirk

An interesting defect to find, and a good job of detective work!

Out of curiosity, I looked at the python ebuilds on my workstation.

Up through python-2.4.4-r6, they have:

use nothreads \
&& myconf="${myconf} --without-threads" \
|| myconf="${myconf} --with-threads"

From python-2.4.4-r14 onwards they have:

use threads \
&& myconf="${myconf} --with-threads" \
|| myconf="${myconf} --without-threads"

Evidently the 2.3.6-r6 ebuild has the newer "use threads" test, but
with the minor (but fatal) operator flaw you found -- "&&" which
should be "||".

Hope this is of interest,

David



Re: [gentoo-user] Re: Howto use user CSS with Firefox?

2008-09-28 Thread Robin Atwood
On Sunday 28 Sep 2008, »Q« wrote:
> On Sun, 28 Sep 2008 00:09:00 +0700
>
> Robin Atwood <[EMAIL PROTECTED]> wrote:
> > I have solved this with KDE Konqueror by supplying a user css
> > page but, for those occasions when you have to use it, I want to do
> > the same thing with Firefox.
>
> You can use userContent.css for it after you google some documentation,
> but it's easier to just use the Stylish extension to manage user css.
>
> .

Thanks, I will try it out.
-Robin
-- 















Re: [gentoo-user] Howto use user CSS with Firefox?

2008-09-28 Thread Robin Atwood
On Sunday 28 Sep 2008, Hilco Wijbenga wrote:
> On Sat, Sep 27, 2008 at 10:09, Robin Atwood <[EMAIL PROTECTED]> 
wrote:
> > Many web sites are badly designed in that that they hard-code text input
> > fields with a black font but inherit the background colour from your
> > desktop, so if you have a suitably Gothic light-on-dark colour scheme you
> > cannot read your input. I have solved this with KDE Konqueror by
> > supplying a user css page but, for those occasions when you have to use
> > it, I want to do the same thing with Firefox. A quick google reveals the
> > presence of userContent.css in your profile, so I added my rules, eg,
> >
> > html->body {
> >  background-color: white;
> >  color: black;
> > }
> >
> > input {
> >  background-color: #E1E7FD;
> >  color: black;
> > }
> >
> > but it makes absolutely no difference. Anybody had any luck with this?
>
> Have you looked at Preferences --> Content --> Fonts & Colors -->
> Colors...? Uncheck the "Allows pages ..." and set your own
> preferences. I've never used it but it looks like it might help.

I tried that but the rest of the page becomes very white!
Cheers..
-Robin
-- 
--
Robin Atwood, Bangkok, Thailand.
tel/fax: +66 2252 1438  
mobile: +66 851 322487
MSN:[EMAIL PROTECTED]
Skype:  abend922
Yahoo:  abend922
--