[gentoo-user] Opendedup

2010-03-28 Thread pk
Hi,

I just saw this on slashdot:
http://linux.slashdot.org/story/10/03/28/0052234/Open-Source-Deduplication-For-Linux-With-Opendedup

Anyone using it with gentoo? Experiences?

Best regards

Peter K



Re: [gentoo-user] Re: ffmpeg threads parameter

2010-03-28 Thread Daniel Troeder
On 03/28/2010 04:02 AM, 7v5w7go9ub0o wrote:
 On 03/27/10 21:17, Nikos Chantziaras wrote:
 On 03/28/2010 02:40 AM, 7v5w7go9ub0o wrote:
 Some ffmpeg-using applications (e.g. mplayer) allow you to pass
 numbers of threads (e.g. I use 6 on my Core-I7) to ffmpeg; others
 (e.g. chromium) do not.

 First, mplayer uses its own bundled ffmpeg. It doesn't use
 media-video/ffmpeg at all.

 Furthermore, this is not what the threads USE flag does for
 ffmpeg.
 
 
 
 Thank you for replying!!!
 
 What would you guess the threads parameter is for ffmpeg? I've not
 found an explanation, and thought it might be the author catching up
 with Alexander Strange.
 
 http://ffmpeg.org/ffmpeg-doc.html
The normal ffmpeg probably (just guessing here) uses threads for
asynchronous i/o, buffering etc..
ffmpeg-mt includes a H.264 codec that decodes (and encodes?) HD videos
with multiple threads. Maybe there are even more codecs that they have
multithreaded, and probably a lot of infrastructure code had to be
changed as well.

Bye,
Daniel


 Those applications that allow you to specify an amount of threads
 assume you're using ffmpeg-mt instead of normal ffmpeg. ffmpeg-mt is
 a fork of ffmpeg and is not in Portage because it's still considered
 non-stable upstream.
 
 There's an ebuild in Gentoo Bugzilla for ffmpeg-mt and an mplayer
 that uses ffmpeg-mt as its bundled ffmpeg version. The mt mplayer
 ebuild can also be found in the wirelay overlay (it's in layman.)
 
 AH! I had switched from bugzilla to the overlay for mplayer (thank you for
 providing it); but was unaware that ffmpeg-mt had a separate ebuild.
 Where is it, please?
 
 So the same question, then, for ffmpeg-mt; if I replace ffmpeg with
 ffmpeg-mt after setting a default of 6, can you imagine any problems
 (other than it is not stable)?
 
 Thanks for the help!
 
 


-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


[gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
hi,

i have a lot fonts installed in /usr/share/fonts. and i even have all
the fonts from m$ win7. but when i ran xlsfonts, i got only a few
fonts listed. like this:

-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
cursor
fixed

i need more fonts, so i can setup emacs to display chinese. but
there's no chinese font listed.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] ttyS0 permission

2010-03-28 Thread Joseph

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0 


I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1

--
Joseph



Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Neil Bothwick
On Sun, 28 Mar 2010 09:53:19 -0600, Joseph wrote:

 I've tried adding a rule to 50-udev.rules in /dev

Don't add to the existing rules, it can cause problems on updates. Create
your own rules file in /etc/udev/rules.d/10-local.rules.

 but /udev is not running and when I try to restart it I get:
 
 The udev init-script is written for baselayout-2
 Please do not use it with baselayout-1

That's because BL1 starts up udev automatically, the init script is only
needed with BL2.


-- 
Neil Bothwick

OS/2: Obsolete Soon, Too


signature.asc
Description: PGP signature


Re: [gentoo-user] libvdpau (?)

2010-03-28 Thread Neil Bothwick
On Fri, 26 Mar 2010 15:29:06 -0300, Alex Kuster wrote:

 you can use the variable EXTRA_ECONF to pass parameters to ./configure
 and manually add vdpau, but I don't know if there's an option to modify
 that on a package basis (like /etc/portage/package.use ) .. instead of
 a global var ... without touching ebuilds ...

Put EXTRA_ECONF+blah in /etc/portage/env/CAT/PKG


-- 
Neil Bothwick

If you got the words it does not mean you got the knowledge.


signature.asc
Description: PGP signature


Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Sunday 28 March 2010, Joseph wrote:
 How to change permission on /dev/ttyS0 ?
 Which program controls it owner and permission?
 Is it possible to change it with hylafax?
 
 Currently I have:
 crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
 
 And I wan it to be:
 crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
 
 I've tried adding a rule to 50-udev.rules in /dev
 but /udev is not running and when I try to restart it I get:
 
 The udev init-script is written for baselayout-2
 Please do not use it with baselayout-1

This is set by parameter DeviceMode: 0660 in file 
/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.

HTH
-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] ttyS0 permission

2010-03-28 Thread Dale

Joseph wrote:

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1



If you want to make sure udev is running, do this command:

ps aux | grep udev

If it returns nothing, then you can start it with this command:

/sbin/udevd --daemon

Hope that helps.

Dale

:-)  :-)



[gentoo-user] Re: xlsfonts shows only a few fonts

2010-03-28 Thread walt

On 03/28/2010 08:33 AM, Xi Shen wrote:

hi,

i have a lot fonts installed in /usr/share/fonts. and i even have all
the fonts from m$ win7. but when i ran xlsfonts, i got only a few
fonts listed. like this:

-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
cursor
fixed


Have you added all of the font directories to your xorg.conf?

Section Files
ModulePath  /usr/lib/xorg/modules
FontPath/usr/share/fonts/corefonts/
FontPath/usr/share/fonts/TTF/
FontPath/usr/share/fonts/baemuk-fonts/
FontPath/usr/share/fonts/freefonts/
FontPath/usr/share/fonts/fft-bitstream-vera/
FontPath/usr/share/fonts/urw-fonts/
FontPath/usr/share/fonts/arphic-fonts/
FontPath/usr/share/fonts/default/
FontPath/usr/share/fonts/terminus/
FontPath/usr/share/fonts/misc/
FontPath/usr/share/fonts/OTF
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/100dpi/
FontPath/usr/share/fonts/75dpi/
EndSection




Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Joseph

On 03/28/10 23:48, Robin Atwood wrote:

On Sunday 28 March 2010, Joseph wrote:

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1


This is set by parameter DeviceMode: 0660 in file
/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.

HTH
-Robin


Yes, you are correct.
I was able to find it as well:
http://wiki.contribs.org/HylaFax

I had a problem make it dial-up work in Windows XP running in VirtualBox when 
hylafax is running.
I had to disable faxgetty ttyS0 in inittab or Windows XP dial-up will not 
work.

But wvdial works OK when Hylafax is ON. 


--
Joseph



Re: [gentoo-user] Re: libvdpau (?)

2010-03-28 Thread Paul Hartman
On Fri, Mar 26, 2010 at 8:46 PM, 7v5w7go9ub0o 7v5w7go9u...@gmail.com wrote:
 On 03/26/10 17:08, Paul Hartman wrote:

 On Fri, Mar 26, 2010 at 10:18 AM,
 7v5w7go9ub0o7v5w7go9u...@gmail.com  wrote:

 I'd like to compile ffmpeg with vdpau - direct NVidia hardware
 acceleration. This is a configuration flag for ffmpeg.

 Setting the vdpau use flag seems to set the configuration flag,
 but also brings in the x11-libs/libvdpau libraries which I think
 I do not want, as my NVidia proprietary driver provides these
 libraries.

 AFAIK Nvidia split the vdpau off into libvdpau late last year
 sometime. On my system I use both nvidia-drivers and libvdpau without
 issue. libvdpau provides libvdpau.so while nvidia-drivers provides
 libvdpau_nvidia.so

 Here are my versions:

 x11-libs/libvdpau-0.3-r2 x11-drivers/nvidia-drivers-195.36.15

 Are you using older versions? I use ~amd64 so maybe if you run stable
 it has the older versions.



 AHA! THANKS! that explains a lot - including why they made libvdpau
 ebuild a requirement for ffmpeg.

 I didn't know that libvdpau ebuild is simply an open-source version of
 libvdpau.so. (The webpage describes a wrapper - duh, what's a wrapper?
 But I suppose that if libvdpau.so is the first in line, and subsequently
 loads other driver components, then it could be called a wrapper).

 Portage fell behind the NVidia driver releases a while back - probably
 before the split you described -  so I then started installing drivers
 directly from NVidia.com, and not portage.

 (And NVidia continues to bundle libvdpau.so (proprietary?) along with the
 other components.)

 So when ffmpeg wanted to add a wrapper to the mix, I decided no thanks
 and started this thread -  finally figuring out that I needed to remove
 the requirement from the ebuild. Having libvdpau.so, everything worked fine.

 Now that I know what it is, I've installed the libvdpau package and
 updated the portage NV drivers to current. If portage keeps current I'll
 use it; if portage again falls behind I should be able to use NVidia.com and
 ffmpeg will compile either way.

 Thanks again for your help.

No problem. Also check out x11-misc/vdpauinfo it is a tool that shows
the vdpau capabilities of your video card/drivers (which codecs 
mixer features are supported).



Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Paul Hartman
On Sun, Mar 28, 2010 at 10:33 AM, Xi Shen davidshe...@googlemail.com wrote:
 hi,

 i have a lot fonts installed in /usr/share/fonts. and i even have all
 the fonts from m$ win7. but when i ran xlsfonts, i got only a few
 fonts listed. like this:

 -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
 -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
 6x13
 cursor
 fixed

 i need more fonts, so i can setup emacs to display chinese. but
 there's no chinese font listed.

I believe XFS is deprecated and has been removed from Gentoo recently
(at least in ~unstable). See the comments in this bug for info  maybe
something to help:

http://bugs.gentoo.org/show_bug.cgi?id=293177



Re: [gentoo-user] Re: help

2010-03-28 Thread Frank Steinmetzger
Am Donnerstag, 25. März 2010 schrieb Dale:

 I want the desktop slideshow to be sequential instead of random.
 Is there a bug report files already?
 I haven't filed one.  I'm just hoping someone has.
 If you are like me and don’t wanna create another bug tracker account
 just for one bug, I offer my help by filing the bug, if you want. ;-)
 If you wold like to that would be fine.  I would just like some way to
 disable the random part of the slide show.

https://bugs.kde.org/show_bug.cgi?id=232517 :-)
-- 
Gruß | Greetings | Qapla'
Do not handicap your children by making their lives easy. (R. Heinlein)


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


Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Monday 29 March 2010, Joseph wrote:
 On 03/28/10 23:48, Robin Atwood wrote:
 On Sunday 28 March 2010, Joseph wrote:
  How to change permission on /dev/ttyS0 ?
  Which program controls it owner and permission?
  Is it possible to change it with hylafax?
  
  Currently I have:
  crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
  
  And I wan it to be:
  crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
  
  I've tried adding a rule to 50-udev.rules in /dev
  but /udev is not running and when I try to restart it I get:
  
  The udev init-script is written for baselayout-2
  Please do not use it with baselayout-1
 
 This is set by parameter DeviceMode: 0660 in file
 /var/spool/fax/etc/config.ttyS0. You are asked in the setup script.
 
 HTH
 -Robin
 
 Yes, you are correct.
 I was able to find it as well:
 http://wiki.contribs.org/HylaFax
 
 I had a problem make it dial-up work in Windows XP running in VirtualBox
 when hylafax is running. I had to disable faxgetty ttyS0 in inittab or
 Windows XP dial-up will not work.
 
 But wvdial works OK when Hylafax is ON.

Presumably VirtualBox does not follow the Unix locking protocol:
http://tldp.org/LDP/nag2/x-087-2-serial.devices.html

HTH
-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] Re: help

2010-03-28 Thread Dale

Frank Steinmetzger wrote:

Am Donnerstag, 25. März 2010 schrieb Dale:

   

I want the desktop slideshow to be sequential instead of random.
 

Is there a bug report files already?
   

I haven't filed one.  I'm just hoping someone has.
 

If you are like me and don’t wanna create another bug tracker account
just for one bug, I offer my help by filing the bug, if you want. ;-)
   

If you wold like to that would be fine.  I would just like some way to
disable the random part of the slide show.
 

https://bugs.kde.org/show_bug.cgi?id=232517 :-)
   


Yeppie !  Thanks for filing that for me.  Maybe it will pop up in a 
couple more releases.  Surely it can't be hard to disable it.  I would 
think it was harder to enable it.  lol


Thanks again.

Dale

:-)  :-)



Re: [gentoo-user] Re: xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
On Mon, Mar 29, 2010 at 1:31 AM, walt w41...@gmail.com wrote:
 Have you added all of the font directories to your xorg.conf?

 Section Files
    ModulePath      /usr/lib/xorg/modules
    FontPath        /usr/share/fonts/corefonts/
...
    FontPath        /usr/share/fonts/Type1/
    FontPath        /usr/share/fonts/100dpi/
    FontPath        /usr/share/fonts/75dpi/
 EndSection



sure, i have all my fonts listed.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
On Mon, Mar 29, 2010 at 4:56 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 I believe XFS is deprecated and has been removed from Gentoo recently
 (at least in ~unstable). See the comments in this bug for info  maybe
 something to help:

 http://bugs.gentoo.org/show_bug.cgi?id=293177



if XFS is deprecated, what is the replacement? how can i get the fonts
working in emacs?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] Re: unknown media type error when updating

2010-03-28 Thread Xi Shen
On Sun, Mar 28, 2010 at 12:27 PM, Nikos Chantziaras rea...@arcor.de wrote:
 I guess they're not really expected to be unknown, but they're harmless as
 long as you don't get disappearing icons.  If you do, then this is for you:

 http://bugs.gentoo.org/show_bug.cgi?id=288312

 This came up quite a while back on the mailing list, and IIRC, the
 solution was that there is no solution :P


great, i have not seen any broken icons yet. guess i can ignore them.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Paul Hartman
On Sun, Mar 28, 2010 at 9:58 PM, Xi Shen davidshe...@googlemail.com wrote:
 On Mon, Mar 29, 2010 at 4:56 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 I believe XFS is deprecated and has been removed from Gentoo recently
 (at least in ~unstable). See the comments in this bug for info  maybe
 something to help:

 http://bugs.gentoo.org/show_bug.cgi?id=293177



 if XFS is deprecated, what is the replacement? how can i get the fonts
 working in emacs?

I don't know if it's causing your problem, but you can try to unmask
XFS and see if it fixes it.