Bug 172516 - [MAINTAINER] multimedia/transcode: Update to OptionsNG
Summary: [MAINTAINER] multimedia/transcode: Update to OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 23:30 UTC by Naram Qashat
Modified: 2012-10-16 19:32 UTC (History)
0 users

See Also:


Attachments
transcode-1.1.7_8.patch (8.97 KB, patch)
2012-10-09 23:30 UTC, Naram Qashat
no flags Details | Diff
transcode.diff (8.06 KB, patch)
2012-10-15 20:19 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naram Qashat 2012-10-09 23:30:02 UTC
- Update to OptionsNG

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2012-10-15 18:30:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2012-10-15 20:19:30 UTC
Hi,

Looking at your patch I made some modifications.

Is there a specific reason why you're not using the standard options
descriptions from ports/Mk/bsd.options.desc.mk?

While not strictly mandatory, unless you need to insert a very specific
content in the description it's preferred to use those for generic
"support" toggles.

Please revise the attached patch, if it is acceptable to you.

Thanks!

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 3 Naram Qashat 2012-10-15 20:30:55 UTC
On 10/15/12 15:19, Guido Falsi wrote:
> Hi,
>
> Looking at your patch I made some modifications.
>
> Is there a specific reason why you're not using the standard options
> descriptions from ports/Mk/bsd.options.desc.mk?
>
> While not strictly mandatory, unless you need to insert a very specific
> content in the description it's preferred to use those for generic
> "support" toggles.
>
> Please revise the attached patch, if it is acceptable to you.
>
> Thanks!
>

Originally I figured that the descriptions in bsd.options.desc.mk would lead to 
more confusion when someone looked at the options for transcode, that is why I 
overrode them in the port.  I know that using the pre-set descriptions may be 
preferred, but I still tried to make sure that the overridden descriptions were 
not ambiguous.

Thanks,
Naram Qashat
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2012-10-16 10:24:20 UTC
On Mon, Oct 15, 2012 at 03:30:55PM -0400, Naram Qashat wrote:
> On 10/15/12 15:19, Guido Falsi wrote:
> >Hi,
> >
> >Looking at your patch I made some modifications.
> >
> >Is there a specific reason why you're not using the standard options
> >descriptions from ports/Mk/bsd.options.desc.mk?
> >
> >While not strictly mandatory, unless you need to insert a very specific
> >content in the description it's preferred to use those for generic
> >"support" toggles.
> >
> >Please revise the attached patch, if it is acceptable to you.
> >
> >Thanks!
> >
> 
> Originally I figured that the descriptions in bsd.options.desc.mk
> would lead to more confusion when someone looked at the options for
> transcode, that is why I overrode them in the port.  I know that
> using the pre-set descriptions may be preferred, but I still tried
> to make sure that the overridden descriptions were not ambiguous.

I see. I'd like to note that the "Enable" word at the start of every
description is a little redundant, since the checkbox is there to shouw
if that option is enablesd or not. "Enable" words where intentionally
removed from the descriptions in various instances as redundant.

See this commit:

http://svnweb.freebsd.org/ports?view=revision&revision=299905

Once the "Enable" word is removed some of the descriptions are almost
the same as the global ones.

Also I renamed some of the toggles to match the common ones, this is
best practice, so that people can override things globally from their
make.conf or command line.

I don't mean to force you to change this, but the enable wod goes
against common practice int he ports collection and should be avoided.

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 5 Naram Qashat 2012-10-16 12:46:04 UTC
On 10/16/12 05:24, Guido Falsi wrote:
> On Mon, Oct 15, 2012 at 03:30:55PM -0400, Naram Qashat wrote:
>> On 10/15/12 15:19, Guido Falsi wrote:
>>> Hi,
>>>
>>> Looking at your patch I made some modifications.
>>>
>>> Is there a specific reason why you're not using the standard options
>>> descriptions from ports/Mk/bsd.options.desc.mk?
>>>
>>> While not strictly mandatory, unless you need to insert a very specific
>>> content in the description it's preferred to use those for generic
>>> "support" toggles.
>>>
>>> Please revise the attached patch, if it is acceptable to you.
>>>
>>> Thanks!
>>>
>>
>> Originally I figured that the descriptions in bsd.options.desc.mk
>> would lead to more confusion when someone looked at the options for
>> transcode, that is why I overrode them in the port.  I know that
>> using the pre-set descriptions may be preferred, but I still tried
>> to make sure that the overridden descriptions were not ambiguous.
>
> I see. I'd like to note that the "Enable" word at the start of every
> description is a little redundant, since the checkbox is there to shouw
> if that option is enablesd or not. "Enable" words where intentionally
> removed from the descriptions in various instances as redundant.
>
> See this commit:
>
> http://svnweb.freebsd.org/ports?view=revision&revision=299905
>
> Once the "Enable" word is removed some of the descriptions are almost
> the same as the global ones.
>
> Also I renamed some of the toggles to match the common ones, this is
> best practice, so that people can override things globally from their
> make.conf or command line.
>
> I don't mean to force you to change this, but the enable wod goes
> against common practice int he ports collection and should be avoided.
>

In that case, the changes are fine.  Feel free to commit them.

Thanks,
Naram Qashat
Comment 6 Guido Falsi freebsd_committer freebsd_triage 2012-10-16 19:32:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!