Re: [gentoo-user] burning HD mpeg4 to dvd

2009-04-18 Thread Paul Hartman
On Fri, Apr 17, 2009 at 11:08 PM, Joseph syscon...@gmail.com wrote:
 Anybody has any idea which package I need to recompile to get codecs:  mp4a
 avc1 ?

Okay, avc1 is H.264 which is massively CPU intensive, so that explains
your slow playback (especially for those huge resolutions). I think
mp4a is AAC. So for transcode I would be sure you have aac and
x264 USE flags set. If not, maybe that's why it is failing.



Re: [gentoo-user] Re: Seamonkey crashes on website.

2009-04-18 Thread Dale
Hartmut Figge wrote:
 Dale:

   
 If it still crashes after the upgrade today, I'm going to unmask
 Seamonkey2 and see what it looks like.
 

 One caveat. Your profile will be automatically migrated and you should
 be able to use SM2 or SM1. But for emails, if you fetch them with one SM
 they are no longer available for the other, unless

 [x] Leave messages on server

 Hartmut


   

Well, I figured out what my problem was after all.  It wasn't the
profile, it was gcc.  This is in another thread but I switched back to
gcc 4.1 and it recently finished recompiling Seamonkey and the website
loads up just fine now.  I can log in and view my cell phone account and
everything.

This is a rather weird ending.  Who would have thunk it?

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-18 Thread William Kenworthy
On Fri, 2009-04-17 at 17:35 -0500, Paul Hartman wrote:
 On Fri, Apr 17, 2009 at 4:42 PM, Mark Knecht markkne...@gmail.com wrote:
  On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
  paul.hartman+gen...@gmail.com wrote:
  On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
  This started as part of Michael's thread about Myth crashing.
  mythfrontend is segfaulting for me also, but my problem has spread to
  pretty much any application that tries to display video - mplayer,
  xine and Myth all crash with similar errors. Only xine doesn't crash X
  completely and leaves behind anything in terms of clues.
 
  It looks like maybe a problem with xv overlays. You can try using a
  different output driver than xv. Also, try adding AccelMethod to your
  device section in xorg.conf if you don't have it:
 
  Option AccelMethod XAA
 
  If that doesn't help, maybe try EXA instead of XAA.
 
  Also, if you're using anything like compiz of KDE4 desktop effects,
  try turning it off.
 
  Right now I don't have an xorg.conf file as the new xorg upgrade guide
  encourages you to dump it. I'm not overly comfortable with that and
  will likely try creating a new xorg or using my old one later. I'll
  try your idea as soon as I get to that.
 
 I'm not sure if video device options such as AccelMethod can be set
 via FDI... I think they may still belong in xorg.conf, just not input
 devices. I have nothing but the video device options in my xorg.conf
 :)
 
 Also as someone suggested in a similar thread recently, maybe give
 driconf a try as well.
 

No, driconf isnt helping me - vmware also does for me, and sometimes
after a tuxonice suspend to ram.  Almost seems to be anything creating a
heavy load and while accessing video on the i915.  In some cases I am
left with a X mouse cursor and that can move in xy, but not click.
Trying to ssh in and restart x doesnt work, and when rebooting the last
screen stays displayed (the original x window at the time of crash)
stays up until the warm start point is reached.  ive found 2.6.28 is
more stable than 2.6.29, but not by a lot ...

BillK






Re: [gentoo-user] [off-topic] RPM binary on Gentoo

2009-04-18 Thread Alex Schuster
Neil Bothwick writes:
 On Mon, 6 Apr 2009 06:41:53 +0100, Mick wrote:
  How can I use this on a gentoo machine (I understand that it won't be
  maintained by portage).

 Use rpm2targz to turn it into a tarball, then unpack it into your
 root filesystem (after first checking the contents).

Or into the /usr/local hierarchy to keep the stuff separated - who knows 
what this would overwrite. I would even consider using xstow for this:

emerge xstow
rpm2targz packageXXX.el5.i386.rpm
mkdir -p /usr/local/stow/packageXXX
tar -C /usr/local/stow/packageXXX -xf packageXXX.tgz
cd /usr/local/stow
xstow packageXXX

xtow creates symlinks, so /usr/local/stow/packageXXX/bin/foo will also be 
found in /usr/local/bin/foo, and so on. To uninstall, just call xstow -D 
packageXXX from /usr/lcoal/stow, and remove the packageXXX diretory.

Wonko



[gentoo-user] kernel build messages

2009-04-18 Thread Mick
Hi All,

I updated my kernel and this is what I got when I built it:

WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the 
variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.

I had to build it with CONFIG_DEBUG_SECTION_MISMATCH=y after it suggested that 
I do so to find where a subsection mismatch existed.  I am probably confusing 
myself unnecessarily, but is there anything I should do about this message?
-- 
Regards,
Mick



Re: [gentoo-user] Battery knock out

2009-04-18 Thread Mick
On Friday 17 April 2009, W.Kenworthy wrote:
 Yes, try equery f app-laptop/laptop-mode-tools to find all the files
 involved - its quite extensive.

Ha!  I remember ... I had to uninstall this package because it kept spinning 
my hard drive down.  mplayer will pause momentarily (very annoying) and the 
life of the hard drive would probably be reduced considerably.  Given that 
this is a rather old laptop I decided not to risk it.
-- 
Regards,
Mick



Re: [gentoo-user] [OT] Gentoo/GMail/download to Evolution

2009-04-18 Thread Mick
On Friday 17 April 2009, Paul Hartman wrote:
 On Fri, Apr 17, 2009 at 12:37 PM, Mark Knecht markkne...@gmail.com wrote:
He has just started switching from Time-Warner's Roadrunner cable
  modem service to Verizon's FIOS. His new link is up and his speed is
  very nice. (20Mb/S downlaod, 5Mb/S upload using Speakeasy.net to
  test.)  The issue he is running into is that Roadrunner's SMTP server
  is not allowing him to send email, presumably because he's not on one
  of their IP address.

Does RR offer SMTP authentication to allow legit senders to login before they 
can send messages?  They may also require that you use a different port when 
you are trying to connect to their mailserver from an IP address that does 
not belong to them (e.g. port 587, instead of the vanilla SMTP port 25).

 It could also be Verizon blocking you from connecting to other SMTP
 servers, to prevent spam. 

I know that some US ISPs are blocking port 25 just for this reason (there's 
many pwned machines spewing spam out there) even from IP addresses that 
belong to them.  Some, like comcast, will only block port 25 if they see 
unreasonably high traffic over short periods of time.  Others block it right 
from the word go.

 You very well may be able to sent RR email 
 through Verizon's server. 

I think that this is what ISPs want, to control the flow of emails and so 
hopefully minimise spam from their block of IP addresses.  If your father has 
a Verizon account then you should be able to set your SMART_HOST and 
appropriate port to send (relay) emails via Verizon's mailservers if you're 
using Sendmail, or configure your father's mail client accordingly.

Anyway, he's thinking I need to convert him over to a Verizon email
  address but I was thinking that if he could continue using Evolution
  but send and receive through GMail it would be a better long term
  solution.

 I think it is good advice to everyone to avoid using ISP e-mail
 accounts. 

+1

Is this a good idea and more importantly is this possible? What
  sort of issues will I have managing this for him.

 Assuming he doesn't have any exotic e-mail scripts or folder structure
 going on, I would use Gmail with IMAP, then he'll be able to access
 his email at home and have the ability to check it via the web in case
 he's ever out and about and needs access.

I suggest you use POP3 unless your father has reasons (as mentioned above) for 
using IMAP4.  The latter is not as efficient (data wise) as POP3, but adds 
functional flexibility and acts as an online mailbox back up, just in case 
your father's PC/disk packs up.

Once you set gmail as you want it and enable POP3/IMAP4 access for him on the 
gmail GUI, their system is essentially maintenance free.  It is also more 
likely to outdo your ISP performance in terms of uptime (although there have 
been a couple of instances lately with gmail servers becoming unavailable).
-- 
Regards,
Mick



Re: [gentoo-user] kernel upgrade error

2009-04-18 Thread Alex Schuster
김무성 writes:

 For installing vmware

 My kernel version is 2.6.24-gentoo-r5. But I have no source files.

 So I downloaded source files. But that’s version 2.6.27-gentoo-r8.

 When I installed vmware, it told me kernel version and kernel source
 files’ version no match.

 I have to kernel upgrade.

 I entered “genkernel all”

 And vi /boot/grub/grub.conf
[...]
 And reboot.

 But can’t boot.

 There is an error.

  Determining root device...

 !! Could not find the root block device in .

I think you will have to re-configure your kernel. The SATA drivers have 
moved into another section, have a look at the Device 
Drivers - Serial ATA section. If kernel configuration is new to you, 
you can also boot from a knoppix live cd, and get the kernel config 
from /proc/config.gz.
Or install an older kernel, 2.6.24-r8 is still in portage. It is outdated, 
but at least your old .config (assuming you still have it, either on your 
hard desk or in /proc/config.gz) would probably work.

Wonko



Re: [gentoo-user] unable to shutdown or halt cleanly (console-kit and esd not killed)

2009-04-18 Thread Eric Martin
Allan Gottlieb wrote:
 At Fri, 10 Apr 2009 17:36:24 -0400 Eric Martin freak4u...@gmail.com wrote:
 
 Do you have any nfs mounts?  I find that I have problems shutting down
 as well and I suspect it's because I'm turning off eth0 before
 unmounting my shares.  I need to do more research though so I can back
 this up.
 
 Yes I have an nsf mount, but it seems to be unmounting.  The problem is
 definitely that console-kit-daemon does not die and thus has open files
 in usr so it can't be unmounted.
 
 (I am using LVM2)
 
 thanks for you help,
 allan
 

I'm running LVM as well and I have nfs but I didn't know until I just
looked.  Lately it's been working ok so next time it happens I'll check
if that daemon is running.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


[gentoo-user] xfce and screen resolution

2009-04-18 Thread Michael Sullivan
A few months ago my wife switched from gnome to xfce because gnome was
just too slow. I performed the X upgrade on her computer last night, and
now she can't get her usual screen resolution of 1024x768 because it's
not on the list.  Is there a way I can get it on the list?  She
doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
recommended getting rid of it.  Several sites on the 'Net suggested
using the xf86Config file, but she doesn't seem to have one.  




[gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Robin Atwood
I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed from 
portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0 since I had 
higher versions masked. I use www-plugins/nspluginwrapper-1.0.0 with 
konqueror-3.5.10; when I tried to upgrade it the latest version just 
segfaults so I have masked that. adobe-flash-9.0.159.0 now just causes 
konqueror to freeze and 10.0.22.87 segfaults. Anyone having any success with 
this?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--












Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Alan McKinnon
On Saturday 18 April 2009 17:11:36 Robin Atwood wrote:
 I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed
 from portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0
 since I had higher versions masked. I use www-plugins/nspluginwrapper-1.0.0
 with konqueror-3.5.10; when I tried to upgrade it the latest version just
 segfaults so I have masked that. adobe-flash-9.0.159.0 now just causes
 konqueror to freeze and 10.0.22.87 segfaults. Anyone having any success
 with this?

I also could never get the 64bit flash to work wiith konqueror-3.5, and 
nspluginwrapper simply never ever worked at all for me. I had to use firefox 
to view flash.

Latest adobe-flash is 64 bit and works well in konqueror-4.2. Top reports 
around 10% cpu usage when idle, but that's probably more due to a stupid 
blocking IO strategy by Adobe than anything else.

So as I see it your choices are:

firefox
kde-4

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Robin Atwood
On Saturday 18 Apr 2009, Alan McKinnon wrote:
 On Saturday 18 April 2009 17:11:36 Robin Atwood wrote:
  I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed
  from portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0
  since I had higher versions masked. I use
  www-plugins/nspluginwrapper-1.0.0 with konqueror-3.5.10; when I tried to
  upgrade it the latest version just segfaults so I have masked that.
  adobe-flash-9.0.159.0 now just causes konqueror to freeze and 10.0.22.87
  segfaults. Anyone having any success with this?

 I also could never get the 64bit flash to work wiith konqueror-3.5, and
 nspluginwrapper simply never ever worked at all for me. I had to use
 firefox to view flash.

 Latest adobe-flash is 64 bit and works well in konqueror-4.2. Top reports
 around 10% cpu usage when idle, but that's probably more due to a stupid
 blocking IO strategy by Adobe than anything else.

 So as I see it your choices are:

 firefox
 kde-4

I don't use KDE4 and firefox also freezes. :(

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] burning HD mpeg4 to dvd

2009-04-18 Thread Joseph

On 04/18/09 02:10, Paul Hartman wrote:

On Fri, Apr 17, 2009 at 11:08 PM, Joseph syscon...@gmail.com wrote:

Anybody has any idea which package I need to recompile to get codecs:  mp4a
avc1 ?


Okay, avc1 is H.264 which is massively CPU intensive, so that explains
your slow playback (especially for those huge resolutions). I think
mp4a is AAC. So for transcode I would be sure you have aac and
x264 USE flags set. If not, maybe that's why it is failing.


I just compiled new transcode-1.1.2 with acc and x264 
transcode-1.1.2  USE=X a52 aac alsa dv dvd iconv jpeg mmx mp3 ogg quicktime sdl sse sse2 truetype vorbis x264 xml xvid -3dnow (-altivec) -imagemagick -lzo 
-mjpeg -nuv -oss -postproc -theora -v4l2


but transcode still fails:

transcode -i sany0002_1.mp4 -M1 -y ffmpeg --export_prof dvd-ntsc --export_asr 2 
-o movie -D0 -m movie.ac3 -J modfps=clonetype=4 --export_fps 29.97
transcode v1.1.2 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
[codecs] Warning: Could not find video Decoder for fourcc avc1
[codecs] Warning: quicktime_decode_video_stub called
[codecs] Warning: Could not find video Decoder for fourcc avc1
[codecs] Warning: quicktime_decode_video_stub called
[transcode] V: auto-probing | sany0002_1.mp4 (OK)
[transcode] V: import format| (null) in QuickTime (module=mov)
[transcode] A: auto-probing | sany0002_1.mp4 (OK)
[transcode] A: import format| PCM in QuickTime (module=mov)
[transcode] V: AV demux/sync| (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 1920x1080  1.78:1  encoded @ 16:9
[transcode] V: pre clip frame   | 1920x1440 (-180,0,-180,0)
[transcode] V: zoom | 720x480  2.00:1 (Lanczos3)
[transcode] V: bits/pixel   | 0.087 (low)
[transcode] V: decoding fps,frc | 59.940,7
[transcode] V: video format | YUV420 (4:2:0) aka I420
[transcode] A: import format| 0x1 PCM  [48000,16,2]
[transcode] A: export format| 0x55MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format| unknown (module dependant)
[transcode] V: encoding fps,frc | 29.970,4
[transcode] A: bytes per frame  | 6408 (6406.40)
[transcode] A: adjustment   | -1...@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx cmove 
asm
[transcode] V: video buffer | 10 @ 1920x1080 [0x2]
[transcode] A: audio buffer | 10 @ 48000x2x16
[import_mov.so] v0.1.3 (2005-12-04) (video) * | (audio) *
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 59.9401fps to 29.9700fps
[export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc52.11.0 | (audio) 
MPEG/AC3/PCM
[codecs] Warning: Could not find video Decoder for fourcc avc1
[codecs] Warning: quicktime_decode_video_stub called
[import_mov.so] codec=mp4a, rate=48000 Hz, bits=16, channels=2, samples=912384
[codecs] Warning: Could not find video Decoder for fourcc avc1
[codecs] Warning: quicktime_decode_video_stub called
[import_mov.so] VIDEO: codec=avc1, fps=59.940, width=1920, height=1080, 
frames=1140
[import_mov.so] warning: quicktime codec 'avc1' not supported for RGB!
[transcode] critical: video import module error: OPEN failed
[transcode] critical: failed to open input source

tovid fails as well.

--
Joseph



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Alan McKinnon
On Saturday 18 April 2009 17:30:38 Robin Atwood wrote:
   So as I see it your choices are:
  firefox
  kde-4

 I don't use KDE4 and firefox also freezes. :(

flash and firefox works, so you have to find why it's bailing on your system. 
What console errors or log messages do you have? Anything in elog alerts that 
might provide a clue?

You could also try swfdec or gnash if you know you don't need the latest and 
greatest flash features.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread KH
Robin Atwood schrieb:
 I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed from 
 portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0 since I had 
 higher versions masked. I use www-plugins/nspluginwrapper-1.0.0 with 
 konqueror-3.5.10; when I tried to upgrade it the latest version just 
 segfaults so I have masked that. adobe-flash-9.0.159.0 now just causes 
 konqueror to freeze and 10.0.22.87 segfaults. Anyone having any success with 
 this?
 
 TIA
 -Robin

Hi,

with the amd64 version of flah there is no need for
www-plugins/nspluginwrapper, is there? Did you emerge adobe-flash with
USE Flag -32bit ?

kh



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Robin Atwood
On Saturday 18 Apr 2009, Alan McKinnon wrote:
 On Saturday 18 April 2009 17:30:38 Robin Atwood wrote:
So as I see it your choices are:
   firefox
   kde-4
 
  I don't use KDE4 and firefox also freezes. :(

 flash and firefox works, so you have to find why it's bailing on your
 system. What console errors or log messages do you have? Anything in elog
 alerts that might provide a clue?

 You could also try swfdec or gnash if you know you don't need the latest
 and greatest flash features.

You're right, firefox works with the latest 64 bit version of flash. I will 
use that when necessary. Thanks!

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] burning HD mpeg4 to dvd

2009-04-18 Thread Paul Hartman
On Sat, Apr 18, 2009 at 10:41 AM, Joseph syscon...@gmail.com wrote:
 On 04/18/09 02:10, Paul Hartman wrote:

 On Fri, Apr 17, 2009 at 11:08 PM, Joseph syscon...@gmail.com wrote:

 Anybody has any idea which package I need to recompile to get codecs:
  mp4a
 avc1 ?

 Okay, avc1 is H.264 which is massively CPU intensive, so that explains
 your slow playback (especially for those huge resolutions). I think
 mp4a is AAC. So for transcode I would be sure you have aac and
 x264 USE flags set. If not, maybe that's why it is failing.

 I just compiled new transcode-1.1.2 with acc and x264 transcode-1.1.2
  USE=X a52 aac alsa dv dvd iconv jpeg mmx mp3 ogg quicktime sdl sse sse2
 truetype vorbis x264 xml xvid -3dnow (-altivec) -imagemagick -lzo -mjpeg
 -nuv -oss -postproc -theora -v4l2

 but transcode still fails:

 transcode -i sany0002_1.mp4 -M1 -y ffmpeg --export_prof dvd-ntsc
 --export_asr 2 -o movie -D0 -m movie.ac3 -J modfps=clonetype=4 --export_fps
 29.97
 transcode v1.1.2 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
 [codecs] Warning: Could not find video Decoder for fourcc avc1
 [codecs] Warning: quicktime_decode_video_stub called
 [codecs] Warning: Could not find video Decoder for fourcc avc1
 [codecs] Warning: quicktime_decode_video_stub called
 [transcode] V: auto-probing | sany0002_1.mp4 (OK)
 [transcode] V: import format| (null) in QuickTime (module=mov)
 [transcode] A: auto-probing | sany0002_1.mp4 (OK)
 [transcode] A: import format| PCM in QuickTime (module=mov)
 [transcode] V: AV demux/sync| (1) sync AV at initial MPEG sequence
 [transcode] V: import frame | 1920x1080  1.78:1  encoded @ 16:9
 [transcode] V: pre clip frame   | 1920x1440 (-180,0,-180,0)
 [transcode] V: zoom | 720x480  2.00:1 (Lanczos3)
 [transcode] V: bits/pixel   | 0.087 (low)
 [transcode] V: decoding fps,frc | 59.940,7
 [transcode] V: video format | YUV420 (4:2:0) aka I420
 [transcode] A: import format| 0x1 PCM  [48000,16,2]
 [transcode] A: export format| 0x55MPEG ES Layer 3 [48000,16,2]  128
 kbps
 [transcode] V: export format| unknown (module dependant)
 [transcode] V: encoding fps,frc | 29.970,4
 [transcode] A: bytes per frame  | 6408 (6406.40)
 [transcode] A: adjustment   | -1...@1000
 [transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx
 cmove asm
 [transcode] V: video buffer | 10 @ 1920x1080 [0x2]
 [transcode] A: audio buffer | 10 @ 48000x2x16
 [import_mov.so] v0.1.3 (2005-12-04) (video) * | (audio) *
 [filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
 [filter_modfps.so] converting from 59.9401fps to 29.9700fps
 [export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc52.11.0 | (audio)
 MPEG/AC3/PCM
 [codecs] Warning: Could not find video Decoder for fourcc avc1
 [codecs] Warning: quicktime_decode_video_stub called
 [import_mov.so] codec=mp4a, rate=48000 Hz, bits=16, channels=2,
 samples=912384
 [codecs] Warning: Could not find video Decoder for fourcc avc1
 [codecs] Warning: quicktime_decode_video_stub called
 [import_mov.so] VIDEO: codec=avc1, fps=59.940, width=1920, height=1080,
 frames=1140
 [import_mov.so] warning: quicktime codec 'avc1' not supported for RGB!
 [transcode] critical: video import module error: OPEN failed
 [transcode] critical: failed to open input source

 tovid fails as well.

Hmm, I'm not sure... is this file (or one like it) available online
anywhere that I could see if it works on my machine?



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Paul Hartman
On Sat, Apr 18, 2009 at 10:11 AM, Robin Atwood
robin.atw...@attglobal.net wrote:
 I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed from
 portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0 since I had
 higher versions masked. I use www-plugins/nspluginwrapper-1.0.0 with
 konqueror-3.5.10; when I tried to upgrade it the latest version just
 segfaults so I have masked that. adobe-flash-9.0.159.0 now just causes
 konqueror to freeze and 10.0.22.87 segfaults. Anyone having any success with
 this?

On my system, when I did etc-update it automagically renamed
netscape-flash to adobe-flash in my /etc/portage/package* files.
Emerge flash with -32bit use flag and it should work without need for
nspluginwrapper. That includes in Konqueror.



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Robin Atwood
On Saturday 18 Apr 2009, KH wrote:
 Robin Atwood schrieb:
  I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed
  from portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0
  since I had higher versions masked. I use
  www-plugins/nspluginwrapper-1.0.0 with konqueror-3.5.10; when I tried to
  upgrade it the latest version just segfaults so I have masked that.
  adobe-flash-9.0.159.0 now just causes konqueror to freeze and 10.0.22.87
  segfaults. Anyone having any success with this?
 
  TIA
  -Robin

 Hi,

 with the amd64 version of flah there is no need for
 www-plugins/nspluginwrapper, is there? Did you emerge adobe-flash with
 USE Flag -32bit ?

No, but re-emerging it with -32bit makes no difference with konqueror, it 
still segfaults. Firefox works fine, however.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Jacques Montier
Michael Sullivan a gentiment tapote:
 A few months ago my wife switched from gnome to xfce because gnome was
 just too slow. I performed the X upgrade on her computer last night, and
 now she can't get her usual screen resolution of 1024x768 because it's
 not on the list.  Is there a way I can get it on the list?  She
 doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
 recommended getting rid of it.  Several sites on the 'Net suggested
 using the xf86Config file, but she doesn't seem to have one.  



   
I upgraded to xorg-server-1.5 but i kept my xorg.conf with the Section
Monitor, the ATI Section Device and Section Screen.
In the Subsection Display, i put the good screen mode for my monitor
(1600x1200 ).
Xfce works fine with the good resolution. You could try with 1024x768
resolution.

Cheers,

--
Jacques






Re: [gentoo-user] audio convert splitter etc...

2009-04-18 Thread Vasya Volkov

Mike Kazantsev пишет:

On Tue, 31 Mar 2009 00:40:17 +0400
Vasya Volkov my.pipes.b...@gmail.com wrote:

  

Hello.
Can you suggest some simple program which can make these functions: 
1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 
3)cutting parts of audio files? Please with overlay if one there is.





I use following simple script for flac-mp3 conversion:
=
#!/bin/bash

lame_opts=--vbr-new -V 2 -B 256

for FLAC in $@; do

MP3=`basename ${FLAC%.flac}.mp3`

TAGS=TITLE TRACKNUMBER GENRE DATE COMMENT ARTIST ALBUM\
Title Tracknumber Genre Date Comment Artist Album
for VAR in $TAGS; do eval $VAR=''; done

eval $(metaflac --export-tags-to=- $FLAC | sed 's/=\(.*\)/=\1/')

[ -z $TITLE ]  TITLE=$Title
[ -z $TRACKNUMBER ]  TRACKNUMBER=$Tracknumber
[ -z $GENRE ]  GENRE=$Genre
[ -z $DATE ]  DATE=$Date
[ -z $COMMENT ]  COMMENT=$Comment
[ -z $ARTIST ]  ARTIST=$Artist
[ -z $ALBUM ]  ALBUM=$Album

echo Converting $FLAC to mp3: $MP3

flac -c -d $FLAC | lame $lame_opts - $MP3

id3tag \
--artist=$ARTIST \
--album=$ALBUM \
--song=$TITLE \
--track=$TRACKNUMBER \
--genre=$GENRE \
--year=$DATE \
--comment=$COMMENT \
$MP3

done
=

Script actually depends on following packages (main tree):
  media-libs/flac
  media-libs/id3lib
  media-sound/lame



I'm sorry for posting following on the list, since it's non-english.
Just disregard the rest of the message, please :)

Concerning ape, there were some suggestions in (quite recent) ape 2
wav (flac) thread on gentoo-user-ru mailing list:
http://archives.gentoo.org/gentoo-user-ru/msg_060cfe116536e31d0b823d7d5117e999.xml
Also, check out this link (if you haven't stumbled upon it already):
http://engraver.wordpress.com/2009/01/03/monkeys-audio-ape-cue-%D0%B2-gentoo/

  

Thanks. That's good. But can you suggest programm to convert wav to mp3?



Re: [gentoo-user] Adobe Air and TweetDeck

2009-04-18 Thread Drew Tomlinson
Alan McKinnon wrote:

Thanks for your reply.

 On Thursday 16 April 2009 03:00:59 Drew Tomlinson wrote:
   
 Has anyone had luck installing Adobe Air and TweetDeck on Gentoo?  I
 followed
 http://www.flashinthepan.ca/computer-tips/linux-computer-tips/adobe-air-on-
 gentoo-linux to get the SDK installed and attempted to run TweetDeck 0.25. 
 It starts but I get a lot of errors.  Has anyone had luck getting this
 working?
 

 never heard of the product, but:

   
 # /opt/AIR-SDK/bin/adl
 /opt/AIR-apps/TweetDeck/META-INF/AIR/application.xml
 /opt/AIR-apps/TweetDeck Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 

This file does not exist.  I Googled in an attempt to find which port
contains this library but was unsuccessful.  However this bug report
suggests this is a cosmetic error only.

http://bugs.gentoo.org/217094

 Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so:
 cannot open shared object file: No such file or directory
 Gtk-Message: Failed to load module canberra-gtk-module:
 

This is interesting:

 # find / -iname libcanberra-gtk-module.so
find: ftsfind.c:475: consider_visiting: Assertion `state.type != 0' failed.
Aborted
# find / -iname libcanberra-gtk-module.so
find: ftsfind.c:475: consider_visiting: Assertion `state.type != 0' failed.
Aborted

But I did find it here:

/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so


 libcanberra-gtk-module.so: cannot open shared object file: No such file
 or directory
 I/O warning : failed to load external entity
 /etc/opt/Adobe/certificates/crypt//config.xml
 Unable to parse Document: /etc/opt/Adobe/certificates/crypt//config.xml.
 libgnome-keyring.so: cannot open shared object file: No such file or
 

 It's obviously complaining about missing libraries. Do these files exist 
 anywhere on your machine?

 You may have to add entries to /etc/env.d and run env-update.
   

What might I need to add?  I looked in the directory and found lots of
files.  Thus I suspect I need to create a file and add the proper line. 
Would it be some sort of LD_PATH= line?

 Looks like a classic case of Adobe *nix-cluelessness
   
Combined with my classic *nix-cluelessness regarding libraries and
paths...  :)

Thanks for your help!

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] Adobe Air and TweetDeck

2009-04-18 Thread Alan McKinnon
On Saturday 18 April 2009 18:43:17 Drew Tomlinson wrote:
   You may have to add entries to /etc/env.d and run env-update.

   

 What might I need to add?  I looked in the directory and found lots of
 files.  Thus I suspect I need to create a file and add the proper line.
 Would it be some sort of LD_PATH= line?

Yes, that's how you do it. env-update goes through all files it finds in 
/etc/env.d/ and adds all the LDPATH statements together to create one large 
environment variable. The order of these paths are important as they are 
searched in the order they appear in the environment variable. So the files in 
/etc/env.d/ have two digits in front of the name so you can order them the way 
you want. Files starting with 00 are done first, 99 last

  Looks like a classic case of Adobe *nix-cluelessness
   

 Combined with my classic *nix-cluelessness regarding libraries and
 paths...  :)

LDPATH works the same way as PATH, it just applies to finding libraries. PATH 
applies to finding programs.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Robert Bridge

Michael Sullivan wrote:

A few months ago my wife switched from gnome to xfce because gnome was
just too slow. I performed the X upgrade on her computer last night, and
now she can't get her usual screen resolution of 1024x768 because it's
not on the list.  Is there a way I can get it on the list?  She
doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
recommended getting rid of it.  Several sites on the 'Net suggested
using the xf86Config file, but she doesn't seem to have one.  
  


Is there an entry, default, at the top of the list? What resolution is 
it using for that?


I had a similar problem with XFCE until I realised that default was 
the setting I wanted.


RobbieAB



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Robin Atwood
On Saturday 18 Apr 2009, Paul Hartman wrote:
 On Sat, Apr 18, 2009 at 10:11 AM, Robin Atwood

 robin.atw...@attglobal.net wrote:
  I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed
  from portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0
  since I had higher versions masked. I use
  www-plugins/nspluginwrapper-1.0.0 with konqueror-3.5.10; when I tried to
  upgrade it the latest version just segfaults so I have masked that.
  adobe-flash-9.0.159.0 now just causes konqueror to freeze and 10.0.22.87
  segfaults. Anyone having any success with this?

 On my system, when I did etc-update it automagically renamed
 netscape-flash to adobe-flash in my /etc/portage/package* files.
 Emerge flash with -32bit use flag and it should work without need for
 nspluginwrapper. That includes in Konqueror.

I unmerged nspluginwrapper but flash still segfaults with konqueror.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread Volker Armin Hemmann
On Samstag 18 April 2009, KH wrote:
 Robin Atwood schrieb:
  I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed
  from portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0
  since I had higher versions masked. I use
  www-plugins/nspluginwrapper-1.0.0 with konqueror-3.5.10; when I tried to
  upgrade it the latest version just segfaults so I have masked that.
  adobe-flash-9.0.159.0 now just causes konqueror to freeze and 10.0.22.87
  segfaults. Anyone having any success with this?
 
  TIA
  -Robin

 Hi,

 with the amd64 version of flah there is no need for
 www-plugins/nspluginwrapper, is there? Did you emerge adobe-flash with
 USE Flag -32bit ?

well, it still has the advantage that flash can crash as much as it wants with 
the wrapper without affecting konqueror.

That said nspluginwrapper-1.2.2 sucks.





Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Jacques Montier
Robert Bridge a gentiment tapote:
 Michael Sullivan wrote:
 A few months ago my wife switched from gnome to xfce because gnome was
 just too slow. I performed the X upgrade on her computer last night, and
 now she can't get her usual screen resolution of 1024x768 because it's
 not on the list.  Is there a way I can get it on the list?  She
 doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
 recommended getting rid of it.  Several sites on the 'Net suggested
 using the xf86Config file, but she doesn't seem to have one.

 Is there an entry, default, at the top of the list? What resolution is
 it using for that?

 I had a similar problem with XFCE until I realised that default was
 the setting I wanted.

 RobbieAB


I think that the default setting in Xfce depends on the first Mode in
the  Subsection Display of xorg.conf.
But i may be wrong...

--
Jacques




Re: [gentoo-user] Re: Some hints about evdev versus xorg and your mouse and keyboard

2009-04-18 Thread Alex Schuster
Neil Bothwick writes:

 On Fri, 10 Apr 2009 18:09:22 -0500, Dale wrote:
   I wonder if magic sysrq would have worked? I don't think I tried it
   when my keyboard became dead.

 It should do, because that goes direct to th kernel, and it is only X
 that cannot read the keyboard.

  I couldn't find where I wrote those key sequences down so I couldn't
  try that.

When you find them, put them right to your note about the softlevel=single 
stuff.

 There are some strange mnemonics involving elephants, that are harder
 to remember than the key sequence. The easy way to remember the full
 sequence is BUSIER backwards.

Actually, for me Raising Elefants Is So Utterly Boring is somehow easier 
to remember than to invert a word in my mind :)

 Alt+SysRq+R-E-I-S-U-B

After Alt+SysRq+R, the keyboard became working again for me and I could 
switch back to the consoles with Ctrl+Alt+Fn. I used this A LOT of times 
the last days.

Wonko



Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Robert Bridge

Jacques Montier wrote:

I had a similar problem with XFCE until I realised that default was
the setting I wanted.

RobbieAB


I think that the default setting in Xfce depends on the first Mode in
the  Subsection Display of xorg.conf.
But i may be wrong...


I didn't have any modes in xorg.conf, the driver was generating them 
automagically from the EDID.


RobbieAB.



Re: [gentoo-user] burning HD mpeg4 to dvd

2009-04-18 Thread Joseph

On 04/18/09 11:19, Paul Hartman wrote:

Hmm, I'm not sure... is this file (or one like it) available online
anywhere that I could see if it works on my machine?


Paul, I've sent you a link to that video if you want to check it out. 


--
Joseph



Re: [gentoo-user] Re: Some hints about evdev versus xorg and your mouse and keyboard

2009-04-18 Thread Dale
Alex Schuster wrote:
 Neil Bothwick writes:

   
 On Fri, 10 Apr 2009 18:09:22 -0500, Dale wrote:
 
 I wonder if magic sysrq would have worked? I don't think I tried it
 when my keyboard became dead.
 
 It should do, because that goes direct to th kernel, and it is only X
 that cannot read the keyboard.

 
 I couldn't find where I wrote those key sequences down so I couldn't
 try that.
   

 When you find them, put them right to your note about the softlevel=single 
 stuff.

   
 There are some strange mnemonics involving elephants, that are harder
 to remember than the key sequence. The easy way to remember the full
 sequence is BUSIER backwards.
 

 Actually, for me Raising Elefants Is So Utterly Boring is somehow easier 
 to remember than to invert a word in my mind :)

   
 Alt+SysRq+R-E-I-S-U-B
 

 After Alt+SysRq+R, the keyboard became working again for me and I could 
 switch back to the consoles with Ctrl+Alt+Fn. I used this A LOT of times 
 the last days.

   Wonko


   

Well, I just printed this email out on paper.  I'll stick it on my wall
by my puter and maybe that will help.

Dale

:-)  :-) 



Re: [gentoo-user] burning HD mpeg4 to dvd

2009-04-18 Thread Joseph

On 04/18/09 14:20, Paul Hartman wrote:

Hi,

I can confirm that tovid failed for me as well. However, this mencoder
commandline seems to have created a working DVD-compatible mpg file
(PAL):

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:acodec=ac3:abitrate=192
-ofps 25 -o sany0002_1.mpg sany0002_1.mp4

(googled and stolen from linux.com)

From there you should be able to use one of the many GUI dvd-creation
tools to make it into a proper DVD ISO image that you can burn. Or you
can do it manually by following the rest of the tutorial:

http://www.linux.com/articles/53702


Yes, menucode works, but I get a lot of:
...
[h264 @ 0x14d63f0]AVC: Consumed only 38409 bytes instead of 38412 [5051:192]
[h264 @ 0x14d63f0]AVC: Consumed only 38936 bytes instead of 38940 [5051:192]
[h264 @ 0x14d63f0]AVC: Consumed only 19301 bytes instead of 19308 [5050:192]
...

Have to investigate what is it?
Thanks for your help.

--
Joseph



Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Michael Sullivan
On Sat, 2009-04-18 at 18:03 +0100, Robert Bridge wrote:
 Michael Sullivan wrote:
  A few months ago my wife switched from gnome to xfce because gnome was
  just too slow. I performed the X upgrade on her computer last night, and
  now she can't get her usual screen resolution of 1024x768 because it's
  not on the list.  Is there a way I can get it on the list?  She
  doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
  recommended getting rid of it.  Several sites on the 'Net suggested
  using the xf86Config file, but she doesn't seem to have one.  

 
 Is there an entry, default, at the top of the list? What resolution is 
 it using for that?
 
I don't know what resolution default is.It doesn't say.  How do I
find out?
 I had a similar problem with XFCE until I realised that default was 
 the setting I wanted.
 
 RobbieAB
 




Re: [gentoo-user] I don't like xorg-server 1.5.3

2009-04-18 Thread Walter Dnes
On Mon, Apr 13, 2009 at 11:36:52AM -0400, Michael P. Soulier wrote
 On 13/04/09 Peter Ruskin said:
 
   Any reason to use -hal?
  
  I don't like hal.  I prefer the traditional linux way of mounting 
  stuff when I want to.
 
 On my workstation, so do I, but xorg 1.5 works fine if you follow the
 instructions and rebuild the relevant input drivers.
 
 msoul...@anton:~$ equery list | grep x11-drivers/
 x11-drivers/nvidia-drivers-173.14.15
 x11-drivers/xf86-input-keyboard-1.3.2
 x11-drivers/xf86-input-mouse-1.4.0

ELVISThank you, thank you, thank you verrry verrry much/ELVIS

  Reading your message saved me uploading a big bunch of diagnostics
because X had stopped working, i.e. it crashed on launch from startx.  I
now have X working again.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] pdf thumbnailer

2009-04-18 Thread Liviu Andronic
Guys,
Does anyone know a .pdf thumbnailer? I work in R, and I save my graphs
in PDF format (quality, compatibility, etc.). However one culprit is
that it is cumbersome to navigate .pdf files; it ain't similar to
opening all images in an image viewer (say, mirage), and switching
from one image to another. To work around, I'm currently using Thunar
in Icon view with max zoom-in, but I'd still prefer a less hack-ish
solution.
If you know of any, please post it here. Best,
Liviu



Re: [gentoo-user] audio convert splitter etc...

2009-04-18 Thread Liviu Andronic
On Mon, Mar 30, 2009 at 10:40 PM, Vasya Volkov my.pipes.b...@gmail.com wrote:
 Hello.
 Can you suggest some simple program which can make these functions:
 1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 3)cutting
 parts of audio files? Please with overlay if one there is.


There are:
media-sound/soundconverter
media-sound/audacity

Liviu

-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: [gentoo-user] pdf thumbnailer

2009-04-18 Thread Philip Webb
090418 Liviu Andronic wrote:
 Does anyone know a .pdf thumbnailer?

Kpdf gives previews in its side index panel : I find it very useful.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] CUPS setup with Lexmark e322

2009-04-18 Thread Saphirus Sage
The printer is old and seemingly unsupported in most areas as I could
not find a Windows or Mac OSX driver, and none of the linux drivers have
worked. I've tried ghostscript's ljet4, the various Postscript PCLs;
actually, I've tried every one of them. I've established a proper
connection, and that it is indeed using ipp. It's connected to the
router, so the URI is just ipp://10.0.1.1:9100, it's very straight
forward. However, it's just been spitting out printed information with
each connection, so I've had to stop CUPS after a couple minutes, just
to make it stop printing random garbage.

Now, the printer is unusable from the Mac and Linux machines in the
house, where it was at one time working from the Mac. Suggestions for a
proper setup and driver?



Re: [gentoo-user] pdf thumbnailer

2009-04-18 Thread Paul Hartman
On Sat, Apr 18, 2009 at 3:24 PM, Liviu Andronic landronim...@gmail.com wrote:
 Guys,
 Does anyone know a .pdf thumbnailer? I work in R, and I save my graphs
 in PDF format (quality, compatibility, etc.). However one culprit is
 that it is cumbersome to navigate .pdf files; it ain't similar to
 opening all images in an image viewer (say, mirage), and switching
 from one image to another. To work around, I'm currently using Thunar
 in Icon view with max zoom-in, but I'd still prefer a less hack-ish
 solution.
 If you know of any, please post it here. Best,
 Liviu

You can use convert from imagemagick to resize to thumbnail size and
save as a different file format.



[gentoo-user] question about portage capabilities

2009-04-18 Thread Denis
Hello all,

I am using a package called Rasmol, which is used for visualization of
molecular structures.  This software uses a certain table for atomic
sizes, and I need to change some values in that table - it is stored
in a header file within Rasmol source code.  There is an ebuild for
Rasmol, and it works fine - but what I'm wondering is how I can tell
portage to STOP once it unpacks Rasmol in the temporary work directory
- so I can tweak some things in the source code - and then resume the
build, using what's already in the work directory.  Looking at a
manpage for emerge, I didn't immediately get any creative ideas, but
might someone offer some advice for how to accomplish this?

Many thanks,
Denis



Re: [gentoo-user] question about portage capabilities

2009-04-18 Thread Paul Hartman
On Sat, Apr 18, 2009 at 8:33 PM, Denis denis@gmail.com wrote:
 Hello all,

 I am using a package called Rasmol, which is used for visualization of
 molecular structures.  This software uses a certain table for atomic
 sizes, and I need to change some values in that table - it is stored
 in a header file within Rasmol source code.  There is an ebuild for
 Rasmol, and it works fine - but what I'm wondering is how I can tell
 portage to STOP once it unpacks Rasmol in the temporary work directory
 - so I can tweak some things in the source code - and then resume the
 build, using what's already in the work directory.  Looking at a
 manpage for emerge, I didn't immediately get any creative ideas, but
 might someone offer some advice for how to accomplish this?

Hi Denis,

Use the ebuild command to execute the steps of emerging
separately... read the manpage for the available options, but for
example you can do something like:

ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild unpack
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild prepare
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild configure
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild compile
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild preinst
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild install
ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild postinst

and in-between those steps you can change to your portage tmpdir and
edit the unpacked source files and do whatever you need to do to them.



Re: [gentoo-user] question about portage capabilities

2009-04-18 Thread Mike Kazantsev
On Sat, 18 Apr 2009 21:33:18 -0400
Denis denis@gmail.com wrote:

 I am using a package called Rasmol, which is used for visualization of
 molecular structures.  This software uses a certain table for atomic
 sizes, and I need to change some values in that table - it is stored
 in a header file within Rasmol source code.  There is an ebuild for
 Rasmol, and it works fine - but what I'm wondering is how I can tell
 portage to STOP once it unpacks Rasmol in the temporary work directory
 - so I can tweak some things in the source code - and then resume the
 build, using what's already in the work directory.  Looking at a
 manpage for emerge, I didn't immediately get any creative ideas, but
 might someone offer some advice for how to accomplish this?

That's what 'ebuild' command is for.
Try this:

  cd /usr/portage/some/package
  ebuild package-ver.ebuild help

That command allows you to execute all the ebuild steps separately.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] question about portage capabilities

2009-04-18 Thread Jorge Morais
On Sat, 18 Apr 2009 21:33:18 -0400
Denis denis@gmail.com wrote:

 Hello all,
 
 I am using a package called Rasmol, which is used for visualization of
 molecular structures.  This software uses a certain table for atomic
 sizes, and I need to change some values in that table - it is stored
 in a header file within Rasmol source code.  There is an ebuild for
 Rasmol, and it works fine - but what I'm wondering is how I can tell
 portage to STOP once it unpacks Rasmol in the temporary work directory
 - so I can tweak some things in the source code - and then resume the
 build, using what's already in the work directory.  Looking at a
 manpage for emerge, I didn't immediately get any creative ideas, but
 might someone offer some advice for how to accomplish this?

man ebuild.

I assume you are talking of sci-chemistry/rasmol.
Then you can accomplish your hack with
ebuild /usr/portage/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild unpack
tweak
ebuild /usr/portage/sci-chemistry/rasmol/rasmol-2.7.2.1.1-r1.ebuild install

But I am not sure this is a clean way to achieve your goal.
The standard way would be to write a patch, and modify the ebuild
to apply your patch. Alternatively, you can apply the patch to the distfile,
and modify the ebuild to use the new distfile.

Do you know how to write a patch?

Note: if you are going to modify your ebuild, it is a good idea to
put it in an overlay
It would be something like this
mkdir --parents /usr/local/denisoverlay/sci-chemistry/rasmol
cp -rv /usr/portage/sci-chemistry/rasmol/* 
/usr/local/denisoverlay/sci-chemistry/rasmol/
tweak files in /usr/portage/sci-chemistry/rasmol to your heart's content.
Add /usr/local/denisoverlay to the variable PORTDIR_OVERLAY in /etc/make.conf
For example:

PORTDIR_OVERLAY=/usr/local/denisoverlay

-- 
Software is like sex: it is better when it is free. --Linus Torvalds



Re: [gentoo-user] question about portage capabilities

2009-04-18 Thread Jorge Morais
On Sat, 18 Apr 2009 21:23:24 -0500
Paul Hartman paul.hartman+gen...@gmail.com wrote:

 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild unpack
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild prepare
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild configure
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild compile
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild preinst
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild install
 ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild postinst

One doesn't need to perform these steps explicitly; when one performs
a command like merge, ebuild also performs all commands that 
normally precede merge. 

So I think that if he wants to tweak the source code before compiling,
the easier way would be to issue a unpack command, tweak the source,
then issue a merge command.

But I think it would be much better to write a patch,
or simply modify the distfile and create a new ebuild that
uses the modified distfile.

--
Software is like sex: it is better when it is free. --Linus Torvalds



[gentoo-user] Clean-up after latest updates

2009-04-18 Thread Walter Dnes
1)  After the latest batch of updates X crashed on startup.  I read
through the list, and followed someone's suggestion to re-emerge all
drivers listed by the command...

equery list | grep x11-drivers/

Thank you sir.  That was easy, and I now have X operational again.

2)  I go through /var/log/portage/elog after updates, and check for
warnings.  I got the following with xinit-1.0.8-r4
 WARN: postinst
 If you use startx to start X instead of a login manager like gdm/kdm,
 you can set the XSESSION variable to anything in /etc/X11/Sessions/ or
 any executable. When you run startx, it will run this as the login
 session.
 You can set this in a file in /etc/env.d/ for the entire system,
 or set it per-user in ~/.bash_profile (or similar for other shells).
 Here's an example of setting it for the whole system:
 echo XSESSION=Gnome  /etc/env.d/90xsession
 env-update  source /etc/profile

Could someone please explain in plain English what this means?  I.e.
what are the plus and minus sides of doing the above?  Should I bother?

3)  I notice that gcc-4.3.2-r3 has been installed.  I understand that
the commands to upgrade are...

gcc-config i686-pc-linux-gnu-4.3.2
env-update  source /etc/profile

Have there been any problems encountered with 4.3.2?  Do I need to
re-emerge sytem and world?  Actually, I might decide to clean up CFLAGS
in my /etc/make.conf from the current...
CFLAGS=-O2 -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse 
-fomit-frame-pointer -pipe

to a simpler...
CFLAGS=-O2 -march=native -mtune=native -mfpmath=sse -fomit-frame-pointer -pipe

and rebuild with that.

4)  Speaking of /etc/make.conf, there was some news about Radeon HD
cards being moved to a separate driver group and requiring a change in
/etc/make.conf.  I'm using a card from an older computer, which lspci
shows as...

ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)

Since X is working, I assume that my card is not a member of the Radeon
HD family.  My /etc/make.conf includes the lines...

INPUT_DEVICES=keyboard mouse
VIDEO_CARDS=intel vga

and things appear to be working.  The intel is in case I ever switch
back to the onboard built-in video chip.  After ipv6 was snuck into the
defaults, I started off my USE with -*, so I still don't have dbus and
hal.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: KDE 4.2.1 : goodbye good riddance

2009-04-18 Thread 7v5w7go9ub0o

Jorge Morais wrote:

On Tue, 14 Apr 2009 09:56:20 -0700 Mark Knecht markkne...@gmail.com
 wrote:

While not a KDE user I echo your thoughts. I'm personally a bit 
worried about Gentoo overlords sort of pushing this hald thing with

 reasons like 'Gnome's automounting depends on it'.
Where have you got that from? I have not heard of that. I don't use 
hal either, and I have -hal in /etc/make.conf


I started in Linux about 12 years ago and the best environment for 
my needs at that time (audio recording, 32 channels of live audio,

 real-time kernels, Ardour, etc.) was fluxbox. Low overhead. Easily
 customizable. Every time I get fed up with Gnome I go back to 
fluxbox. Takes a few minutes to build, not hours like Gnome or days

 like KDE. Not a great environment for my wife and kids, so they
get Gnome.
I have used Xfce at version 4.4.2 (or 4.4.3, I don't remember) and I 
think it has a lot of user-friendliness. And it is even similar to 
GNOME, so GNOME users will feel at home. I think Xubuntu is a good 
example of a well put together Xfce desktop. I don't agree with every

 Xubuntu choice for default apps, but it is a great start if you want
 to build a user-friendly, lightweight, customizable desktop with
Xfce plus the right applications. So if you like simplicity and 
lightweight, but think your wife won't like fluxbox, give Xfce a try.
 Maybe even fluxbox could be configured and combined with the right 
applications to be easy to use, but starting with Xfce would probably
 be much easier (I say probably because I have never performed 
either of these tasks). On the other hand, maybe you should continue 
giving GNOME to your wife simply because GNOME is much more common 
than Xfce and, by knowing GNOME, she is more likely to know how to 
use another GNU/Linux computer, and if she needs technical support 
from, say, the ISP, the technicians are more likely to know GNOME and

 Xfce.

For the record, I have moved from Xfce to LXDE because I am a speed 
freak and also a simplicity freak. More on simplicity below.


I hope the future of Linux desktops doesn't look anything like 
Windows. Sometimes it seems to me we're moving too far that 
direction too fast.
I get that feeling too. When I use Ubuntu and something fails, 
sometimes I feel it is hard to diagnose and fix the problem. Maybe 
this is the cost of things being automagic: when it works, great, 
but when it doesn't work, you've got to be a wizard to fix it.


Car analogy: A person with mediocre knowledge of car mechanics can 
understand how a classical car works, and doesn't complain that the 
transmission is manual. He can even fix simple problems. A person 
with good knowledge of car mechanics can even fix more serious 
problems, because the car is simple, and many of its parts can be 
serviced by an interested man.


But a modern car... With all of its automatic transmission and 
everything, one does not even need mediocre knowledge to drive it; 
but to understand how it works is hard. To fix simple problems is 
harder. To fix serious problems, one needs complex tools and specific

 knowledge that is almost beyond the reach of the common man.

So I think that automagic things often tend to be harder to 
understand and much harder to fix.


But so far, Ubuntu is actually *more* automagic than Windows but 
more open, easier to understand and easier to fix (Windows is a badly

 documented black box).

And a Gentoo desktop is easier to understand and fix than Ubuntu. 
Specially if the user selected simple software such as Xfce or, even 
simpler, LXDE. Of course, you can theorize that at least part of this
 impression of mine is caused by me being used to my simple no-hal 
no-nothing LXDE Gentoo desktop and me being unfamiliar with Ubuntu.



Regards, Jorge



Heh. Your overall attitude, as suggested by the above, rang a
sympathetic sound with me.

So, I figured that even though LXDE couldn't be faster than my beloved
fluxbox, I'd at least give it a try.

WOW!

It (seems) *significantly* faster than flux both in initial loading, and
in the operation of windowed applications. Certain window activity (e.g.
lightning alarms on TBird) now display as intended (something that I
couldn't get working in FB).   Only downside ...may... be the
documentation; but everything is pretty intuitive so far. It stays.

Ditto everything you said.

Thanks!!!






[gentoo-user] Failed to install x11-drivers/ati-drivers-8.552-r2

2009-04-18 Thread John P. Burkett
Doing PORT_LOGDIR=/var/log/portage emerge -D -uav world on my amd64
machine elicits a response that ends as follows:

 Install ati-drivers-8.552-r2 into
/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/ category
x11-drivers
 * Installing fglrx module
 * ati tree 'lib' - 'lib32' on system
 * ati tree 'lib64' - 'lib64' on system
 Completed installing ati-drivers-8.552-r2 into
/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/

 * QA Notice: Pre-stripped files found:
 * /usr/lib32/dri/fglrx_dri.so
 * /usr/lib32/opengl/ati/lib/libGL.so.1.2
 * /usr/lib64/dri/fglrx_dri.so
 * /usr/lib64/xorg/modules/glesx.so
 * /usr/lib64/libAMDXvBA.so.1.0
 * /usr/lib64/libXvBAW.so.1.0
 * /usr/lib64/opengl/ati/lib/libGL.so.1.2
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   lib/modules/2.6.22-gentoo-r2-osmp/video/fglrx.ko
   opt/bin/fglrxinfo
   opt/bin/aticonfig
   opt/bin/atiode
   opt/bin/amdcccle
   opt/bin/atiodcli
   opt/sbin/atieventsd
   usr/bin/fglrx_xgamma
   usr/bin/fgl_glxgears
   usr/lib32/opengl/ati/extensions/libglx.so
   usr/lib32/opengl/ati/extensions/libdri.so
   usr/lib64/xorg/modules/linux/libfglrxdrm.so
   usr/lib64/xorg/modules/drivers/fglrx_drv.so
   usr/lib64/xorg/modules/amdxmm.so
   usr/lib64/libatiadlxx.so
   usr/lib64/libfglrx_tvout.so.1.0
   usr/lib64/libfglrx_pp.so.1.0
   usr/lib64/opengl/ati/extensions/libglx.so
   usr/lib64/opengl/ati/extensions/libdri.so
   usr/lib64/libfglrx_gamma.so.1.0
   usr/lib64/libfglrx_dm.so.1.0
   usr/lib64/xorg/modules/esut.a
   usr/lib64/libfglrx_tvout.a
   usr/lib64/libfglrx_dm.a
   usr/lib64/libfglrx_pp.a
ecompressdir: bzip2 -9 /usr/share/man

 * QA Notice: The following files contain executable stacks
 *  Files with executable stacks will not work properly (or at all!)
 *  on some architectures/operating systems.  A bug should be filed
 *  at http://bugs.gentoo.org/ to make sure the file is fixed.
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
 *  Please include the following list of files in your report:
 * --- --- RWX usr/lib32/opengl/ati/lib/libGL.so.1.2


 * QA Notice: The following shared libraries lack a SONAME
 *
/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/usr/lib64/libatiadlxx.so

making executable: usr/lib64/libfglrx_gamma.so.1.0

 Installing x11-drivers/ati-drivers-8.552-r2
 * checking 133 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / filename` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *  /usr/lib64/opengl/ati/extensions/libglx.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * x11-base/xorg-server-1.5.3-r5
 *  /usr/lib64/opengl/ati/extensions/libglx.so
 *
 * Package 'x11-drivers/ati-drivers-8.552-r2' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

 Failed to install x11-drivers/ati-drivers-8.552-r2, Log file:

  '/var/log/portage/x11-drivers:ati-drivers-8.552-r2:20090419-022352.log'

 * Messages for package x11-drivers/ati-drivers-8.552-r2:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / filename` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *  /usr/lib64/opengl/ati/extensions/libglx.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * x11-base/xorg-server-1.5.3-r5
 *