Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Dirk Heinrichs
Am Sonntag 28 Juni 2009 01:31:04 schrieb Volker Armin Hemmann:

 If you switch default compiler emerge -s world has to be done.

That should be -e instead, I guess? But no, it doesn't need to be done. The 
only case we had were it was needed was the switch from 3.4.x to 4.x, because 
of C++ ABI changes. Never did it again since then.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Hung Dang
meino.cra...@gmx.de wrote:
 Hi,

 after removing tetex and installing texlive-2008 by following
 his guide
 http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
 I run into a mysterious problem:
 All my *.tex-files are handled as they would be written in 
 LaTeX. But they are good old plainTeX.

 Where can I change thsi behaviour and what did I wrong in
 migrating from tetex?

 Thank you very much for your help in advance!
 Have a nice weekend!
 Kind regards,
 Meino Cramer




   
I have moved from Tetex to Texlive without any problem. What kind of
problem do you have?

Regards,
Hung



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Sebastian Günther
Am Sun, 28 Jun 2009 06:30:58 +0200
schrieb meino.cra...@gmx.de:

 Hi,
 
 after removing tetex and installing texlive-2008 by following
 his guide
 http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
 I run into a mysterious problem:
 All my *.tex-files are handled as they would be written in 
 LaTeX. But they are good old plainTeX.
 

What application handles them as LaTeX?


-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


signature.asc
Description: PGP signature


Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Alan McKinnon
On Sunday 28 June 2009 05:47:23 Volker Armin Hemmann wrote:
 On Sonntag 28 Juni 2009, Alex Schuster wrote:
  Volker Armin Hemmann writes:
   On Sonntag 28 Juni 2009, Alex Schuster wrote:
   Or keep 4.3 as default, I don't think you could run into problems.
  
   he will over time. If you switch default compiler emerge -s world has
   to be done.
 
  According to Alan McKinnon's (and my own experience), this is not
  necessary, unless there are ABI changes. But there were none between 4.1
  and 4.3.
 
  http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg83724.html
 
  Wonko

 you don't have to compile between 4.2.0 and 4.2.1 - sure.

 But with 4.2 to 4.3 I only got a stable system after compiling everything
 with the same compiler. So whatever Alan says - I know how borked my box
 was with half of the libs compiled by one compiler and the rest by the
 other.

That's interesting. I run ~amd64 here and update almost daily - so I got 
practically every gcc version that hit the tree since 3.3 at some stage. And I 
never had the problem you describe.

It's likely that you have a set of libs that indeed *are* sensitive to 
different gcc versions, and I'm not using those libs (so I don't get the 
problems).

I wonder if it would be worth the effort to investigate this further and 
isolate problem packages. It seems that only Gentoo (and derivs) have this 
problem - binary distros rebuild everything from scratch with each new 
releases (equivalent to emerge -e world) so they tend to never run into these 
issues.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread meino . cramer
Hung Dang hungp...@gmail.com [09-06-28 10:27]:
 meino.cra...@gmx.de wrote:
  Hi,
 
  after removing tetex and installing texlive-2008 by following
  his guide
  http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
  I run into a mysterious problem:
  All my *.tex-files are handled as they would be written in 
  LaTeX. But they are good old plainTeX.
 
  Where can I change thsi behaviour and what did I wrong in
  migrating from tetex?
 
  Thank you very much for your help in advance!
  Have a nice weekend!
  Kind regards,
  Meino Cramer
 
 
 
 

 I have moved from Tetex to Texlive without any problem. What kind of
 problem do you have?
 
 Regards,
 Hung


Hi Hung,

may I cite myself :;)

  All my *.tex-files are handled as they would be written in 
  LaTeX. But they are good old plainTeX.
 

or in other words:

tex texfile.tex

ends up in errors due to the fact, that texfile.tex contains syntax
with LaTeX dont understand. Fo example a missing documentstyle.

Regards,
Meino




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




Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread meino . cramer
Sebastian Günther sam...@guenther-roetgen.de [09-06-28 10:32]:
 Am Sun, 28 Jun 2009 06:30:58 +0200
 schrieb meino.cra...@gmx.de:
 
  Hi,
  
  after removing tetex and installing texlive-2008 by following
  his guide
  http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
  I run into a mysterious problem:
  All my *.tex-files are handled as they would be written in 
  LaTeX. But they are good old plainTeX.
  
 
 What application handles them as LaTeX?
 
 
 -- 
   Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
   Karl Marx  |  ( )   against HTML e-mail  
  s...@sti@N GÜNTHER   |   X   against M$ attachments
   mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


the /usr/bin/tex executable



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




Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Volker Armin Hemmann
On Sonntag 28 Juni 2009, Alan McKinnon wrote:
 On Sunday 28 June 2009 05:47:23 Volker Armin Hemmann wrote:
  On Sonntag 28 Juni 2009, Alex Schuster wrote:
   Volker Armin Hemmann writes:
On Sonntag 28 Juni 2009, Alex Schuster wrote:
Or keep 4.3 as default, I don't think you could run into problems.
   
he will over time. If you switch default compiler emerge -s world has
to be done.
  
   According to Alan McKinnon's (and my own experience), this is not
   necessary, unless there are ABI changes. But there were none between
   4.1 and 4.3.
  
   http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg83724.html
  
   Wonko
 
  you don't have to compile between 4.2.0 and 4.2.1 - sure.
 
  But with 4.2 to 4.3 I only got a stable system after compiling everything
  with the same compiler. So whatever Alan says - I know how borked my box
  was with half of the libs compiled by one compiler and the rest by the
  other.

 That's interesting. I run ~amd64 here and update almost daily - so I got
 practically every gcc version that hit the tree since 3.3 at some stage.
 And I never had the problem you describe.

yeah, me too ;)


 It's likely that you have a set of libs that indeed *are* sensitive to
 different gcc versions, and I'm not using those libs (so I don't get the
 problems).

probably, yes.


 I wonder if it would be worth the effort to investigate this further and
 isolate problem packages.

I don't really think so. emerge -e system or emerge -e world aren't such hard 
to type - and you can do it in the background. Just open all apps you plan to 
use in the next couple of hours ;)




Re: [gentoo-user] kernel cross compilation

2009-06-28 Thread Xavier Parizet
Dirk Heinrichs a écrit :
 Am Samstag 27 Juni 2009 19:33:48 schrieb David Relson:
 My workstation is an AMD64 and I want to build a 486 kernel.  I've
 tried oldconfig, menuconfig, and xconfig and they all change
 the .config from X86_32 to X86_64.  How do I stop this behavior?
 
 make CROSS_COMPILE=i686-pc-linux-gnu- ARCH=i386 ...

Try also linux32 command from sys-apps/util-linux .

 HTH...
 
   Dirk


-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Roger Mason
Hello again,

Roger Mason rma...@mun.ca writes:

 I need gcc 4.3 to compile a specific application.  I am hoping that I
 can install gcc 4.3 alongside 4.1.1 without suffering some awful
 catastrophe.

 Can someone confirm that I'll be able to use gcc 4.3 for the specific
 application that needs it but then revert to 4.1.1 without having to
 re-compile all or most of my system?

Thanks to all who replied.  My home machine is compiling gcc 4.3 as I
write this (it has been running all night).

The reason I stick with gcc 4.1.1 is that:

(a) I ran into problems during one of the gcc upgrades a couple of years
back and ended up re-installing on a couple of boxes.  Most of my
machines are old and slow so gcc takes a while.

(b) I have about a dozen heterogeneous machines that I use as a distcc
compile farm and it it is a bit of a pain to upgrade all of them
(bearing in mind that distcc can't be used to compile gcc).  I suppose I
should build gcc on the fastest box and install to the remainder as a
binary.

Cheers,
Roger



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Arttu V.
On 6/28/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
  All my *.tex-files are handled as they would be written in
  LaTeX. But they are good old plainTeX.
 

 or in other words:

 tex texfile.tex

 ends up in errors due to the fact, that texfile.tex contains syntax
 with LaTeX dont understand. Fo example a missing documentstyle.

man tex

When called as virtex  it will  use  the  plain format.

Not sure if this is what is called plainTeX, I've only used LaTeX.

-- 
Arttu V.




Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread meino . cramer
Arttu V. arttu...@gmail.com [09-06-28 13:27]:
 On 6/28/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
   All my *.tex-files are handled as they would be written in
   LaTeX. But they are good old plainTeX.
  
 
  or in other words:
 
  tex texfile.tex
 
  ends up in errors due to the fact, that texfile.tex contains syntax
  with LaTeX dont understand. Fo example a missing documentstyle.
 
 man tex
 
 When called as virtex  it will  use  the  plain format.
 
 Not sure if this is what is called plainTeX, I've only used LaTeX.
 
 -- 
 Arttu V.

Yes, it is...
tetex leaves the names of the executables untouched...

Ok, here is what I got:

/home/mccramervirtex texfile.tex
This is TeXk, Version 3.1415926 (Web2C 7.5.7)
 %-line parsing enabled.

kpathsea: Running mktexfmt plain.fmt
I can't find the format file `plain.fmt'!


/home/mccramerlocate plainfmt.tex
/home/mccramer

(what means, 'locate' didn't found anything like that).

Lost?









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




[gentoo-user] Hal and ejected DVD not unmounting

2009-06-28 Thread Dale
Hi,

I have ran into this from time to time and it is really irritating to
say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
not unmount the device.  That then causes me to get messages like this
in /var/log/messages:

Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
Jun 28 03:10:31 smoker VFS: busy inodes on changed media.
Jun 28 03:10:31 smoker VFS: busy inodes on changed media.

Since this happens every few seconds, my messages file can get pretty
large in a hurry.  I have logrotate and plenty of disk space but this is
still annoying as heck.  I can stop it by manually unmounting the drive
but I sometimes forget to do that.

Can someone tell me how to beat some sense into this thing and make it
unmount when I am done and the drive is empty?  This has happened over
many different versions of hal so specific versions doesn't seem to
matter.  Just in case:

r...@smoker / # emerge -1vp udev hal

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/udev-141  USE=(-selinux) 0 kB
[ebuild   R   ] sys-apps/hal-0.5.11-r9  USE=X acpi crypt -apm -debug
-dell -disk-partition -doc -laptop (-selinux) 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
r...@smoker / # 

I threw in udev just in case.

Thanks !

Dale

:-)  :-) 



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Arttu V.
On 6/28/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
 Arttu V. arttu...@gmail.com [09-06-28 13:27]:
 man tex

 When called as virtex  it will  use  the  plain format.

 Not sure if this is what is called plainTeX, I've only used LaTeX.

 Yes, it is...
 tetex leaves the names of the executables untouched...

 Ok, here is what I got:

 /home/mccramervirtex texfile.tex
 This is TeXk, Version 3.1415926 (Web2C 7.5.7)
  %-line parsing enabled.

 kpathsea: Running mktexfmt plain.fmt
 I can't find the format file `plain.fmt'!

Could they be hidden in the USE=extra as Debian seems to have
something similar sounding in such a package:

http://packages.debian.org/fi/lenny/texlive-formats-extra

texsis -- Plain TeX macros for Physicists.

Unfortunately I have USE=-extra as they caused some trouble on
Gentoo and I didn't really need them at that moment.

-- 
Arttu V.



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread meino . cramer
Arttu V. arttu...@gmail.com [09-06-28 13:52]:
 On 6/28/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
  Arttu V. arttu...@gmail.com [09-06-28 13:27]:
  man tex
 
  When called as virtex  it will  use  the  plain format.
 
  Not sure if this is what is called plainTeX, I've only used LaTeX.
 
  Yes, it is...
  tetex leaves the names of the executables untouched...
 
  Ok, here is what I got:
 
  /home/mccramervirtex texfile.tex
  This is TeXk, Version 3.1415926 (Web2C 7.5.7)
   %-line parsing enabled.
 
  kpathsea: Running mktexfmt plain.fmt
  I can't find the format file `plain.fmt'!
 
 Could they be hidden in the USE=extra as Debian seems to have
 something similar sounding in such a package:
 
 http://packages.debian.org/fi/lenny/texlive-formats-extra
 
 texsis -- Plain TeX macros for Physicists.
 
 Unfortunately I have USE=-extra as they caused some trouble on
 Gentoo and I didn't really need them at that moment.
 
 -- 
 Arttu V.

LaTeX macros (as LaTeX is nothing else than macros) are based on
plaintex macros. So I am very...hrrrm...astonished, that it seems,
the installation wants to format my TeX file in LaTeX manner and
seems not to know anything about plain tex.



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




Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-28 Thread Arttu V.
On 6/28/09, Dale rdalek1...@gmail.com wrote:
  A box should pop up and if you click the little button under
 Maximum Archive Size, it should show the available options.  Mine has
 unlimited, 650Mb CD, 700Mb CD and custom.  The custom will not let me
 enter anything in Gb.

If by Gb you mean the spinner to the right of the dropdown stating
custom then yes, over here it lets me type in numbers (2000), and
automatically adds MB once that widget loses focus.

But I just installed kbackup-0.94-r1 from scratch on this amd64 box
two minutes ago. So, e.g., my ~/.kde/share/config/kbackuprc only has
the window dimensions saved. Maybe yours has some more settings saved
in there?

 There is really not a USE flags to change on this one.

 Ideas?  Someone confirm it is just me or not just me?

kbackup uses kde 3.5 and I've noticed that on some of my boxes they've
been rebuilt quite often over last few weeks, alongside the underlying
qt libraries (which I presume provide the base of those widgets as the
underlying toolkit). So, maybe you can try re-emerging kbackup and/or
check the sanity state of the whole thing with revdep-rebuild?

-- 
Arttu V.



Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-28 Thread Dale
Arttu V. wrote:
 On 6/28/09, Dale rdalek1...@gmail.com wrote:
   
  A box should pop up and if you click the little button under
 Maximum Archive Size, it should show the available options.  Mine has
 unlimited, 650Mb CD, 700Mb CD and custom.  The custom will not let me
 enter anything in Gb.
 

 If by Gb you mean the spinner to the right of the dropdown stating
 custom then yes, over here it lets me type in numbers (2000), and
 automatically adds MB once that widget loses focus.
   

Mine will only let me type in 3 numbers.  Examples:  300 or 600  It will
not accept Gb or anything over 999

 But I just installed kbackup-0.94-r1 from scratch on this amd64 box
 two minutes ago. So, e.g., my ~/.kde/share/config/kbackuprc only has
 the window dimensions saved. Maybe yours has some more settings saved
 in there?
   

I renamed that file with .old on the end to test whether that file maybe
had bad data or something.  It generated a new file but same problem.  I
forgot to mention that in my post tho. 

   
 There is really not a USE flags to change on this one.

 Ideas?  Someone confirm it is just me or not just me?
 

 kbackup uses kde 3.5 and I've noticed that on some of my boxes they've
 been rebuilt quite often over last few weeks, alongside the underlying
 qt libraries (which I presume provide the base of those widgets as the
 underlying toolkit). So, maybe you can try re-emerging kbackup and/or
 check the sanity state of the whole thing with revdep-rebuild?

   

I did reemerge kbackup and the problem was still the same.  I'm not real
sure when this started or what updates were done to start this.  I'm
pretty sure qt has been updated here as well and is even being updated
again as I type. 

I also noticed that when I try to use a saved profile that does a 4Gb
slice. it errors out after a couple slices.  Sorry, didn't save the
error.  It won't let me change the slice size on the saved profiles
either.  I can go down but not up.

Weird huh?  I'm good at finding these weird problems.

Dale

:-)  :-) 



Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Mick
On Saturday 27 June 2009, Mark Knecht wrote:
 On Fri, Jun 26, 2009 at 12:06 PM, Jacob Toddjaketodd...@gmail.com wrote:
  You need to emerge xorg-server.

 I'm about half way through now.

Isn't it correct to say that you just need to emerge x11-base/xorg-x11, which 
will pull in x11-base/xorg-server by default (unless you have some fancy USE 
flags setup).
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Neil Bothwick
On Sun, 28 Jun 2009 14:00:55 +0100, Mick wrote:

 Isn't it correct to say that you just need to emerge x11-base/xorg-x11,
 which will pull in x11-base/xorg-server by default (unless you have
 some fancy USE flags setup).

It will also pull in a shedload of dependencies, being a meta
package,something that is not likely to appeal to the typical
Fluxbox user.


-- 
Neil Bothwick

Sex is hereditary. If your parents never had it, chances are you wont
either. -


signature.asc
Description: PGP signature


[gentoo-user] emacs transient-mark-mode not work with rxvt-unicode

2009-06-28 Thread Zhang Jun
Hi,

I am using rxvt-unicde and emacs-23, but the emacs
transient-mark-mode(highlight selected region) not work in rxvt,
but it works in xfce terminal,

the following are details

thanks!

[I] x11-terms/rxvt-unicode
 Available versions:  9.02-r1 9.05 (~)9.05-r2 (~)9.05-r3 (~)9.06
{afterimage iso14755 perl singlelinescroll truetype vanilla wcwidth
xterm-color}
 Installed versions:  9.06(21:01:41 06/28/09)(perl truetype
xterm-color -afterimage -iso14755 -singlelinescroll -vanilla -wcwidth)
[I] app-editors/emacs-cvs
 Available versions:  (23)  (~)23.0.93!s (~)23.0.94!s (~)23.0.95!s
[M](~)23.0.-r2!s [M](~)23.1.!s
{X Xaw3d alsa dbus gif gpm gtk gzip-el hesiod jpeg kerberos m17n-lib
motif png sound source svg tiff toolkit-scroll-bars xft xpm}
 Installed versions:  23.0.95(23)!s(07:46:00 06/28/09)(X Xaw3d gif
gtk gzip-el jpeg png xft xpm -alsa -dbus -gpm -hesiod -kerberos
-m17n-lib -motif -sound -source -svg -tiff -toolkit-scroll-bars)


$cat ~/.Xresources
Emacs.FontBackend: xft
Emacs.geometry: 80x39

Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: none
Xft.rgba: rgb

Xft.dpi:96

!! RXVT-unicode setting
URxvt.geometry: 85x30+80+80
URxvt.background:   black
URxvt.foreground:   white
URxvt.scrollBar:False
URxvt.scrollBar_right:  False
URxvt.scrollstyle:  plain
URxvt.perl-ext-common: default,tabbed,-selection-popup,-option-popup
URxvt.secondaryScroll:  True

URxvt.inheritPixmap:False
URxvt.transient-for:windowid
URxvt.visualBell:   False
URxvt.tintColor:grey
URxvt.shading:  500
URxvt.saveLines:1500
URxvt.preeditType:  Root
URxvt.borderLess:   False
URxvt.title:panchoats urxvt

URxvt.font:xft:Dejavu Sans
Mono:Normal:size=11:antialias=True,xft:Microsoft
YaHei:Normal:size=11:antialias=True
URxvt*imFont:xft:Dejavu Sans
Mono:Normal:size=11:antialias=True,xft:Microsoft
YaHei:Normal:size=11:antialias=True
URxvt.boldFont:xft:DejaVu Sans Mono-11:Bold,xft:Microsoft
Yahei-11:Bold:antialias=True

URxvt*inputMethod:SCIM
URxvt*preeditType: OverTheSpot
URxvt*multichar_encoding:noenc

URxvt.color0:   #00
URxvt.color8:   #555753
!Red
URxvt.color1:   #CC
URxvt.color9:   #EF2929
!Green
URxvt.color2:   #4E9A06
URxvt.color10:  #8AE234
!Yellow
URxvt.color3:   #C4A000
URxvt.color11:  #FCE94F
!Blue
URxvt.color4:   #3465A4
URxvt.color12:  #729FCF
!Magenta
URxvt.color5:   #75507B
URxvt.color13:  #AD7FA8
!Cyan
URxvt.color6:   #06989A
URxvt.color14:  #34E2E2
!White
URxvt.color7:   #D3D7CF
URxvt.color15:  #EC

XTerm*preeditType: Root

XTerm*font: -dejavu-dejavu serif-medium-r-normal--0-0-0-0-p-0-iso8859-1
XTerm*wideFont: -dejavu-dejavu serif-medium-r-normal--0-0-0-0-p-0-iso8859-1
Xterm*cjkWidth: True



Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Mick
On Sunday 28 June 2009, Neil Bothwick wrote:
 On Sun, 28 Jun 2009 14:00:55 +0100, Mick wrote:
  Isn't it correct to say that you just need to emerge x11-base/xorg-x11,
  which will pull in x11-base/xorg-server by default (unless you have
  some fancy USE flags setup).

 It will also pull in a shedload of dependencies, being a meta
 package,something that is not likely to appeal to the typical
 Fluxbox user.

Hmm ... I must have been doing this wrong then? 8-/

What's the 'right' way of installing Xorg on a machine that runs FB as a WM?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-28 Thread Arttu V.
On 6/28/09, Dale rdalek1...@gmail.com wrote:
 Mine will only let me type in 3 numbers.  Examples:  300 or 600  It will
 not accept Gb or anything over 999

Try something starting with a '3', you should be able to feed in four
numbers. Anything starting with a four or greater will only get three
numbers here as well. Weird, there must a limiter somewhere in the
source code itself ...

(Moments later; suggested background soundtrack: Homer Simpson saying
repeatedly d'oh!) Yes, it is actually limited in the
SettingsDialog.cxx code itself:

maxSliceSize = new QSpinBox( groupBox2, maxSliceSize );
maxSliceSize-setEnabled( TRUE );
maxSliceSize-setMaxValue( 4096 );
maxSliceSize-setMinValue( 0 );


Can you patch that yourself to have a suitably big number where it
says 4096? I have no idea what might break, but that's where the limit
comes from. ebuild unpack and see for yourself in
/var/tmp/portage/app-backup/kbackup-0.5.4-r1/work/kbackup-0.5.4/src/SettingsDialog.cxx,
line 62 ... :)

-- 
Arttu V.



[gentoo-user] Re: qt3support conflict

2009-06-28 Thread walt

On 06/27/2009 07:24 PM, Andrew Gaydenko wrote:

On Sunday 28 June 2009 02:54:59 walt wrote:

On 06/27/2009 03:32 PM, Andrew Gaydenko wrote:

make.conf hasn't qt3support at all. Adding qt3support to qt-opengl
shows... well... something horrible (see below) :-)

//==
emerge -pvDuN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] x11-libs/qt-core-4.5.2 [4.5.1] USE=glib iconv qt3support
ssl -debug -doc -pch 0 kB [ebuild U ] x11-libs/qt-test-4.5.2 [4.5.1]
USE=iconv -debug -pch 0 kB [blocks b ]x11-libs/qt-test-4.5.2
(x11-libs/qt-test-4.5.2 is blocking x11-libs/qt-assistant-4.5.2, x11-


I recently went through the same thing on ~amd64 and emerge made me
uninstall every qt package before it would start building the updates.  I
have no idea why, but everything finally came out okay.

I'd say go ahead and emerge -C all of those qt blockers as emerge suggests.


Walt, thanks! At my case portage has ovecome those blocks without direct
unmerging.


Ah, I see portage wants to update my qt4 *again* today, and I see a new
package comment that emerging qt will pull in more qt sub-packages than
I probably want -- very true.  So now I'm just emerging qt-core instead.
I hope it has everything that VirtualBox needs.  I'll see.




Re: [gentoo-user] Hal and ejected DVD not unmounting

2009-06-28 Thread Florian Philipp
Dale schrieb:
 Hi,
 
 I have ran into this from time to time and it is really irritating to
 say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
 not unmount the device.  That then causes me to get messages like this
 in /var/log/messages:
 
[...]

 Since this happens every few seconds, my messages file can get pretty
 large in a hurry.  I have logrotate and plenty of disk space but this is
 still annoying as heck.  I can stop it by manually unmounting the drive
 but I sometimes forget to do that.
 
 Can someone tell me how to beat some sense into this thing and make it
 unmount when I am done and the drive is empty?  This has happened over
 many different versions of hal so specific versions doesn't seem to
 matter.  Just in case:
 
[...]

How did you eject the DVD? Did you press the button on the drive, did
you use `eject` or maybe your desktop environment offers you that option
(thunar, nautilus, kde, ...)?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 6:04 AM, Neil Bothwickn...@digimed.co.uk wrote:
 On Sun, 28 Jun 2009 14:00:55 +0100, Mick wrote:

 Isn't it correct to say that you just need to emerge x11-base/xorg-x11,
 which will pull in x11-base/xorg-server by default (unless you have
 some fancy USE flags setup).

 It will also pull in a shedload of dependencies, being a meta
 package,something that is not likely to appeal to the typical
 Fluxbox user.


 --
 Neil Bothwick


Exactly. My use of fluxbox on this machine was to test that X is even
working over S-Video. (It is.) My goal after that was to emerge MythTV
again and try running that. That causes X to crash for MTRR problems
so that would be today's goal. This didn't used to happen with my old
kernel and the fglrx driver so probably I haven't configured the
kernel correctly?

With xorg-server  fluxbox emerged I only needed about 20 packages to
get Myth installed so I agree that xorg-x11 pulls in a bunch of stuff
I probably don't need.

I would have emerged xorg-x11 if I hadn't been reading through the
xorg config guide once again and seen that this was an option. I'm not
sure the other stuff is big, but it's a lot of packages.

- Mark



Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Neil Bothwick
On Sun, 28 Jun 2009 14:22:14 +0100, Mick wrote:

 What's the 'right' way of installing Xorg on a machine that runs FB as
 a WM?

Install xorg-server, anything else that's needed will be installed as a
dependency of xorg-server or your client software. The xorg-x11 meta
package was,AFAIR, created for backwards compatibility for old ebuilds
that still depended on the old monolithic package.


-- 
Neil Bothwick

Celery is not food. It is a member of the plywood family.


signature.asc
Description: PGP signature


[gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Grant Edwards
On 2009-06-28, Mark Knecht markkne...@gmail.com wrote:

 Exactly. My use of fluxbox on this machine was to test that X
 is even working over S-Video. (It is.) My goal after that was
 to emerge MythTV again and try running that.

Anybody running MythTV can't be too concerned about bloat. Myth
requires X11 and Qt even for a headless backend server.

-- 
Grant





[gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
Hi,
   I know this is WAY off topic for this list but there's a lot of
smart, experienced people here so I figured I'd look for a little
guidance and then possibly join another email list that's more
appropriate.

   These days I'm trading stock index futures for a living. I have
data files that I analyze in Excel over the weekend to help me make
decisions about how to trade the coming week, but I'm always fighting
Excel as it really isn't intended for the sort of math I want to do.
The math's not difficult, but I need to look at various ranges,
manage, sort and extract data from arrays, and amd then create charts.
This is getting pretty difficult in Excel these days so I've started
to wonder about writing a simple app to do what I need to do. It's not
generally difficult stuff but it requires (or I prefer) a lot of small
charts. I'm vaguely familiar with C  Pascal, but haven't programmed
in years. I don't know C++ at all. I was trained as an EE.

   So the main question is what sort of language (and possibly
programming environment) should a complete novice look at to get his
feet wet with GUI programming. I'd like something fairly light -
performance probably won't be a huge problem - that I could run under
Cygwin or maybe compile to run native in Windows should that ever
become useful. For now it's probably a relatively simple Linux app
that I'd likely run once a week on Saturday morning on 15 to 20
databases I collect on Friday night.

   If you can recommend a good list or forum for silly folks like me -
know nothing about programming and have to ask lots os stupid beginner
questions - I'd greatly appreciate that also.

   Thanks in advance!

Cheers,
Mark



Re: [gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 9:28 AM, Grant Edwardsgra...@visi.com wrote:
 On 2009-06-28, Mark Knecht markkne...@gmail.com wrote:

 Exactly. My use of fluxbox on this machine was to test that X
 is even working over S-Video. (It is.) My goal after that was
 to emerge MythTV again and try running that.

 Anybody running MythTV can't be too concerned about bloat. Myth
 requires X11 and Qt even for a headless backend server.

 --
 Grant

Not too concerned, but less is better. Why install all the xorg-x11
stuff when it's not needed?



Re: [gentoo-user] Re: qt3support conflict

2009-06-28 Thread Alan McKinnon
On Sunday 28 June 2009 16:12:26 walt wrote:
 On 06/27/2009 07:24 PM, Andrew Gaydenko wrote:
  On Sunday 28 June 2009 02:54:59 walt wrote:
  On 06/27/2009 03:32 PM, Andrew Gaydenko wrote:
  make.conf hasn't qt3support at all. Adding qt3support to qt-opengl
  shows... well... something horrible (see below) :-)
 
  //=
 = emerge -pvDuN world
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild U ] x11-libs/qt-core-4.5.2 [4.5.1] USE=glib iconv
  qt3support ssl -debug -doc -pch 0 kB [ebuild U ]
  x11-libs/qt-test-4.5.2 [4.5.1] USE=iconv -debug -pch 0 kB [blocks b  
]x11-libs/qt-test-4.5.2 (x11-libs/qt-test-4.5.2 is blocking
  x11-libs/qt-assistant-4.5.2, x11-
 
  I recently went through the same thing on ~amd64 and emerge made me
  uninstall every qt package before it would start building the updates. 
  I have no idea why, but everything finally came out okay.
 
  I'd say go ahead and emerge -C all of those qt blockers as emerge
  suggests.
 
  Walt, thanks! At my case portage has ovecome those blocks without direct
  unmerging.

 Ah, I see portage wants to update my qt4 *again* today, and I see a new
 package comment that emerging qt will pull in more qt sub-packages than
 I probably want -- very true.  So now I'm just emerging qt-core instead.
 I hope it has everything that VirtualBox needs.  I'll see.

You do not need qt-anything in world. It is a library, and ebuilds pull it in 
as needed.

Remove all mention of qt ebuilds from the world file and double check that 
things are still correct via a null output from

emerge -uND world
emerge --depclean

Then add USE=qt3support to make.conf

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Mick
On Sunday 28 June 2009, Neil Bothwick wrote:
 On Sun, 28 Jun 2009 14:22:14 +0100, Mick wrote:
  What's the 'right' way of installing Xorg on a machine that runs FB as
  a WM?

 Install xorg-server, anything else that's needed will be installed as a
 dependency of xorg-server or your client software. The xorg-x11 meta
 package was,AFAIR, created for backwards compatibility for old ebuilds
 that still depended on the old monolithic package.

Oh I see, thanks for this!  I had it the other way around in my head.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Roger Mason
Mark,

Mark Knecht markkne...@gmail.com writes:

So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.

One possibility is R (http://www.r-project.org/).  It has very good
graphing facilities, can access various database engines, is
multi-platform and unless you process immense quantities of data, should
be fast enough.  There may be people on the R mailing list doing the
kind of thing that you want and there may be an add-on package that
matches your needs (there are hundreds of add-ons).  Lightweight? No,
but you don't need to learn all of it, just the bits relevant to your
usage.  R is in portage.

Another possibility is Root (http://root.cern.ch/drupal/) but it
requires you to program in C++ (but there are Python and Ruby bindings)
and is probably a steeper curve to ascend than R.  However, Root is
capable of processing huge amounts of data quickly -- that is what it
was designed for.  Anything you can do in R you can do in Root, but you
will write more of the application yourself rather than using canned
routines.  I have seen messages on the Root mailing list from people
working with fiscal data.  Root is not lightweight, but is _is_ very
powerful.  Root is in portage.

I'm sure there are other very capable systems out there, these are two
that I use (or have used).

Cheers,
Roger



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread pk
Mark Knecht wrote:

These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.

Have you looked at using Octave? It's a Matlab clone (and thus very
C-like), can output to Gnuplot and you can also create filters of your
own and output to Graphviz. The language R can perhaps also be of use,
depending on what you wish to accomplish...

So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.

Why Windows? I'm merely curious, not trying to criticize...

Best regards

Peter K



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 9:49 AM, Roger Masonrma...@mun.ca wrote:
 Mark,

 Mark Knecht markkne...@gmail.com writes:

    So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.

 One possibility is R (http://www.r-project.org/).  It has very good
 graphing facilities, can access various database engines, is
 multi-platform and unless you process immense quantities of data, should
 be fast enough.  There may be people on the R mailing list doing the
 kind of thing that you want and there may be an add-on package that
 matches your needs (there are hundreds of add-ons).  Lightweight? No,
 but you don't need to learn all of it, just the bits relevant to your
 usage.  R is in portage.

 Another possibility is Root (http://root.cern.ch/drupal/) but it
 requires you to program in C++ (but there are Python and Ruby bindings)
 and is probably a steeper curve to ascend than R.  However, Root is
 capable of processing huge amounts of data quickly -- that is what it
 was designed for.  Anything you can do in R you can do in Root, but you
 will write more of the application yourself rather than using canned
 routines.  I have seen messages on the Root mailing list from people
 working with fiscal data.  Root is not lightweight, but is _is_ very
 powerful.  Root is in portage.

 I'm sure there are other very capable systems out there, these are two
 that I use (or have used).

 Cheers,
 Roger


Actually, I have R on one machine now. I haven't done much with it.
There's a good Google University YouTube statistics course you can
take online for free - was taught at Google, recorded an put on you
Tube, on data mining that uses R. I went through about 4 hours of that
but got distracted by life and didn't finish it.

R might be a good solution in that I could play on Linux but always be
able to go to windows if the need arose.

Thanks,
Mark



Re: [gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Neil Bothwick
On Sun, 28 Jun 2009 16:28:32 + (UTC), Grant Edwards wrote:

 Anybody running MythTV can't be too concerned about bloat. Myth
 requires X11 and Qt even for a headless backend server.

You only need the X libs, not the server. But anyone running a MythTV
backend will have plenty of disk space anyway, so an extra few MB of libs
that are unused after initial setup is hardly the end of the world :)


-- 
Neil Bothwick

Whats the difference between a magician and a brothel?
One has a cunning array of stunts,


signature.asc
Description: PGP signature


Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 10:09 AM, pkpete...@coolmail.se wrote:
 Mark Knecht wrote:

    These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.

 Have you looked at using Octave? It's a Matlab clone (and thus very
 C-like), can output to Gnuplot and you can also create filters of your
 own and output to Graphviz. The language R can perhaps also be of use,
 depending on what you wish to accomplish...

I haven't looked at Octave. I was thinking I should program a stand
alone app and not really use an existing app. It's jsut where my head
was.


    So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.

 Why Windows? I'm merely curious, not trying to criticize...


No offense taken. All the trading is done on the Windows platform
using proprietary trading platform apps. All the datafiles are
therefore sitting in Windows and it just seems easier to just run a
small app of my own there. I sometimes travel but still need to trade
so my laptop would be running Windows at that time. I'd rather do my
learning in the Linux environment. Less risk I'll blow away my whole
machines, etc., and generally a nicer group of people cannot be found.
:-)

- Mark



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread pk
meino.cra...@gmx.de wrote:

 /home/mccramervirtex texfile.tex
 This is TeXk, Version 3.1415926 (Web2C 7.5.7)
  %-line parsing enabled.
 
 kpathsea: Running mktexfmt plain.fmt
 I can't find the format file `plain.fmt'!
 
 
 /home/mccramerlocate plainfmt.tex

Go to http://www.tug.org/texinfohtml/web2c.html
Search for 'plain.fmt'... It seems like this could be solved by making a
symbolic link from 'tex.fmt' (as suggested elsewhere). Haven't tried
this myself so no guarantees...

MfG

Peter K



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Robert Bridge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
 Hi,
I know this is WAY off topic for this list but there's a lot of
 smart, experienced people here so I figured I'd look for a little
 guidance and then possibly join another email list that's more
 appropriate.
 
These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.
 
So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.
 
If you can recommend a good list or forum for silly folks like me -
 know nothing about programming and have to ask lots os stupid beginner
 questions - I'd greatly appreciate that also.

#friendly-coders on freenode is full of friendly people.

Depending on how much effort you are willing to put in, I would probably
suggest looking at some form of macro set for a spreadsheet (Excel and
OO Calc both use basic variants, Gnumeric has a python interpreter.)

Another possibility if you don't need much interactivity on the GUI
would be to create a script + C-mini-app using GnuPlot to generate your
graphs.

Just a few thoughts...
Rob.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpHrWMACgkQZr0UhZgPVmyffgCg97gheECMbXqdhH640aGkxuWM
fjoAoOwNt9vD+uNIt/iENZ0svkSR6B+4
=I+WH
-END PGP SIGNATURE-



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread meino . cramer
pk pete...@coolmail.se [09-06-28 19:37]:
 meino.cra...@gmx.de wrote:
 
  /home/mccramervirtex texfile.tex
  This is TeXk, Version 3.1415926 (Web2C 7.5.7)
   %-line parsing enabled.
  
  kpathsea: Running mktexfmt plain.fmt
  I can't find the format file `plain.fmt'!
  
  
  /home/mccramerlocate plainfmt.tex
 
 Go to http://www.tug.org/texinfohtml/web2c.html
 Search for 'plain.fmt'... It seems like this could be solved by making a
 symbolic link from 'tex.fmt' (as suggested elsewhere). Haven't tried
 this myself so no guarantees...
 
 MfG
 
 Peter K

...and dont forget to do a

ls -R .  ls-R 

in the according root directory, from where are all
*.fmt are installed, otherwise kpathsea will fail to find the file.

But what was the idea behind tex to behave like compiling/texing 
for /LaTeX/ instead of plain TeX? This is the first time, when I
have to call virtex to compile/tex for plain tex format...

Even the manpages say:

   This  version of TeX looks at its command line to see what name it
   was called under.  If they exist, then both initex and virtex  are
   symbolic  links  to the tex executable.  When called as initex (or
   when the -ini option is given) it can be used to precompile macros
   into  a  .fmt  file.   When called as virtex it will use the plain
   format.  When called under any other name, TeX will use that  name
   as the name of the format to use.  i
   
   (But:)
   For example, when called as tex the tex format is used, which
   is identical to  the  plain  format.  The commands defined by
   the plain format are documented in The TeX for nroffbook.
   Other formats that  are  often  available  include latex and
   amstex.

So, there seems something non-standard or my installation git rotten
regarding this...

Normally initex is used to create *.fmt files. And virtex (from virgin
tex) is the one which does it works without any tex format -- the
way to write in TeX assembler so to say...

Myterious the world we live in, mysterious the way we go...

Slightly confused,
Meino Cramer




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




[gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Grant Edwards
On 2009-06-28, Neil Bothwick n...@digimed.co.uk wrote:
 On Sun, 28 Jun 2009 16:28:32 + (UTC), Grant Edwards wrote:

 Anybody running MythTV can't be too concerned about bloat. Myth
 requires X11 and Qt even for a headless backend server.

 You only need the X libs, not the server.

True.

 But anyone running a MythTV backend will have plenty of disk
 space anyway, so an extra few MB of libs that are unused after
 initial setup is hardly the end of the world :)

It still grates on the engineering nerve a bit. ;)

-- 
Grant







Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Roger Mason
Hello,

Roger Mason rma...@mun.ca writes:

 I need gcc 4.3 to compile a specific application.  I am hoping that I
 can install gcc 4.3 alongside 4.1.1 without suffering some awful
 catastrophe.  This is the output of emerge on the machine in question:

The compilation finally completed.  It only took about 14 hours.

I followed the info presented at the end of the installation and did, as
root:

gcc-config i686-pc-linux-gnu-4.3.2

and gcc-config -l now says:

garnet rmason # gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 

I also ran source /etc/profile, as recommended and gcc -v now reports
gcc-4.3.2.

However, as an ordinary user gcc -v reports:

garnet ~ $ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure (blah,
blah)

That is after running source /etc/profile _and_ (when that did not
change the reported gcc version) logging out and back in.

How do I set gcc to version 4.3.2 for an ordinary user?

Thanks,

Roger



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 10:50 AM, Robert Bridgerob...@robbieab.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Mark Knecht wrote:
 Hi,
    I know this is WAY off topic for this list but there's a lot of
 smart, experienced people here so I figured I'd look for a little
 guidance and then possibly join another email list that's more
 appropriate.

    These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.

    So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.

    If you can recommend a good list or forum for silly folks like me -
 know nothing about programming and have to ask lots os stupid beginner
 questions - I'd greatly appreciate that also.

 #friendly-coders on freenode is full of friendly people.

 Depending on how much effort you are willing to put in, I would probably
 suggest looking at some form of macro set for a spreadsheet (Excel and
 OO Calc both use basic variants, Gnumeric has a python interpreter.)

 Another possibility if you don't need much interactivity on the GUI
 would be to create a script + C-mini-app using GnuPlot to generate your
 graphs.

 Just a few thoughts...
 Rob.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkpHrWMACgkQZr0UhZgPVmyffgCg97gheECMbXqdhH640aGkxuWM
 fjoAoOwNt9vD+uNIt/iENZ0svkSR6B+4
 =I+WH
 -END PGP SIGNATURE-



Actually I'm liking the suggest to try using R. I have already managed
to read my data files using the read.csv function. When I understand
headers and tables better I'll likely be able to make my plots from
that data pretty easily. It's cross platform so it solves that problem
and keeps me focused on where I might add value - evaluating the
market data - and not worrying about how to program in C or Python.

Open to other ideas but this one is looking pretty good to me so far.

Thanks,
Mark



Re: [gentoo-user]WAS lvm problem -- NOW sleep tweak?

2009-06-28 Thread Maxim Wexler
 Put it in localmount, not bootmisc, just before
 ebegin Mounting local filesystems

No lvm but same problem: the two partitions sdb1, sdb2 aren't mounted
during boot, but are mountable by hand following login.

I added the sleep command to localmount and the partitions are now
mounted during boot. But, only after some annoying ugliness.

a bit of console output:

*Checking all filesystems...
fsck.ext2: No such file or directory while trying to open /dev/sdb1
...
ditto /dev/sdb2
...
*Operational error, continuing [!!]
*Mounting local filesystems...  [ok]
...
and so on to login.

And yes the partitions are indeed mounted. But is this the best I can
hope for. I hate seeing red during bootup ;(

mw



Re: [gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Neil Bothwick
On Sun, 28 Jun 2009 18:03:35 + (UTC), Grant Edwards wrote:

  But anyone running a MythTV backend will have plenty of disk
  space anyway, so an extra few MB of libs that are unused after
  initial setup is hardly the end of the world :)  
 
 It still grates on the engineering nerve a bit. ;)

A curses setup program should please the frugal engineers, or would you
prefer to alter the MySQL table files with a hex editor? ;-)


-- 
Neil Bothwick

Keep your words soft and sweet in case you have to eat them.


signature.asc
Description: PGP signature


Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Arttu V.
On 6/28/09, Mark Knecht markkne...@gmail.com wrote:
 Actually I'm liking the suggest to try using R. I have already managed
 to read my data files using the read.csv function. When I understand
 headers and tables better I'll likely be able to make my plots from
 that data pretty easily. It's cross platform so it solves that problem
 and keeps me focused on where I might add value - evaluating the
 market data - and not worrying about how to program in C or Python.

 Open to other ideas but this one is looking pretty good to me so far.

If you have your data in a text-like, tabular format that R likes then
you might also try feeding them into a data mining package like Weka.
Depending on what kind of analysis you are looking for, it might be
even better (and easier) than R -- or entirely unsuitable. :)

-- 
Arttu V.



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 11:23 AM, Arttu V.arttu...@gmail.com wrote:
 On 6/28/09, Mark Knecht markkne...@gmail.com wrote:
 Actually I'm liking the suggest to try using R. I have already managed
 to read my data files using the read.csv function. When I understand
 headers and tables better I'll likely be able to make my plots from
 that data pretty easily. It's cross platform so it solves that problem
 and keeps me focused on where I might add value - evaluating the
 market data - and not worrying about how to program in C or Python.

 Open to other ideas but this one is looking pretty good to me so far.

 If you have your data in a text-like, tabular format that R likes then
 you might also try feeding them into a data mining package like Weka.
 Depending on what kind of analysis you are looking for, it might be
 even better (and easier) than R -- or entirely unsuitable. :)

 --
 Arttu V.

Thanks Arttu. I've already 'data mined' by hand, found some stuff
that's working for me and need to track it using charts and tables in
an easy manner. If I can handle the R programming for doing this then
this will work fine.

That said it was a lot of work to data mine by hand so down the road
when it's time to do more then I'll likely want to look at something
like Weka.

Cheers,
Mark



[gentoo-user] Re: coexisting GCC versions

2009-06-28 Thread Nikos Chantziaras

On 06/28/2009 08:54 PM, Roger Mason wrote:

[...]
I followed the info presented at the end of the installation


Did you read the Gentoo documentation about upgrading GCC?  If not, 
now's the time :)





Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Florian Philipp
Mark Knecht schrieb:
[...]
These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.
 
[...]

This not what you asked for, but you might want to take a look at
http://sourceforge.net/projects/jstock

A friend of mine uses it for his stock trading.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] list of emerged programs?

2009-06-28 Thread James
All,

Is there a simple, quick way to list all of the packages that have
been emerged in cronological order?

-j



Re: [gentoo-user] list of emerged programs?

2009-06-28 Thread Justin
James wrote:
 All,
 
 Is there a simple, quick way to list all of the packages that have
 been emerged in cronological order?
 
 -j
 
genlop -l

qlop -l



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: list of emerged programs?

2009-06-28 Thread Nikos Chantziaras

On 06/28/2009 11:06 PM, James wrote:

All,

Is there a simple, quick way to list all of the packages that have
been emerged in cronological order?


for f in `ls -rt \`find /var/db/pkg -name *.ebuild\``; do basename $f 
.ebuild; done


(The above command is just one line, in case your mail/news client 
breaks it into two lines.)





[gentoo-user] Re: list of emerged programs?

2009-06-28 Thread Nikos Chantziaras

On 06/28/2009 11:19 PM, Justin wrote:

James wrote:

All,

Is there a simple, quick way to list all of the packages that have
been emerged in cronological order?

-j


genlop -l

qlop -l


Or that :P :P :P




Re: [gentoo-user] Re: list of emerged programs?

2009-06-28 Thread James
Thanks to you and Justin for the insanely quick answers.

-j

On Sun, Jun 28, 2009 at 4:23 PM, Nikos Chantziarasrea...@arcor.de wrote:
 On 06/28/2009 11:06 PM, James wrote:

 All,

 Is there a simple, quick way to list all of the packages that have
 been emerged in cronological order?

 for f in `ls -rt \`find /var/db/pkg -name *.ebuild\``; do basename $f
 .ebuild; done

 (The above command is just one line, in case your mail/news client breaks it
 into two lines.)




Re: [gentoo-user] Re: list of emerged programs?

2009-06-28 Thread Daniel Troeder
On Sun, 2009-06-28 at 23:23 +0300, Nikos Chantziaras wrote:
 On 06/28/2009 11:06 PM, James wrote:
  All,
 
  Is there a simple, quick way to list all of the packages that have
  been emerged in cronological order?
 
 for f in `ls -rt \`find /var/db/pkg -name *.ebuild\``; do basename $f 
 .ebuild; done
 
 (The above command is just one line, in case your mail/news client 
 breaks it into two lines.)

$ cd /var/db/pkg/; find * -maxdepth 1 -mindepth 1

$ eix -I --only-names




Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 1:05 PM, Florian
Philippli...@f_philipp.fastmail.net wrote:
 Mark Knecht schrieb:
 [...]
    These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.

 [...]

 This not what you asked for, but you might want to take a look at
 http://sourceforge.net/projects/jstock

 A friend of mine uses it for his stock trading.

Yeah, I know about it. It's really for tracking, not trading.

All my trading is done on the TradeStation platform. I've programmed
my trading systems in EasyLanguage and all trades are made
automatically. 5-10 trades/day, maybe 1000 trades/year. I'm evaluating
data sets of thousands of trades from backtest data going back years
and years.

Except for a few data file format issues R is looking pretty
interesting. I've got data in and I'm learning how to access rows and
columns in large tables to create the same data I've been fighting
with Excel to get. (and OpenOffice although it's too slow to keep me
interested...)

Anyway, thanks for the pointer.

Cheers,
Mark

Cheers,
Mark



Re: [gentoo-user] Hal and ejected DVD not unmounting

2009-06-28 Thread Dale
Florian Philipp wrote:
 Dale schrieb:
   
 Hi,

 I have ran into this from time to time and it is really irritating to
 say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
 not unmount the device.  That then causes me to get messages like this
 in /var/log/messages:

 
 [...]
   
 Since this happens every few seconds, my messages file can get pretty
 large in a hurry.  I have logrotate and plenty of disk space but this is
 still annoying as heck.  I can stop it by manually unmounting the drive
 but I sometimes forget to do that.

 Can someone tell me how to beat some sense into this thing and make it
 unmount when I am done and the drive is empty?  This has happened over
 many different versions of hal so specific versions doesn't seem to
 matter.  Just in case:

 
 [...]

 How did you eject the DVD? Did you press the button on the drive, did
 you use `eject` or maybe your desktop environment offers you that option
 (thunar, nautilus, kde, ...)?

   

I just push the button on the drive.  I have always done it that way. 
At one time the eject thing in the KDE menu wouldn't actually eject.  It
just sat there blinking at me.  :/

Should I use the menu and not the button?

Dale

:-)  :-) 



Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-28 Thread Dale
Arttu V. wrote:
 On 6/28/09, Dale rdalek1...@gmail.com wrote:
   
 Mine will only let me type in 3 numbers.  Examples:  300 or 600  It will
 not accept Gb or anything over 999
 

 Try something starting with a '3', you should be able to feed in four
 numbers. Anything starting with a four or greater will only get three
 numbers here as well. Weird, there must a limiter somewhere in the
 source code itself ...

 (Moments later; suggested background soundtrack: Homer Simpson saying
 repeatedly d'oh!) Yes, it is actually limited in the
 SettingsDialog.cxx code itself:

 maxSliceSize = new QSpinBox( groupBox2, maxSliceSize );
 maxSliceSize-setEnabled( TRUE );
 maxSliceSize-setMaxValue( 4096 );
 maxSliceSize-setMinValue( 0 );


 Can you patch that yourself to have a suitably big number where it
 says 4096? I have no idea what might break, but that's where the limit
 comes from. ebuild unpack and see for yourself in
 /var/tmp/portage/app-backup/kbackup-0.5.4-r1/work/kbackup-0.5.4/src/SettingsDialog.cxx,
 line 62 ... :)

   

Ahhh, so it isn't just me.  That's cool.  I'm not sure about editing
anything tho.  I tend to break stuff.  I'm just wanting to really fill
up a DVD is all.

I wonder why they changed that?  Confusing.

Dale

:-)  :-) 



Re: [gentoo-user] Hal and ejected DVD not unmounting

2009-06-28 Thread Alan McKinnon
On Sunday 28 June 2009 22:55:50 Dale wrote:
 I just push the button on the drive.  I have always done it that way.
 At one time the eject thing in the KDE menu wouldn't actually eject.  It
 just sat there blinking at me.  :/

 Should I use the menu and not the button?

I think you should use KDE's eject function, then eject manually if the disc 
doesn't come out by itself.

I also think your expectations are completely reasonable - if hal polls the cd 
drive every two seconds to find when a disc is in it and then mount it, 
*surely* it should umount the disc when it knows for an absolute fact that the 
disc is no longer present. I can't think of a single reason why hal should 
every leave a disc mounted that isn't there any more ...

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread pk
meino.cra...@gmx.de wrote:

 ...and dont forget to do a
 
 ls -R .  ls-R 
 
 in the according root directory, from where are all
 *.fmt are installed, otherwise kpathsea will fail to find the file.

Oh yeah, forgot about that.

 But what was the idea behind tex to behave like compiling/texing 
 for /LaTeX/ instead of plain TeX? This is the first time, when I
 have to call virtex to compile/tex for plain tex format...
 
 Even the manpages say:
 
This  version of TeX looks at its command line to see what name it
was called under.  If they exist, then both initex and virtex  are
symbolic  links  to the tex executable.  When called as initex (or
when the -ini option is given) it can be used to precompile macros
into  a  .fmt  file.   When called as virtex it will use the plain
format.  When called under any other name, TeX will use that  name
as the name of the format to use.  i

(But:)
For example, when called as tex the tex format is used, which
is identical to  the  plain  format.  The commands defined by
the plain format are documented in The TeX for nroffbook.
Other formats that  are  often  available  include latex and
amstex.
 
 So, there seems something non-standard or my installation git rotten
 regarding this...

Well, if possible, you could always try this on another system, to see
if it's unique to your machine...

 Normally initex is used to create *.fmt files. And virtex (from virgin
 tex) is the one which does it works without any tex format -- the
 way to write in TeX assembler so to say...
 
 Myterious the world we live in, mysterious the way we go...

Couldn't agree more. :-)

MfG

Peter K



Re: [gentoo-user] Hal and ejected DVD not unmounting

2009-06-28 Thread Dale
Alan McKinnon wrote:
 On Sunday 28 June 2009 22:55:50 Dale wrote:
   
 I just push the button on the drive.  I have always done it that way.
 At one time the eject thing in the KDE menu wouldn't actually eject.  It
 just sat there blinking at me.  :/

 Should I use the menu and not the button?
 

 I think you should use KDE's eject function, then eject manually if the disc 
 doesn't come out by itself.

 I also think your expectations are completely reasonable - if hal polls the 
 cd 
 drive every two seconds to find when a disc is in it and then mount it, 
 *surely* it should umount the disc when it knows for an absolute fact that 
 the 
 disc is no longer present. I can't think of a single reason why hal should 
 every leave a disc mounted that isn't there any more ...

   

Yep, it's sort of like looking at your hand to see if it is still
there.  If nobody cut it off, why check every two seconds to see if it
is still there?  Now if you are expecting someone to cut it off, then
maybe check to see.  Of course, if this happens a lot, you either need
mental help or a body guard.  I think hal needs mental help myself.  I
just thought it may be me that needs help, maybe a setting or something.

This is another thing that doesn't restore my confidence hal.  Still on
the old xorg.

Thanks much. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: coexisting GCC versions

2009-06-28 Thread Roger Mason
Hi,

Nikos Chantziaras rea...@arcor.de writes:

 On 06/28/2009 08:54 PM, Roger Mason wrote:
[...]
 I followed the info presented at the end of the installation

 Did you read the Gentoo documentation about upgrading GCC?  If not,
 now's the time :)

This is what it says:

# emerge -uav gcc
(Please substitute i686-pc-linux-gnu-3.4.5 with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.3.2
# source /etc/profile

and that is what I did.

Now gcc-config says:

garnet ~ $ gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 *

Whereas gcc -v says:

snip
gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10)

If there is something else that I need to do then I did not see it in
the upgrade guide, so please, will someone enlighten me?

Thanks,
Roger



Re: [gentoo-user] list of emerged programs?

2009-06-28 Thread Roger Mason
Hello,

James j...@nc.rr.com writes:

 Is there a simple, quick way to list all of the packages that have
 been emerged in cronological order?

Listing /var/log/portage with appropriate options to ls may work.

Cheers,
Roger



Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-28 Thread Arttu V.
On Sun, 2009-06-28 at 15:58 -0500, Dale wrote:
 Arttu V. wrote:
  maxSliceSize-setMaxValue( 4096 );
 
 Ahhh, so it isn't just me.  That's cool.  I'm not sure about editing
 anything tho.  I tend to break stuff.  I'm just wanting to really fill
 up a DVD is all.
 
 I wonder why they changed that?  Confusing.

They seem to have an explanation on the webpage:

http://www.kde-apps.org/content/show.php?content=44998

The 4GB limit is due to Qt3 limits on 32-bit architectures. They don't
mention if it affects also 64-bit systems.

But in other news there, they seem to have released kbackup 0.6 just a
month ago, which incidentally among other things removes the 4GB limit:

- Port to cmake and KDE4/Qt4, which also removes the 4GB limit per
file

-- 
Arttu V.




Re: [gentoo-user] Removing qt4 meta

2009-06-28 Thread Marco
Hi all,

thanks for all your tips! Also found some inconsistencies in my
installation, which I was able to fix.

--
Regards,
 Marco



On Sat, Jun 27, 2009 at 7:04 PM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Saturday 27 June 2009 18:13:56 Marco wrote:
 On Sat, Jun 27, 2009 at 2:33 PM, Sebastian

 Beßlerwebmas...@darkmetatron.de wrote:
  Marco schrieb:
  On Sat, Jun 27, 2009 at 2:02 PM, Dirk Heinrichsdirk.heinri...@online.de
 wrote:
  Am Samstag 27 Juni 2009 15:51:20 schrieb Marco:

 [...]

  If you have eix installed you could use
  eix -I --only-names x11-libs/qt |xargs emerge -C
 
  or if you have no package that depends on qt
  emerge --depclean -a
  after emerge -C x11-libs/qt
  should do the job.

 Is there a way to find out if packages depend on qt? Although I think
 I did not install any packages that depend on qt (saving space) I am
 not 100% sure...

 equery depends package_name

 Note that this lists packages that *could* depend on the named package, not
 just those that *do* depend on your specific machine.

 also look at qdepends -d

 --
 alan dot mckinnon at gmail dot com





[gentoo-user] Request for [OT] advice

2009-06-28 Thread Harry Putnam
How can I go about merging two bookmarks.html style files... and not
lose any or duplicate any?

I realize the de-duping part is probably not going to be all that
thorough so maybe just at some level, remove dups.

It seems with diff and patch I end up losing bookmarks.  Also I'm not
so sure I know how to do that.  Which order to diff the files and
patch etc.

But also it seems those tools may interfere with the necessary format
to obtain a bookmark.html syle result once imported into `firefox'.

I realize there are bookmark sites that claim to be able to do this.
And even tools in portage to create you own server also foxmarks
claims to allow a server setup.

I've tried many of the above choices and for one reason or another
either failed or didn't like the result.

I want to know if I can accomplish something worthwhile with common
scripting tools and a pretty low level of skill with them.




[gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Grant Edwards
On 2009-06-28, Neil Bothwick n...@digimed.co.uk wrote:
 On Sun, 28 Jun 2009 18:03:35 + (UTC), Grant Edwards wrote:

  But anyone running a MythTV backend will have plenty of disk
  space anyway, so an extra few MB of libs that are unused after
  initial setup is hardly the end of the world :)  
 
 It still grates on the engineering nerve a bit. ;)

 A curses setup program should please the frugal engineers, or would you
 prefer to alter the MySQL table files with a hex editor? ;-)

I usually do one of three things:

 1) Type SQL commands.

 2) Use Mythweb.

 3) Run the setup program so that it displays on a different
machine.


That last option is clumsy, since it takes forever to start up,
is sluggish once it is running, and I find the UI used by the
setup programs to be obtuse: arrow, and enter keys never do
what I expect them to (and I've been using Myth for 6+ years
now).

I think running the setup programs on the server is the wrong
approach entirely.

If I want a GUI setup program, I'd rather run it on a normal
desktop/latpop machine with a decent resolution and a mouse.
They've invented this thing called a network that lets a UI
program on one computer talk to a database on another.  It's
pretty cool.

Trying to do a GUI on a machine with a desktop that's 500x350
pixels and has no mouse/keyboard is always going to produce
miserable results with widgets ending up completely off screen,
unreadable fonts, and strings clipped to the point of being
unintelligible.  And indeed that's what you get get when you
install MythTv an NTSC display with a normal amount of
overscan.

There was another MySQL table-editor UI that I tried
once-upon-a-time, but it was pretty hard to get up and running,
and not much easier than using 1) and 2).

-- 
Grant





[gentoo-user] Re: [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread walt

On 06/28/2009 10:16 AM, Mark Knecht wrote:

On Sun, Jun 28, 2009 at 10:09 AM, pkpete...@coolmail.se  wrote:



Why Windows? I'm merely curious, not trying to criticize...



No offense taken. All the trading is done on the Windows platform
using proprietary trading platform apps. All the datafiles are
therefore sitting in Windows and it just seems easier...


So true, and that's exactly where M$ wants us.  I need to use a
couple of M$-specific apps for the same reason, and much to my
joy they both run very well on recent versions of wine.

I first tried wine years ago when it was running only 16-bit
windows apps and I gave it up as nothing more than a toy -- but
things have *really* changed since then!

Wine is a toy no longer, it's a powerful tool and I'd urge you
to play with it at for a week or two to see what it can do.

They have an apps database that lists popular windows programs
that are known to run under wine (or not) and what you need to do
to get them working.

http://appdb.winehq.org/

I don't see Trade Station listed there but you could be the first
one to get it working :-)




Re: [gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Neil Bothwick
On Sun, 28 Jun 2009 23:05:28 + (UTC), Grant Edwards wrote:

  A curses setup program should please the frugal engineers, or would
  you prefer to alter the MySQL table files with a hex editor? ;-)  
 
 I usually do one of three things:
 
  1) Type SQL commands.
 
  2) Use Mythweb.
 
  3) Run the setup program so that it displays on a different
 machine.
 
 
 That last option is clumsy, since it takes forever to start up,
 is sluggish once it is running, and I find the UI used by the
 setup programs to be obtuse: arrow, and enter keys never do
 what I expect them to (and I've been using Myth for 6+ years
 now).

You can't do stuff like channel scanning with the first two, so running
mythtv-setup over SSH is the only option, which means you need qt3 and X
libs on a headless server :(


-- 
Neil Bothwick

And God said Let there be light and there was light.
There was still nothing, but you could see it better.


signature.asc
Description: PGP signature


[gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Grant Edwards
On 2009-06-29, Neil Bothwick n...@digimed.co.uk wrote:

 You can't do stuff like channel scanning with the first two,
 so running mythtv-setup over SSH is the only option, which
 means you need qt3 and X libs on a headless server :(

I know.  Making channel-scanning a separate text-mode
application similar to mythfilldatabase would solve that
problem.  The thing I find truly odd about MythTv is that is
_is_ split up into frontend-UI-player and backend-server yet
the backend is so distinctly ill-suited to be installed on a
server type machine.

This time around, I'm installing the backend on a normal
desktop machine that's already going to have an X server, but
it's probably going to be the only app that requires Qt3.

I should try out Freevo some day.  It's written in Python, so
it should be more stable than MythTv. But, it doesn't support
my tuner yet, and it doesn't appear to support a separate 
backend with multiple frontends.




[gentoo-user] Re: fluxbox without xorg-server? How do you start X?

2009-06-28 Thread Grant Edwards
On 2009-06-29, Grant Edwards grant.b.edwa...@gmail.com wrote:

 I should try out Freevo some day.  It's written in Python, so
 it should be more stable than MythTv. But, it doesn't support
 my tuner yet, and it doesn't appear to support a separate 
 backend with multiple frontends.

I take that back -- I just checked the web-site and it does
support separate backend/frontend machines.  Hmm...




Re: [gentoo-user] Re: [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Mark Knecht
On Sun, Jun 28, 2009 at 5:12 PM, waltw41...@gmail.com wrote:
 On 06/28/2009 10:16 AM, Mark Knecht wrote:

 On Sun, Jun 28, 2009 at 10:09 AM, pkpete...@coolmail.se  wrote:

 Why Windows? I'm merely curious, not trying to criticize...

 No offense taken. All the trading is done on the Windows platform
 using proprietary trading platform apps. All the datafiles are
 therefore sitting in Windows and it just seems easier...

 So true, and that's exactly where M$ wants us.  I need to use a
 couple of M$-specific apps for the same reason, and much to my
 joy they both run very well on recent versions of wine.

 I first tried wine years ago when it was running only 16-bit
 windows apps and I gave it up as nothing more than a toy -- but
 things have *really* changed since then!

 Wine is a toy no longer, it's a powerful tool and I'd urge you
 to play with it at for a week or two to see what it can do.

 They have an apps database that lists popular windows programs
 that are known to run under wine (or not) and what you need to do
 to get them working.

 http://appdb.winehq.org/

 I don't see Trade Station listed there but you could be the first
 one to get it working :-)

I used to be an app maintainer for wine. I know about it and support
it but no longer us it. I tried TS maybe a year ago. It wouldn't even
install much less run. There's no good way for Wine developers to
debug the problems as it required a funded account for anyone to run
it.

Sorry, but I'd never risk REAL money trading a Windows app in like TS
in Wine, vmware, xen or anything else that the app wasn't specifically
written for. The very last thing I wanted to do with this thread is
create some sort of religious war. It's not my intent. I do however
STRONGLY support your right to become a full-time, fully automated
trader trading every day with your own money like I have. Then you'll
have the right to decide what to do with your money for real as
opposed to making suggestions about what I do with mine.

Yes, M$ wants us there, and you can go check the TS forums (or maybe
you can't if you don't have a trading account - I don't remember) to
find the 50 times I've asked TS to port their platform to any distro,
any revision of Linux. The number of people responding in the positive
is large, but TS has no visible intention of do it so I'm locked in.

Please, let's drop the M$ stuff from this discussion. R will like work
out nicely for me. I can run the trading on windows, because it's the
only practical solution, but I can share a drive over the network and
use R on Gentoo reading those files. Please don't assume that because
I use Windows that I prefer it. FAR FROM IT!

With best regards,
Mark



[gentoo-user] Re: [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread walt

On 06/28/2009 05:50 PM, Mark Knecht wrote:

On Sun, Jun 28, 2009 at 5:12 PM, waltw41...@gmail.com  wrote:

On 06/28/2009 10:16 AM, Mark Knecht wrote:


On Sun, Jun 28, 2009 at 10:09 AM, pkpete...@coolmail.sewrote:



Why Windows? I'm merely curious, not trying to criticize...



No offense taken. All the trading is done on the Windows platform
using proprietary trading platform apps. All the datafiles are
therefore sitting in Windows and it just seems easier...


So true, and that's exactly where M$ wants us.  I need to use a
couple of M$-specific apps for the same reason, and much to my
joy they both run very well on recent versions of wine.

I first tried wine years ago when it was running only 16-bit
windows apps and I gave it up as nothing more than a toy -- but
things have *really* changed since then!

Wine is a toy no longer, it's a powerful tool and I'd urge you
to play with it at for a week or two to see what it can do.

They have an apps database that lists popular windows programs
that are known to run under wine (or not) and what you need to do
to get them working.

http://appdb.winehq.org/

I don't see Trade Station listed there but you could be the first
one to get it working :-)


I used to be an app maintainer for wine. I know about it and support
it but no longer us it. I tried TS maybe a year ago. It wouldn't even
install much less run. There's no good way for Wine developers to
debug the problems as it required a funded account for anyone to run
it.

Sorry, but I'd never risk REAL money trading a Windows app in like TS
in Wine, vmware, xen or anything else that the app wasn't specifically
written for. The very last thing I wanted to do with this thread is
create some sort of religious war. It's not my intent. I do however
STRONGLY support your right to become a full-time, fully automated
trader trading every day with your own money like I have. Then you'll
have the right to decide what to do with your money for real as
opposed to making suggestions about what I do with mine.

Yes, M$ wants us there, and you can go check the TS forums (or maybe
you can't if you don't have a trading account - I don't remember) to
find the 50 times I've asked TS to port their platform to any distro,
any revision of Linux. The number of people responding in the positive
is large, but TS has no visible intention of do it so I'm locked in.

Please, let's drop the M$ stuff from this discussion. R will like work
out nicely for me. I can run the trading on windows, because it's the
only practical solution, but I can share a drive over the network and
use R on Gentoo reading those files. Please don't assume that because
I use Windows that I prefer it. FAR FROM IT!

With best regards,
Mark








[gentoo-user] Re: [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread walt

On 06/28/2009 05:50 PM, Mark Knecht wrote:


I used to be an app maintainer for wine. I know about it and support
it but no longer us it...


Thanks for contributing to the wine project!


 ...I do however
STRONGLY support your right to become a full-time, fully automated
trader trading every day with your own money like I have. Then you'll
have the right to decide what to do with your money for real as
opposed to making suggestions about what I do with mine.


I completely understand the hostility implied in your response and
I don't for one nanosecond take it personally.  I have just as much
hostility saved up for M$, but absolutely none of it directed at you.

I wish you every success with your new profession :-)




Re: [gentoo-user] Re: coexisting GCC versions

2009-06-28 Thread Alex Schuster
Roger Mason writes:

 Now gcc-config says:

 garnet ~ $ gcc-config -l
  [1] i686-pc-linux-gnu-4.1.1
  [2] i686-pc-linux-gnu-4.3.2 *

 Whereas gcc -v says:

 snip
 gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10)

 If there is something else that I need to do then I did not see it in
 the upgrade guide, so please, will someone enlighten me?

No, your steps worked fine for me.

What is your $PATH? (echo $PATH)

I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before /usr/i686-
pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes from. The directory 
usr/i486-pc-linux-gnu/gcc-bin does not exist, so it does not matter.

Also have a look in /etc/env.d/*gcc*, do these settings look okay? That's 
where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has the line 
PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it.

Wonko



Re: [gentoo-user]WAS lvm problem -- NOW sleep tweak?

2009-06-28 Thread Mike Kazantsev
On Sun, 28 Jun 2009 12:18:26 -0600
Maxim Wexler maxim.wex...@gmail.com wrote:

  Put it in localmount, not bootmisc, just before
  ebegin Mounting local filesystems
 
 No lvm but same problem: the two partitions sdb1, sdb2 aren't mounted
 during boot, but are mountable by hand following login.
 
 I added the sleep command to localmount and the partitions are now
 mounted during boot. But, only after some annoying ugliness.
 
 a bit of console output:
 
 *Checking all filesystems...
 fsck.ext2: No such file or directory while trying to open /dev/sdb1
 ...
 ditto /dev/sdb2
 ...
 *Operational error, continuing [!!]
 *Mounting local filesystems...  [ok]
 ...
 and so on to login.
 
 And yes the partitions are indeed mounted. But is this the best I can
 hope for. I hate seeing red during bootup ;(

You can:

1. Add that sleep to fsck (or any earlier script) instead of localmount.

2. Create separate initscript, say, disks-wait with nothing but sleep
  and either add it to sysinit runlevel or to boot, but with
  appropriate before dependencies, so fsck and localmount will run
  after it. Looks cleaner to me than the first way.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] finding qt plugins?

2009-06-28 Thread Roy Wright

Howdy,

On ~x86 did the upgrade to qt 4.5.2 and get the following message:

After a rebuild or upgrade of Qt, it can happen that Qt plugins (such  
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation  
you

should recompile the packages providing these plugins...

Packages that typically need to be recompiled are kdelibs from KDE4,  
any

additional KDE4/Qt4 styles, qscintilla and PyQt4...

Then followed the link on the plugins which stated:

The Qt library and all plugins are built using a build key. The build  
key in the Qt library is examined against the build key in the plugin,  
and if they match, the plugin is loaded. If the build keys do not  
match, then the Qt library refuses to load the plugin.


So how do I find all the installed qt plugins on my system and check  
their build keys?


TIA,
Roy



Re: [gentoo-user] finding qt plugins?

2009-06-28 Thread Dale
Roy Wright wrote:
 Howdy,

 On ~x86 did the upgrade to qt 4.5.2 and get the following message:

 After a rebuild or upgrade of Qt, it can happen that Qt plugins (such
 as Qt
 and KDE styles and widgets) can no longer be loaded. In this situation
 you
 should recompile the packages providing these plugins...

 Packages that typically need to be recompiled are kdelibs from KDE4, any
 additional KDE4/Qt4 styles, qscintilla and PyQt4...

 Then followed the link on the plugins which stated:

 The Qt library and all plugins are built using a build key. The build
 key in the Qt library is examined against the build key in the plugin,
 and if they match, the plugin is loaded. If the build keys do not
 match, then the Qt library refuses to load the plugin.

 So how do I find all the installed qt plugins on my system and check
 their build keys?

 TIA,
 Roy



I saw the same message on qt-4.5.1 and I just ran revdep-rebuild -i and
it said all was fine.  It has only been a few hours since the upgrade
but everything is working so far.

I did however go to single user then back up to default runlevel just to
make sure.  I wasn't sure if just restarting X was enough or not.

Dale

:-)  :-)