FS#16904 - [libdv] fix optdepends syntax

Attached to Project: Arch Linux
Opened by Ray Rashif (schivmeister) - Thursday, 29 October 2009, 12:25 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 22:30 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

== Description ==
Appears to be the only package which does not comply with the standard decided upon:

"Optional Deps : gtk and libxv: for using playdv"

This is because for said extension there are > 1 "dependencies". As far as I know there has been no consensus regarding such cases. Another eg.:

- $foobar has an optional feature of $enhancement
- to enable $enhancement at runtime, $foobar needs files from a number of completely unrelated packages.
- $foobar thus optdepends on $this, $that, $another but all providing the same $enhancement.

== Steps to reproduce ==
~$ pacman -Si libdv | grep Optional

== Proposed Solution ==
optdepends=('gtk: for using playdv'
'libxv: <gtk>')

<$foo> would imply that the optdepend depends on or is depended upon by another optdepend $foo, but this can only serve an informational purpose, as a parseable method (to actually figure out this sort of dependency when two packages are not related in any other way) has yet to surface.

Since current third-party handling of optdepends makes use of --asdeps, this changes nothing for pacman.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 08 November 2009, 22:30 GMT
Reason for closing:  Fixed
Comment by Gergely (imrehg) - Saturday, 07 November 2009, 15:49 GMT
Added patch to fix the PKGBUILD.

Loading...