Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Alan McKinnon
On 17/12/2014 09:45, Helmut Jarausch wrote:
 On 12/17/2014 06:48:55 AM, meino.cra...@gmx.de wrote:
 
 Is it possible, to do ONE call to emerge, which asks (according
 to option -a, if set ) and given a yes first fetches ALL necessary
 files and data and compiles then everything?

 
 With some manual operations:
 
 Capture the output of emerge -vp 
 Edit it to call
 ebuild full patch to package.ebuild fetch
 for each package.
 
 Then issue emerge without -p


Way too complicated.

emerge -pvuND world

check list, ensure everything is OK, etc etc. Then

emerge -vunDf world
emerge -vuND world

-f only fetches, it does not compile. When it completes, switch the pc
off. The last emerge compiles and everything has been fetched (well
usually is has been fetched).


What the OP is trying to do is not really possible. Portage is designed
with an assumption in mind: the host is always connected to the internet
and can fetch whatever it needs to fetch whenever it needs to fetch it
based on what is in the ebuilds. 100% off-line operation is not part of
the spec, so the OP is always going to have to deal with occasional
emerge failures due to the host being offline

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread meino . cramer
Alan McKinnon alan.mckin...@gmail.com [14-12-17 09:24]:
 On 17/12/2014 09:45, Helmut Jarausch wrote:
  On 12/17/2014 06:48:55 AM, meino.cra...@gmx.de wrote:
  
  Is it possible, to do ONE call to emerge, which asks (according
  to option -a, if set ) and given a yes first fetches ALL necessary
  files and data and compiles then everything?
 
  
  With some manual operations:
  
  Capture the output of emerge -vp 
  Edit it to call
  ebuild full patch to package.ebuild fetch
  for each package.
  
  Then issue emerge without -p
 
 
 Way too complicated.
 
 emerge -pvuND world
 
 check list, ensure everything is OK, etc etc. Then
 
 emerge -vunDf world
 emerge -vuND world
 
 -f only fetches, it does not compile. When it completes, switch the pc
 off. The last emerge compiles and everything has been fetched (well
 usually is has been fetched).
 
 
 What the OP is trying to do is not really possible. Portage is designed
 with an assumption in mind: the host is always connected to the internet
 and can fetch whatever it needs to fetch whenever it needs to fetch it
 based on what is in the ebuilds. 100% off-line operation is not part of
 the spec, so the OP is always going to have to deal with occasional
 emerge failures due to the host being offline
 
 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 

Hi,

thanks for your replies...

...I currently do two emerges, one with -f the second
without.
And as merntioned in my initiao mail, I dont want it, since it implies
two Calculating dependencies which is once too often...

This was the initial reason for asking...

Best regards,
Meino




Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Alan McKinnon
On 17/12/2014 10:41, meino.cra...@gmx.de wrote:
 Alan McKinnon alan.mckin...@gmail.com [14-12-17 09:24]:
 On 17/12/2014 09:45, Helmut Jarausch wrote:
 On 12/17/2014 06:48:55 AM, meino.cra...@gmx.de wrote:
 
 Is it possible, to do ONE call to emerge, which asks (according
 to option -a, if set ) and given a yes first fetches ALL necessary
 files and data and compiles then everything?


 With some manual operations:

 Capture the output of emerge -vp 
 Edit it to call
 ebuild full patch to package.ebuild fetch
 for each package.

 Then issue emerge without -p


 Way too complicated.

 emerge -pvuND world

 check list, ensure everything is OK, etc etc. Then

 emerge -vunDf world
 emerge -vuND world

 -f only fetches, it does not compile. When it completes, switch the pc
 off. The last emerge compiles and everything has been fetched (well
 usually is has been fetched).


 What the OP is trying to do is not really possible. Portage is designed
 with an assumption in mind: the host is always connected to the internet
 and can fetch whatever it needs to fetch whenever it needs to fetch it
 based on what is in the ebuilds. 100% off-line operation is not part of
 the spec, so the OP is always going to have to deal with occasional
 emerge failures due to the host being offline

 -- 
 Alan McKinnon
 alan.mckin...@gmail.com


 
 Hi,
 
 thanks for your replies...
 
 ...I currently do two emerges, one with -f the second
 without.
 And as merntioned in my initiao mail, I dont want it, since it implies
 two Calculating dependencies which is once too often...
 
 This was the initial reason for asking...



I know, but it's your only option



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a laptop 
 is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)



You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
up.  ;-)

At one time, I thought about putting a rig that ran sorta warm in my
freezer. 

Dale

:-)  :-)



Re: [gentoo-user] Re: unix philosophy question for old farts: the original purpose for /tmp ?

2014-12-17 Thread Tom H
On Tue, Dec 16, 2014 at 1:05 PM, walt w41...@gmail.com wrote:

 systemd puts /tmp on a tmpfs by default.

True, but there was pushback by Fedora developers when this became the
default so Lennart patched systemd for a /tmp mount in /etc/fstab
to override /lib/systemd/system/tmp.mount.

A pseudo-policy (pseudo since it wasn't, AFAIK, an official policy)
was instituted whereby applications that were creating large files in
/tmp should be patched to use /var/tmp.



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 What would you consider better support?
 The way it works currently is how it's working with MS Windows (as
 provided by
 NVidia).


What I mean by better support is easy install and configuration. In the
Windows
I just install the driver and the driver is responsible for offloading or
switching the chips.
I spent a couple of hours to configure it and gave up, because it is not
easy to configure or
even easy to troubleshoot.


 A single GPU makes things simpler, but being able to have the best of both
 options:
 1) Intel = low power = long battery life
 2) Nvidia = good quality 3D, but shorter battery life

 The NVidia chip is actually switched off when not being used. (Or if not, I
 wouldn't notice as the battery life is significantly better after
 installing
 bumblebee and running the bumblebee service.)


Thats right for the current setup, but it is possible to have a laptop with
a powerful Intel GPU, right?


Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Neil Bothwick
On Wed, 17 Dec 2014 07:53:53 +0100, meino.cra...@gmx.de wrote:

   Note that says parallel-fetch not build.  From the man page:
  
   parallel-fetch:  Fetch in the background while compiling. Run `tail
   -f /var/log/emerge-fetch.log` in a terminal to view parallel-fetch
   progress.  
  
  Ahh, I think I see what you are saying.  You want it to fetch and NOT
  compile until the fetch is finished.  I'm not sure if there is a way
  to do that or not.  Since it should be able to compile and fetch at
  the same time, why not try it that way and see how well it works?
 
 Yes, thats it: First download all stuff THEN start compiling.

Why? The downloads will happen at the same rate but you'll have a head
start on the compiling. The only disadvantage i can see is that you will
not have a notification of when the download finishes, but you could work
around that by having another script check emerge-fetch.log and send a
shutdown to the PC when there is no further output.
 
 Would --jobs=0 help here? This would say No packages are build
 simultanously...I check that!

No. --jobs controls package building, nothing to do with downloading.
parallel-fetch in the closest to what you want as it grabs all the
downloads as soon as possible.


-- 
Neil Bothwick

And on the seventh day God said :wq and then make


pgpfItNVFk2FI.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 You need bumblebee. Otherwise it's not possible to use the Nvidia
 Optimus chip.


I think that it is possible, or supposed to be possible!
The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
it is called native optimus support


  I just waned to use optimus without that, but it seem the it is not easy!

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

 Exactly, that is why the Nvidia driver is using the xrandr for offloading
the tasks.


Re: [gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Tom H
On Tue, Dec 16, 2014 at 4:31 PM, Harry Putnam rea...@newsguy.com wrote:
 James wirel...@tampabay.rr.com writes:

 OK, if that is true, who is answering your questions on lxde, which
 I am still using? I have lots of breakage on lxde; I do not bother
 fixing. I'm working on migrating to lxqt. Good luck with lxde.

 Not sure I follow your reasoning there...

 I'm posting here because I have lxde working well enough for my
 purposes on 6 other hosts... none of them are gentoo.

LXDE and Razor-QT were merged to create LXQT.

LXDE'll carry on for as long as there are developers willing to keep
it going; and as long as GTK+ 2 is still alive.



Re: [gentoo-user] bruning pictures (jpeg) to DVD

2014-12-17 Thread Neil Bothwick
On Tue, 16 Dec 2014 21:28:45 -0700, Joseph wrote:

 I used imagination to make slideshow (VOB) and it worked OK.
 But when I tried DeVeDe to make ISO it will not do it; this software is
 a crap.

Such detailed error reports don't make helping you easy.

I just created a slideshow VOB with Imagination and converted it to an
ISO with DeVeDe with no crap involved.


-- 
Neil Bothwick

Windows Error #56: Operator fell asleep while waiting.


pgpsGEb8yKNk2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 12:53:10 PM behrouz khosravi wrote:
  What would you consider better support?
  The way it works currently is how it's working with MS Windows (as
  provided by
  NVidia).
 
 What I mean by better support is easy install and configuration. In the
 Windows
 I just install the driver and the driver is responsible for offloading or
 switching the chips.
 I spent a couple of hours to configure it and gave up, because it is not
 easy to configure or
 even easy to troubleshoot.

It is still easy:
emerge bumblebee
rc-update add bumblebee default

That's all I did and it works.

With Linux, I just add optirun  in front of the command in the program-menu 
item.
On MS Windows, I need to:
1) Start the program
2) Stop the program
3) Configure the driver to use the NVidia chipset for the program (It doesn't 
show in the list before I start it once)

And for a lot of these, I need to redo it every time I update the drivers.

  A single GPU makes things simpler, but being able to have the best of both
  options:
  1) Intel = low power = long battery life
  2) Nvidia = good quality 3D, but shorter battery life
  
  The NVidia chip is actually switched off when not being used. (Or if not,
  I
  wouldn't notice as the battery life is significantly better after
  installing
  bumblebee and running the bumblebee service.)
 
 Thats right for the current setup, but it is possible to have a laptop with
 a powerful Intel GPU, right?

If there is a powerful Intel GPU. But those don't come close to the specs 
NVidia and ATI put into the real GPUs.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 01:09:16 PM behrouz khosravi wrote:
  You need bumblebee. Otherwise it's not possible to use the Nvidia
  Optimus chip.
 
 I think that it is possible, or supposed to be possible!
 The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
 it is called native optimus support
 
   I just waned to use optimus without that, but it seem the it is not
   easy!
  
  It's not possible, because the Nvidia Optimus chip isn't a full featured
  graphics card, and doesn't write directly to the screen. Joost already
  explained it pretty well.
  
  Exactly, that is why the Nvidia driver is using the xrandr for offloading
 
 the tasks.

That convoluted method (xrandr..) is what bumblebee does in the 
background. Along with enabling/disabling the nvidia chip.

--
Joost



Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [14-12-17 10:40]:
 On Wed, 17 Dec 2014 07:53:53 +0100, meino.cra...@gmx.de wrote:
 
Note that says parallel-fetch not build.  From the man page:
   
parallel-fetch:  Fetch in the background while compiling. Run `tail
-f /var/log/emerge-fetch.log` in a terminal to view parallel-fetch
progress.  
   
   Ahh, I think I see what you are saying.  You want it to fetch and NOT
   compile until the fetch is finished.  I'm not sure if there is a way
   to do that or not.  Since it should be able to compile and fetch at
   the same time, why not try it that way and see how well it works?
  
  Yes, thats it: First download all stuff THEN start compiling.
 
 Why? The downloads will happen at the same rate but you'll have a head
 start on the compiling. The only disadvantage i can see is that you will
 not have a notification of when the download finishes, but you could work
 around that by having another script check emerge-fetch.log and send a
 shutdown to the PC when there is no further output.
  
  Would --jobs=0 help here? This would say No packages are build
  simultanously...I check that!
 
 No. --jobs controls package building, nothing to do with downloading.
 parallel-fetch in the closest to what you want as it grabs all the
 downloads as soon as possible.
 
 
 -- 
 Neil Bothwick
 
 And on the seventh day God said :wq and then make

Hi Neil,

how can I (or the script) distinguish between an internet
connection, which is heavily slowed down (no data), blocked or an currently
not responding server and the end of all needed downloads?

How can the script check for the last needed file has been downloaded
successfully ?

Best regards,
Meino





Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Peter Humphrey
On Tuesday 16 December 2014 20:18:10 James wrote:

 I caught the beginning with a cntl Z

CTRL-S and CTRL-Q are also very useful. Sometimes you have to be pretty 
quick on the keys, though.

-- 
Rgds
Peter.




Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Dale
meino.cra...@gmx.de wrote:
 Neil Bothwick n...@digimed.co.uk [14-12-17 10:40]:
 On Wed, 17 Dec 2014 07:53:53 +0100, meino.cra...@gmx.de wrote:

 Note that says parallel-fetch not build.  From the man page:

 parallel-fetch:  Fetch in the background while compiling. Run `tail
 -f /var/log/emerge-fetch.log` in a terminal to view parallel-fetch
 progress.  
 Ahh, I think I see what you are saying.  You want it to fetch and NOT
 compile until the fetch is finished.  I'm not sure if there is a way
 to do that or not.  Since it should be able to compile and fetch at
 the same time, why not try it that way and see how well it works?
 Yes, thats it: First download all stuff THEN start compiling.
 Why? The downloads will happen at the same rate but you'll have a head
 start on the compiling. The only disadvantage i can see is that you will
 not have a notification of when the download finishes, but you could work
 around that by having another script check emerge-fetch.log and send a
 shutdown to the PC when there is no further output.
 Would --jobs=0 help here? This would say No packages are build
 simultanously...I check that!
 No. --jobs controls package building, nothing to do with downloading.
 parallel-fetch in the closest to what you want as it grabs all the
 downloads as soon as possible.


 -- 
 Neil Bothwick

 And on the seventh day God said :wq and then make
 Hi Neil,

 how can I (or the script) distinguish between an internet
 connection, which is heavily slowed down (no data), blocked or an currently
 not responding server and the end of all needed downloads?

 How can the script check for the last needed file has been downloaded
 successfully ?

 Best regards,
 Meino



If I understand you correctly, emerge can run into the same issue.  If
for example it needs to download a tarball or patch and the server that
has it is not available, then emerge will skip that, download the rest
and then stop fetching.  So, either way, you can end up with things not
downloaded.  At least with the fetch option, it does all this at the
beginning of the process instead of when it gets to the package it wants
to emerge. 

The only way I see for this to work and not have to compute twice, set
the fetch option, start the emerge and then monitor the fetch log.  When
it is done with the fetch part, then you can disconnect the internet
connection and it should continue compiling. 

Other than that, I don't know of a way to do what you want.  It is 4AM
here so that may cloud up things a bit here.  :/

Dale

:-)  :-) 




Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Dale
Peter Humphrey wrote:
 On Tuesday 16 December 2014 20:18:10 James wrote:

 I caught the beginning with a cntl Z
 CTRL-S and CTRL-Q are also very useful. Sometimes you have to be pretty 
 quick on the keys, though.


Do you have a link that lists all those options?  I'd like to read up on
that some.

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Peter Humphrey
On Wednesday 17 December 2014 04:03:48 Dale wrote:
 Peter Humphrey wrote:
  On Tuesday 16 December 2014 20:18:10 James wrote:
  I caught the beginning with a cntl Z
  
  CTRL-S and CTRL-Q are also very useful. Sometimes you have to be pretty
  quick on the keys, though.
 
 Do you have a link that lists all those options?  I'd like to read up on
 that some.

No, sorry. That's just one I remember from about 20 years ago.

Still up? ! :-)

-- 
Rgds
Peter.




Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Peter Humphrey
On Wednesday 17 December 2014 10:11:22 I wrote:
 On Wednesday 17 December 2014 04:03:48 Dale wrote:
  Peter Humphrey wrote:
   On Tuesday 16 December 2014 20:18:10 James wrote:
   I caught the beginning with a cntl Z
   
   CTRL-S and CTRL-Q are also very useful. Sometimes you have to be
   pretty
   quick on the keys, though.
  
  Do you have a link that lists all those options?  I'd like to read up on
  that some.
 
 No, sorry. That's just one I remember from about 20 years ago.

Googling for xterm control keys threw this up:

http://how-to.wikia.com/wiki/How_to_use_short-cut_keys_in_xterm_and_other_terminals

-- 
Rgds
Peter.




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Alan McKinnon
On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a laptop 
 is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)


 
 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)
 
 At one time, I thought about putting a rig that ran sorta warm in my
 freezer. 


So you trade heat damage for water damage?


Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Heiko Baums
Am 17.12.2014 um 07:35 schrieb J. Roeleveld:

 What issues did you experience?

Honestly I don't remember anymore. But nouveau never worked well for me,
maybe missing 3D performance or even support or other issues. I just
switched to nvidia-drivers and had no problems.

But it's a while ago that I tried nouveau.

Heiko



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Heiko Baums
Am 17.12.2014 um 10:39 schrieb behrouz khosravi:

 I think that it is possible, or supposed to be possible!
 The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
 it is called native optimus support

That's only true for the Windows version of the Nvidia driver, not for
the Linux version.

Heiko



Re: [gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Raffaele BELARDI
Harry Putnam wrote:
 Its only on gentoo that I ran into this problem with the `run' menu
 item, so I know for certain it is not a general breakage as you seem
 to imply.
 
 You mentioned that you are using lxde... I'm assuming, on gentoo.
 So do you see the same problem with the `run' item on main menu?
 

Same here, I did not notice before because I never use it. To be more
precise, when I select 'Run' the panel disappears for ~1s then reappears
but no 'Run' window.

$ equery l lxde*
 * Searching for lxde* ...
[IP-] [  ] lxde-base/lxde-common-0.5.5-r3:0
[IP-] [  ] lxde-base/lxde-icon-theme-0.5.0-r1:0
[IP-] [  ] lxde-base/lxde-meta-0.5.5-r4:0


Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Dale
Peter Humphrey wrote:
 On Wednesday 17 December 2014 10:11:22 I wrote:
 On Wednesday 17 December 2014 04:03:48 Dale wrote:
 Peter Humphrey wrote:
 On Tuesday 16 December 2014 20:18:10 James wrote:
 I caught the beginning with a cntl Z
 CTRL-S and CTRL-Q are also very useful. Sometimes you have to be
 pretty
 quick on the keys, though.
 Do you have a link that lists all those options?  I'd like to read up on
 that some.
 No, sorry. That's just one I remember from about 20 years ago.
 Googling for xterm control keys threw this up:

 http://how-to.wikia.com/wiki/How_to_use_short-cut_keys_in_xterm_and_other_terminals


Yew da man!!!  My first problem, I didn't know what to search for.  That
will get bookmarked and keyworded with ctrl to help me find it when I
need it. 

Thanks much!!

Dale

:-)  :-) 



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Alan McKinnon wrote:
 On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a 
 laptop is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop 
 to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)


 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)

 At one time, I thought about putting a rig that ran sorta warm in my
 freezer. 

 So you trade heat damage for water damage?


 Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)



It was a hand me down.  Since everything in there is well below
freezing, it shouldn't get water damage.  Now when I take it out of the
freezer, that could get interesting and cause the issue you are raising
which is why I never did it either. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: unix philosophy question for old farts: the original purpose for /tmp ?

2014-12-17 Thread Rich Freeman
On Wed, Dec 17, 2014 at 4:05 AM, Tom H tomh0...@gmail.com wrote:

 A pseudo-policy (pseudo since it wasn't, AFAIK, an official policy)
 was instituted whereby applications that were creating large files in
 /tmp should be patched to use /var/tmp.


This has been the norm on Gentoo for ages - this is why package builds
happen in /var/tmp.  Many Gentoo users tend to mount /tmp as tmpfs.
Actually, many tend to mount /var/tmp as tmpfs as well if they can
afford the RAM - it GREATLY improves build times.  I moved to building
kernels in /var/tmp for the same reason.

About the only time I find myself overriding TMPDIR is if I'm running
sort on a large file (multi-GB).  Merge sorts tend to be heavy on disk
use, but fortunately sequential in disk access, so it makes sense to
dump them to a disk if they're large.

--
Rich



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 11:49:08 AM Heiko Baums wrote:
 Am 17.12.2014 um 10:39 schrieb behrouz khosravi:
  I think that it is possible, or supposed to be possible!
  The gentoo wiki says that Nvidia drivers are now supporting the optimus,
  so
  it is called native optimus support
 
 That's only true for the Windows version of the Nvidia driver, not for
 the Linux version.
 
 Heiko

Not really, on MS Windows it is also handled by a seperate program. That bit 
just happens to be installed as part of the driver itself.

--
Joost



Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Neil Bothwick
On Wed, 17 Dec 2014 10:52:44 +0100, meino.cra...@gmx.de wrote:

   Yes, thats it: First download all stuff THEN start compiling.  
  
  Why? The downloads will happen at the same rate but you'll have a head
  start on the compiling. The only disadvantage i can see is that you
  will not have a notification of when the download finishes, but you
  could work around that by having another script check
  emerge-fetch.log and send a shutdown to the PC when there is no
  further output.  
   
   Would --jobs=0 help here? This would say No packages are build
   simultanously...I check that!  
  
  No. --jobs controls package building, nothing to do with downloading.
  parallel-fetch in the closest to what you want as it grabs all the
  downloads as soon as possible.

 how can I (or the script) distinguish between an internet
 connection, which is heavily slowed down (no data), blocked or an
 currently not responding server and the end of all needed downloads?

pgrep wget will tell you if a download is still in progress. It seems
reasonable to assume that if there is no further output to the log and
wget is no longer running, portage is no longer downloading files.

Or you could get clever and set FETCH_COMMAND to a script that fetches the file 
and
then notifies of completion.

 How can the script check for the last needed file has been downloaded
 successfully ?

It can't, any more than portage does. Whether the download phases exists
successfully or unsuccessfully your Internet connection is no longer
being used, so you may as well shut down the PC.

You are trying to use portage in a way that was not intended. That
involves compromises, some work or both.

Another alternative would be to use a USB to ethernet adaptor on the
embedded board and connect it directory to your router.


-- 
Neil Bothwick

The word 'Windows' is a word out of an old dialect of the Apaches.
It means: 'White man staring through glass-screen onto an hourglass...')


pgpJiiv0J62Xk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Gentoo repositories (Zugaina)

2014-12-17 Thread Neil Bothwick
On Wed, 17 Dec 2014 09:57:51 +, Peter Humphrey wrote:

  I caught the beginning with a cntl Z  
 
 CTRL-S and CTRL-Q are also very useful. Sometimes you have to be pretty 
 quick on the keys, though.

Or run the command with script.


-- 
Neil Bothwick

Three kinds of people: Those who can count, and those who can't.


pgpVttP4XvxEH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] convert VOB to ISO

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 9:57, Joseph syscon...@gmail.com wrote:
 
 How to convert VOB to ISO? I want to burn it to DVD
 I'm using XFCE and was looking for a GUI application but I can not find one, 
 I've tired DeVeDe but it didn't work.

What you need is DVD-author. These are rare now a days. Here is a list:

http://en.m.wikipedia.org/wiki/List_of_DVD_authoring_applications

I've been using Q DVD Author successfully for few times in 2011, but 
DVD-authoring wasn't at least back then fully automatic stuff.  And also dvd's 
are becoming obsolete. You just create the menu structure and then the 
authoring program produces iso-image (videots.ifo/vts_0-0.vob). The 
'DVD-language' kind of primitive (qbasic/any script).

-- 
-Matti




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 8:37, Stefan G. Weichinger li...@xunil.at wrote:
 
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)

This is hilarious ;D

-- 
-Matti



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 12:56, Dale rdalek1...@gmail.com wrote:
 
 Alan McKinnon wrote:
 On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:
 
 Try cleaning the vents.
 
 Also, most couches have a tendency to compress when something like a 
 laptop is 
 on it. Effectively blocking all airflow.
 
 If the temperature goes to 99C when on top of a table, return the laptop 
 to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)
 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)
 
 At one time, I thought about putting a rig that ran sorta warm in my
 freezer.
 
 So you trade heat damage for water damage?
 
 
 Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)
 
 It was a hand me down.  Since everything in there is well below
 freezing, it shouldn't get water damage.  Now when I take it out of the
 freezer, that could get interesting and cause the issue you are raising
 which is why I never did it either. 

Because the temperature of the laptop in the freezer will always be above dew 
point it will never get wet. When you take it out though it's temperature will 
most likely be below dew point of the ambient air so water will condensate 
unless the access of water is blocked by a plastic bag for example.

-- 
-Matti


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Thanasis

On 12/17/2014 02:46 PM, Matti Nykyri wrote:

Because the temperature of the laptop in the freezer
will always be above dew point it will never get wet.
When you take it out though it's temperature will most likely be below dew 
point of the ambient air so water will condensate


Right. Which is why he should turn it off as soon as he takes it out, 
and let it warm up to room temperature, before he turns it back on.





Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Erik Mackdanz
J. Roeleveld jo...@antarean.org writes:

 On Tuesday, December 16, 2014 05:46:30 PM Erik Mackdanz wrote:
 Heiko Baums li...@baums-on-web.de writes:
  I don't know if, but I don't think that, it will work with
  x11-drivers/xf86-video-nouveau.
 
 I used bumblebee for quite a while.  It worked okay, but every upgrade I
 would have to fiddle with it again.
 
 I switched to the Nouveau driver and I'm very glad I did.  Conventional
 wisdom says Nouveau quality is lower than Nvidia, but I found it worked
 better on some things (Second Life).
 
 As someone else pointed out, with Nouveau the GPU remains on all the
 time consuming power.  This is the downside.
 
 If ease-of-use and/or open licensing are more important to you than top
 rendering quality and power consumption, consider using Nouveau.

 I've been using bumblebee for over a year now. (First laptop with Optimus) 
 and 
 not had any issues. It always works as advertised.

 What issues did you experience?

I remember more than once changing bumblebee.conf during an upgrade,
when the service failed to start.  This is over two years ago now, so I
don't remember any more than that.

You could tell me that bumblebee is now stable and rock-solid, but I
still wouldn't switch from Nouveau.  I've had a good experience, and
open source matters to me.

On top of that, this laptop has only a year or so left before I replace
it, and I know now to avoid Optimus entirely in the future.

 --
 Joost


-- 
Erik Mackdanz



Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 14:13, Neil Bothwick n...@digimed.co.uk wrote:
 
 On Wed, 17 Dec 2014 10:52:44 +0100, meino.cra...@gmx.de wrote:
 
 Yes, thats it: First download all stuff THEN start compiling.  

If I were you, I would setup your pc to do cross-compiling of your arietta's 
packages and build them into binpkg's. This could be all stored on the pc and 
accessed via nfs for example. Then the first dependency calculation would be 
done on the pc to build the packages and the second on arietta using only 
binary packages.

You should keep /etc/portage, /var/lib/portage and /usr/portage on the PC and 
not modifiable from the arietta. This way you only need to install the run time 
dependencies to the aritte. And install from bin pkg is really fast. 

 Another alternative would be to use a USB to ethernet adaptor on the
 embedded board and connect it directory to your router.

This also sounds good. Or setup server which has the usb and is always on.

-- 
-Matti


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 07:16:54 AM Erik Mackdanz wrote:
 J. Roeleveld jo...@antarean.org writes:
  On Tuesday, December 16, 2014 05:46:30 PM Erik Mackdanz wrote:
  Heiko Baums li...@baums-on-web.de writes:
   I don't know if, but I don't think that, it will work with
   x11-drivers/xf86-video-nouveau.
  
  I used bumblebee for quite a while.  It worked okay, but every upgrade I
  would have to fiddle with it again.
  
  I switched to the Nouveau driver and I'm very glad I did.  Conventional
  wisdom says Nouveau quality is lower than Nvidia, but I found it worked
  better on some things (Second Life).
  
  As someone else pointed out, with Nouveau the GPU remains on all the
  time consuming power.  This is the downside.
  
  If ease-of-use and/or open licensing are more important to you than top
  rendering quality and power consumption, consider using Nouveau.
  
  I've been using bumblebee for over a year now. (First laptop with Optimus)
  and not had any issues. It always works as advertised.
  
  What issues did you experience?
 
 I remember more than once changing bumblebee.conf during an upgrade,
 when the service failed to start.  This is over two years ago now, so I
 don't remember any more than that.

A lot can happen in 2 years. (For instance a fork and complete re-write of the 
codebase)

 You could tell me that bumblebee is now stable and rock-solid, but I
 still wouldn't switch from Nouveau.  I've had a good experience, and
 open source matters to me.

Bumblebee also seems to support Nouveau.

 On top of that, this laptop has only a year or so left before I replace
 it, and I know now to avoid Optimus entirely in the future.

That is your choice, I like the idea behind it and have no issues with the way 
it currently works.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Christian Kruse
Hi,

Heiko Baums writes:

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

I'm using a T530 with Optimus. I can only external monitors only with
the NVidia-Card, not with the integrated one. I tried to get the
following working roughly two years ago, but I failed:

I'd like to use the internal card most of the time since I don't care
about 3D acceleration but I do care alot about power saving. When using
an external monitor I'd like to use the NVidia card. Currently my
solution is to reboot and change bios settings, being able to switch at
runtime would be a real enhancement for me.

Is this possible?

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/


signature.asc
Description: PGP signature


Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread meino . cramer
Matti Nykyri matti.nyk...@iki.fi [14-12-17 15:00]:
  On Dec 17, 2014, at 14:13, Neil Bothwick n...@digimed.co.uk wrote:
  
  On Wed, 17 Dec 2014 10:52:44 +0100, meino.cra...@gmx.de wrote:
  
  Yes, thats it: First download all stuff THEN start compiling.  
 
 If I were you, I would setup your pc to do cross-compiling of your arietta's 
 packages and build them into binpkg's. This could be all stored on the pc and 
 accessed via nfs for example. Then the first dependency calculation would be 
 done on the pc to build the packages and the second on arietta using only 
 binary packages.
 
 You should keep /etc/portage, /var/lib/portage and /usr/portage on the PC and 
 not modifiable from the arietta. This way you only need to install the run 
 time dependencies to the aritte. And install from bin pkg is really fast. 
 
  Another alternative would be to use a USB to ethernet adaptor on the
  embedded board and connect it directory to your router.
 
 This also sounds good. Or setup server which has the usb and is always on.
 
 -- 
 -Matti

Hi Matti,

thanks for your reply! :)

crosscompiling is a pain. I tried several ways to do that (distcc was
among them) and it fails too often, for two reasons: Often the sources
are not prepared to be crosscompiled an include headers of my PC
(64bit) into the build of my ARM boards (32bit). Second reason: If the
crosscompilation needs meta-tools like moc for qt it fails too. The
time to fiddle out that mess is nothing what I have... ;)

Ethernet over USB:
1.) For each update I have to rearrange my setup here then. Back and
forth. Back and forth...
2.) The DSL modem is running longer than needed. I dont like the idea
to have my internet connection running over such a long time
unattended.

The problem must be solved in software.

Best regards,
Meino





Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi

 It is still easy:
 emerge bumblebee
 rc-update add bumblebee default

 That's all I did and it works.


I dont consider bumblebee as a support from nvidia!

With Linux, I just add optirun  in front of the command in the
 program-menu
 item.
 On MS Windows, I need to:
 1) Start the program
 2) Stop the program
 3) Configure the driver to use the NVidia chipset for the program (It
 doesn't
 show in the list before I start it once)

 It seems that I was wrong about the way optimus is working in Windows.
I never have tried to manually select a GPU for program. I thought that the
switching
is automatic in Windows, because my games were smooth in Windows!


 If there is a powerful Intel GPU. But those don't come close to the specs
 NVidia and ATI put into the real GPUs.


Your right but I am not gonna need those specs for a laptop. Powerful cards
are meant for a PC, where the power consumption and
cooling are not that important


Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Poison BL.
On Wed, Dec 17, 2014 at 9:31 AM,  meino.cra...@gmx.de wrote:
 Matti Nykyri matti.nyk...@iki.fi [14-12-17 15:00]:
  On Dec 17, 2014, at 14:13, Neil Bothwick n...@digimed.co.uk wrote:
 
  On Wed, 17 Dec 2014 10:52:44 +0100, meino.cra...@gmx.de wrote:
 
  Yes, thats it: First download all stuff THEN start compiling.

 If I were you, I would setup your pc to do cross-compiling of your arietta's 
 packages and build them into binpkg's. This could be all stored on the pc 
 and accessed via nfs for example. Then the first dependency calculation 
 would be done on the pc to build the packages and the second on arietta 
 using only binary packages.

 You should keep /etc/portage, /var/lib/portage and /usr/portage on the PC 
 and not modifiable from the arietta. This way you only need to install the 
 run time dependencies to the aritte. And install from bin pkg is really fast.

  Another alternative would be to use a USB to ethernet adaptor on the
  embedded board and connect it directory to your router.

 This also sounds good. Or setup server which has the usb and is always on.

 --
 -Matti

 Hi Matti,

 thanks for your reply! :)

 crosscompiling is a pain. I tried several ways to do that (distcc was
 among them) and it fails too often, for two reasons: Often the sources
 are not prepared to be crosscompiled an include headers of my PC
 (64bit) into the build of my ARM boards (32bit). Second reason: If the
 crosscompilation needs meta-tools like moc for qt it fails too. The
 time to fiddle out that mess is nothing what I have... ;)

 Ethernet over USB:
 1.) For each update I have to rearrange my setup here then. Back and
 forth. Back and forth...
 2.) The DSL modem is running longer than needed. I dont like the idea
 to have my internet connection running over such a long time
 unattended.

 The problem must be solved in software.

 Best regards,
 Meino

The more common fix when dealing with that range of hardware is to
build the packages on a more powerful system, then transfer them as
binary packages. Doing so for arm board's a touch less trivial, but
doable. This also solves the problem of fetching the same source
packages repeatedly, if you share Distfiles between the build
environments. I set up similar some time back based on these
instructions:

https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5

for a RasPI I was playing with and it worked pretty well.

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] Re: Laptop Overheat

2014-12-17 Thread Grant Edwards
On 2014-12-16, Randy Westlund rwest...@gmail.com wrote:

 When I'm compiling something large and close the lid of my laptop (lid
 close events disabled) or leave it on the couch where it can't get
 proper airflow, it tends to overheat and crash.

Don't do that. ;)

 If I leave it open and on a table, everything is fine.

[...]

 Any ideas about where I should look?

The CPU heatsink, the fan, and any filters through which air moves.

-- 
Grant Edwards   grant.b.edwardsYow! How's the wife?
  at   Is she at home enjoying
  gmail.comcapitalism?




[gentoo-user] Re: CI Continuous Integration

2014-12-17 Thread James
Sam Bishop sam at cygnus.email writes:


 Very interesting. A great example of how something can be both Gentoo
 and Not Gentoo. This is 100% Gentoo unlike Funtoo or Sabayon, but it
 brings in some of their advantages. Gentoo doesn't prevent us from
 having multiple package variants and this leads to cool stuff like
 being able to have a set of layman repositories that ebuilds graduate
 through in stages, from 'dev' to 'test' to 'stable'.

Zentoo is certainly a site worth closer examination for CI ideas.

I also see folks running CI locally on the codes they build
and specifically need to be very robust. Epatch_user is another
need for folks to employ CI on their own (local cluster), imho.



 And this is why I feel so strongly about Gentoo + Git + CI
 While github may not be the right place and raw 'git' not the right
 tool. I am a big fan of how phabricator + arcanist provides workflow
 guarantees on top of using git, such as the 'must pass the linter
 rules + tests' workflow and how it can track and reference external
 repos side by side with the repos it hosts.

I ran across a recent thread [1] on another list about gentoo vs some
of the other more common distros. Folks seem to be firmly in either
camp; but more in the conventional distro camp. What I did find interesting
is lots of corporations are running on hundreds of gentoo systems
and using (chef, puppet, ansible or salt) to ease the management of large
gentoo deployments. It's just nice to know that despite what many say (use a
mainstream distro) Gentoo is alive and doing very well in the corporate world. 

I just wonder why more of them do not openly share management strategies
for large gentoo deployments? 

[1] http://www.reddit.com/r/linuxadmin/comments/2nkswx/gentoo_in_production/



 I feel the future belongs to Gentoo as steward of the ebuild format,
 portage and related tools more than as a 'meta distro'. CI is the
 force multiplier, when anyone who wants to build a Gentoo powered
 distro has a documented set of tools they can use to 'stand up the
 infrastructure' for things like package QA using a CI Server, a Binary
 Package build server/server farm, and Binary Package hosting for the
 build artefacts. By rights Gentoo not Debian, Arch or Fedora should be
 the Distro of choice for creating experimental niche distros from but
 we lack the kind of tools to make it 'easy' for people to do. I'm
 currently experimenting to see how many of these I can prototype
 inside Docker containers or LXC images and it looks quite promising.

I'm just now learning and experimenting with docker and LXC. 'etest'
is an interesting tool one of our devs is putting together in the spirit
of testing combinations of flags for testing [2].

[2] https://github.com/alunduil/etest/

I could not agree more. I think Gentoo is on the verge of an emerging
recognition not only of it's uniqueness, but that it fills a gap sorely
need.

I think that if CI and clusters become, routine for the masses of gentoo
users, that will spring-board our rank and file members into jobs deploying
Gentoo deeply into the business world. What extremely talented folks have
done with Gentoo, I've seen many many times. Taking that power and
intentionally making it available to the ordinary linux admin (average
skills) could easily revolutionize the computing landscape. Gentoo will
never be easy, but it is a very flexible and through solution for many
areas of need.

Zentoo and the (corporate usage thread) I posted all tell me that Gentoo
is not only alive and doing well, it is on the move!


James








[gentoo-user] Re: Laptop Overheat

2014-12-17 Thread James
Grant Edwards grant.b.edwards at gmail.com writes:


  When I'm compiling something large and close the lid of my laptop (lid
  close events disabled) or leave it on the couch where it can't get
  proper airflow, it tends to overheat and crash.

 Don't do that. ;)

  If I leave it open and on a table, everything is fine.

  Any ideas about where I should look?

 The CPU heatsink, the fan, and any filters through which air moves.


You can alway open up a laptop's various covers and try to use compressed
air to blow out accumulated dust.

With older, hot running laptops, particularly when compiling significant
amounts of packages, I use to put 1/2 inch wedges under each side to lift
up the bottom of the laptop from the table surface. This increases air flow
to the various fans and heat sinks, thus increasing the cooling system
efficiency. Make sure it's always has a clean, cool airflow in the room you
use it in. Heat is the enemy of all electronics, particularly if you want
the electronics to have a relatively long life

hth,
James








Re: [gentoo-user] Re: Laptop Overheat

2014-12-17 Thread meino . cramer
James wirel...@tampabay.rr.com [14-12-17 16:48]:
 Grant Edwards grant.b.edwards at gmail.com writes:
 
 
   When I'm compiling something large and close the lid of my laptop (lid
   close events disabled) or leave it on the couch where it can't get
   proper airflow, it tends to overheat and crash.
 
  Don't do that. ;)
 
   If I leave it open and on a table, everything is fine.
 
   Any ideas about where I should look?
 
  The CPU heatsink, the fan, and any filters through which air moves.
 
 
 You can alway open up a laptop's various covers and try to use compressed
 air to blow out accumulated dust.
 
 With older, hot running laptops, particularly when compiling significant
 amounts of packages, I use to put 1/2 inch wedges under each side to lift
 up the bottom of the laptop from the table surface. This increases air flow
 to the various fans and heat sinks, thus increasing the cooling system
 efficiency. Make sure it's always has a clean, cool airflow in the room you
 use it in. Heat is the enemy of all electronics, particularly if you want
 the electronics to have a relatively long life
 
 hth,
 James

Hi all,

...is the laptop /reporting/ the problem (for example...a shutting
down...too high temperature!-message is shown -- sorry I own none
of these things...I am only asking... ;) or do you /feel/ the heat
in form of hot air coming out of that beast?

In case of the first...may be the heat conductive material between 
the CPU/GPU/nortbridge/southbridge dried out and the cooling cannot
work anymore...

Only my two cents...

Best regards,
Meino





[gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Harry Putnam
James wirel...@tampabay.rr.com writes:

 Harry Putnam reader at newsguy.com writes:


 James wireless at tampabay.rr.com writes:
  lxde is deprecated, imho. [1]
  lxqt is the future of that lineage [2]
 Sounds like propaganda rather rather than any sort of answer to 
 the question.


 OK, if that is true, who is answering your questions on lxde, which
 I am still using? I have lots of breakage on lxde; I do not bother
 fixing. I'm working on migrating to lxqt.  Good luck with lxde.

For your information:  Attached is message from the lxde devel gmane
group from Jonathan Thibault jonat...@navigue.com.

PS: I installed and tried out lxqt.  I was not impressed.  It appears
only about half ready for production.





Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Thanasis wrote:
 On 12/17/2014 02:46 PM, Matti Nykyri wrote:
 Because the temperature of the laptop in the freezer
 will always be above dew point it will never get wet.
 When you take it out though it's temperature will most likely be
 below dew point of the ambient air so water will condensate

 Right. Which is why he should turn it off as soon as he takes it out,
 and let it warm up to room temperature, before he turns it back on.




And I'd let it sit for a while just to be safe.  Turning something on
that still has condensation on/in it is a bad thing all the way around. 
I still remember one time MANY years ago when we got our first color
TV.  It was cold as heck too.  Well, we left it in the back seat of the
car while we was running around doing errands and the car never warmed
up between trips.  We were just bouncing around town.  When we finally
got home, my Dad brought the TV in and it took a little bit to unhook
and move the old TV out and put the new TV in.  By that time, it had
built up enough condensation somewhere in there that it sparked and a
few seconds later it really sparked.  Then the smoke got out.  We all
know what happens when the smoke got out.  Brand new TV was junk. 

If I had put that old thing in the freezer just to play around or
something, I'd cut it off before taking it out, take the side off and
let it warm up.  Once warmed up, put a little fan on it overnight or
something to be safe. 

I might add, my deep freezer runs between -10F and about 0F.  I doubt
any puter would warm up much unless it is using really small heat
sinks.  It would certainly be under cooled for a room temp environment. 

It was just a thought tho.  ;-)

Dale

:-)  :-) 




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Christian Kruse
Hi,

Stefan G. Weichinger writes:

 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

Haha, this whole thread reminded me of this XKCD:

http://xkcd.com/1172/

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Dale
Harry Putnam wrote:
 James wirel...@tampabay.rr.com writes:

 Harry Putnam reader at newsguy.com writes:


 James wireless at tampabay.rr.com writes:
 lxde is deprecated, imho. [1]
 lxqt is the future of that lineage [2]
 Sounds like propaganda rather rather than any sort of answer to 
 the question.

 OK, if that is true, who is answering your questions on lxde, which
 I am still using? I have lots of breakage on lxde; I do not bother
 fixing. I'm working on migrating to lxqt.  Good luck with lxde.
 For your information:  Attached is message from the lxde devel gmane
 group from Jonathan Thibault jonat...@navigue.com.

 PS: I installed and tried out lxqt.  I was not impressed.  It appears
 only about half ready for production.






What was supposed to be attached again?  ;-) 

Dale

:-) :-) 



[gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Harry Putnam
Raffaele BELARDI raffaele.bela...@st.com writes:

 Harry Putnam wrote:
 Its only on gentoo that I ran into this problem with the `run' menu
 item, so I know for certain it is not a general breakage as you seem
 to imply.
 
 You mentioned that you are using lxde... I'm assuming, on gentoo.
 So do you see the same problem with the `run' item on main menu?
 

 Same here, I did not notice before because I never use it. To be more
 precise, when I select 'Run' the panel disappears for ~1s then reappears
 but no 'Run' window.

 $ equery l lxde*
  * Searching for lxde* ...
 [IP-] [  ] lxde-base/lxde-common-0.5.5-r3:0
 [IP-] [  ] lxde-base/lxde-icon-theme-0.5.0-r1:0
 [IP-] [  ] lxde-base/lxde-meta-0.5.5-r4:0

Thanks for the helpful input... please see my message furhter in
thread with an attached post from an lxde developer that explains
a bit about what we are seeing.




[gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 For your information:  Attached is message from the lxde devel gmane
 group from Jonathan Thibault jonat...@navigue.com.

Whoops forgot to attach Jonathan's message:

From nobody Wed Dec 17 12:33:39 2014
Path: news.gmane.org!not-for-mail
From: Jonathan Thibault jonat...@navigue.com
Newsgroups: gmane.comp.desktop.lxde.devel
Subject: Re: main menu `run' item produces no dialog
Date: Tue, 16 Dec 2014 16:36:05 -0500
Lines: 191
Approved: n...@gmane.org
Message-ID: 5490a5c5.9090...@navigue.com
References: 877fxrv0pz@reader.local.lan
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=070107080209010203000207
X-Trace: ger.gmane.org 1418765821 14997 80.91.229.3 (16 Dec 2014 21:37:01 GMT)
X-Complaints-To: use...@ger.gmane.org
NNTP-Posting-Date: Tue, 16 Dec 2014 21:37:01 + (UTC)
To: Harry Putnam rea...@newsguy.com, lxde-l...@lists.sourceforge.net
Original-X-From: lxde-list-boun...@lists.sourceforge.net Tue Dec 16 22:36:56 
2014
Return-path: lxde-list-boun...@lists.sourceforge.net
Envelope-to: gcdld-lxde-l...@m.gmane.org
Original-Received: from lists.sourceforge.net ([216.34.181.88])
by plane.gmane.org with esmtp (Exim 4.69)
(envelope-from lxde-list-boun...@lists.sourceforge.net)
id 1Y0znZ-0005ok-Sq
for gcdld-lxde-l...@m.gmane.org; Tue, 16 Dec 2014 22:36:54 +0100
Original-Received: from localhost ([127.0.0.1] 
helo=sfs-ml-3.v29.ch3.sourceforge.com)
by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from lxde-list-boun...@lists.sourceforge.net)
id 1Y0zmx-0008Nt-7y; Tue, 16 Dec 2014 21:36:15 +
Original-Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
helo=mx.sourceforge.net)
by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from jonat...@navigue.com) id 1Y0zmv-0008Nk-DU
for lxde-l...@lists.sourceforge.net; Tue, 16 Dec 2014 21:36:13 +
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of navigue.com
designates 74.117.40.3 as permitted sender)
client-ip=74.117.40.3; envelope-from=jonat...@navigue.com;
helo=mail.navigue.com; 
Original-Received: from mail.navigue.com ([74.117.40.3])
by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.76) id 1Y0zmt-0007KI-Lq
for lxde-l...@lists.sourceforge.net; Tue, 16 Dec 2014 21:36:13 +
Original-Received: from [192.168.7.190] (unknown [74.117.40.10])
by mail.navigue.com (Postfix) with ESMTP id C425B1A01A9;
Tue, 16 Dec 2014 16:36:05 -0500 (EST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:31.0) Gecko/20100101 Thunderbird/31.3.0
In-Reply-To: 877fxrv0pz@reader.local.lan
X-Spam-Score: -1.5 (-)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-0.0 SPF_PASS   SPF: sender matches SPF record
X-Headers-End: 1Y0zmt-0007KI-Lq
X-BeenThere: lxde-l...@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: lxde-list.lists.sourceforge.net
List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/lxde-list,
mailto:lxde-list-requ...@lists.sourceforge.net?subject=unsubscribe
List-Archive: 
http://sourceforge.net/mailarchive/forum.php?forum_name=lxde-list
List-Post: mailto:lxde-l...@lists.sourceforge.net
List-Help: mailto:lxde-list-requ...@lists.sourceforge.net?subject=help
List-Subscribe: https://lists.sourceforge.net/lists/listinfo/lxde-list,
mailto:lxde-list-requ...@lists.sourceforge.net?subject=subscribe
Errors-To: lxde-list-boun...@lists.sourceforge.net
Xref: news.gmane.org gmane.comp.desktop.lxde.devel:5536
Archived-At: http://permalink.gmane.org/gmane.comp.desktop.lxde.devel/5536

This is a multi-part message in MIME format.
--070107080209010203000207
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

The version of lxpanel included in gentoo actually segfaults when using
'run'.  You should see it crash and respawn.

This is fixed under the new version of lxpanel but gentoo isn't pushing
it yet.  There's extensive fixes in lxterminal 0.2.0 which is also not
included in gentoo.

I've included a couple ebuilds for convenience though they might not
work right now since sourceforge in emergency maintenance mode.

Jonathan

On 16/12/14 02:44 PM, Harry Putnam wrote:
 Setup:
   Very new install gentoo linux
 lxde version 0.5.5

 This is  very new install of gentoo, however I have installed lxde on
 quite a few different hosts over time, and never hit this particular
 problem.  I have no idea how to debug it.

 After the install was complete I startrf X and lxde with
 startx.

 Once 

[gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 What was supposed to be attached again?  ;-) 

 Dale

hehe... after noticing my `senior moment, I did repost to include the
attachement ... I don't see it on the group, perhaps no attachments
are allowed...

Here is it is inline:

---   ---   ---=---   ---   --- 
NOTE: [-ed HP The ebuild referred to can be gotten on the gmane group
that appears in Jonathan's headers below, if anyone is interested ]
---   ---   ---=---   ---   --- 

From: Jonathan Thibault jonat...@navigue.com
Newsgroups: gmane.comp.desktop.lxde.devel
Subject: Re: main menu `run' item produces no dialog
Date: Tue, 16 Dec 2014 16:36:05 -0500

[...] snipped piles of headers

The version of lxpanel included in gentoo actually segfaults when using
'run'.  You should see it crash and respawn.

This is fixed under the new version of lxpanel but gentoo isn't pushing
it yet.  There's extensive fixes in lxterminal 0.2.0 which is also not
included in gentoo.

I've included a couple ebuilds for convenience though they might not
work right now since sourceforge in emergency maintenance mode.


Jonathan





Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Randy Westlund
On Tue, Dec 16, 2014 at 11:18:54PM +, Mick wrote:
 There may be nothing wrong with your configuration, but something wrong with 
 the design of your laptop.  Some laptops are not designed particularly well 
 with regards to ventilation.  In the summer I have a desk fan which I turn on 
 and direct it on the side of the laptop, so that air blows above and below.  
 The temperatures drop by more than 10-15C in a couple of minutes.  Perhaps 
 you 
 should try something similar.
 
 -- 
 Regards,
 Mick

Okay, glad to hear I'm not doing something wrong.  I'll try to clean it
and be better about putting a wedge under it when I compile and walk
away.



signature.asc
Description: Digital signature


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Randy Westlund
On Wed, Dec 17, 2014 at 07:37:24AM +0100, Stefan G. Weichinger wrote:
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)

Hahaha, I've actually considered this before but decided that I'd only
end up melting my ice cream...


signature.asc
Description: Digital signature


Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-17 Thread Frank Steinmetzger
On Wed, Dec 17, 2014 at 09:41:06AM +0100, meino.cra...@gmx.de wrote:

   With some manual operations:
  
   Capture the output of emerge -vp 
   Edit it to call
   ebuild full patch to package.ebuild fetch
   for each package.
  
   Then issue emerge without -p
 
 
  Way too complicated.
 
  emerge -pvuND world
 
  check list, ensure everything is OK, etc etc. Then
 
  emerge -vunDf world
  emerge -vuND world
  […]
 

 Hi,

 thanks for your replies...

 ...I currently do two emerges, one with -f the second
 without.
 And as merntioned in my initiao mail, I dont want it, since it implies
 two Calculating dependencies which is once too often...

 This was the initial reason for asking...

Well, when I run into this (my old netbook needs over 15 minutes for the
dependency calculations of a deep world update), I do -avuD world. Once the
output is shown, portage will wait for me to answer 'yes'.

Then I go to another terminal where I run emerge -f with the -O option,
because now I know which packages to fetch, thus eliminating the need for a
second dependency calculation. If the list of packages is small, I just type
the names by hand. If the list is larger, I usually prepare a list in vim
that I can paste to the emerge command.

Say you have output from emerge like so (my situation right now):

...
[ebuild U  ] media-fonts/dejavu-2.34 [2.33] USE=X -fontforge 4.597 KiB
[ebuild U  ] dev-libs/tinyxml2-2.2.0:0/2 [1.0.9_p20121123:0/0] 
USE=-static-libs {-test} 445 KiB
[ebuild  rR] kde-base/libkexiv2-4.14.3:4/4.14  USE=xmp (-aqua) -debug 0 
KiB
...

Copy-paste that into a file 'emerge.out'. If you run screen/tmux, that’s
easily done even on a mouse-less terminal. Then use the following
sed-oneliner on it which I just conjured up:

sed -e '/ 0 KiB$/d' -e 's/.\{17\}/=/' -e 's/ .*//'

It first removes all lines ending in  0 KiB (meaning no download
necessary) and then removes everything around the package name and version,
converting

[ebuild U  ] media-fonts/dejavu-2.34 [2.33] USE=X -fontforge 4.597 KiB

into

=media-fonts/dejavu-2.34

Finally, feed that to emerge -fO:

emerge -fO $(sed -e '/ 0 KiB$/d' -e 's/.\{17\}/=/' -e 's/ .*//'  emerge.out)

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any social network.

Arrogant is he who, on his birthday, sends his parents a good wishes card.


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Dale
Harry Putnam wrote:
 Dale rdalek1...@gmail.com writes:

 What was supposed to be attached again?  ;-) 

 Dale
 hehe... after noticing my `senior moment, I did repost to include the
 attachement ... I don't see it on the group, perhaps no attachments
 are allowed...

 Here is it is inline:

 ---   ---   ---=---   ---   --- 
 NOTE: [-ed HP The ebuild referred to can be gotten on the gmane group
 that appears in Jonathan's headers below, if anyone is interested ]
 ---   ---   ---=---   ---   --- 

 From: Jonathan Thibault jonat...@navigue.com
 Newsgroups: gmane.comp.desktop.lxde.devel
 Subject: Re: main menu `run' item produces no dialog
 Date: Tue, 16 Dec 2014 16:36:05 -0500

 [...] snipped piles of headers

 The version of lxpanel included in gentoo actually segfaults when using
 'run'.  You should see it crash and respawn.

 This is fixed under the new version of lxpanel but gentoo isn't pushing
 it yet.  There's extensive fixes in lxterminal 0.2.0 which is also not
 included in gentoo.

 I've included a couple ebuilds for convenience though they might not
 work right now since sourceforge in emergency maintenance mode.


 Jonathan


It made it to the list and folks attach stuff a lot so it is allowed. 
Anyway, we were likely typing at about the same time.  I just wanted to
make sure you knew it wasn't attached. 

Senior moment?  I'm 47 here and do this sort of thing quite often.  I
hope I'm not *to* senior.  lol

Dale

:-)  :-) 



[gentoo-user] akonadi-server upgrade desaster

2014-12-17 Thread Jörg Schaible
Hi folks,

it seems there's no way for me to upgrade my akonadi-server 1.11.0 to 
1.12.x or 1.13.x. I am using an external MySQL for years, but it fails to 
upgrade the tables nor will it recreate them without errors if I drop them 
all. All I can do is to downgrade to 1.11.0 again and restore the DB schema 
from a backup.

When I start akonadi manually with the DB restored for version 1.11.0, 
I get:

=== % 
~ $ akonadictl start
Starting Akonadi Server... 
   done. 
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
~ $ search paths:  (/usr/local/bin, /usr/bin, /bin, /opt/bin, 
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3, /usr/games/bin, 
/home/joehni/bin, /home/joehni/bin, /usr/sbin, /usr/local/sbin, 
/usr/local/libexec, /usr/libexec, /opt/mysql/libexec, 
/opt/local/lib/mysql5/bin, /opt/mysql/sbin) 
Found mysql_install_db:   
Found mysqlcheck:  /usr/bin/mysqlcheck 
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still 
in use, all queries will cease to work.
Database akonadi opened using driver QMYSQL 
DbInitializer::run() 
checking table  SchemaVersionTable 
checking table  ResourceTable 
checking table  CollectionTable 
ALTER TABLE CollectionTable ADD COLUMN enabled BOOL NOT NULL DEFAULT true 
ALTER TABLE CollectionTable ADD COLUMN syncPref TINYINT DEFAULT 2 
ALTER TABLE CollectionTable ADD COLUMN displayPref TINYINT DEFAULT 2 
ALTER TABLE CollectionTable ADD COLUMN indexPref TINYINT DEFAULT 2 
ALTER TABLE CollectionTable ADD COLUMN referenced BOOL NOT NULL DEFAULT 
false 
ALTER TABLE CollectionTable ADD COLUMN queryAttributes VARBINARY(255) 
ALTER TABLE CollectionTable ADD COLUMN queryCollections VARBINARY(255) 
checking table  MimeTypeTable 
checking table  PimItemTable 
checking table  FlagTable 
checking table  PartTypeTable 
CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, 
name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)  
COLLATE=utf8_general_ci DEFAULT CHARSET=utf8 

Sql error: Table '`akonadi`.`PartTypeTable`' already exists QMYSQL: Unable 
to execute query
Query: CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT 
PRIMARY 
KEY, name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)  
COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
Unable to initialize database.
[== skipped stack trace ==]
ProcessControl: Application 'akonadiserver' returned with exit code 255 
(Unknown error)
search paths:  (/usr/local/bin, /usr/bin, /bin, /opt/bin, 
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3, /usr/games/bin, 
/home/joehni/bin, /home/joehni/bin, /usr/sbin, /usr/local/sbin, 
/usr/local/libexec, /usr/libexec, /opt/mysql/libexec, 
/opt/local/lib/mysql5/bin, /opt/mysql/sbin) 
Found mysql_install_db:   
Found mysqlcheck:  /usr/bin/mysqlcheck 
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still 
in use, all queries will cease to work.
Database akonadi opened using driver QMYSQL 
DbInitializer::run() 
checking table  SchemaVersionTable 
checking table  ResourceTable 
checking table  CollectionTable 
checking table  MimeTypeTable 
checking table  PimItemTable 
checking table  FlagTable 
checking table  PartTypeTable 
CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, 
name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)  
COLLATE=utf8_general_ci DEFAULT CHARSET=utf8 

Sql error: Can't create table 'akonadi.PartTypeTable' (errno: -1) QMYSQL: 
Unable to execute query
Query: CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT 
PRIMARY 
KEY, name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)  
COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
Unable to initialize database.
[== skipped stack trace ==]
ProcessControl: Application 'akonadiserver' returned with exit code 255 
(Unknown error)
=== % 

It tries to create the (new) table PartTypeTable, fails with the obscure 
table already exists error and fails on any subsequent try with this 
errno 
-1.

One problem seems to be that all my akonadi tables are based on the MyISAM 
engine (executed before the failed upgrade attempt):

=== % 
mysql SELECT TABLE_NAME,ENGINE FROM information_schema.TABLES WHERE 
TABLE_SCHEMA='akonadi';
+++
| TABLE_NAME | ENGINE |
+++
| CollectionAttributeTable   | MyISAM |
| CollectionMimeTypeRelation | MyISAM |
| CollectionPimItemRelation  | MyISAM |
| CollectionTable| MyISAM |
| FlagTable  | MyISAM |
| MimeTypeTable  | MyISAM |
| PartTable  | MyISAM |
| PimItemFlagRelation| MyISAM |
| PimItemTable   | MyISAM |
| ResourceTable  | MyISAM |
| SchemaVersionTable | MyISAM |
+++
11 rows in set (0.00 sec)
=== % 

[gentoo-user] firefox.bin vs firefox

2014-12-17 Thread Harry Putnam
Is there any advantage one way or the other emerging firefox.bin vs firefox?




Re: [gentoo-user] firefox.bin vs firefox

2014-12-17 Thread Poison BL.
On Wed, Dec 17, 2014 at 9:45 PM, Harry Putnam rea...@newsguy.com wrote:
 Is there any advantage one way or the other emerging firefox.bin vs firefox?



There are advantages to both, really, since firefox-bin uses a
pre-built executable (with a pre-defined set of compile-time options),
while firefox builds from source, using the options defined by the
list of applicable USE flags. The tradeoff is time, heat, and
electricity in return for more options in what is (or isn't) included
and enabled.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] firefox.bin vs firefox

2014-12-17 Thread Alan McKinnon
On 18/12/2014 04:45, Harry Putnam wrote:
 Is there any advantage one way or the other emerging firefox.bin vs firefox?

Depends on your needs:

firefox:
- pro: you get all the USE flags
- pro: you don't get bundled libs from Mozilla, the ebuild can use
system libs
- pro: the compiled binaries are integrated into gentoo like other ebuilds
- con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35
minutes...



firefox-bin:
- pro: fast install. It's a binary package
- con: you get all of Mozilla's bundled libs
- con: No USE, no choices. If Mozilla eg decides to ship with
pulseaudio, then that is what you must have on your end
- con: poor integration with the rest of your system. Files go where
Mozilla says they go, the devs can only do so much to make stuff standard.


As I see it, go with firefox unless you can't spend the cpu cycles to
build it locally. That's true of almost all -bin packages

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Stefan G. Weichinger
;-)

Yes, nice.

To explain: I only let the thinkpad in there for maybe 10 minutes or so ... So 
the risk is minimized, I assume.


Am 17. Dezember 2014 18:44:37 MEZ, schrieb Christian Kruse c...@defunct.ch:
Hi,

Stefan G. Weichinger writes:

 When I compile bigger packages on my small ThinkPad X220 I sometimes
put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via
wifi.

Haha, this whole thread reminded me of this XKCD:

http://xkcd.com/1172/

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Re: [gentoo-user] [SOLVED] convert VOB to ISO

2014-12-17 Thread Joseph

On 12/17/14 14:24, Matti Nykyri wrote:

On Dec 17, 2014, at 9:57, Joseph syscon...@gmail.com wrote:

How to convert VOB to ISO? I want to burn it to DVD
I'm using XFCE and was looking for a GUI application but I can not find one, 
I've tired DeVeDe but it didn't work.


What you need is DVD-author. These are rare now a days. Here is a list:

http://en.m.wikipedia.org/wiki/List_of_DVD_authoring_applications

I've been using Q DVD Author successfully for few times in 2011, but 
DVD-authoring wasn't at least back then fully automatic stuff.  And also dvd's 
are becoming obsolete. You just create the menu structure and then the 
authoring program produces iso-image (videots.ifo/vts_0-0.vob). The 
'DVD-language' kind of primitive (qbasic/any script).

--
-Matti


I used DVD-author few years ago but I was short on time and had to make a few DVD's in about about 8-hours.  I forgot most of the commands and didn't have tome to 
re-learn most of it.


I used: 
- Imagination - to make VOB's crunching 800+ pictures takes few hours.  The only problem I had is that it gives you a lengh of time of the show but it will not 
calculate the size of the VOB in advance.  So if the VOB is over 4.7GB it will fit to DVD; especially if you include rotating effects. 


- DVD Styler - worked very good to create cover / subtitles and ISO

- To burn ISO on XFCE I used Xfburn - it was picky but it worked. 


--
Joseph



Re: [gentoo-user] firefox.bin vs firefox

2014-12-17 Thread Alec Ten Harmsel

On 12/17/2014 04:59 PM, Alan McKinnon wrote:
 On 18/12/2014 04:45, Harry Putnam wrote:
 Is there any advantage one way or the other emerging firefox.bin vs firefox?
 Depends on your needs:

 firefox:
 - pro: you get all the USE flags
 - pro: you don't get bundled libs from Mozilla, the ebuild can use
 system libs
 - pro: the compiled binaries are integrated into gentoo like other ebuilds
 - con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35
 minutes...

Really? 20-35 minutes? I have 6 cores and 32G, and firefox only takes 10
minutes. Do you have PORTAGE_TMPDIR mounted on tmpfs?

Alec



[gentoo-user] Re: emerge matplotlib-1.3.0 fails

2014-12-17 Thread walt
On 12/17/2014 03:46 AM, rhan...@gmx.de wrote:
 Hi,
 
 When emergin matplotlib (as dependency of ipython) it fails with the
 following error:
 
 src/_png.cpp:264:13: error: 'npy_PyFile_DupClose' was not declared in
 
 Full output of build.log, emerge --info and emerge -pqv is attached

I believe the real error message appears several lines above the one
you quoted above:

In file included from 
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
 from 
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
 from 
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
 from src/_png.cpp:28:
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
 warning: #warning Using deprecated NumPy API, disable it by  #defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION [-Wcpp]
 #warning Using deprecated NumPy API, disable it by  \
  ^
src/_png.cpp:243:48: error: macro npy_PyFile_DupClose requires 3 arguments, 
but only 2 given

^^

That kind of message is classic for a mis-matched library version. In this
case the numpy library is either too new or too old for the package you're
trying to emerge.

Are you mixing stable/unstable packages on that machine?  If not, then this
looks like a bug in the ebuild.
 





[gentoo-user] Re: firefox.bin vs firefox

2014-12-17 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 On 18/12/2014 04:45, Harry Putnam wrote:
 Is there any advantage one way or the other emerging firefox.bin vs firefox?

 Depends on your needs:

 firefox:
 - pro: you get all the USE flags
 - pro: you don't get bundled libs from Mozilla, the ebuild can use
 system libs
 - pro: the compiled binaries are integrated into gentoo like other ebuilds
 - con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35
 minutes...



 firefox-bin:
 - pro: fast install. It's a binary package
 - con: you get all of Mozilla's bundled libs
 - con: No USE, no choices. If Mozilla eg decides to ship with
 pulseaudio, then that is what you must have on your end
 - con: poor integration with the rest of your system. Files go where
 Mozilla says they go, the devs can only do so much to make stuff standard.


 As I see it, go with firefox unless you can't spend the cpu cycles to
 build it locally. That's true of almost all -bin packages

Thanks posters... and especially this compete walk-thru.

Looks like its best to stick to the gentoo way of doing things and go
with non `bin'.




Re: [gentoo-user] firefox.bin vs firefox

2014-12-17 Thread covici
Alec Ten Harmsel a...@alectenharmsel.com wrote:

 
 
 On 12/17/2014 04:59 PM, Alan McKinnon wrote:
  On 18/12/2014 04:45, Harry Putnam wrote:
  Is there any advantage one way or the other emerging firefox.bin vs 
  firefox?
  Depends on your needs:
 
  firefox:
  - pro: you get all the USE flags
  - pro: you don't get bundled libs from Mozilla, the ebuild can use
  system libs
  - pro: the compiled binaries are integrated into gentoo like other ebuilds
  - con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35
  minutes...
 
 Really? 20-35 minutes? I have 6 cores and 32G, and firefox only takes 10
 minutes. Do you have PORTAGE_TMPDIR mounted on tmpfs?
 
 Alec

Mine takes more than an hour, I don't use tmpfs for /var/tmp/portage
because sometimes I need many gigs even more than memory for certain
packages.  But Linux is pretty good at disk caching, so I wonder if that
is it?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: firefox.bin vs firefox

2014-12-17 Thread Frank Steinmetzger
On Thu, Dec 18, 2014 at 01:46:45AM -0500, Harry Putnam wrote:
 Alan McKinnon alan.mckin...@gmail.com writes:
 
  On 18/12/2014 04:45, Harry Putnam wrote:
  Is there any advantage one way or the other emerging firefox.bin vs 
  firefox?
 
  Depends on your needs:
  […]
  firefox-bin:
  […]
  - con: poor integration with the rest of your system. Files go where
  Mozilla says they go, the devs can only do so much to make stuff standard.
 
 
  As I see it, go with firefox unless you can't spend the cpu cycles to
  build it locally. That's true of almost all -bin packages

 Thanks posters... and especially this compete walk-thru.

 Looks like its best to stick to the gentoo way of doing things and go
 with non `bin'.

The only real problem I have with Firefox-bin (though I have no idea whether
the non-bin is any better) is that it doesn't install as many icon files,
which usually leaves me with too small an icon in KDE’s Alt-Tab switcher. I
don’t have this problem on Arch.

I once -- just for fun -- compiled Firefox on an Atom N450. This has no effect
on the loading time of 20 seconds. ^^

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any social network.

I think, therefore I am at the wrong place.


signature.asc
Description: Digital signature


[gentoo-user] Re: Nvidia and optimus

2014-12-17 Thread »Q«
On Wed, 17 Dec 2014 18:49:08 +0330
behrouz khosravi bz.khosr...@gmail.com wrote:

  On MS Windows, I need to:
  1) Start the program
  2) Stop the program
  3) Configure the driver to use the NVidia chipset for the program
  (It doesn't
  show in the list before I start it once)
 
  It seems that I was wrong about the way optimus is working in
  Windows.

 I never have tried to manually select a GPU for program. I thought
 that the switching is automatic in Windows, because my games were
 smooth in Windows!

That NVidia utility automagically recognizes some games for which it
should switch the NVidia GPU on, but coverage is far from
comprehensive.  In case it doesn't recognize a program, those three
steps are necessary.








Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi
On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote:

 On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
  Hello everyone.
  I was trying to get native optimus support for my laptop using the
Nvidia
  driver, but after startx the screen goes black for some several seconds
and
  xserver exits.
  The output messages are attached.
  I just added a dot to end of xorg.conf and .xinitrc to bypass it for
now.
  Thanks for your time.

 Did you install and configure Bumblebee?

 I haven't configured anything special myself and got it working following
the
 official documentation:

 http://bumblebee-project.org/install.html#Gentoo
 
 emerge bumblebee

 After installation completes, add yourself to the bumblebee group to
enable
 use of the optirun command. You will have to re-login for group changes to
 take effect.
 

 --
 Joost


Not actually, I wanted to get it working without bumblebee, but it seems
that its not easy! In my Arch box a I couldent manage too set up too.
I guess I will try that sometime.


Re: [gentoo-user] Re: CI Continuous Integration

2014-12-17 Thread Sam Bishop
Great response, but I just have to express my difference of opinion here.

 Gentoo will never be easy,
 but it is a very flexible and through solution for many areas of need.

That flexibility means we who chose to participate in 'building' Gentoo
have the power to make it as flexible as we want. I want a future where
the ebuild is up there with Make files as a 'standard tool' in the arsenal
of software developers, and nothing stops us making it happen.

There are good examples out there for this:
The AUR on Arch Linux, shows how with the right tools and documentation
like, https://wiki.archlinux.org/index.php/PKGBUILD,
https://wiki.archlinux.org/index.php/Creating_packages#PKGBUILD_functions,
and 
https://wiki.archlinux.org/index.php/AUR_User_Guidelines#Submitting_packages.
and also NetBSD with their pkgsrc tools are very well developed
(http://www.netbsd.org/docs/pkgsrc/faq.html#faq-pkgtools)
in particular url2pkg and pkglint which let you just 'bootstrap' a package
from just a URL to a source tar ball and pkglint, this kind of code shows
how easy package creation can be, I think we could even have a web
interface for people to submit new software into the 'experimental' pile
so that a hypothetical Gentoo CI system can test them out.

The power at our disposal could even let us 'harvest' the AUR and
other software sources mechanically with daily scripts to download
their packages, analyse them and build new packages for us.
Obviously this would require some effort to build things like
dependency translation lists, but to be honest, anything to do
with package management is a DEEP rabbit hole we can go down.

At the moment the more I learn about the ChromeOS tools the more
I wonder if I should start counting every ChromeOS, device as a
'Gentoo installation that doesn't know it'. Early next year I will probably
buy a ChromeBook Pixel in order to experiment more with just how
easy it is to put the 'full power' back on top of the ChromeOS base. I
suspect it won't be hard, the dev tools let you build packages and push
them to a ChromeOS device over the network, I should be able to just
either push any new package I want from my sever to the laptop.
Or just push portage itself back onto the device.

Mindful of the aforementioned rabbit hole,
I'll stop myself here and sum it up by saying that I don't see any
reason Gentoo must be hard.


On 17 December 2014 at 23:37, James wirel...@tampabay.rr.com wrote:
 Sam Bishop sam at cygnus.email writes:


 Very interesting. A great example of how something can be both Gentoo
 and Not Gentoo. This is 100% Gentoo unlike Funtoo or Sabayon, but it
 brings in some of their advantages. Gentoo doesn't prevent us from
 having multiple package variants and this leads to cool stuff like
 being able to have a set of layman repositories that ebuilds graduate
 through in stages, from 'dev' to 'test' to 'stable'.

 Zentoo is certainly a site worth closer examination for CI ideas.

 I also see folks running CI locally on the codes they build
 and specifically need to be very robust. Epatch_user is another
 need for folks to employ CI on their own (local cluster), imho.



 And this is why I feel so strongly about Gentoo + Git + CI
 While github may not be the right place and raw 'git' not the right
 tool. I am a big fan of how phabricator + arcanist provides workflow
 guarantees on top of using git, such as the 'must pass the linter
 rules + tests' workflow and how it can track and reference external
 repos side by side with the repos it hosts.

 I ran across a recent thread [1] on another list about gentoo vs some
 of the other more common distros. Folks seem to be firmly in either
 camp; but more in the conventional distro camp. What I did find interesting
 is lots of corporations are running on hundreds of gentoo systems
 and using (chef, puppet, ansible or salt) to ease the management of large
 gentoo deployments. It's just nice to know that despite what many say (use a
 mainstream distro) Gentoo is alive and doing very well in the corporate world.

 I just wonder why more of them do not openly share management strategies
 for large gentoo deployments?

 [1] http://www.reddit.com/r/linuxadmin/comments/2nkswx/gentoo_in_production/



 I feel the future belongs to Gentoo as steward of the ebuild format,
 portage and related tools more than as a 'meta distro'. CI is the
 force multiplier, when anyone who wants to build a Gentoo powered
 distro has a documented set of tools they can use to 'stand up the
 infrastructure' for things like package QA using a CI Server, a Binary
 Package build server/server farm, and Binary Package hosting for the
 build artefacts. By rights Gentoo not Debian, Arch or Fedora should be
 the Distro of choice for creating experimental niche distros from but
 we lack the kind of tools to make it 'easy' for people to do. I'm
 currently experimenting to see how many of these I can prototype
 inside Docker containers or LXC images and it looks quite 

Re: [gentoo-user] akonadi-server upgrade desaster

2014-12-17 Thread Mick
On Wednesday 17 Dec 2014 19:13:03 Jörg Schaible wrote:
 Hi folks,
 
 it seems there's no way for me to upgrade my akonadi-server 1.11.0 to
 1.12.x or 1.13.x. I am using an external MySQL for years, but it fails to
 upgrade the tables nor will it recreate them without errors if I drop them
 all. All I can do is to downgrade to 1.11.0 again and restore the DB schema
 from a backup.
 
 When I start akonadi manually with the DB restored for version 1.11.0,
 I get:
 
 === % 
 ~ $ akonadictl start
 Starting Akonadi Server...
done.
 Connecting to deprecated signal
 QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
 ~ $ search paths:  (/usr/local/bin, /usr/bin, /bin, /opt/bin,
 /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3, /usr/games/bin,
 /home/joehni/bin, /home/joehni/bin, /usr/sbin, /usr/local/sbin,
 /usr/local/libexec, /usr/libexec, /opt/mysql/libexec,
 /opt/local/lib/mysql5/bin, /opt/mysql/sbin)
 Found mysql_install_db:  
 Found mysqlcheck:  /usr/bin/mysqlcheck
 QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still
 in use, all queries will cease to work.
 Database akonadi opened using driver QMYSQL
 DbInitializer::run()
 checking table  SchemaVersionTable
 checking table  ResourceTable
 checking table  CollectionTable
 ALTER TABLE CollectionTable ADD COLUMN enabled BOOL NOT NULL DEFAULT true
 ALTER TABLE CollectionTable ADD COLUMN syncPref TINYINT DEFAULT 2
 ALTER TABLE CollectionTable ADD COLUMN displayPref TINYINT DEFAULT 2
 ALTER TABLE CollectionTable ADD COLUMN indexPref TINYINT DEFAULT 2
 ALTER TABLE CollectionTable ADD COLUMN referenced BOOL NOT NULL DEFAULT
 false
 ALTER TABLE CollectionTable ADD COLUMN queryAttributes VARBINARY(255)
 ALTER TABLE CollectionTable ADD COLUMN queryCollections VARBINARY(255)
 checking table  MimeTypeTable
 checking table  PimItemTable
 checking table  FlagTable
 checking table  PartTypeTable
 CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
 name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)
 COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
 
 Sql error: Table '`akonadi`.`PartTypeTable`' already exists QMYSQL: Unable
 to execute query
 Query: CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT
 PRIMARY
 KEY, name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)
 COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
 Unable to initialize database.
 [== skipped stack trace ==]
 ProcessControl: Application 'akonadiserver' returned with exit code 255
 (Unknown error)
 search paths:  (/usr/local/bin, /usr/bin, /bin, /opt/bin,
 /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3, /usr/games/bin,
 /home/joehni/bin, /home/joehni/bin, /usr/sbin, /usr/local/sbin,
 /usr/local/libexec, /usr/libexec, /opt/mysql/libexec,
 /opt/local/lib/mysql5/bin, /opt/mysql/sbin)
 Found mysql_install_db:  
 Found mysqlcheck:  /usr/bin/mysqlcheck
 QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still
 in use, all queries will cease to work.
 Database akonadi opened using driver QMYSQL
 DbInitializer::run()
 checking table  SchemaVersionTable
 checking table  ResourceTable
 checking table  CollectionTable
 checking table  MimeTypeTable
 checking table  PimItemTable
 checking table  FlagTable
 checking table  PartTypeTable
 CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
 name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)
 COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
 
 Sql error: Can't create table 'akonadi.PartTypeTable' (errno: -1) QMYSQL:
 Unable to execute query
 Query: CREATE TABLE PartTypeTable (id BIGINT NOT NULL AUTO_INCREMENT
 PRIMARY
 KEY, name VARBINARY(255) NOT NULL, ns VARBINARY(255) NOT NULL)
 COLLATE=utf8_general_ci DEFAULT CHARSET=utf8
 Unable to initialize database.
 [== skipped stack trace ==]
 ProcessControl: Application 'akonadiserver' returned with exit code 255
 (Unknown error)
 === % 
 
 It tries to create the (new) table PartTypeTable, fails with the obscure
 table already exists error and fails on any subsequent try with this
 errno
 -1.
 
 One problem seems to be that all my akonadi tables are based on the MyISAM
 engine (executed before the failed upgrade attempt):
 
 === % 
 mysql SELECT TABLE_NAME,ENGINE FROM information_schema.TABLES WHERE
 TABLE_SCHEMA='akonadi';
 +++
 
 | TABLE_NAME | ENGINE |
 
 +++
 
 | CollectionAttributeTable   | MyISAM |
 | CollectionMimeTypeRelation | MyISAM |
 | CollectionPimItemRelation  | MyISAM |
 | CollectionTable| MyISAM |
 | FlagTable  | MyISAM |
 | MimeTypeTable  | MyISAM |
 | PartTable  | MyISAM |
 | PimItemFlagRelation| MyISAM |
 | PimItemTable   | MyISAM |
 | ResourceTable  | MyISAM |
 | SchemaVersionTable | MyISAM |
 
 

[gentoo-user] What is the correct way to remove an old gcc-version (emerge --depclean) ?

2014-12-17 Thread meino . cramer
Hi,

on my embedded system I currently ran into a problem:

As adviced after a greater world update I did 

emerge --depclean -vp

beside other stuff sys-devel/gcc was shown as candidate
for removal. An old version was shown for removal and
a newer one was shown as preserved.

I checked with eselect, whether the new version was selected
(it was), made a backup and started emerge --depclean -v.

As soon it has removed gcc, a firework of error brightened
my terminal...beside other things the shell failed while
trying to access libgcc (if I had recognized that correctly...).

Technically no problem: I stopped that, cleared the sdcard
and installed the backup...but what did I wrong here?

What is the correct way to handle such things?

Best regards,
Meino