public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] do we need special elog messages for bindist?
@ 2015-02-25 18:17 "Paweł Hajdan, Jr."
  2015-02-25 19:38 ` Mike Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: "Paweł Hajdan, Jr." @ 2015-02-25 18:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

I'm looking at <https://bugs.gentoo.org/show_bug.cgi?id=538628> which
suggests removing elog messages chromium has for bindist:

This is the snippet we use in the ebuild:

	if use bindist; then
		elog "bindist enabled: H.264 video support will be disabled."
	else
		elog "bindist disabled: Resulting binaries may not be legal to
re-distribute."
	fi

I think I used existing examples, e.g. from firefox ebuilds.

Anyway, do you consider the part when bindist is disabled necessary? I'm
open to removing it if it's not needed.

While we're discussing this, do you consider the message when bindist is
enabled useful? bindist is described in chromium's metadata.xml:
"Disable patent-encumbered HTML5 video codecs".

Paweł


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] do we need special elog messages for bindist?
  2015-02-25 18:17 [gentoo-dev] do we need special elog messages for bindist? "Paweł Hajdan, Jr."
@ 2015-02-25 19:38 ` Mike Gilbert
  2015-02-25 20:04   ` Ben Kohler
  2015-03-04  8:15   ` "Paweł Hajdan, Jr."
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Gilbert @ 2015-02-25 19:38 UTC (permalink / raw
  To: Gentoo Dev

On Wed, Feb 25, 2015 at 1:17 PM, "Paweł Hajdan, Jr."
<phajdan.jr@gentoo.org> wrote:
> I'm looking at <https://bugs.gentoo.org/show_bug.cgi?id=538628> which
> suggests removing elog messages chromium has for bindist:
>
> This is the snippet we use in the ebuild:
>
>         if use bindist; then
>                 elog "bindist enabled: H.264 video support will be disabled."
>         else
>                 elog "bindist disabled: Resulting binaries may not be legal to
> re-distribute."
>         fi
>
> I think I used existing examples, e.g. from firefox ebuilds.
>
> Anyway, do you consider the part when bindist is disabled necessary? I'm
> open to removing it if it's not needed.
>
> While we're discussing this, do you consider the message when bindist is
> enabled useful? bindist is described in chromium's metadata.xml:
> "Disable patent-encumbered HTML5 video codecs".
>

I would like to remove the elog for a couple of reasons:

1. The use flag description is there for whoever cares to read it.
There is no need to alert the user every time.
2. We are not lawyers, and I have no business giving legal advice
about patent law which varies from country to country.

To take it one step further: I think it would make more sense to call
the flag "h264" or something similar. We could then set
RESTRICT="h264? ( bindist )" if we want to give some indication that
it is not appropriate for binary redistribution.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] do we need special elog messages for bindist?
  2015-02-25 19:38 ` Mike Gilbert
@ 2015-02-25 20:04   ` Ben Kohler
  2015-03-04  8:15   ` "Paweł Hajdan, Jr."
  1 sibling, 0 replies; 4+ messages in thread
From: Ben Kohler @ 2015-02-25 20:04 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

On Wed, Feb 25, 2015 at 1:38 PM, Mike Gilbert <floppym@gentoo.org> wrote:
>
>
> I would like to remove the elog for a couple of reasons:
>
> 1. The use flag description is there for whoever cares to read it.
> There is no need to alert the user every time.
> 2. We are not lawyers, and I have no business giving legal advice
> about patent law which varies from country to country.
>
> To take it one step further: I think it would make more sense to call
> the flag "h264" or something similar. We could then set
> RESTRICT="h264? ( bindist )" if we want to give some indication that
> it is not appropriate for binary redistribution.
>
> What you're saying here makes sense and I agree, but our users are already
pretty confused about USE=bindist... what it does, why it's enabled by
default, etc.  If this is going to stay enabled by default in our stage3s
(there's an open bug about possibly changing that) then I really think we
should add a paragraph to the handbook that explains things.

It seems that most new users don't have any idea what bindist is until they
find some feature missing or they hit the classic openssl/openssh blocker
and someone has to explain the whole thing to them.

So in summary, let's get rid of the per-ebuild einfo warnings but let's
educate the users about USE=bindist earlier.

-Ben

[-- Attachment #2: Type: text/html, Size: 1905 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] do we need special elog messages for bindist?
  2015-02-25 19:38 ` Mike Gilbert
  2015-02-25 20:04   ` Ben Kohler
@ 2015-03-04  8:15   ` "Paweł Hajdan, Jr."
  1 sibling, 0 replies; 4+ messages in thread
From: "Paweł Hajdan, Jr." @ 2015-03-04  8:15 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

On 2/25/15 8:38 PM, Mike Gilbert wrote:
> I would like to remove the elog for a couple of reasons:
> 
> 1. The use flag description is there for whoever cares to read it.
> There is no need to alert the user every time.
> 2. We are not lawyers, and I have no business giving legal advice
> about patent law which varies from country to country.
> 
> To take it one step further: I think it would make more sense to call
> the flag "h264" or something similar. We could then set
> RESTRICT="h264? ( bindist )" if we want to give some indication that
> it is not appropriate for binary redistribution.

Makes sense.

My suggestion for the flag name would actually be proprietary-codecs.
This matches config option name in Chromium sources, and it's not just
h264 but also e.g. MPEG-4 and MP3.

The flag would be disabled by default.

I'd then add RESTRICT="proprietary-codecs? ( bindist )" to the ebuild
and remove both elog messages.

Paweł


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-04  8:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 18:17 [gentoo-dev] do we need special elog messages for bindist? "Paweł Hajdan, Jr."
2015-02-25 19:38 ` Mike Gilbert
2015-02-25 20:04   ` Ben Kohler
2015-03-04  8:15   ` "Paweł Hajdan, Jr."

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox