Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-06 Thread Jesús Guerrero
On Tue, 6 Oct 2009 14:22:23 +0900, daid kahl daid...@gmail.com wrote:
 2009/10/5 Jesús Guerrero i92gu...@terra.es:
 On Mon, 5 Oct 2009 15:42:22 +0100, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:

 I actually find this a little surprising. I might have thought that
 the devs might have separated the decryption and playback components:
 one could imagine it being legal to play back a region 0 DVD in some
 territories, but not to install or operate encryption circumvention
 software.

 Yes, I agree, USE flags are a bit fuzzy. Even if legality wasn't a
 problem, still it's not accurate to use such a name for an use flag
that
 adds support for decryption. It's even funnier when you realize that
you
 don't even need to enable it to play all the dvd's (only encrypted
ones).
 In such cases, the best thing is to fill an enhancement bug and hope
for
 the best. I might do that later if I manager to remember it.
 
 Yeah, I'm agreeing about this notion.  Particularly with the legality
 issues, there might be some desire to separate watching unencrypted
 DVDs from encryption.
 
 I suppose if the enhancement bug is filed, a suggested name for the
 new USE flag is something like dvd-crypto.

There was already a bug and it's now closed and fixed. Kaffeine now has a
css use flag. css has been chosen because already exists and has exactly
that purpose, and besides that, the library that does the work and is
pushed as a dependency to play encrypted dvds is called libdvdcss.

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

-- 
Jesús Guerrero



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Stroller


On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:
On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com  
wrote:

...
I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or  
mplayer, etc)


Nope. What you have to do is to set up the correct use flags for  
xine-lib

(dvd).


I think the css USE flag may also be required, at least by some  
packages.


Stroller.




Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Jesús Guerrero
On Mon, 5 Oct 2009 15:00:46 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:
 On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com  
 wrote:
 ...
 I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or  
 mplayer, etc)

 Nope. What you have to do is to set up the correct use flags for  
 xine-lib
 (dvd).
 
 I think the css USE flag may also be required, at least by some  
 packages.

For each package it might be different (which  can be confusing) but for
xine-lib, it's the dvd use flag which controls this, and trigger the
dependency of xine-libs upon libdvdcss. You just need to look into the
ebuild to see it:

$ grep dvd /var/portage/media-libs/xine-lib/xine-lib-1.1.16.3-r1.ebuild 
IUSE=-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb +vorbis
+alsa
dvd? ( =media-libs/libdvdcss-1.2.7 )



-- 
Jesús Guerrero



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Stroller


On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:


On Mon, 5 Oct 2009 15:00:46 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:

On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:

On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com
wrote:

...
I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or
mplayer, etc)


Nope. What you have to do is to set up the correct use flags for
xine-lib
(dvd).


I think the css USE flag may also be required, at least by some
packages.


For each package it might be different (which  can be confusing) but  
for

xine-lib, it's the dvd use flag which controls this, and trigger the
dependency of xine-libs upon libdvdcss. You just need to look into the
ebuild to see it:

$ grep dvd /var/portage/media-libs/xine-lib/xine-lib-1.1.16.3- 
r1.ebuild
IUSE=-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb  
+vorbis

+alsa
   dvd? ( =media-libs/libdvdcss-1.2.7 )


I didn't mean in any way to debate your statement about xine-lib -  
just to add that css may be required for some _other_ packages.


It transpires that the only packages I seem to have on my systems  
using the css USE flag are rippers (undvd  k3b), so I apologise for  
my mistake.


I actually find this a little surprising. I might have thought that  
the devs might have separated the decryption and playback components:  
one could imagine it being legal to play back a region 0 DVD in some  
territories, but not to install or operate encryption circumvention  
software.


Stroller.




Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Jesús Guerrero
On Mon, 5 Oct 2009 15:42:22 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:
 
 I actually find this a little surprising. I might have thought that  
 the devs might have separated the decryption and playback components:  
 one could imagine it being legal to play back a region 0 DVD in some  
 territories, but not to install or operate encryption circumvention  
 software.

Yes, I agree, USE flags are a bit fuzzy. Even if legality wasn't a
problem, still it's not accurate to use such a name for an use flag that
adds support for decryption. It's even funnier when you realize that you
don't even need to enable it to play all the dvd's (only encrypted ones).
In such cases, the best thing is to fill an enhancement bug and hope for
the best. I might do that later if I manager to remember it.
-- 
Jesús Guerrero



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread daid kahl
 I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or
 mplayer, etc)

 Nope. What you have to do is to set up the correct use flags for xine-lib
 (dvd).

 I think the css USE flag may also be required, at least by some packages.


Well, dvd and xine are both in my world file.  I tried adding css, but
there was nothing to rebuild (only about 8 packages USE css).

Maybe the question I should be asking is why libdvdcss wasn't pulled
in when I had the dvd USE flag turned on globally (since forever).

Regards,
daid



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread daid kahl
2009/10/5 Jesús Guerrero i92gu...@terra.es:
 On Mon, 5 Oct 2009 15:42:22 +0100, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:

 I actually find this a little surprising. I might have thought that
 the devs might have separated the decryption and playback components:
 one could imagine it being legal to play back a region 0 DVD in some
 territories, but not to install or operate encryption circumvention
 software.

 Yes, I agree, USE flags are a bit fuzzy. Even if legality wasn't a
 problem, still it's not accurate to use such a name for an use flag that
 adds support for decryption. It's even funnier when you realize that you
 don't even need to enable it to play all the dvd's (only encrypted ones).
 In such cases, the best thing is to fill an enhancement bug and hope for
 the best. I might do that later if I manager to remember it.

Yeah, I'm agreeing about this notion.  Particularly with the legality
issues, there might be some desire to separate watching unencrypted
DVDs from encryption.

I suppose if the enhancement bug is filed, a suggested name for the
new USE flag is something like dvd-crypto.

Regards,
daid



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-04 Thread Jesús Guerrero
On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com wrote:
 Hello all,
 
 I was getting some Japanese-bought DVDs to play correctly on my
 laptop, and I found that I after I installed libdvdcss from portage,
 portage did not think to rebuild kaffeine (or mplayer, etc), but that
 was necessary to get full viewing functionality.
 
 In the first case, I wonder if libdvdcss should be pulled in by the
 dvd USE flag.  Secondly, I think portage ought to be smart enough to
 know to rebuild programs in such a case.

Nope. What you have to do is to set up the correct use flags for xine-lib
(dvd). All the dependencies will be pushed, you don't even have to
implicitly install libdvdcss. When a given use flag is changed portage will
detect and recompile all the required packages with a simple emerge -auDVN
world.

-- 
Jesús Guerrero



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-04 Thread Dale
Jesús Guerrero wrote:
 On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com wrote:
   
 Hello all,

 I was getting some Japanese-bought DVDs to play correctly on my
 laptop, and I found that I after I installed libdvdcss from portage,
 portage did not think to rebuild kaffeine (or mplayer, etc), but that
 was necessary to get full viewing functionality.

 In the first case, I wonder if libdvdcss should be pulled in by the
 dvd USE flag.  Secondly, I think portage ought to be smart enough to
 know to rebuild programs in such a case.
 

 Nope. What you have to do is to set up the correct use flags for xine-lib
 (dvd). All the dependencies will be pushed, you don't even have to
 implicitly install libdvdcss. When a given use flag is changed portage will
 detect and recompile all the required packages with a simple emerge -auDVN
 world.

   

I think this is a typo.  The command should be emerge -auDvN world.  The
upper case V would only print the version of portage.  That should
therefore be a lower case v.

I wish I could type better too.  LOL  After proofing a message a dozen
times, I still find a boo boo after hitting the send button.  :/  Maybe
it is the keyboard?

Dale

:-)   :-) 



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-04 Thread Jesús Guerrero
On Sun, 04 Oct 2009 21:19:04 -0500, Dale rdalek1...@gmail.com wrote:
 Jesús Guerrero wrote:
 On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com wrote:
   
 Hello all,

 I was getting some Japanese-bought DVDs to play correctly on my
 laptop, and I found that I after I installed libdvdcss from portage,
 portage did not think to rebuild kaffeine (or mplayer, etc), but that
 was necessary to get full viewing functionality.

 In the first case, I wonder if libdvdcss should be pulled in by the
 dvd USE flag.  Secondly, I think portage ought to be smart enough to
 know to rebuild programs in such a case.
 

 Nope. What you have to do is to set up the correct use flags for
xine-lib
 (dvd). All the dependencies will be pushed, you don't even have to
 implicitly install libdvdcss. When a given use flag is changed portage
 will
 detect and recompile all the required packages with a simple emerge
 -auDVN
 world.

   
 
 I think this is a typo.  The command should be emerge -auDvN world.  The
 upper case V would only print the version of portage.  That should
 therefore be a lower case v.

Well spotted, yes, it's a typo.

Thanks for the correction. :)
-- 
Jesús Guerrero