FS#32678 - gitk command present even when tk is not installed

Attached to Project: Arch Linux
Opened by Jan Sedlák (garretraziel) - Thursday, 15 November 2012, 09:42 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 15 November 2012, 10:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I am not sure how exactly optional dependencies work, but when you install git and don't install TK (which is optional dependency, but necesssity for running gitk), gitk command is present, but it shows error "exec: wish: not found", when you try to run it.

Steps to reproduce:
1) Install git, don't install tk
2) In git repository, try to run gitk command
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 15 November 2012, 10:25 GMT
Reason for closing:  Not a bug
Comment by Greg (dolby) - Thursday, 15 November 2012, 10:09 GMT
Thats exactly how optional dependencies work. The package is build with support for them but since they dont provide the primary functionality of the package they are left to the users discretion.

Loading...